summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ross2012-09-11 08:19:48 (EDT)
committer Thomas Watson2012-09-11 11:01:00 (EDT)
commit4652fbc82ce4663e3b40d9a3c15429a11e36b700 (patch)
tree23e235250326d16e50997b690ced869a539eb33b
parent3783e7d00f031f5f2926420a9be6c883cb2b835e (diff)
downloadrt.equinox.framework-4652fbc82ce4663e3b40d9a3c15429a11e36b700.zip
rt.equinox.framework-4652fbc82ce4663e3b40d9a3c15429a11e36b700.tar.gz
rt.equinox.framework-4652fbc82ce4663e3b40d9a3c15429a11e36b700.tar.bz2
Updated tests for data in report entry.
-rw-r--r--bundles/org.eclipse.osgi.container.tests/src/org/eclipse/osgi/container/tests/ResolutionReportTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.container.tests/src/org/eclipse/osgi/container/tests/ResolutionReportTest.java b/bundles/org.eclipse.osgi.container.tests/src/org/eclipse/osgi/container/tests/ResolutionReportTest.java
index 93e60db..529d03c 100644
--- a/bundles/org.eclipse.osgi.container.tests/src/org/eclipse/osgi/container/tests/ResolutionReportTest.java
+++ b/bundles/org.eclipse.osgi.container.tests/src/org/eclipse/osgi/container/tests/ResolutionReportTest.java
@@ -80,6 +80,7 @@ public class ResolutionReportTest extends AbstractTest {
assertEquals("Wrong number of entries", 1, entries.size());
ResolutionReport.Entry entry = entries.get(0);
assertEquals("Wrong type", ResolutionReport.Entry.Type.FILTERED_BY_RESOLVER_HOOK, entry.getType());
+ assertEquals("Unexpected data", null, entry.getData());
}
@Test
@@ -104,6 +105,7 @@ public class ResolutionReportTest extends AbstractTest {
assertEquals("Wrong number of entries", 1, entries.size());
ResolutionReport.Entry entry = entries.get(0);
assertEquals("Wrong type", ResolutionReport.Entry.Type.SINGLETON_SELECTION, entry.getType());
+ assertNotNull("No data", entry.getData());
}
@Test
@@ -130,6 +132,7 @@ public class ResolutionReportTest extends AbstractTest {
assertEquals("Wrong number of entries", 1, entries.size());
ResolutionReport.Entry entry = entries.get(0);
assertEquals("Wrong type", ResolutionReport.Entry.Type.SINGLETON_SELECTION, entry.getType());
+ assertNotNull("No data", entry.getData());
}
@Test
@@ -156,5 +159,6 @@ public class ResolutionReportTest extends AbstractTest {
assertEquals("Wrong number of entries", 1, entries.size());
ResolutionReport.Entry entry = entries.get(0);
assertEquals("Wrong type", ResolutionReport.Entry.Type.SINGLETON_SELECTION, entry.getType());
+ assertNotNull("No data", entry.getData());
}
}