public class TestPluginFactorySelection extends Object
The products just walk a list of PluginFactory instances and select the first one for which
PluginFactory.canCreate(com.atlassian.plugin.PluginArtifact) is true. We don't mandate the order of this list, and it may vary from product to
product.
This test suite verifies that OsgiBundleFactory and OsgiPluginFactory select the correct plugins
regardless of the order of the calls, by verifying there are no intersections in the accepted plugins for each.
| Modifier and Type | Field and Description |
|---|---|
String |
expected |
boolean |
hasSpring |
boolean |
isOsgiBundle |
boolean |
isPlugin |
boolean |
isTransformless |
| Constructor and Description |
|---|
TestPluginFactorySelection() |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
data() |
void |
verificator() |
public boolean hasSpring
public boolean isPlugin
public boolean isOsgiBundle
public boolean isTransformless
public String expected
public static Collection<Object[]> data()
public void verificator()
throws IOException
IOExceptionCopyright © 2019 Atlassian. All rights reserved.