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;
|
|
|
|
import org.apache.poi.hssf.model.TestDrawingManager;
|
2008-01-09 04:22:20 -05:00
|
|
|
import org.apache.poi.hssf.model.TestFormulaParser;
|
2005-08-18 03:06:44 -04:00
|
|
|
import org.apache.poi.hssf.model.TestSheet;
|
2008-03-04 11:53:32 -05:00
|
|
|
import org.apache.poi.hssf.record.AllRecordTests;
|
|
|
|
import org.apache.poi.hssf.usermodel.AllUserModelTests;
|
2008-02-21 10:40:34 -05:00
|
|
|
import org.apache.poi.hssf.util.TestAreaReference;
|
|
|
|
import org.apache.poi.hssf.util.TestCellReference;
|
|
|
|
import org.apache.poi.hssf.util.TestRKUtil;
|
|
|
|
import org.apache.poi.hssf.util.TestRangeAddress;
|
|
|
|
import org.apache.poi.hssf.util.TestSheetReferences;
|
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 void main(String[] args) {
|
2004-09-23 23:50:44 -04:00
|
|
|
junit.textui.TestRunner.run(suite());
|
2002-11-10 11:45:17 -05:00
|
|
|
}
|
|
|
|
|
2008-03-04 11:53:32 -05:00
|
|
|
public static Test suite() {
|
|
|
|
TestSuite suite = new TestSuite("Tests for org.apache.poi.hssf");
|
|
|
|
// $JUnit-BEGIN$
|
2005-08-18 03:06:44 -04:00
|
|
|
|
2008-03-04 11:53:32 -05:00
|
|
|
suite.addTest(AllUserModelTests.suite());
|
|
|
|
suite.addTest(AllRecordTests.suite());
|
2005-08-18 03:06:44 -04:00
|
|
|
|
2002-11-10 11:45:17 -05:00
|
|
|
suite.addTest(new TestSuite(TestFormulaParser.class));
|
2008-02-21 10:40:34 -05:00
|
|
|
suite.addTest(new TestSuite(TestAreaReference.class));
|
|
|
|
suite.addTest(new TestSuite(TestCellReference.class));
|
2008-03-04 11:53:32 -05:00
|
|
|
suite.addTest(new TestSuite(TestRangeAddress.class));
|
2008-02-21 10:40:34 -05:00
|
|
|
suite.addTest(new TestSuite(TestRKUtil.class));
|
|
|
|
suite.addTest(new TestSuite(TestSheetReferences.class));
|
2008-03-04 11:53:32 -05:00
|
|
|
suite.addTest(new TestSuite(TestEventRecordFactory.class));
|
|
|
|
suite.addTest(new TestSuite(TestModelFactory.class));
|
|
|
|
suite.addTest(new TestSuite(TestDrawingManager.class));
|
|
|
|
suite.addTest(new TestSuite(TestSheet.class));
|
|
|
|
// $JUnit-END$
|
2002-11-10 11:45:17 -05:00
|
|
|
return suite;
|
|
|
|
}
|
|
|
|
}
|