From: Pieter v. Z. <pv...@us...> - 2005-08-05 12:48:45
|
Update of /cvsroot/coefficient/coefficient/src-test/za/org/coefficient/testing In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16855/src-test/za/org/coefficient/testing Modified Files: CoefficientTestCase.java Log Message: moved "CURRENT_CONTEXT"and "CURRENT_PROJECT" here from MailForumTest case Index: CoefficientTestCase.java =================================================================== RCS file: /cvsroot/coefficient/coefficient/src-test/za/org/coefficient/testing/CoefficientTestCase.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CoefficientTestCase.java 2 Aug 2005 08:06:25 -0000 1.1 --- CoefficientTestCase.java 5 Aug 2005 12:48:35 -0000 1.2 *************** *** 15,19 **** public class CoefficientTestCase extends TestCase { ! // add CoefficientTestingContext here /** --- 15,21 ---- public class CoefficientTestCase extends TestCase { ! public static String CURRENT_CONTEXT = "CURRENT_CONTEXT"; ! ! public static String CURRENT_PROJECT = "CURRENT_PROJECT"; /** *************** *** 31,46 **** /** ! * @author pieter20 ! * Jul 31, 2005 ! * @param ctx, containing: the parameters, the module and the method to invoke ! * @return an object of type CoefficientContext, which contains a map of the result. * @throws Exception */ ! public Object invokeOpOnModule(CoefficientContext ctx) throws Exception { Invoker testModuleInvoker = new TestModuleInvoker();// this should also ! // be a singleton? Object context = testModuleInvoker.invoke(ctx);// calls the ! // BaseInvoker.invoke(ctx) if (context instanceof CoefficientContext) { --- 33,50 ---- /** ! * @author pieter20 Jul 31, 2005 ! * @param ctx, ! * containing: the parameters, the module and the method to ! * invoke ! * @return an object of type CoefficientContext, which contains a map of the ! * result. * @throws Exception */ ! public static Object invokeOpOnModule(CoefficientContext ctx) throws Exception { Invoker testModuleInvoker = new TestModuleInvoker();// this should also ! // be a singleton? Object context = testModuleInvoker.invoke(ctx);// calls the ! // BaseInvoker.invoke(ctx) if (context instanceof CoefficientContext) { |