alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file 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.

Other links

The source code

/*
 * Copyright 1999-2004 The Apache Software Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.commons.jxpath;

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

import org.apache.commons.jxpath.ri.JXPathCompiledExpressionTest;
import org.apache.commons.jxpath.ri.axes.RecursiveAxesTest;
import org.apache.commons.jxpath.ri.axes.SimplePathInterpreterTest;
import org.apache.commons.jxpath.ri.compiler.ContextDependencyTest;
import org.apache.commons.jxpath.ri.compiler.CoreFunctionTest;
import org.apache.commons.jxpath.ri.compiler.CoreOperationTest;
import org.apache.commons.jxpath.ri.compiler.ExtensionFunctionTest;
import org.apache.commons.jxpath.ri.compiler.VariableTest;
import org.apache.commons.jxpath.ri.model.MixedModelTest;
import org.apache.commons.jxpath.ri.model.beans.BeanModelTest;
import org.apache.commons.jxpath.ri.model.container.ContainerModelTest;
import org.apache.commons.jxpath.ri.model.dom.DOMModelTest;
import org.apache.commons.jxpath.ri.model.dynabeans.DynaBeanModelTest;
import org.apache.commons.jxpath.ri.model.dynamic.DynamicPropertiesModelTest;
import org.apache.commons.jxpath.ri.model.jdom.JDOMModelTest;
import org.apache.commons.jxpath.util.BasicTypeConverterTest;

/**
 * 

* Test Suite for the JXPath class. The majority of these tests use * instances of the TestBean class, so be sure to update the tests if you * change the characteristics of that class. *

* *

* Note that the tests are dependent upon the static aspects * (such as array sizes...) of the TestBean.java class, so ensure * that all changes to TestBean are reflected here and in other JXPath tests. *

* * @author Dmitri Plotnikov * @version $Revision: 1.7 $ $Date: 2004/04/04 22:06:35 $ */ public class JXPathTestSuite extends TestCase { private static boolean enabled = true; /** * Exercise the whole suite */ public static void main(String args[]) { TestRunner.run(suite()); } public JXPathTestSuite(String name) { super(name); } /** * Return the tests included in this test suite. */ public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(JXPathCompiledExpressionTest.class); suite.addTestSuite(SimplePathInterpreterTest.class); suite.addTestSuite(ContextDependencyTest.class); suite.addTestSuite(CoreFunctionTest.class); suite.addTestSuite(CoreOperationTest.class); suite.addTestSuite(ExtensionFunctionTest.class); suite.addTestSuite(VariableTest.class); suite.addTestSuite(ContainerModelTest.class); suite.addTestSuite(BeanModelTest.class); suite.addTestSuite(DynamicPropertiesModelTest.class); suite.addTestSuite(DOMModelTest.class); suite.addTestSuite(DynaBeanModelTest.class); suite.addTestSuite(JDOMModelTest.class); suite.addTestSuite(MixedModelTest.class); suite.addTestSuite(BasicTypeConverterTest.class); suite.addTestSuite(RecursiveAxesTest.class); return suite; } }
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

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

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.