Summary

Test suite

Test case 1

  1: LocationLexer locationLexer0 = new LocationLexer("dY@^%g@94o`");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("dY@^%g@94o`");
  3: String string0 = (String)locationLexer_TokenEnumeration0.nextElement();
  4: assertEquals("dY", string0);
  5: 
  6: String string1 = (String)locationLexer_TokenEnumeration0.nextElement();
  7: assertNotNull(string1);
  8: assertEquals("@", string1);
  9: 
 10: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken('#');
 11: assertFalse(boolean0);

Test case 2

  1: LocationLexer locationLexer0 = new LocationLexer("dY@^%g@94o`");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.getTokens();
  3: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken("dY@^%g@94o`");
  4: assertFalse(boolean0);

Test case 3

  1: LocationLexer locationLexer0 = new LocationLexer("");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("c");
  3: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken("c");
  4: assertTrue(boolean0);

Test case 4

  1: LocationLexer locationLexer0 = new LocationLexer("7B0'S3#jWV;PbV7<%");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.getTokens();
  3: String string0 = locationLexer_TokenEnumeration0.toString();
  4: assertEquals("", string0);

Test case 5

  1: LocationLexer locationLexer0 = new LocationLexer("7B0'S3#jWV;PbV7<%");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("7B0'S3#jWV;PbV7<%");
  3: String string0 = locationLexer_TokenEnumeration0.toString();
  4: assertNotNull(string0);

Test case 6

  1: LocationLexer locationLexer0 = new LocationLexer("VT ");
  2: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("VT ");
  3: String string0 = locationLexer_TokenEnumeration0.toString();
  4: assertNotNull(string0);

Test case 7

  1: LocationLexer locationLexer0 = new LocationLexer("KYh,ebL.KJ");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("H1+yV3e},U!");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 8

  1: LocationLexer locationLexer0 = new LocationLexer(";F<\"8'hm");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration(";F<\"8'hm");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 9

  1: LocationLexer locationLexer0 = new LocationLexer("5!YLC$I^$@'+nAz?KY");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("5!YLC$I^$@'+nAz?KY");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 10

  1: LocationLexer locationLexer0 = new LocationLexer("lpd_f/KN+&Jw6T#,");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("lpd_f/KN+&Jw6T#,");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 11

  1: LocationLexer locationLexer0 = new LocationLexer("dY@^%g@94o`");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration(")9=2(j[e8;");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 12

  1: LocationLexer locationLexer0 = new LocationLexer("..");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("'.tT-N`}4$o:v!7-N=c");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 13

  1: LocationLexer locationLexer0 = new LocationLexer("..");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("NsV0a/c{}0+YXG+B");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 14

  1: LocationLexer locationLexer0 = new LocationLexer("Z`1abg|^RPoP");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("Z`1abg|^RPoP");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 15

  1: LocationLexer locationLexer0 = new LocationLexer("9Qm*A$qB.1H76^");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("34>");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: Integer integer0 = (Integer)locationLexer_TokenEnumeration0.peekElement();
  8: assertEquals(34, (int)integer0);
  9: assertNotNull(integer0);

Test case 16

  1: LocationLexer locationLexer0 = new LocationLexer("dY@^%g@94o`");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("u',X3zUs~W0Td@6~/");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 17

  1: LocationLexer locationLexer0 = new LocationLexer((String) null);
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("#ms+!_8SJ;>Rz3");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 18

  1: LocationLexer locationLexer0 = new LocationLexer("");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("dx$Y0E(=lMmNDGGE-");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 19

  1: LocationLexer locationLexer0 = new LocationLexer("&");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("kYT!;~G<B");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 20

  1: LocationLexer locationLexer0 = new LocationLexer("z2m+;:%M@7Z*");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("z2m+;:%M@7Z*");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 21

  1: LocationLexer locationLexer0 = new LocationLexer("TZ");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("TZ");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken("^n");
  8: assertFalse(boolean0);

Test case 22

  1: LocationLexer locationLexer0 = new LocationLexer("IcMW6K<M");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("NI%EV]n");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = locationLexer_TokenEnumeration0.toString();
  8: assertNotNull(string0);

Test case 23

  1: LocationLexer locationLexer0 = new LocationLexer("..");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("..");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: String string0 = (String)locationLexer_TokenEnumeration0.peekElement();
  8: assertEquals("..", string0);
  9: assertNotNull(string0);

Test case 24

  1: LocationLexer locationLexer0 = new LocationLexer("! s6ZKP");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration("}U&y\"DUd<1o");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken('{');
  8: assertFalse(boolean0);
  9: 
 10: String string0 = (String)locationLexer_TokenEnumeration0.nextElement();
 11: assertEquals("}", string0);
 12: assertNotNull(string0);

Test case 25

  1: LocationLexer locationLexer0 = new LocationLexer("");
  2: assertNotNull(locationLexer0);
  3: 
  4: LocationLexer.TokenEnumeration locationLexer_TokenEnumeration0 = locationLexer0.new TokenEnumeration(")1");
  5: assertNotNull(locationLexer_TokenEnumeration0);
  6: 
  7: boolean boolean0 = locationLexer_TokenEnumeration0.eatToken('{');
  8: assertFalse(boolean0);

Source Code

  1: No source found for uk.ac.sanger.artemis.io.LocationLexer

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.io.LocationLexer
  • Size: 25
  • Length: 78
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.8784473762671436
  • BranchCoverage: 0.8289473684210527
  • MethodCoverage: 1.0
  • OutputCoverage: 0.5


Back to Overview