package morfologik.tools;

import java.util.Map;

import morfologik.tools.Launcher.ToolInfo;

import org.junit.Assert;
import org.junit.Test;

/*
 *
 */
public class LauncherTest {
	/* */
	@Test
	public void testTools() throws Exception {
		for (Map.Entry<String, ToolInfo> e : Launcher.initTools().entrySet()) {
			try {
				e.getValue().invoke(new String[] {});
			} catch (Throwable t) {
				Assert.fail("Unable to launch " + e.getKey() + ": "
				        + t.getMessage());
			}
		}
	}
}

@@ -371,16 +371,24 @@
 ring%5B%5D %7B
+%22--help%22
 %7D);%0D%0A%09%09%09

fix LauncherTest to fit the specs