/**
   * Test suite for this test class.
   *
   * <p>
   *
   * @return the test suite
   */
  public static Test suite() {

    OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH);

    TestSuite suite = new TestSuite();
    suite.setName(TestCmsSearchSpecialFeatures.class.getName());

    suite.addTest(new TestCmsSearchSpecialFeatures("testSearchIndexSetup"));
    suite.addTest(new TestCmsSearchSpecialFeatures("testIncrementalIndexUpdate"));
    suite.addTest(new TestCmsSearchSpecialFeatures("testLazyContentFields"));

    TestSetup wrapper =
        new TestSetup(suite) {

          @Override
          protected void setUp() {

            setupOpenCms("simpletest", "/");
          }

          @Override
          protected void tearDown() {

            removeOpenCms();
          }
        };

    return wrapper;
  }
  /**
   * Test suite for this test class.
   *
   * <p>
   *
   * @return the test suite
   */
  public static Test suite() {

    OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH);

    TestSuite suite = new TestSuite();
    suite.setName(TestCmsXmlContent75Features.class.getName());

    suite.addTest(new TestCmsXmlContent75Features("testDirectXmlAccesss"));

    TestSetup wrapper =
        new TestSetup(suite) {

          @Override
          protected void setUp() {

            setupOpenCms("simpletest", "/");
          }

          @Override
          protected void tearDown() {

            removeOpenCms();
          }
        };

    return wrapper;
  }
Ejemplo n.º 3
0
  /**
   * Returns the JUnit test suite for this package.
   *
   * <p>
   *
   * @return the JUnit test suite for this package
   */
  public static Test suite() {

    TestSuite suite = new TestSuite("Tests for package " + AllTests.class.getPackage().getName());
    OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH);
    // $JUnit-BEGIN$
    suite.addTest(TestCmsXmlEntityResolver.suite());
    suite.addTest(new TestSuite(TestXmlUtils.class));
    // $JUnit-END$
    return suite;
  }