public void testCreatePlugin2() throws Exception { GrailsCommand cmd = GrailsCommandFactory.createPlugin( GrailsCoreActivator.getDefault().getInstallManager().getDefaultGrailsInstall(), "foo"); assertEquals("create-plugin foo", cmd.getCommand()); }
public void testCreatePlugin() throws Exception { assertEquals("create-plugin foo", GrailsCommandFactory.createPlugin("foo").getCommand()); }