⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 namingtestsuite.java

📁 JAVA开源LDAP浏览器jxplorer的源码!
💻 JAVA
字号:
/**
 * This suite runs all the tests for
 * the different Naming classes.
 * Author: Chris Betts
 * Date: 15/05/2002 / 16:35:24
 */

package com.ca.commons.naming;
import junit.framework.*;

public class NamingTestSuite extends TestCase {

    public NamingTestSuite(String name)
	{
        super(name);
    }


    /**
     * Assembles and returns a test suite
     * containing all known tests.
     *
     * New tests should be added here!
     *
     * @return A non-null test suite.
     */

    public static Test suite()
    {
        TestSuite suite = new TestSuite();

		// The tests...
        suite.addTest(DNTest.suite());
        suite.addTest(RDNTest.suite());  // why not just 'suite.addTest(RDNTest.class);' ??
        suite.addTest(DXAttributesTest.suite());
        suite.addTest(DXAttributeTest.suite());
		suite.addTest(NameUtilityTest.suite());

        return suite;
    }

    /**
     * Runs the test suite.
     */

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




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -