Summary

Test suite

Test case 1

  1: Entry entry0 = Entry.newEntry((Bases) null);
  2: MockFile mockFile0 = new MockFile("internnl error - (nexpected5exception: ", "', ");
  3: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)entry0.getEntryInformation();
  4: entry0.save((File) mockFile0, (-1), true, (EntryInformation) simpleEntryInformation0);

Test case 2

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: MockFile mockFile0 = new MockFile("internal error - unexpected exception: ", "internal error - unexpected exception: ");
  7: entry0.saveStandardOnly((File) mockFile0, 1, false);
  8: assertEquals(1392409281320L, mockFile0.lastModified());

Test case 3

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: entry0.removeAllFeatures();
  7: assertFalse(entry0.isReadOnly());

Test case 4

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: boolean boolean0 = entry0.hasUnsavedChanges();
  7: assertFalse(boolean0);

Test case 5

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.getFeature(803);

Test case 6

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: Feature feature0 = simpleEntryGroup0.createFeature();
  7: entry0.add(feature0, true);

Test case 7

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: FeatureVector featureVector0 = new FeatureVector();
  3: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "operation cannot be applied to this entry");
  4: Entry entry0 = filteredEntryGroup0.createEntry();
  5: entry0.contains((Feature) null);

Test case 8

  1: Entry entry0 = Entry.newEntry((Bases) null);
  2: Key key0 = Key.CDS;
  3: entry0.createFeature(key0, (Location) null);

Test case 9

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: String string0 = entry0.getHeaderText();
  4: assertNull(string0);

Test case 10

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("");
  3: entry0.featureChanged((FeatureChangeEvent) null);
  4: assertFalse(entry0.isReadOnly());

Test case 11

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: boolean boolean0 = entry0.isReadOnly();
  7: assertFalse(boolean0);

Test case 12

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.indexOf((Feature) null);

Test case 13

  1: MSPcrunchEntryInformation mSPcrunchEntryInformation0 = new MSPcrunchEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(mSPcrunchEntryInformation0);
  3: Entry entry0 = new Entry(emblDocumentEntry0);

Test case 14

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: entry0.save(2);
  7: assertFalse(entry0.isReadOnly());

Test case 15

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: entry0.save(0);
  7: assertFalse(entry0.isReadOnly());

Test case 16

  1: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence("$Ld'&MHOwN]Z");
  2: Bases bases0 = new Bases(genbankStreamSequence0);
  3: Entry entry0 = Entry.newEntry(bases0);
  4: entry0.saveStandardOnly(1);
  5: assertFalse(entry0.isReadOnly());

Test case 17

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry((String) null);
  3: entry0.saveStandardOnly(0);
  4: assertFalse(entry0.isReadOnly());

Test case 18

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: boolean boolean0 = entry0.setName("internal error - unexpected exception: ");
  7: assertTrue(boolean0);

Test case 19

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: boolean boolean0 = entry0.setName("):");
  7: assertTrue(boolean0);

Test case 20

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("LH");
  3: boolean boolean0 = entry0.setHeaderText("LH");
  4: assertTrue(boolean0);

Test case 21

  1: Bases bases0 = new Bases((Sequence) null);
  2: Entry entry0 = Entry.newEntry(bases0);
  3: Document document0 = entry0.getRootDocument();
  4: assertNull(document0);

Test case 22

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: FileDocument fileDocument0 = (FileDocument)entry0.getRootDocument();
  7: assertTrue(fileDocument0.writable());

Test case 23

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: Range range0 = new Range(9999, 9999);
  4: FeatureVector featureVector0 = entry0.getFeaturesInRange(range0);
  5: assertNotNull(featureVector0);

Test case 24

  1: Entry entry0 = Entry.newEntry((Bases) null);
  2: FeatureVector featureVector0 = entry0.getAllFeatures();
  3: assertNotNull(featureVector0);

Test case 25

  1: Entry entry0 = Entry.newEntry((Bases) null);
  2: Range range0 = new Range(230, 230);
  3: entry0.truncate((Bases) null, range0);
  4: entry0.truncate((Bases) null, range0);

Test case 26

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: FeatureVector featureVector0 = entry0.checkForNonEMBLKeys();
  4: assertNotNull(featureVector0);

Test case 27

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, (FeatureVector) null, "");
  3: Entry entry0 = filteredEntryGroup0.createEntry("gvBW9t<{");
  4: FeatureVector featureVector0 = entry0.checkFeatureStartCodons();
  5: assertNotNull(featureVector0);

Test case 28

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry((String) null);
  3: FeatureVector featureVector0 = entry0.checkFeatureStopCodons();
  4: assertNotNull(featureVector0);

Test case 29

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("yyG_%4c>t3kF8xIA");
  3: FeatureVector featureVector0 = entry0.checkForEMBLDuplicates();
  4: assertNotNull(featureVector0);

Test case 30

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("");
  3: FeatureVector featureVector0 = entry0.checkForOverlappingCDSs();
  4: assertNotNull(featureVector0);

Test case 31

  1: Bases bases0 = new Bases((Sequence) null);
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  3: Entry entry0 = simpleEntryGroup0.createEntry("w(3hY?]&$O");
  4: FeatureVector featureVector0 = entry0.checkForMissingQualifiers();
  5: assertNotNull(featureVector0);

Test case 32

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
  4: Key key0 = blastEntryInformation0.getDefaultKey();
  5: QualifierVector qualifierVector0 = new QualifierVector();
  6: entry0.createFeature(key0, (Location) null, qualifierVector0);

Test case 33

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("LH");
  3: int int0 = entry0.getFeatureCount();
  4: assertEquals(0, int0);

Test case 34

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("");
  3: Entry.FeatureEnumerator entry_FeatureEnumerator0 = (Entry.FeatureEnumerator)entry0.features();
  4: assertFalse(entry_FeatureEnumerator0.hasMoreFeatures());

Test case 35

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("eJ#VzDW J");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: uk.ac.sanger.artemis.Entry entry0 = new uk.ac.sanger.artemis.Entry(bases0, (Entry) null);

Test case 36

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.addFeatureChangeListener(simpleEntryGroup0);
  4: assertEquals(1, simpleEntryGroup0.size());

Test case 37

  1: Bases bases0 = new Bases((Sequence) null);
  2: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  3: Entry entry0 = simpleEntryGroup0.createEntry("w(3hY?]&$O");
  4: entry0.createFeature();

Test case 38

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("");
  3: EmblDocumentEntry emblDocumentEntry0 = (EmblDocumentEntry)entry0.getEMBLEntry();
  4: assertTrue(PublicDBDocumentEntry.IGNORE_OBSOLETE_FEATURES);

Test case 39

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: Bases bases1 = entry0.getBases();
  7: assertEquals(1, Bases.FORWARD);

Test case 40

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, (FeatureVector) null, "");
  3: Entry entry0 = filteredEntryGroup0.createEntry("gvBW9t<{");
  4: String string0 = entry0.getName();
  5: assertEquals("gvBW9t<{", string0);

Test case 41

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.removeFeatureChangeListener(simpleEntryGroup0);
  4: assertFalse(entry0.isReadOnly());

Test case 42

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.removeEntryChangeListener(simpleEntryGroup0);
  4: assertEquals(1, simpleEntryGroup0.size());

Test case 43

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("");
  3: entry0.addEntryChangeListener(simpleEntryGroup0);
  4: assertFalse(entry0.isReadOnly());

Test case 44

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Entry entry0 = Entry.newEntry(bases0);
  4: boolean boolean0 = entry0.setName("");
  5: assertFalse(boolean0);

Test case 45

  1: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence("C0<#");
  2: Bases bases0 = new Bases(genbankStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Entry entry0 = simpleEntryGroup0.createEntry();
  5: boolean boolean0 = entry0.setName("internal error - unexpected exception: ");
  6: assertTrue(boolean0);

Test case 46

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: entry0.dispose();
  7: assertFalse(entry0.isReadOnly());

Test case 47

  1: uk.ac.sanger.artemis.Entry entry0 = new uk.ac.sanger.artemis.Entry((Entry) null);

Test case 48

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.add((Feature) null, true);

Test case 49

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry(" is in GTF format");
  3: entry0.add((Feature) null, false, false);

Test case 50

  1: Entry.newEntry((Bases) null);
  2: Entry.newEntry((Bases) null);

Test case 51

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("C0<#");
  2: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  3: Bases bases0 = new Bases(genbankStreamSequence0);
  4: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  5: Entry entry0 = simpleEntryGroup0.createEntry("):");
  6: entry0.save(136);

Test case 52

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry((String) null);
  3: entry0.saveStandardOnly((-1799));

Test case 53

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: entry0.saveStandardOnly((File) null, 2, false);

Test case 54

  1: SimpleEntryInformation simpleEntryInformation0 = new SimpleEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(simpleEntryInformation0);
  3: Entry entry0 = new Entry((Bases) null, emblDocumentEntry0);
  4: entry0.setHeaderText("internal error - unexpected exception: ");

Test case 55

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry("yyG_%4c>t3kF8xIA");
  3: Bases bases0 = entry0.getBases();
  4: assertNull(bases0);

Test case 56

  1: SimpleEntryInformation simpleEntryInformation0 = new SimpleEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(simpleEntryInformation0);
  3: Entry entry0 = new Entry((Bases) null, emblDocumentEntry0);
  4: String string0 = entry0.getName();
  5: assertNull(string0);

Test case 57

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: FeatureVector featureVector0 = new FeatureVector();
  5: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "");
  6: filteredEntryGroup0.createEntry("");
  7: filteredEntryGroup0.createFeature();

Test case 58

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: FeatureVector featureVector0 = new FeatureVector();
  3: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, ".IZP\rhfI_k");
  4: Entry entry0 = filteredEntryGroup0.createEntry();
  5: Entry.FeatureEnumerator entry_FeatureEnumerator0 = entry0.new FeatureEnumerator();
  6: entry_FeatureEnumerator0.nextFeature();

Test case 59

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Entry entry0 = simpleEntryGroup0.createEntry();
  3: Entry.FeatureEnumerator entry_FeatureEnumerator0 = entry0.new FeatureEnumerator();
  4: boolean boolean0 = entry_FeatureEnumerator0.hasMoreFeatures();
  5: assertFalse(boolean0);

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.Entry
  • Size: 59
  • Length: 240
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.5964312992002865
  • BranchCoverage: 0.4825174825174825
  • MethodCoverage: 0.92
  • OutputCoverage: 0.35135135135135137


Back to Overview