Changeset 2 for src/test/java
- Timestamp:
- 08/28/19 11:35:53 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/java/geniusweb/profilesserver/AutoUpdatingProfilesFactoryTest.java
r1 r2 144 144 Thread.sleep(HIGHRATE); 145 145 146 assertEquals( 3, changes.size());146 assertEquals(4, changes.size()); 147 147 assertTrue(changes.get(0) instanceof ProfileChangeEvent); 148 148 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); 150 151 assertEquals(1, warnings.size()); // jobs domain file missing 151 152 assertNull(factory.getDomain(JOBS)); … … 161 162 Thread.sleep(HIGHRATE); 162 163 163 assertEquals( 3, changes.size());164 assertEquals(4, changes.size()); 164 165 assertTrue(changes.get(0) instanceof ProfileChangeEvent); 165 166 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); 167 169 assertEquals(1, warnings.size()); // wrong domain file, wrong profile 168 170 assertNull(factory.getDomain(JOBS)); … … 231 233 assertNull(factory.getProfile(JOB1)); 232 234 233 assertEquals( 3, changes.size());235 assertEquals(4, changes.size()); 234 236 assertTrue(changes.get(0) instanceof ProfileChangeEvent); 235 237 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); 237 240 assertEquals(0, warnings.size()); 238 241 }
Note:
See TracChangeset
for help on using the changeset viewer.