com.xebialabs.deployit.tck.manifest
Class ManifestTester
java.lang.Object
com.xebialabs.deployit.tck.manifest.ManifestTester
public class ManifestTester
- extends Object
Provides helper methods for unit tests to verify Deployit plugin manifests. Example:
@Test
public void testManifest() {
ManifestTester.testManifest("com.acme.plugin.package");
}
This will attempt to load all Deployit manifests on the classpath and compare them to all items in the given package,
verifying the following:
- that the plugin loader can successfully process all the manifests on the classpath
- that all classes annotated with
@ConfigurationItem are included in the loaded manifests
- that all implementations of
RunBook are included in the loaded manifests
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManifestTester
public ManifestTester()
testManifest
public static void testManifest(String basePackage)
Copyright © 2008-2010. All Rights Reserved.