mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-21 19:41:36 +01:00
store descriptions from extension points and extensions in module and plugin descriptors
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user