store descriptions from extension points and extensions in module and plugin descriptors

This commit is contained in:
Sebastian Sdorra
2014-07-06 16:44:10 +02:00
parent 6d7beeec99
commit 1fba76c969
8 changed files with 156 additions and 23 deletions

View File

@@ -77,9 +77,9 @@ public class ScmModuleTest
assertThat(
module.getExtensionPoints(),
containsInAnyOrder(
new ExtensionPointElement(String.class, true),
new ExtensionPointElement(Long.class, true),
new ExtensionPointElement(Integer.class, false)
new ExtensionPointElement(String.class, "ext01", true),
new ExtensionPointElement(Long.class, "ext02", true),
new ExtensionPointElement(Integer.class, "ext03", false)
)
);
assertThat(
@@ -92,8 +92,8 @@ public class ScmModuleTest
assertThat(
module.getSubscribers(),
containsInAnyOrder(
new SubscriberElement(Long.class, Integer.class),
new SubscriberElement(Double.class, Float.class)
new SubscriberElement(Long.class, Integer.class, "sub01"),
new SubscriberElement(Double.class, Float.class, "sub02")
)
);
assertThat(