home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (RangeTestSuite.java)

This example Groovy source code file (RangeTestSuite.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

rangetestsuite, rangetestsuite, testsuite, testsuite

The Groovy RangeTestSuite.java source code

/**
 *
 */
package groovy.lang;

import junit.framework.TestSuite;
import junit.textui.TestRunner;

/**
 * Calls all the range-related tests.
 *
 * @author Edwin Tellman
 */
public final class RangeTestSuite extends TestSuite {

    /**
     * Creates a new {@link RangeTestSuite}
     */
    public RangeTestSuite() {
        addTestSuite(IntRangeTest.class);
        addTestSuite(ShortRangeTest.class);
        addTestSuite(IntegerRangeTest.class);
        addTestSuite(LongRangeTest.class);
        addTestSuite(FloatRangeTest.class);
        addTestSuite(BigDecimalRangeTest.class);
        addTestSuite(CharacterRangeTest.class);
        addTestSuite(RangeTest.class);
    }

    /**
     * Runs the tests in the {@link TestRunner}.
     *
     * @param argv not used
     */
    public static void main(String[] argv) {
        junit.textui.TestRunner.run(new RangeTestSuite());
    }
}

Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy RangeTestSuite.java source code file:

new blog posts

 

Copyright 1998-2013 Alvin Alexander, alvinalexander.com
All Rights Reserved.