Changeset 929 for trunk/autoquest-plugin-core-test/src/test/java/de
- Timestamp:
- 10/17/12 11:54:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-core-test/src/test/java/de/ugoe/cs/autoquest/plugin/PluginLoaderTest.java
r927 r929 25 25 import de.ugoe.cs.autoquest.plugin.PluginLoader; 26 26 import de.ugoe.cs.autoquest.plugin.PluginLoaderException; 27 import de.ugoe.cs.autoquest.plugin. QuestPlugin;27 import de.ugoe.cs.autoquest.plugin.AutoQUESTPlugin; 28 28 import static org.junit.Assert.*; 29 29 … … 182 182 loader.load(); 183 183 184 Collection< QuestPlugin> plugins = loader.getPlugins();184 Collection<AutoQUESTPlugin> plugins = loader.getPlugins(); 185 185 186 186 assertEquals(1, plugins.size()); 187 QuestPlugin plugin = plugins.iterator().next();187 AutoQUESTPlugin plugin = plugins.iterator().next(); 188 188 assertNotNull(plugin); 189 189 assertEquals("Mock Plugin", plugin.getTitle()); … … 198 198 loader.load(); 199 199 } catch(PluginLoaderException e) { 200 e.getMessage().endsWith("not instance of QuestPlugin");200 e.getMessage().endsWith("not instance of AutoQUESTPlugin"); 201 201 } 202 202 }
Note: See TracChangeset
for help on using the changeset viewer.