/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.toronto.cs.xcurator.cli; import java.util.List; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * * @author Amir */ public class UtilTest extends TestCase { public UtilTest(String testName) { super(testName); } public static Test suite() { TestSuite suite = new TestSuite(UtilTest.class); return suite; } @Override protected void setUp() throws Exception { super.setUp(); } @Override protected void tearDown() throws Exception { super.tearDown(); } /** * Test of getFiles method, of class Util. */ public void testGetFiles() { System.out.println("getFiles"); String dir = ""; List<String> expResult = null; List<String> result = Util.getFiles(dir); 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 json2xml method, of class Util. */ public void testJson2xml() { System.out.println("json2xml"); String json = ""; String expResult = ""; String result = Util.json2xml(json); 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 main method, of class Util. */ public void testMain() { System.out.println("main"); String[] args = null; Util.main(args); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } }