2004-04-09 09:05:39 -04:00
|
|
|
/* ====================================================================
|
2006-12-22 14:18:16 -05:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You 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
|
2004-04-09 09:05:39 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
==================================================================== */
|
2008-03-04 11:53:32 -05:00
|
|
|
|
2002-11-10 11:45:17 -05:00
|
|
|
package org.apache.poi.hssf;
|
|
|
|
|
|
|
|
import junit.framework.Test;
|
|
|
|
import junit.framework.TestSuite;
|
|
|
|
|
2005-08-18 03:06:44 -04:00
|
|
|
import org.apache.poi.hssf.eventmodel.TestEventRecordFactory;
|
|
|
|
import org.apache.poi.hssf.eventmodel.TestModelFactory;
|
2008-07-08 22:15:52 -04:00
|
|
|
import org.apache.poi.hssf.eventusermodel.AllEventUserModelTests;
|
2008-09-14 14:55:28 -04:00
|
|
|
import org.apache.poi.hssf.extractor.TestExcelExtractor;
|
2008-05-11 04:15:39 -04:00
|
|
|
import org.apache.poi.hssf.model.AllModelTests;
|
2008-03-04 11:53:32 -05:00
|
|
|
import org.apache.poi.hssf.record.AllRecordTests;
|
|
|
|
import org.apache.poi.hssf.usermodel.AllUserModelTests;
|
2008-09-14 14:55:28 -04:00
|
|
|
import org.apache.poi.hssf.util.AllHSSFUtilTests;
|
2008-09-26 00:49:20 -04:00
|
|
|
import org.apache.poi.ss.formula.AllSSFormulaTests;
|
2002-11-10 11:45:17 -05:00
|
|
|
|
|
|
|
/**
|
2008-02-21 10:40:34 -05:00
|
|
|
* Test Suite for all sub-packages of org.apache.poi.hssf<br/>
|
|
|
|
*
|
|
|
|
* Mostly this is for my convenience.
|
2002-11-10 11:45:17 -05:00
|
|
|
*
|
2002-11-10 11:46:48 -05:00
|
|
|
* @author Andrew C. Oliver acoliver@apache.org
|
2002-11-10 11:45:17 -05:00
|
|
|
*/
|
2008-03-04 11:53:32 -05:00
|
|
|
public final class HSSFTests {
|
2002-11-10 11:45:17 -05:00
|
|
|
|
2008-03-04 11:53:32 -05:00
|
|
|
public static Test suite() {
|
2008-09-14 14:55:28 -04:00
|
|
|
TestSuite suite = new TestSuite(HSSFTests.class.getName());
|
2005-08-18 03:06:44 -04:00
|
|
|
|
2008-07-08 22:15:52 -04:00
|
|
|
suite.addTest(AllEventUserModelTests.suite());
|
2008-05-11 04:15:39 -04:00
|
|
|
suite.addTest(AllModelTests.suite());
|
2008-03-04 11:53:32 -05:00
|
|
|
suite.addTest(AllUserModelTests.suite());
|
|
|
|
suite.addTest(AllRecordTests.suite());
|
2008-09-14 14:55:28 -04:00
|
|
|
suite.addTest(AllHSSFUtilTests.suite());
|
2005-08-18 03:06:44 -04:00
|
|
|
|
2008-09-14 14:55:28 -04:00
|
|
|
if (false) { // TODO - hook this test up
|
|
|
|
suite.addTest(new TestSuite(TestExcelExtractor.class));
|
|
|
|
}
|
2008-03-04 11:53:32 -05:00
|
|
|
suite.addTest(new TestSuite(TestEventRecordFactory.class));
|
|
|
|
suite.addTest(new TestSuite(TestModelFactory.class));
|
2008-09-26 00:49:20 -04:00
|
|
|
suite.addTest(AllSSFormulaTests.suite());
|
2002-11-10 11:45:17 -05:00
|
|
|
return suite;
|
|
|
|
}
|
|
|
|
}
|