Search in sources :

Example 11 with VersionOfDependency

use of com.qcadoo.plugin.api.VersionOfDependency in project qcadoo by qcadoo.

the class PluginDependencyInformationTest method init.

@Before
public void init() {
    dependencyInformation1 = new PluginDependencyInformation("testPlugin1", new VersionOfDependency("[1,1.2.01)"));
    dependencyInformation2 = new PluginDependencyInformation("testPlugin2", new VersionOfDependency("2.2.01]"));
    dependencyInformation3 = new PluginDependencyInformation("testPlugin3", new VersionOfDependency("[1.2.10"));
    dependencyInformation4 = new PluginDependencyInformation("testPlugin4", new VersionOfDependency("(3.0.1,4.2]"));
    dependencyInformation5 = new PluginDependencyInformation("testPlugin5", new VersionOfDependency("[3.0.1,3.0.1]"));
}
Also used : VersionOfDependency(com.qcadoo.plugin.api.VersionOfDependency) PluginDependencyInformation(com.qcadoo.plugin.api.PluginDependencyInformation) Before(org.junit.Before)

Aggregations

VersionOfDependency (com.qcadoo.plugin.api.VersionOfDependency)11 PluginDependencyInformation (com.qcadoo.plugin.api.PluginDependencyInformation)10 Test (org.junit.Test)9 PluginDependencyResult (com.qcadoo.plugin.api.PluginDependencyResult)7 Plugin (com.qcadoo.plugin.api.Plugin)4 PluginOperationResult (com.qcadoo.plugin.api.PluginOperationResult)4 InternalPlugin (com.qcadoo.plugin.internal.api.InternalPlugin)4 SimplePluginStatusResolver (com.qcadoo.plugin.internal.dependencymanager.SimplePluginStatusResolver)4 HashSet (java.util.HashSet)3 Version (com.qcadoo.plugin.api.Version)2 DefaultPlugin (com.qcadoo.plugin.internal.DefaultPlugin)1 Before (org.junit.Before)1