Changeset 16 for src/test/java/geniusweb
- Timestamp:
- 09/22/20 08:52:08 (4 years ago)
- Location:
- src/test/java/geniusweb/profilesserver
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/test/java/geniusweb/profilesserver/AutoUpdatingProfilesFactoryTest.java
r12 r16 51 51 private List<String> warnings; 52 52 private Path copyrepodir; 53 private AutoUpdatingProfiles Factory factory;53 private AutoUpdatingProfilesRepository factory; 54 54 private final long HIGHRATE = 500; // fast so that we can test quickly. 55 55 private final List<ChangeEvent> changes = new LinkedList<>(); … … 80 80 }; 81 81 82 factory = new AutoUpdatingProfiles Factory(logger) {82 factory = new AutoUpdatingProfilesRepository(logger) { 83 83 84 84 @Override -
src/test/java/geniusweb/profilesserver/DefaultProfilesFactoryTest.java
r1 r16 27 27 private Domain domain1 = mock(Domain.class); 28 28 private List<ChangeEvent> events = new LinkedList<>(); 29 private DefaultProfiles Factory factory;29 private DefaultProfilesRepository factory; 30 30 31 31 private Profile profile1 = mock(Profile.class); … … 40 40 when(profile1a.getDomain()).thenReturn(domain1); 41 41 when(profile1a.getName()).thenReturn(PROFILE1); 42 factory = new DefaultProfiles Factory();42 factory = new DefaultProfilesRepository(); 43 43 factory.addListener(new Listener<ChangeEvent>() { 44 44
Note:
See TracChangeset
for help on using the changeset viewer.