Author: akazakov
Date: 2011-11-10 20:18:51 -0500 (Thu, 10 Nov 2011)
New Revision: 36293
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JBossPerspectiveTest.java
Log:
https://issues.jboss.org/browse/JBIDE-10145
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JBossPerspectiveTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JBossPerspectiveTest.java 2011-11-11
01:15:26 UTC (rev 36292)
+++
trunk/jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/JBossPerspectiveTest.java 2011-11-11
01:18:51 UTC (rev 36293)
@@ -37,10 +37,12 @@
assertNotNull(page);
IViewReference[] viewReferences = page.getViewReferences();
Set<String> viewIds = new HashSet<String>();
+ StringBuffer sb = new StringBuffer("[");
for (IViewReference viewReference : viewReferences) {
- System.out.println("View ID: " + viewReference.getId());
+ sb.append(viewReference.getId()).append(", ");
viewIds.add(viewReference.getId());
}
- assertTrue("Have not found " + PaletteView.ID + " in " +
JBossPerspectiveFactory.PERSPECTIVE_ID + ".",
viewIds.contains(PaletteView.ID));
+ sb.append("]");
+ assertTrue("Have not found " + PaletteView.ID + " in " +
JBossPerspectiveFactory.PERSPECTIVE_ID + ". Found Views: " + sb.toString(),
viewIds.contains(PaletteView.ID));
}
}
\ No newline at end of file