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

📄 packageservicejavabeanstest.java

📁 OPIAM stands for Open Identity and Access Management. This Suite will provide modules for user & rig
💻 JAVA
字号:
/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.unittests.service.javabeans;

import opiam.admin.faare.unittests.TestResult;
import opiam.admin.faare.unittests.TestUtils;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

import org.apache.log4j.Logger;


/**
 * Executes all the class tests of the service.javabeans package.
 */
public class PackageServiceJavabeansTest extends TestCase
{
    /** Instance of logger. */
    private static Logger _logger = Logger.getLogger(PackageServiceJavabeansTest.class);

    /** Instance of the trace class. */
    private static TestUtils _test = new TestUtils(_logger);

    /**
     * Creates a new PackageServiceJavabeansTest object.
     *
     * @param param  Parameter.
     */
    public PackageServiceJavabeansTest(String param)
    {
        super(param);
    }

    /**
     * Method of the tests suite.
     *
     * @return Tests result.
     */
    public static Test suite()
    {
        TestSuite suite = new TestSuite();

        suite.addTest(new PackageServiceJavabeansTest("testBegin"));

        suite.addTest(CriteriaTest.suite());

        suite.addTest(new PackageServiceJavabeansTest("testEnd"));

        return suite;
    }

    /**
     * Main method.
     * @param args Command line arguments.
     */
    public static void main(String[] args)
    {
        junit.textui.TestRunner.run(suite());
    }

    /**
     * Method to indicate the beginning of the class test.
     *
     */
    public static void testBegin()
    {
        //  To initialize the tests statement
        TestResult.getInstance().setInitiator("PackageServiceJavabeansTest");
        assertTrue(true);
    }

    /**
     * Method to indicate the end of the class test.
     *
     */
    public static void testEnd()
    {
        assertTrue(true);
        _test.displayTestStatement("PackageServiceJavabeansTest");
    }
}

⌨️ 快捷键说明

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