Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-01-27 00:48:18 +0000
committerRyan D. Brooks2011-01-27 00:48:18 +0000
commit816874cd39fba7e3866e8609aa9d0a5ada9269ff (patch)
tree7b17e37e20f03ab24e0eaf0ddbb23271a5388373
parentc65a5ff05637db67d103fbd8430a28cfbbfbec04 (diff)
downloadorg.eclipse.osee-816874cd39fba7e3866e8609aa9d0a5ada9269ff.tar.gz
org.eclipse.osee-816874cd39fba7e3866e8609aa9d0a5ada9269ff.tar.xz
org.eclipse.osee-816874cd39fba7e3866e8609aa9d0a5ada9269ff.zip
refactor: Add test message to RendererManagerTest
-rw-r--r--plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/test/render/RendererManagerTest.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/test/render/RendererManagerTest.java b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/test/render/RendererManagerTest.java
index 79f7c925ba2..180d10c5f13 100644
--- a/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/test/render/RendererManagerTest.java
+++ b/plugins/org.eclipse.osee.ats.test/src/org/eclipse/osee/ats/test/render/RendererManagerTest.java
@@ -90,8 +90,12 @@ public class RendererManagerTest {
if (clazz == null) {
try {
- computeRenderer(artifact);
- Assert.fail("Expected an OseeStateException to be thrown since no render should be applicable in this case.");
+ IRenderer renderer = computeRenderer(artifact);
+ String message =
+ String.format(
+ "Expected an OseeStateException to be thrown since no render should be applicable in this case.\nRenderer: [%s]",
+ renderer);
+ Assert.fail(message);
} catch (OseeStateException ex) {
Assert.assertEquals("Expected message", ex.getMessage());
}

Back to the top