package org.apache.airavata.xbaya.interpreter;

import org.apache.airavata.xbaya.interpreter.utils.WorkflowTestUtils;
import org.apache.axis2.AxisFault;
import org.apache.axis2.engine.ListenerManager;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.rules.MethodRule;
import org.junit.rules.TestWatchman;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.model.FrameworkMethod;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


@RunWith(Suite.class)
@Suite.SuiteClasses({XBayaClientTest.class, SimpleMathWorkflowTest.class, WorkflowTest.class,
        ComplexMathWorkflowTest.class, CrossProductWorkflowTest.class, ForEachWorkflowTest.class,
        SimpleForEachWorkflowTest.class/*,
        WorkflowTrackingTest.class, RegistryServiceTest.class*/})
public class XBayaConsolidatedTestSuite {
    private static ListenerManager manager = null;

    final static Logger logger = LoggerFactory.getLogger(XBayaConsolidatedTestSuite.class);

    @Rule
    public MethodRule watchman = new TestWatchman() {
        public void starting(FrameworkMethod method) {
            logger.info("{} being run...", method.getName());
        }
    };

    @BeforeClass
    public static void startServer() throws AxisFault {
        logger.info("Starting simple Axis2 Server...");
        manager = WorkflowTestUtils.axis2ServiceStarter();
    }

    @AfterClass
    public static void stopServer() throws AxisFault {
        logger.info("Stopping simple Axis2 Server...");
        manager.stop();
    }

}

@@ -777,10 +777,8 @@
 lass
-/*
 ,%0A  
@@ -840,10 +840,8 @@
 lass
-*/
 %7D)%0Ap

Adding a test case to the test-suite