コード例 #1
0
 /*
  * 2 covered goals:
  * 1 net.sf.lavalamp.properties.Off.toString()Ljava/lang/String;: root-Branch
  * 2 net.sf.lavalamp.properties.Off.<init>()V: root-Branch
  */
 @Test
 public void test4() throws Throwable {
   Off off0 = new Off();
   String string0 = off0.toString();
   assertEquals("[start=00:00, end=00:00]", string0);
   assertNotNull(string0);
 }
コード例 #2
0
 /*
  * 1 covered goal:
  * 1 net.sf.lavalamp.properties.Off.setStart(Ljava/lang/String;)V: root-Branch
  */
 @Test
 public void test1() throws Throwable {
   Off off0 = new Off();
   off0.setStart("00:00");
   assertEquals("[start=00:00, end=00:00]", off0.toString());
   assertEquals("00:00", off0.getEnd());
 }