Package junit.extensions

Examples of junit.extensions.ActiveTestSuite.addTest()


            {
                runTestPutThenRemoveCategorical( 601, 700 );
            }
        } );

        suite.addTest( new RemovalTestUtil( "testRemoveCache1" )
        {
            public void runTest()
                throws Exception
            {
                runTestPutThenRemoveCategorical( 701, 800 );
View Full Code Here


            {
                runTestPutThenRemoveCategorical( 701, 800 );
            }
        } );

        suite.addTest( new RemovalTestUtil( "testPutCache2" )
        {
            // verify that there are no errors with concurrent gets.
            public void runTest()
                throws Exception
            {
View Full Code Here

        System.setProperty( "jcs.auxiliary.LTCP.attributes.PutOnlyMode", "false" );

        ActiveTestSuite suite = new ActiveTestSuite();

        suite.addTest( new LateralTCPConcurrentRandomTestUtil( "testLateralTCPCache1" )
        {
            public void runTest()
                throws Exception
            {
                this.runTestForRegion( "region1", 1, 200, 1 );
View Full Code Here

            {
                this.runTestForRegion( "region1", 1, 200, 1 );
            }
        } );

        suite.addTest( new LateralTCPConcurrentRandomTestUtil( "testLateralTCPCache2" )
        {
            public void runTest()
                throws Exception
            {
                this.runTestForRegion( "region2", 10000, 12000, 2 );
View Full Code Here

            {
                this.runTestForRegion( "region2", 10000, 12000, 2 );
            }
        } );

        suite.addTest( new LateralTCPConcurrentRandomTestUtil( "testLateralTCPCache3" )
        {
            public void runTest()
                throws Exception
            {
                this.runTestForRegion( "region3", 10000, 12000, 3 );
View Full Code Here

            {
                this.runTestForRegion( "region3", 10000, 12000, 3 );
            }
        } );

        suite.addTest( new LateralTCPConcurrentRandomTestUtil( "testLateralTCPCache4" )
        {
            public void runTest()
                throws Exception
            {
                this.runTestForRegion( "region3", 10000, 13000, 4 );
View Full Code Here

    public static Test suite()
    {

        ActiveTestSuite suite = new ActiveTestSuite();

        suite.addTest( new EventQueueConcurrentLoadTest( "testRunPutTest1" )
        {
            public void runTest()
                throws Exception
            {
                this.runPutTest( 200, 200 );
View Full Code Here

            {
                this.runTestForRegion( "region3", 10000, 13000, 4 );
            }
        } );

        suite.addTest( new LateralTCPConcurrentRandomTestUtil( "testLateralTCPCache5" )
        {
            public void runTest()
                throws Exception
            {
                this.runTestForRegion( "region4", 10000, 11000, 5 );
View Full Code Here

            {
                this.runPutTest( 200, 200 );
            }
        } );

        suite.addTest( new EventQueueConcurrentLoadTest( "testRunPutTest2" )
        {
            public void runTest()
                throws Exception
            {
                this.runPutTest( 1200, 1400 );
View Full Code Here

            {
                this.runPutTest( 1200, 1400 );
            }
        } );

        suite.addTest( new EventQueueConcurrentLoadTest( "testRunRemoveTest1" )
        {
            public void runTest()
                throws Exception
            {
                this.runRemoveTest( 2200 );
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.