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
This commit is contained in:
parent
7c246cb5f0
commit
bf581e03b9
@ -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
|
* Check rule [O1.2]: Format designers might restrict the usage of
|
||||||
* parameters for content types.
|
* 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
Normal file
BIN
test-data/openxml4j/ContentTypeHasParameters.ooxml
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user