adle.moab-sdk.0.13.source-code.plugins.gdsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moab-sdk Show documentation
Show all versions of moab-sdk Show documentation
Gradle plugins comprising a plugin SDK for Moab.
contributor(context()) {
// Testing hints
classType.getAnnotations("com.adaptc.mws.plugins.testing.TestFor").each {
String className = it?.findAttributeValue("value")?.getClassNameText()
if (className.endsWith("Plugin")) {
property name:"plugin", type:className, doc:"The plugin under test"
delegatesTo(findClass("com.adaptc.mws.plugins.testing.PluginUnitTestMixin").getNavigationElement())
} else if (className.endsWith("Translator")) {
property name:"translator", type:className, doc:"The translator under test"
delegatesTo(findClass("com.adaptc.mws.plugins.testing.TranslatorUnitTestMixin").getNavigationElement())
} else {
// Assume component
property name:"component", type:className, doc:"The component under test"
delegatesTo(findClass("com.adaptc.mws.plugins.testing.ComponentUnitTestMixin").getNavigationElement())
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy