summaryrefslogtreecommitdiff
path: root/same/src/test/java/com/orbekk/same
AgeCommit message (Collapse)Author
2012-03-27Fix state bug.0.3Kjetil Ørbekk
Make sure to copy the state when creating a new master. Using the same state instance on the master and client is a disaster.
2012-03-20Remove discovery code.Kjetil Ørbekk
Use centralized discovery instead.
2012-03-20Start master election when update fails.Kjetil Ørbekk
2012-03-20Make sure there is only one valid new master.Kjetil Ørbekk
This is done using the paxos proposal number as a certificate.
2012-03-20Master has to advertise its ID when taking over.Kjetil Ørbekk
2012-03-20Abort master proposal when master has been elected.Kjetil Ørbekk
Note: This doesn't really work. We need to do this based on serial number, otherwise the proposal may be canceled before it has begun, with the result that the proposal doesn't get canceled at all.
2012-03-20Client performs master election.Kjetil Ørbekk
2012-03-20Broadcast masterDown() event.Kjetil Ørbekk
2012-03-20Add Broadcaster in Client.Kjetil Ørbekk
2012-03-13Clients can become new masters.Kjetil Ørbekk
2012-03-13Clients can control their master.Kjetil Ørbekk
Add failing test.
2012-03-13Fix warnings in com.orbekk.same tests.Kjetil Ørbekk
2012-03-12Fix failing functional test.Kjetil Ørbekk
2012-03-12Add failing functional test.Kjetil Ørbekk
Test fails because of the new ConnectionState that is not properly implemented.
2012-03-12Client begins in disconnected state.Kjetil Ørbekk
2012-02-28Add support for more than one listener to variables.Kjetil Ørbekk
2012-02-28Add VariableUpdaterTask.Kjetil Ørbekk
VariableUpdaterTask updates a variable countinously.
2012-02-27Remove set(id, value, revision) from ClientInterface.Kjetil Ørbekk
Fix equals() bug in Component. Fix failing test.
2012-02-23Make it possible to create "fake" clients on Android.Kjetil Ørbekk
Extract interface from Client.ClientInterface in order to override it for Android, while still using the VariableFactory code as-is.
2012-02-23Implement listeners in Variables.Kjetil Ørbekk
2012-02-23Support several state listeners in Client.Kjetil Ørbekk
2012-02-17VariableFactory: Support set() operation.Kjetil Ørbekk
2012-02-16Implement Variable.Kjetil Ørbekk
State can now be edited with Variable objects.
2012-02-16Rename ClientServiceImplTest => ClientTest.Kjetil Ørbekk
2012-02-16Replace Master with new implementation.Kjetil Ørbekk
2012-02-16Implement all MasterService operations in NewMaster.Kjetil Ørbekk
Tested with tests ported from old MasterImplTest.
2012-02-16Start new Master implementation.Kjetil Ørbekk
2012-02-06Refactor: Rename classes.Kjetil Ørbekk
Rename Client and Master classes, because the classes contain more than just the service interfaces. – ClientServiceImpl => Client. – MasterServiceImpl => Master.
2012-02-06Fix failing tests.Kjetil Ørbekk
Tests were failing because of URL problems after refactoring.
2012-02-06Refactor URL handling in Client and Master.Kjetil Ørbekk
– Take URL as parameter to constructor.
2012-02-03Extend configuration.Kjetil Ørbekk
– Shorter method names. – Add loadOrDie().
2012-02-03Add Configuration system.Kjetil Ørbekk
2012-01-31Use full url with discovery.Kjetil Ørbekk
2012-01-31Refactor client.Kjetil Ørbekk
Hide ClientService inside ClientServiceImpl.
2012-01-31Add client discovery functionality.Kjetil Ørbekk
2012-01-27Improve discovery and error handling.Kjetil Ørbekk
2012-01-27Client answers discovery events.Kjetil Ørbekk
2012-01-27ClientService supports network discovery.Kjetil Ørbekk
2012-01-18Remove whitespace.Kjetil Ørbekk
2012-01-18Remove clients upon errors.Kjetil Ørbekk
Add test for removing clients.
2012-01-18Refactor Broadcaster.Kjetil Ørbekk
Take a client url instead of a client parameter, to handle error conditions.
2012-01-17Fix revision update.Kjetil Ørbekk
Change State to take the *new* revision when updating.
2012-01-16Fix network joining.Kjetil Ørbekk
Prevent infinite loop in master thread.
2012-01-16Implement updateStateRequest().Kjetil Ørbekk
– Verify that states are synchronized to all clients.
2012-01-16Send state to clients.Kjetil Ørbekk
– Adds failing test - need to compare states of master and client.
2012-01-16Add assert in test of Master.Kjetil Ørbekk
2012-01-16Add failing master test.Kjetil Ørbekk
Fails because client implementation is not finished.
2012-01-16Fix failing test.Kjetil Ørbekk
Uses test component to avoid NullPointerException.
2012-01-16Add TestConnectionManager.Kjetil Ørbekk
2012-01-15Add TestBroadcaster.Kjetil Ørbekk
TestBroadcaster implements a single-threaded broadcaster suitable for testing.