KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > jmock > core > DummyInterface


1 /* Copyright (c) 2000-2004 jMock.org
2  */

3 package test.jmock.core;
4
5 public interface DummyInterface
6 {
7     void noArgVoidMethod() throws Throwable JavaDoc;
8
9     String JavaDoc noArgMethod();
10
11     String JavaDoc oneArgMethod( String JavaDoc arg1 );
12
13     String JavaDoc twoArgMethod( String JavaDoc arg1, String JavaDoc arg2 ) throws Throwable JavaDoc;
14
15     final String JavaDoc METHOD_NOARGVOID_NAME = "noArgVoidMethod";
16     final Object JavaDoc[] METHOD_NOARGVOID_ARGS = new Object JavaDoc[0];
17
18     final String JavaDoc METHOD_NOARG_NAME = "noArgMethod";
19     final Object JavaDoc[] METHOD_NOARG_ARGS = new Object JavaDoc[0];
20     final String JavaDoc METHOD_NOARG_RESULT = "resultNoArgs";
21
22     final String JavaDoc METHOD_ONEARG_NAME = "oneArgMethod";
23     final String JavaDoc[] METHOD_ONEARG_ARGS = new String JavaDoc[]{"oneP1"};
24     final String JavaDoc METHOD_ONEARG_RESULT = "result1Args";
25
26     final String JavaDoc METHOD_TWOARG_NAME = "twoArgMethod";
27     final String JavaDoc[] METHOD_TWOARG_ARGS = new String JavaDoc[]{"twoP1", "twoP2"};
28     final String JavaDoc METHOD_TWOARG_RESULT = "resultTwoArgs";
29
30 }
31
Popular Tags