Package junit.framework

Examples of junit.framework.TestSuite


import junit.framework.TestSuite;

public class GeneratorSuite extends TestCase
{
    public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(BindingGeneratorCommandLineTest.class);
        suite.addTestSuite(ClassCustomTest.class);
        suite.addTestSuite(GeneratorTest.class);
        suite.addTestSuite(NestingBaseTest.class);
        return suite;
    }
View Full Code Here


import junit.framework.TestSuite;

public class SchemaSuite extends TestCase
{
    public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(ElementsSuite.suite());
        suite.addTestSuite(SchemaPaths.class);
        suite.addTest(CodegenSuite.suite());
        return suite;
    }
View Full Code Here

import junit.framework.TestSuite;

public class WsdlSuite extends TestCase
{
    public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(SignatureParserTest.class);
        suite.addTestSuite(ServiceCustomTest.class);
        return suite;
    }
View Full Code Here

  public static void main(String[] args) {
    junit.textui.TestRunner.run(AllTests.class);
  }

  public static Test suite() {
    TestSuite suite = new TestSuite("Test for net.sf.just4log");
    //$JUnit-BEGIN$
    suite.addTest(new TestSuite(JustLog1Test.class));
    suite.addTest(new TestSuite(JustLog2Test.class));
    suite.addTest(new TestSuite(WhileTest.class));
    suite.addTest(new TestSuite(DoubleTest.class));
    suite.addTest(new TestSuite(FollowingDoubleTest.class));
    suite.addTest(new TestSuite(TryCatchTest.class));
    suite.addTest(new TestSuite(Log4jTest.class));
    suite.addTest(new TestSuite(LogJDK14Test.class));
    suite.addTest(new TestSuite(EnterTest.class));
    suite.addTest(new TestSuite(ExitTest.class));
    suite.addTest(new TestSuite(EnterExitTest.class));
    //  Log4j test is not currently passing due to an error in the JDK 1.4.1.
    // I am using or in BCEL. Still I am confident the current transformer is ok.
    //suite.addTest(new TestSuite(Log4jEnterExitTest.class));
    suite.addTest(new TestSuite(LogJDK14EnterExitTest.class));
    //$JUnit-END$
    return suite;
  }
View Full Code Here

        junit.textui.TestRunner.run(suite());
    }

    public static Test suite() {
        int nthreads = Primitives.parseInt(XQTSTestBase.XQTS_PROP.getProperty("test.nthreads"), 8);
        final TestSuite suite = new MultithreadedTestSuite("Test-suite for XQTS version "
                + XQTSTestBase.xqtsVersion, nthreads);
        final List<Class<? extends TestCase>> clazzList;
        try {
            clazzList = testCases();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        //$JUnit-BEGIN$       
        for(Class<? extends TestCase> clazz : clazzList) {
            suite.addTestSuite(clazz);
        }
        //$JUnit-END$
        return suite;
    }
View Full Code Here

import xqts.expressions.prologexpr.versionprolog.VersionPrologTest;

public class PrologAllTests {

    public static Test suite() {
        TestSuite suite = new TestSuite("Test for xqts.expressions.prologexpr.baseuriprolog");
        //$JUnit-BEGIN$
        suite.addTestSuite(BaseURIPrologTest.class);
        suite.addTestSuite(BoundarySpacePrologTest.class);
        suite.addTestSuite(CollationPrologTest.class);
        suite.addTestSuite(ConstructionPrologTest.class);
        suite.addTestSuite(CopyNamespacesPrologTest.class);
        suite.addTestSuite(DefaultNamespacePrologTest.class);
        suite.addTestSuite(DefaultOrderingPrologTest.class);
        suite.addTestSuite(EmptyOrderPrologTest.class);
        suite.addTestSuite(FunctionPrologTest.class);
        suite.addTestSuite(NamespacePrologTest.class);
        suite.addTestSuite(OptionDeclarationPrologTest.class);
        suite.addTestSuite(ExternalVariablesWithTest.class);
        suite.addTestSuite(ExternalVariablesWithoutTest.class);
        suite.addTestSuite(InternalVariablesWithTest.class);
        suite.addTestSuite(InternalVariablesWithoutTest.class);
        suite.addTestSuite(VersionPrologTest.class);
        //$JUnit-END$
        return suite;
    }
View Full Code Here

import junit.framework.TestSuite;

public class CollectionsAllTests {

    public static Test suite() {
        TestSuite suite = new TestSuite("Test for xbird.util.collections");
        //$JUnit-BEGIN$
        suite.addTestSuite(LongHashTest.class);
        suite.addTestSuite(Long2LongHashTest.class);
        suite.addTestSuite(Int2IntLRUMapTest.class);
        suite.addTestSuite(Int2IntHashTest.class);
        suite.addTestSuite(IntHashTest.class);
        suite.addTestSuite(LRUPerformanceTest.class);
        suite.addTestSuite(IntLRUMapTest.class);
        //$JUnit-END$
        return suite;
    }
View Full Code Here

    public static void main(String[] args) {
        junit.textui.TestRunner.run(suite());
    }

    public static Test suite() {
        TestSuite suite = new TestSuite("Test for xqts.fullaxis");
        //$JUnit-BEGIN$
        suite.addTestSuite(AncestorOrSelfAxisTest.class);
        suite.addTestSuite(AncestorAxisTest.class);
        suite.addTestSuite(FollowingSiblingAxisTest.class);
        suite.addTestSuite(FollowingAxisTest.class);
        suite.addTestSuite(PrecedingSiblingAxisTest.class);
        suite.addTestSuite(PrecedingAxisTest.class);
        //$JUnit-END$
        return suite;
    }
View Full Code Here

    public static void main(String[] args) {
        junit.textui.TestRunner.run(suite());
    }

    public static Test suite() {
        TestSuite suite = new TestSuite("Test for xqts.expressions.operators.compexpr.valcomp.booleanop.booleanequal");
        //$JUnit-BEGIN$
        suite.addTestSuite(BooleanEqualTest.class);
        suite.addTestSuite(BooleanLTTest.class);
        suite.addTestSuite(BooleanGTTest.class);
        //$JUnit-END$
        return suite;
    }
View Full Code Here

import xqts.functions.accessorfunc.stringfunc.StringFuncTest;

public class AccessorFuncAllTests {

    public static Test suite() {
        TestSuite suite = new TestSuite("Test for xqts.functions.accessorfunc");
        //$JUnit-BEGIN$
        suite.addTestSuite(BaseURIFuncTest.class);
        suite.addTestSuite(DataFuncTest.class);
        suite.addTestSuite(DocumentURIFuncTest.class);
        suite.addTestSuite(NilledFuncTest.class);
        suite.addTestSuite(NodeNameFuncTest.class);
        suite.addTestSuite(StaticBaseURIFuncTest.class);
        suite.addTestSuite(StringFuncTest.class);
        //$JUnit-END$
        return suite;
    }
View Full Code Here

TOP

Related Classes of junit.framework.TestSuite

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.