Ignore:
Timestamp:
11/28/19 14:40:48 (5 years ago)
Author:
bart
Message:

Release 1.1.0

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

Legend:

Unmodified
Added
Removed
  • simplerunner/src/test/java/geniusweb/simplerunner/ClassPathConnectionFactoryTest.java

    r1 r9  
    1010
    1111import geniusweb.actions.Action;
    12 import geniusweb.connection.Connection;
     12import geniusweb.connection.ConnectionEnd;
    1313import geniusweb.party.inform.Inform;
    1414import geniusweb.references.PartyRef;
     
    4242        @Test
    4343        public void testRandomParty() throws IOException, URISyntaxException {
    44                 Connection<Action, Inform> party = factory.connect(new PartyRef(
     44                ConnectionEnd<Action, Inform> party = factory.connect(new PartyRef(
    4545                                "classpath:geniusweb.exampleparties.randomparty.RandomParty"));
    4646                assertNotNull(party);
  • simplerunner/src/test/java/geniusweb/simplerunner/SessionRunnerTest.java

    r1 r9  
    1818import geniusweb.protocol.CurrentNegoState;
    1919import geniusweb.protocol.ProtocolException;
    20 import geniusweb.protocol.partyconnection.ConnectionWithPartyFactory;
     20import geniusweb.protocol.partyconnection.ProtocolToPartyConnFactory;
    2121import geniusweb.protocol.session.SessionProtocol;
    2222import geniusweb.protocol.session.SessionSettings;
     
    4747        public void smokeTest() {
    4848                new NegoRunner(mock(SessionSettings.class),
    49                                 mock(ConnectionWithPartyFactory.class), logger);
     49                                mock(ProtocolToPartyConnFactory.class), logger);
    5050        }
    5151
     
    5656                when(settings.getProtocol(logger)).thenReturn(protocol);
    5757                @SuppressWarnings("unchecked")
    58                 ConnectionWithPartyFactory factory = mock(
    59                                 ConnectionWithPartyFactory.class);
     58                ProtocolToPartyConnFactory factory = mock(
     59                                ProtocolToPartyConnFactory.class);
    6060
    6161                NegoRunner runner = spy(
     
    8080                Reporter logger = mock(Reporter.class);
    8181                @SuppressWarnings("unchecked")
    82                 ConnectionWithPartyFactory factory = mock(
    83                                 ConnectionWithPartyFactory.class);
     82                ProtocolToPartyConnFactory factory = mock(
     83                                ProtocolToPartyConnFactory.class);
    8484                NegoRunner runner = spy(
    8585                                new NegoRunner(settings, factory, logger));
     
    107107                when(protocol.getState()).thenReturn(state);
    108108                @SuppressWarnings("unchecked")
    109                 ConnectionWithPartyFactory factory = mock(
    110                                 ConnectionWithPartyFactory.class);
     109                ProtocolToPartyConnFactory factory = mock(
     110                                ProtocolToPartyConnFactory.class);
    111111                NegoRunner runner = spy(
    112112                                new NegoRunner(settings, factory, logger));
Note: See TracChangeset for help on using the changeset viewer.