From fae5a44fac71559a61e697885dcf20f2866f1a37 Mon Sep 17 00:00:00 2001 From: Mirko Seifert Date: Sat, 30 Mar 2013 22:42:34 +0100 Subject: [PATCH] fixed test (null is not interpreted as true anymore) --- .../org/emftext/test/locationmap/LocationMapOptionsTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Tests/org.emftext.test/src/org/emftext/test/locationmap/LocationMapOptionsTest.java b/Core/Tests/org.emftext.test/src/org/emftext/test/locationmap/LocationMapOptionsTest.java index ac979c51b..8bfa4d121 100644 --- a/Core/Tests/org.emftext.test/src/org/emftext/test/locationmap/LocationMapOptionsTest.java +++ b/Core/Tests/org.emftext.test/src/org/emftext/test/locationmap/LocationMapOptionsTest.java @@ -58,7 +58,7 @@ public void testDisableLocationMapOption() { resource.unload(); resource.load(Collections.singletonMap( - ICsOptions.DISABLE_LOCATION_MAP, null)); + ICsOptions.DISABLE_LOCATION_MAP, true)); cs = getConcreteSyntax(resource); l = resource.getLocationMap().getLine(cs.getRules().get(0)); //location map disabled -> no location information available @@ -67,7 +67,7 @@ public void testDisableLocationMapOption() { resource.unload(); resource.load(null); resource.load(Collections.singletonMap( - ICsOptions.DISABLE_LOCATION_MAP, null)); //no effect since already loaded + ICsOptions.DISABLE_LOCATION_MAP, true)); //no effect since already loaded cs = getConcreteSyntax(resource); l = resource.getLocationMap().getLine(cs.getRules().get(0)); //location map enabled -> location information available