diff options
author | Richard Maudsley <richard.maudsley@isode.com> | 2014-02-04 09:49:24 (GMT) |
---|---|---|
committer | Richard Maudsley <richard.maudsley@isode.com> | 2014-03-07 14:28:58 (GMT) |
commit | a511087b1f57f1f6372374f41d0b4b7ebeef9930 (patch) | |
tree | a319c6c65f4c4722635f78ac564a823a370d011c /test/com/isode/stroke/pubsub/TestCase.java | |
parent | 535e1a979a164f807aa64bf2df2bb36e7015ff17 (diff) | |
download | stroke-a511087b1f57f1f6372374f41d0b4b7ebeef9930.zip stroke-a511087b1f57f1f6372374f41d0b4b7ebeef9930.tar.bz2 |
PubSub parsers and serializers, plus manager and test code.
Change-Id: Ie8ca77ba8dbcd83926d46307ad0e73d804ff7422
Diffstat (limited to 'test/com/isode/stroke/pubsub/TestCase.java')
-rw-r--r-- | test/com/isode/stroke/pubsub/TestCase.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/com/isode/stroke/pubsub/TestCase.java b/test/com/isode/stroke/pubsub/TestCase.java new file mode 100644 index 0000000..0dc48de --- /dev/null +++ b/test/com/isode/stroke/pubsub/TestCase.java @@ -0,0 +1,28 @@ +/* +* Copyright (c) 2014, Isode Limited, London, England. +* All rights reserved. +*/ +/* +* Copyright (c) 2014, Remko Tronçon. +* All rights reserved. +*/ + +package com.isode.stroke.pubsub; +import com.isode.stroke.eventloop.Event; + +public class TestCase { + TestCase(String name, Event.Callback routine) { + name_ = name; + routine_ = routine; + } + + String getName() { + return name_; + } + + Event.Callback getRoutine() { + return routine_; + } + String name_; + Event.Callback routine_; +} |