package scriptbuilder.structures; import junit.framework.TestCase; import scriptbuilder.structures.events.I_ScriptEvent; /** * * @author Bryan McGuffin */ public class TimeSliceTest extends TestCase { public TimeSliceTest(String testName) { super(testName); } /** * Test of addEvent method, of class TimeSlice. */ public void testAddEvent() { System.out.println("addEvent"); I_ScriptEvent event = null; TimeSlice instance = null; instance.addEvent(event); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of getX method, of class TimeSlice. */ public void testGetX() { System.out.println("getX"); TimeSlice instance = null; int expResult = 0; int result = instance.getX(); 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 getTime method, of class TimeSlice. */ public void testGetTime() { System.out.println("getTime"); TimeSlice instance = null; int expResult = 0; int result = instance.getTime(); 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 shift method, of class TimeSlice. */ public void testShift() { System.out.println("shift"); int amnt = 0; TimeSlice instance = null; instance.shift(amnt); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } /** * Test of getEffectiveDuration method, of class TimeSlice. */ public void testGetEffectiveDuration() { System.out.println("getEffectiveDuration"); TimeSlice instance = null; int expResult = 0; int result = instance.getEffectiveDuration(); 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 getToolTipText method, of class TimeSlice. */ public void testGetToolTipText() { System.out.println("getToolTipText"); int y = 0; TimeSlice instance = null; String expResult = ""; String result = instance.getToolTipText(y); 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 toString method, of class TimeSlice. */ public void testToString() { System.out.println("toString"); TimeSlice instance = null; String expResult = ""; String result = instance.toString(); 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 compareTo method, of class TimeSlice. */ public void testCompareTo() { System.out.println("compareTo"); Object o = null; TimeSlice instance = null; int expResult = 0; int result = instance.compareTo(o); 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 toXML method, of class TimeSlice. */ public void testToXML() { System.out.println("toXML"); TimeSlice instance = null; String expResult = ""; String result = instance.toXML(); assertEquals(expResult, result); // TODO review the generated test code and remove the default call to fail. fail("The test case is a prototype."); } }