OSDN Git Service

Converter Test Case
authoryukihane <yukihane.feather@gmail.com>
Wed, 8 Jun 2011 16:08:33 +0000 (01:08 +0900)
committeryukihane <yukihane.feather@gmail.com>
Wed, 8 Jun 2011 16:08:33 +0000 (01:08 +0900)
frontend/test/saccubus/converter/ConverterTest.java [new file with mode: 0644]

diff --git a/frontend/test/saccubus/converter/ConverterTest.java b/frontend/test/saccubus/converter/ConverterTest.java
new file mode 100644 (file)
index 0000000..b889b01
--- /dev/null
@@ -0,0 +1,95 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package saccubus.converter;
+
+import org.junit.After;
+import org.junit.AfterClass;
+import org.junit.Before;
+import org.junit.BeforeClass;
+import org.junit.Test;
+import static org.junit.Assert.*;
+import saccubus.ConvertStopFlag;
+
+/**
+ *
+ * @author yuki
+ */
+public class ConverterTest {
+    
+    @BeforeClass
+    public static void setUpClass() throws Exception {
+    }
+
+    @AfterClass
+    public static void tearDownClass() throws Exception {
+    }
+    
+    @Before
+    public void setUp() {
+    }
+    
+    @After
+    public void tearDown() {
+    }
+
+    @Test
+    public void testConverter() throws Exception{
+                Converter conv = new Converter("sm7139747",null,null,null,null);
+                conv.call();
+    }
+//    /**
+//     * Test of call method, of class Converter.
+//     */
+//    @Test
+//    public void testCall() throws Exception {
+//        System.out.println("call");
+//        Converter instance = null;
+//        Boolean expResult = null;
+//        Boolean result = instance.call();
+//        assertEquals(expResult, result);
+//        // TODO review the generated test code and remove the default call to fail.
+//        fail("The test case is a prototype.");
+//    }
+//
+//    /**
+//     * Test of run method, of class Converter.
+//     */
+//    @Test
+//    public void testRun() {
+//        System.out.println("run");
+//        Converter instance = null;
+//        instance.run();
+//        // TODO review the generated test code and remove the default call to fail.
+//        fail("The test case is a prototype.");
+//    }
+//
+//    /**
+//     * Test of isConverted method, of class Converter.
+//     */
+//    @Test
+//    public void testIsConverted() {
+//        System.out.println("isConverted");
+//        Converter instance = null;
+//        boolean expResult = false;
+//        boolean result = instance.isConverted();
+//        assertEquals(expResult, result);
+//        // TODO review the generated test code and remove the default call to fail.
+//        fail("The test case is a prototype.");
+//    }
+//
+//    /**
+//     * Test of getStopFlag method, of class Converter.
+//     */
+//    @Test
+//    public void testGetStopFlag() {
+//        System.out.println("getStopFlag");
+//        Converter instance = null;
+//        ConvertStopFlag expResult = null;
+//        ConvertStopFlag result = instance.getStopFlag();
+//        assertEquals(expResult, result);
+//        // TODO review the generated test code and remove the default call to fail.
+//        fail("The test case is a prototype.");
+//    }
+}