Browse Source

Stub out the unit tests needed for bug #55026, and add the sample file from that

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1487657 13f79535-47bb-0310-9956-ffa450edef68
tags/3.10-beta1
Nick Burch 11 years ago
parent
commit
ea27681eab

+ 19
- 0
src/ooxml/testcases/org/apache/poi/openxml4j/opc/TestContentType.java View File

@@ -79,6 +79,17 @@ public final class TestContentType extends TestCase {
}
}

/**
* Parameters are allowed, provides that they meet the
* criteria of rule [01.2]
* Invalid parameters are verified as incorrect in
* {@link #testContentTypeParameterFailure()}
*/
public void testContentTypeParam() {
// TODO Review [01.2], then add tests for valid ones
// TODO See bug #55026
}
/**
* Check rule [O1.2]: Format designers might restrict the usage of
* parameters for content types.
@@ -116,4 +127,12 @@ public final class TestContentType extends TestCase {
+ "' !");
}
}
/**
* Check that we can open a file where there are valid
* parameters on a content type
*/
public void testFileWithContentTypeParams() {
// TODO Implement with ContentTypeHasParameters.ooxml
}
}

BIN
test-data/openxml4j/ContentTypeHasParameters.ooxml View File


Loading…
Cancel
Save