*/
public class DefaultExtensionFactoryTest {
- public DefaultExtensionFactoryTest() {
- }
-
- @Before
- public void setUp() {
- }
-
- @After
- public void tearDown() {
- }
-
/**
* Test of create method, of class DefaultExtensionFactory.
*/
*/
public class DefaultPluginFactoryTest {
- public DefaultPluginFactoryTest() {
- }
-
- @Before
- public void setUp() {
- }
-
- @After
- public void tearDown() {
- }
-
/**
* Test of create method, of class DefaultPluginFactory.
*/
@Rule
public TemporaryFolder testFolder = new TemporaryFolder();
- public DefaultPluginRepositoryTest() {
- }
-
@Before
public void setUp() throws IOException {
testFolder.newFile("plugin-1.zip");
testFolder.newFile("plugin-3.zi_");
}
- @After
- public void tearDown() {
- }
-
/**
* Test of getPluginArchives method, of class DefaultPluginRepository.
*/
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
-import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
@Rule
public TemporaryFolder testFolder = new TemporaryFolder();
- public DefaultPluginStatusProviderTest() {
- }
-
@Before
public void setUp() throws IOException {
File file = testFolder.newFile("disabled.txt");
}
}
- @After
- public void tearDown() {
- }
-
/**
* Test of isPluginDisabled method, of class DefaultPluginStatusProvider.
*/
*/
package ro.fortsoft.pf4j.plugin;
+import ro.fortsoft.pf4j.ExtensionPoint;
+
/**
*
* @author Mario Franco
*/
-public class TestExtension {
+public class TestExtension implements ExtensionPoint {
}