/* * 4 covered goals: * 1 com.google.earth.kml._2.AltitudeModeType.value()Ljava/lang/String;: root-Branch * 2 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - false * 3 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I25 Branch 2 IFLE L54 - true * 4 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I25 Branch 2 IFLE L54 - false */ @Test public void test0() throws Throwable { AltitudeModeType altitudeModeType0 = AltitudeModeType.fromValue("relativeToGround"); String string0 = altitudeModeType0.value(); assertEquals("relativeToGround", string0); assertNotNull(string0); }
/* * 3 covered goals: * 1 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - true * 2 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - false * 3 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I25 Branch 2 IFLE L54 - true */ @Test public void test1() throws Throwable { // Undeclared exception! try { AltitudeModeType.fromValue("RELATIVE_TO_GROUND"); fail("Expecting exception: IllegalArgumentException"); } catch (IllegalArgumentException e) { /* * RELATIVE_TO_GROUND */ } }
/* * 3 covered goals: * 1 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - true * 2 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - false * 3 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I25 Branch 2 IFLE L54 - true */ @Test public void test1() throws Throwable { // Undeclared exception! try { AltitudeModeType.fromValue("o0pTPgEuS"); fail("Expecting exception: IllegalArgumentException"); } catch (IllegalArgumentException e) { /* * o0pTPgEuS */ } }
/* * 2 covered goals: * 1 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I25 Branch 2 IFLE L54 - false * 2 com.google.earth.kml._2.AltitudeModeType.fromValue(Ljava/lang/String;)Lcom/google/earth/kml/_2/AltitudeModeType;: I14 Branch 1 IF_ICMPGE L53 - false */ @Test public void test2() throws Throwable { AltitudeModeType altitudeModeType0 = AltitudeModeType.fromValue("clampToGround"); assertEquals(AltitudeModeType.CLAMP_TO_GROUND, altitudeModeType0); }
/* * 1 covered goal: * 1 com.google.earth.kml._2.AltitudeModeType.value()Ljava/lang/String;: root-Branch */ @Test public void test0() throws Throwable { AltitudeModeType altitudeModeType0 = AltitudeModeType.ABSOLUTE; String string0 = altitudeModeType0.value(); assertEquals("absolute", string0); }