aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2009-12-26 02:17:34 +0000
committerJosh Micich <josh@apache.org>2009-12-26 02:17:34 +0000
commitfeafcb8f48e24a6b1967e4cbf9e50d8f1b3224fd (patch)
tree9895a650914dded40eefb3f018702376de7301db /src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
parent136e09be840acfdf69f77b42725d2c2a6ce1b2f6 (diff)
downloadpoi-feafcb8f48e24a6b1967e4cbf9e50d8f1b3224fd.tar.gz
poi-feafcb8f48e24a6b1967e4cbf9e50d8f1b3224fd.zip
Replaced getInstance methods with field for instances of ITestDataProvider. Some simplification in hierarchy of related tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@893929 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
index 288ffca69c..1bcc98149e 100644
--- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
+++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFFont.java
@@ -34,9 +34,8 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.STVerticalAlignRun;
public final class TestXSSFFont extends BaseTestFont{
- @Override
- protected XSSFITestDataProvider getTestDataProvider() {
- return XSSFITestDataProvider.getInstance();
+ public TestXSSFFont() {
+ super(XSSFITestDataProvider.instance);
}
public void testDefaultFont() {