Changeset 16 for src/test/java/geniusweb


Ignore:
Timestamp:
09/22/20 08:52:08 (4 years ago)
Author:
bart
Message:

Version 1.5.

Location:
src/test/java/geniusweb/profilesserver
Files:
2 edited

Legend:

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

    r12 r16  
    5151        private List<String> warnings;
    5252        private Path copyrepodir;
    53         private AutoUpdatingProfilesFactory factory;
     53        private AutoUpdatingProfilesRepository factory;
    5454        private final long HIGHRATE = 500; // fast so that we can test quickly.
    5555        private final List<ChangeEvent> changes = new LinkedList<>();
     
    8080                };
    8181
    82                 factory = new AutoUpdatingProfilesFactory(logger) {
     82                factory = new AutoUpdatingProfilesRepository(logger) {
    8383
    8484                        @Override
  • src/test/java/geniusweb/profilesserver/DefaultProfilesFactoryTest.java

    r1 r16  
    2727        private Domain domain1 = mock(Domain.class);
    2828        private List<ChangeEvent> events = new LinkedList<>();
    29         private DefaultProfilesFactory factory;
     29        private DefaultProfilesRepository factory;
    3030
    3131        private Profile profile1 = mock(Profile.class);
     
    4040                when(profile1a.getDomain()).thenReturn(domain1);
    4141                when(profile1a.getName()).thenReturn(PROFILE1);
    42                 factory = new DefaultProfilesFactory();
     42                factory = new DefaultProfilesRepository();
    4343                factory.addListener(new Listener<ChangeEvent>() {
    4444
Note: See TracChangeset for help on using the changeset viewer.