mirror of https://github.com/apache/poi.git
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:
parent
1c5ba18ac0
commit
31bd7852c7
|
@ -400,7 +400,8 @@ under the License.
|
|||
</path>
|
||||
|
||||
<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="batik.classpath"/>
|
||||
</path>
|
||||
|
|
|
@ -171,6 +171,11 @@ public class TestNecessaryOOXMLClasses {
|
|||
Assert.assertNull(xeb.getErrorBarType());
|
||||
Assert.assertNull(xeb.getErrorDirection());
|
||||
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");
|
||||
Assert.assertNotNull(e9);
|
||||
STErrValType.Enum e10 = STErrValType.Enum.forString("percentage");
|
||||
|
|
Loading…
Reference in New Issue