// a test-case to test this locally without executing the full TestAllFiles
@Test
public void test() throws Exception {
- InputStream stream = new FileInputStream("test-data/slideshow/SampleShow.pptx");
+ InputStream stream = new FileInputStream("test-data/slideshow/ae.ac.uaeu.faculty_nafaachbili_GeomLec1.pptx");
try {
handleFile(stream);
} finally {
}
}
-
// a test-case to test this locally without executing the full TestAllFiles
@Test
public void testExtractor() throws Exception {
- handleExtracting(new File("test-data/slideshow/testPPT.thmx"));
+ handleExtracting(new File("test-data/slideshow/ae.ac.uaeu.faculty_nafaachbili_GeomLec1.pptx"));
}
}
\ No newline at end of file
*/\r
private static Color HSL2RGB(double h, double s, double l, double alpha) {\r
if (s <0.0f || s > 100.0f) {\r
- String message = "Color parameter outside of expected range - Saturation";\r
+ String message = "Color parameter outside of expected range - Saturation: " + s;\r
throw new IllegalArgumentException( message );\r
}\r
\r
if (l <0.0f || l > 100.0f) {\r
- String message = "Color parameter outside of expected range - Luminance";\r
+ String message = "Color parameter outside of expected range - Luminance: " + l;\r
throw new IllegalArgumentException( message );\r
}\r
\r
if (alpha <0.0f || alpha > 1.0f) {\r
- String message = "Color parameter outside of expected range - Alpha";\r
+ String message = "Color parameter outside of expected range - Alpha: " + alpha;\r
throw new IllegalArgumentException( message );\r
}\r
\r