prickett 2002/10/23 23:17:21 Modified: periodicity/src/plugins-build/database project.xml Added: periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database DatabaseMetaDataTestSuite.java DriverMetaDataTestSuite.java DriverServiceTestSuite.java Log: Changed the project only to look for and run tests that end with TestSuite.java Added a Database Meta Data test suite Added a Driver Meta Data Test Suite Added a Driver Service Test Suite Revision Changes Path 1.11 +1 -1 jakarta-commons-sandbox/periodicity/src/plugins-build/database/project.xml Index: project.xml =================================================================== RCS file: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- project.xml 24 Oct 2002 05:03:14 -0000 1.10 +++ project.xml 24 Oct 2002 06:17:20 -0000 1.11 @@ -70,7 +70,7 @@ <unitTestSourceDirectory>src/test</unitTestSourceDirectory> <unitTest> <includes> - <include>**/*Test.java</include> + <include>**/*TestSuite.java</include> </includes> </unitTest> </build> 1.1 jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DatabaseMetaDataTestSuite.java Index: DatabaseMetaDataTestSuite.java =================================================================== package org.apache.commons.periodicity.database; /* * $Header: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DatabaseMetaDataTestSuite.java,v 1.1 2002/10/24 06:17:20 prickett Exp $ * $Revision: 1.1 $ * $Date: 2002/10/24 06:17:20 $ * * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, if * any, must include the following acknowlegement: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called "Apache" * nor may "Apache" appear in their names without prior written * permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */ import junit.framework.Test; import junit.framework.TestSuite; public class DatabaseMetaDataTestSuite extends TestSuite { public static Test suite() { DatabaseMetaDataTestSuite returnValue = new DatabaseMetaDataTestSuite(); returnValue.addTest(new DatabaseMDGetNameTest( DatabaseMDGetNameTest.TEST_NAME)); returnValue.addTest(new DatabaseMDGetTypeTest( DatabaseMDGetTypeTest.TEST_NAME)); returnValue.addTest(new DatabaseMDNameNullTest( DatabaseMDNameNullTest.TEST_NAME)); returnValue.addTest(new DatabaseMDNameTypeNullTest( DatabaseMDNameTypeNullTest.TEST_NAME)); returnValue.addTest(new DatabaseMDTypeNullTest( DatabaseMDTypeNullTest.TEST_NAME)); return returnValue; } } 1.1 jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DriverMetaDataTestSuite.java Index: DriverMetaDataTestSuite.java =================================================================== package org.apache.commons.periodicity.database; /* * $Header: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DriverMetaDataTestSuite.java,v 1.1 2002/10/24 06:17:20 prickett Exp $ * $Revision: 1.1 $ * $Date: 2002/10/24 06:17:20 $ * * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, if * any, must include the following acknowlegement: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called "Apache" * nor may "Apache" appear in their names without prior written * permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */ import junit.framework.Test; import junit.framework.TestSuite; public class DriverMetaDataTestSuite extends TestSuite { public static Test suite() { DriverMetaDataTestSuite returnValue = new DriverMetaDataTestSuite(); returnValue.addTest(new DriverMDContextNameNullTest( DriverMDContextNameNullTest.TEST_NAME)); returnValue.addTest(new DriverMDContextNullTest( DriverMDContextNullTest.TEST_NAME)); returnValue.addTest(new DriverMDGetContextTest( DriverMDGetContextTest.TEST_NAME)); returnValue.addTest(new DriverMDGetNameTest( DriverMDGetNameTest.TEST_NAME)); returnValue.addTest(new DriverMDNameNullTest( DriverMDNameNullTest.TEST_NAME)); return returnValue; } } 1.1 jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DriverServiceTestSuite.java Index: DriverServiceTestSuite.java =================================================================== package org.apache.commons.periodicity.database; /* * $Header: /home/cvs/jakarta-commons-sandbox/periodicity/src/plugins-build/database/src/test/org/apache/commons/periodicity/database/DriverServiceTestSuite.java,v 1.1 2002/10/24 06:17:20 prickett Exp $ * $Revision: 1.1 $ * $Date: 2002/10/24 06:17:20 $ * * ==================================================================== * * The Apache Software License, Version 1.1 * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * 3. The end-user documentation included with the redistribution, if * any, must include the following acknowlegement: * "This product includes software developed by the * Apache Software Foundation (http://www.apache.org/)." * Alternately, this acknowlegement may appear in the software itself, * if and wherever such third-party acknowlegements normally appear. * * 4. The names "The Jakarta Project", "Commons", and "Apache Software * Foundation" must not be used to endorse or promote products derived * from this software without prior written permission. For written * permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called "Apache" * nor may "Apache" appear in their names without prior written * permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */ import junit.framework.Test; import junit.framework.TestSuite; public class DriverServiceTestSuite extends TestSuite { public static Test suite() { DriverServiceTestSuite returnValue = new DriverServiceTestSuite(); returnValue.addTest(new DriverServiceConfigEmptyTest( DriverServiceConfigEmptyTest.TEST_NAME)); returnValue.addTest(new DriverServiceConfigNullTest( DriverServiceConfigNullTest.TEST_NAME)); returnValue.addTest(new DriverServiceDbFileNonExistTest( DriverServiceDbFileNonExistTest.TEST_NAME)); returnValue.addTest(new DriverServiceDbFileNotFileTest( DriverServiceDbFileNotFileTest.TEST_NAME)); returnValue.addTest(new DriverServiceGetInitTest( DriverServiceGetInitTest.TEST_NAME)); return returnValue; } }
-- To unsubscribe, e-mail: <mailto:commons-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>