|
/*
|
|
* Copyright (C) 2007 ETH Zurich
|
|
*
|
|
* This file is part of Fosstrak (www.fosstrak.org).
|
|
*
|
|
* Fosstrak is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* Fosstrak is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with Fosstrak; if not, write to the Free
|
|
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
package org.fosstrak.epcis.repository.test;
|
|
|
|
import junit.framework.Test;
|
|
import junit.framework.TestSuite;
|
|
|
|
/**
|
|
* Contains all the Fosstrak EPCIS interoperability tests. These tests are based
|
|
* on EPCglobal's interoperability test kit.
|
|
*
|
|
* @author Marco Steybe
|
|
*/
|
|
public class AllTests {
|
|
|
|
public static Test suite() {
|
|
TestSuite suite = new TestSuite("Test for org.fosstrak.epcis.repository.test");
|
|
suite.addTestSuite(CaptureTest.class);
|
|
suite.addTestSuite(DbResetOperationTest.class);
|
|
|
|
// this needs to be executed before all the query tests in
|
|
// order to work with a clean pre-defined database state
|
|
suite.addTestSuite(DbResetOperationTest.class);
|
|
|
|
suite.addTestSuite(EventQueryTest.class);
|
|
suite.addTestSuite(ImplementationErrorTest.class);
|
|
|
|
// TODO: the following tests cannot be executed automatically yet
|
|
// suite.addTestSuite(QueryTooComplexTest.class);
|
|
// suite.addTestSuite(QueryTooLargeTest.class);
|
|
|
|
// performance tests, should not be part of this test suite
|
|
// suite.addTestSuite(QueryPerformanceTest.class);
|
|
|
|
return suite;
|
|
}
|
|
|
|
}
|