public static class TestCordapp.Companion
Modifier and Type | Method and Description |
---|---|
TestCordapp |
findCordapp(java.lang.String scanPackage)
Scans the current classpath to find the CorDapp that contains the given package. All the CorDapp's metdata present in its
MANIFEST are inherited. If more than one location containing the package is found then an exception is thrown. An exception
is also thrown if no CorDapp is found.
|
public TestCordapp findCordapp(java.lang.String scanPackage)
Scans the current classpath to find the CorDapp that contains the given package. All the CorDapp's metdata present in its MANIFEST are inherited. If more than one location containing the package is found then an exception is thrown. An exception is also thrown if no CorDapp is found.
scanPackage
- The package name used to find the CorDapp. This does not need to be the root package of the CorDapp.