diff options
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_; +} |