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@1879501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7166eb3496
commit
9cb4e463a9
|
@ -19,7 +19,7 @@ package org.apache.poi.xddf.usermodel.chart;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.openxmlformats.schemas.drawingml.x2006.chart.STErrBarType;;
|
||||
import org.openxmlformats.schemas.drawingml.x2006.chart.STErrBarType;
|
||||
|
||||
public enum ErrorBarType {
|
||||
BOTH(STErrBarType.BOTH),
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
|
||||
package org.apache.poi.xddf.usermodel;
|
||||
|
||||
import org.apache.poi.xddf.usermodel.chart.ErrorBarType;
|
||||
import org.apache.poi.xddf.usermodel.chart.ErrorDirection;
|
||||
import org.apache.poi.xddf.usermodel.chart.ErrorValueType;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
import org.openxmlformats.schemas.drawingml.x2006.chart.*;
|
||||
|
@ -159,6 +162,9 @@ public class TestNecessaryOOXMLClasses {
|
|||
CTFirstSliceAng ctFirstSliceAng = CTFirstSliceAng.Factory.newInstance();
|
||||
Assert.assertNotNull(ctFirstSliceAng);
|
||||
|
||||
Assert.assertNotNull(ErrorBarType.BOTH);
|
||||
Assert.assertNotNull(ErrorValueType.CUSTOM);
|
||||
Assert.assertNotNull(ErrorDirection.X);
|
||||
STErrBarType.Enum e9 = STErrBarType.Enum.forString("both");
|
||||
Assert.assertNotNull(e9);
|
||||
STErrValType.Enum e10 = STErrValType.Enum.forString("percentage");
|
||||
|
|
Loading…
Reference in New Issue