Changeset 2 for src/test/java/geniusweb


Ignore:
Timestamp:
08/28/19 11:35:53 (5 years ago)
Author:
bart
Message:

Added new parties : linear, hardliner, conceder, boulware

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/test/java/geniusweb/profilesserver/AutoUpdatingProfilesFactoryTest.java

    r1 r2  
    144144                Thread.sleep(HIGHRATE);
    145145
    146                 assertEquals(3, changes.size());
     146                assertEquals(4, changes.size());
    147147                assertTrue(changes.get(0) instanceof ProfileChangeEvent);
    148148                assertTrue(changes.get(1) instanceof ProfileChangeEvent);
    149                 assertTrue(changes.get(2) instanceof DomainChangeEvent);
     149                assertTrue(changes.get(2) instanceof ProfileChangeEvent);
     150                assertTrue(changes.get(3) instanceof DomainChangeEvent);
    150151                assertEquals(1, warnings.size()); // jobs domain file missing
    151152                assertNull(factory.getDomain(JOBS));
     
    161162                Thread.sleep(HIGHRATE);
    162163
    163                 assertEquals(3, changes.size());
     164                assertEquals(4, changes.size());
    164165                assertTrue(changes.get(0) instanceof ProfileChangeEvent);
    165166                assertTrue(changes.get(1) instanceof ProfileChangeEvent);
    166                 assertTrue(changes.get(2) instanceof DomainChangeEvent);
     167                assertTrue(changes.get(2) instanceof ProfileChangeEvent);
     168                assertTrue(changes.get(3) instanceof DomainChangeEvent);
    167169                assertEquals(1, warnings.size()); // wrong domain file, wrong profile
    168170                assertNull(factory.getDomain(JOBS));
     
    231233                assertNull(factory.getProfile(JOB1));
    232234
    233                 assertEquals(3, changes.size());
     235                assertEquals(4, changes.size());
    234236                assertTrue(changes.get(0) instanceof ProfileChangeEvent);
    235237                assertTrue(changes.get(1) instanceof ProfileChangeEvent);
    236                 assertTrue(changes.get(2) instanceof DomainChangeEvent);
     238                assertTrue(changes.get(2) instanceof ProfileChangeEvent);
     239                assertTrue(changes.get(3) instanceof DomainChangeEvent);
    237240                assertEquals(0, warnings.size());
    238241        }
Note: See TracChangeset for help on using the changeset viewer.