import java.io.File;\r
import java.io.FileInputStream;\r
import java.io.FileNotFoundException;\r
-import java.io.InputStream;\r
import java.io.IOException;\r
+import java.io.InputStream;\r
import java.net.MalformedURLException;\r
import java.net.URL;\r
import java.util.ArrayList;\r
import java.util.Iterator;\r
import java.util.List;\r
+\r
import org.objectweb.asm.ClassReader;\r
import org.objectweb.asm.commons.EmptyVisitor;\r
\r
--- /dev/null
+package jp.naist.se.stigmata;\r
+\r
+/*\r
+ * $Id$\r
+ */\r
+\r
+import static org.junit.Assert.assertNotNull;\r
+import org.junit.Before;\r
+import org.junit.Test;\r
+\r
+/**\r
+ * @author Haruaki Tamada\r
+ * @version $Revision$ $Date$\r
+ */\r
+public class ServiceListTest{\r
+ private BirthmarkEnvironment env;\r
+\r
+ @Before\r
+ public void setup() throws Exception{\r
+ env = Stigmata.getInstance().createEnvironment();\r
+ }\r
+\r
+ @Test\r
+ public void testServiceList(){\r
+ assertNotNull(env.getService("cvfv"));\r
+ assertNotNull(env.getService("fmc"));\r
+ assertNotNull(env.getService("fuc"));\r
+ assertNotNull(env.getService("is"));\r
+ assertNotNull(env.getService("kgram"));\r
+ assertNotNull(env.getService("smc"));\r
+ assertNotNull(env.getService("uc"));\r
+ assertNotNull(env.getService("cvfv_dp"));\r
+ assertNotNull(env.getService("cvfv_ed"));\r
+ assertNotNull(env.getService("is_dp"));\r
+ assertNotNull(env.getService("is_ed"));\r
+ assertNotNull(env.getService("smc_dp"));\r
+ assertNotNull(env.getService("smc_ed"));\r
+ assertNotNull(env.getService("uc_dp"));\r
+ assertNotNull(env.getService("uc_ed"));\r
+ assertNotNull(env.getService("uc_seq"));\r
+ }\r
+}\r