Permalink
Browse files

added some debug output

  • Loading branch information...
1 parent 622477a commit 469c951a1d8ca0b885dd3054e5069722e508f787 @mirkoseifert mirkoseifert committed Mar 30, 2013
@@ -118,6 +118,9 @@ private void reload(String path, Map<Object, Object> options,
// check adapters (before getting the text)
List<Adapter> eAdapters = root.eAdapters();
+ for (Adapter adapter : eAdapters) {
+ System.out.println("Found adapter " + adapter);
+ }
assertTrue("There must not be adapters after loading the resource", eAdapters.isEmpty());
// get text using the label provider
@@ -126,6 +129,7 @@ private void reload(String path, Map<Object, Object> options,
// check adapters (after getting the text)
assertFalse("There must be an adapter (ItemProviderAdapter) attached after calling getText()", eAdapters.isEmpty());
List<Notifier> targets = inspectableProvider.getTargets();
+ System.out.println("target = " + targets);
assertTrue("The targets list must remain empty or have a size of 1", targets == null || targets.size() <= 1);
}
}

0 comments on commit 469c951

Please sign in to comment.