Changeset 4 for protocol/src/test


Ignore:
Timestamp:
09/18/19 10:00:22 (5 years ago)
Author:
bart
Message:

Faster example parties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocol/src/test/java/geniusweb/protocol/session/saop/SAOPStateTest.java

    r1 r4  
    284284                assertTrue(state.isFinal(NOW));
    285285                assertEquals(
    286                                 "geniusweb.protocol.ProtocolException: party1:actor does not have the turn ",
     286                                "geniusweb.protocol.ProtocolException: party1:Party does not have the turn ",
    287287                                state.getError().toString());
    288288        }
     
    297297                state = state.with(party2, nullaccept);
    298298                assertTrue(state.isFinal(NOW));
    299                 assertTrue(state.getError().toString()
    300                                 .matches(".*party2.*Accepts a bid that was not offered.*"));
     299                assertTrue(state.getError().toString().matches(
     300                                ".*party2.*Party accepts a bid differing from the last offer.*"));
    301301        }
    302302
Note: See TracChangeset for help on using the changeset viewer.