aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fop-core/src/test/java/org/apache/fop/apps/FopConfParserTestCase.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/fop-core/src/test/java/org/apache/fop/apps/FopConfParserTestCase.java b/fop-core/src/test/java/org/apache/fop/apps/FopConfParserTestCase.java
index d632c02f3..f60d67296 100644
--- a/fop-core/src/test/java/org/apache/fop/apps/FopConfParserTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/apps/FopConfParserTestCase.java
@@ -165,10 +165,14 @@ public class FopConfParserTestCase {
URI currentDir = new File(".").getCanonicalFile().toURI();
FopConfParser parser = new FopConfParser(configFile, currentDir);
FopFactoryBuilder fopFactoryBuilder = parser.getFopFactoryBuilder();
- assertEquals("base URI", currentDir.resolve(expectedBase),
+ assertEqualsLowerCase("base URI", currentDir.resolve(expectedBase),
fopFactoryBuilder.getBaseURI());
- assertEquals("font base", currentDir.resolve(expectedFontBase),
+ assertEqualsLowerCase("font base", currentDir.resolve(expectedFontBase),
fopFactoryBuilder.getFontManager().getResourceResolver().getBaseURI());
}
+ private void assertEqualsLowerCase(String msg, URI a, URI b) {
+ assertEquals(msg, a.toString().toLowerCase(), b.toString().toLowerCase());
+ }
+
}