try to fix issue with missing classes in poi-ooxml-schemas

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879518 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2020-07-05 09:39:09 +00:00
parent 1c5ba18ac0
commit 31bd7852c7
2 changed files with 7 additions and 1 deletions

View File

@ -400,7 +400,8 @@ under the License.
</path> </path>
<path id="ooxml.classpath"> <path id="ooxml.classpath">
<pathelement location="${ooxml.xsds.jar}"/> <pathelement location="/Users/pj.fanning/code/poi-5.0.0-SNAPSHOT/poi-ooxml-schemas-5.0.0-SNAPSHOT.jar"/>
<!-- <pathelement location="${ooxml.xsds.jar}"/> -->
<path refid="ooxml.base.classpath"/> <path refid="ooxml.base.classpath"/>
<path refid="batik.classpath"/> <path refid="batik.classpath"/>
</path> </path>

View File

@ -171,6 +171,11 @@ public class TestNecessaryOOXMLClasses {
Assert.assertNull(xeb.getErrorBarType()); Assert.assertNull(xeb.getErrorBarType());
Assert.assertNull(xeb.getErrorDirection()); Assert.assertNull(xeb.getErrorDirection());
Assert.assertNull(xeb.getErrorValueType()); Assert.assertNull(xeb.getErrorValueType());
Assert.assertNotNull(CTErrBarType.Factory.newInstance());
Assert.assertNotNull(CTErrValType.Factory.newInstance());
Assert.assertNotNull(CTErrDir.Factory.newInstance());
STErrBarType.Enum e9 = STErrBarType.Enum.forString("both"); STErrBarType.Enum e9 = STErrBarType.Enum.forString("both");
Assert.assertNotNull(e9); Assert.assertNotNull(e9);
STErrValType.Enum e10 = STErrValType.Enum.forString("percentage"); STErrValType.Enum e10 = STErrValType.Enum.forString("percentage");