Commit Graph

29 Commits

Author SHA1 Message Date
akwizgran
9b98d3c7d6 Added new database events and simplified database locking. 2013-01-25 16:27:50 +00:00
akwizgran
64bf1fbbb1 Part 1 of a major BMP and database refactoring. Tests are broken!
The old logic for selecting when to send subscription and transport
updates has been removed and not yet replaced. Subscription times have
been removed from subscription updates. The database expiry time has
been remove from subscription updates and will later get its own update
packet. Transport updates have been broken up into one update per
transport. Acks for subscription and transport updates have been added.
2013-01-25 15:38:37 +00:00
akwizgran
b8247968b6 Code cleanup: import static. 2013-01-17 16:56:58 +00:00
akwizgran
77a5fea5c8 Code and API cleanup for the database component. 2013-01-17 16:28:09 +00:00
akwizgran
50ad1f486e Removed batches from BMP. Messages are now sent and acked individually. 2013-01-16 22:56:03 +00:00
akwizgran
1d5928be46 Fixed a long-broken test (the return type of a method had changed). 2013-01-03 21:57:03 +00:00
akwizgran
5b02fe96d1 Disable shuffling of contacts when unit testing the modem plugin. 2013-01-03 21:47:16 +00:00
akwizgran
2d6a9fa310 Unit tests for ModemPlugin. 2012-12-16 02:05:39 +00:00
akwizgran
b090a12b7f Accept phone numbers starting with +. 2012-12-15 22:24:51 +00:00
akwizgran
6dd17a22eb Converted Group from an interface to an immutable class. 2012-12-15 19:42:00 +00:00
akwizgran
ac0420d276 Unit tests and bug fixes for international dialling. 2012-12-15 16:36:37 +00:00
akwizgran
3b3ab6fd1a Empty transport configs/properties should be treated the same as nulls. 2012-12-15 16:02:35 +00:00
akwizgran
3e2e7286fe Wrapped System.currentTimeMillis() and Thread.sleep() for testability. 2012-12-15 04:58:35 +00:00
akwizgran
5876583f7c Moved reliability layer into its own package. 2012-12-15 02:07:46 +00:00
akwizgran
f5628e5581 Use Guice rather than reflection to load plugins.
This allows different plugins to have different dependencies without
cluttering the plugin factory API.
2012-12-15 01:16:48 +00:00
akwizgran
47749c3c0d Converted ReliabilityLayer into an interface for better testability. 2012-12-14 21:57:50 +00:00
akwizgran
15ab5be476 Equals method must be symmetric and transitive. 2012-12-09 20:29:29 +00:00
akwizgran
cdeefbbc5f Wait 60 seconds for the server to hang up. 2012-12-07 16:21:31 +00:00
akwizgran
ef8841e712 Non-JUnit tests for detecting when the other end hangs up. 2012-12-07 16:10:58 +00:00
akwizgran
bfbcdfa5a7 Don't send and receive invitations unless the plugin supports it. 2012-12-06 16:13:54 +00:00
akwizgran
78953289f7 Flush the output stream after writing. 2012-12-06 15:44:58 +00:00
akwizgran
584f7de0ab Wait a long time for a connection (modems take a while to connect). 2012-12-06 15:27:26 +00:00
akwizgran
aec43d6de7 Enabled logging in non-JUnit modem tests. 2012-12-06 13:36:10 +00:00
akwizgran
51a4f2fd62 Updated non-JUnit plugin tests and added tests for the modem plugin. 2012-12-06 13:10:14 +00:00
akwizgran
dca9470c28 Updated ant build files for multi-project structure. 2012-12-05 23:15:35 +00:00
akwizgran
f5626bee05 Moved API classes into a separate project to enforce dependency rules. 2012-12-05 22:19:12 +00:00
akwizgran
b995a2dce8 Set Eclipse compilation target to Java 1.5. 2012-12-05 21:02:30 +00:00
akwizgran
29d25cce6b Fixed classpaths of Android and test projects. 2012-12-05 21:00:47 +00:00
akwizgran
fa295da4dd Merged prototype-test repo into prototype repo, as a separate Eclipse project. 2012-12-05 20:41:01 +00:00