Summary

Test suite

Test case 1

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("m2g_b*<");
  2: Bases bases0 = new Bases(emblStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Entry entry0 = simpleEntryGroup0.createEntry("m2g_b*<");
  5: simpleEntryGroup0.removeElement(entry0);
  6: simpleEntryGroup0.removeElement(entry0);

Test case 2

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("<h158ziaG:&sJV(?");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: EntryVector entryVector0 = simpleEntryGroup0.getActiveEntries();
  6: entryVector0.add((Entry) null);
  7: Entry entry0 = entryVector0.elementAt(0);
  8: assertNull(entry0);

Test case 3

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.removeAllElements();
  3: assertEquals(0, entryVector0.size());

Test case 4

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.add((Entry) null);
  3: entryVector0.addElement((Entry) null);
  4: assertEquals(1, entryVector0.size());

Test case 5

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: boolean boolean0 = simpleEntryGroup0.contains((Entry) null);
  3: assertFalse(boolean0);

Test case 6

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("<h158ziaG:&sJV(?");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: EntryVector entryVector0 = (EntryVector)simpleEntryGroup0.clone();
  6: assertEquals(0, entryVector0.size());

Test case 7

  1: EntryVector entryVector0 = new EntryVector();
  2: int int0 = entryVector0.indexOf((Entry) null);
  3: assertEquals((-1), int0);

Test case 8

  1: EntryVector entryVector0 = new EntryVector();
  2: int int0 = entryVector0.size();
  3: assertEquals(0, int0);

Test case 9

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.elementAt((-2));

Test case 10

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.add((Entry) null);
  3: entryVector0.add((Entry) null);
  4: assertEquals(1, entryVector0.size());

Test case 11

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.add((Entry) null);
  3: boolean boolean0 = entryVector0.contains((Entry) null);
  4: assertTrue(boolean0);

Test case 12

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("<h158ziaG:&sJV(?");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: simpleEntryGroup0.addElement((Entry) null);

Test case 13

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("<h158ziaG:&sJV(?");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = Entry.newEntry(bases0);
  6: simpleEntryGroup0.add(entry0);
  7: Entry entry1 = simpleEntryGroup0.elementAt(0);
  8: assertSame(entry1, entry0);

Test case 14

  1: EntryVector entryVector0 = new EntryVector();
  2: entryVector0.add((Entry) null);
  3: int int0 = entryVector0.indexOf((Entry) null);
  4: assertEquals(0, int0);

Test case 15

  1: EntryVector entryVector0 = new EntryVector();
  2: boolean boolean0 = entryVector0.removeElement((Entry) null);
  3: assertFalse(boolean0);

Test case 16

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Key key0 = new Key("dze3_6i*H");
  3: FeatureKeyQualifierPredicate featureKeyQualifierPredicate0 = new FeatureKeyQualifierPredicate(key0, "", true);
  4: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureKeyQualifierPredicate0, "dze3_6i*H");
  5: filteredEntryGroup0.createEntry();
  6: int int0 = simpleEntryGroup0.size();
  7: assertEquals(1, int0);

Source Code

  1: No source found for uk.ac.sanger.artemis.EntryVector

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.EntryVector
  • Size: 16
  • Length: 60
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.9535087719298245
  • BranchCoverage: 1.0
  • MethodCoverage: 1.0
  • OutputCoverage: 0.7333333333333333


Back to Overview