Summary

Test suite

Test case 1

  1: PublicDBDocumentEntry.getDatabaseQualifiersToRemove();

Test case 2

  1: MSPcrunchEntryInformation mSPcrunchEntryInformation0 = new MSPcrunchEntryInformation();
  2: RemoteFileNode remoteFileNode0 = new RemoteFileNode(false);
  3: RemoteFileDocument remoteFileDocument0 = new RemoteFileDocument(remoteFileNode0);
  4: LogReadListener logReadListener0 = new LogReadListener(" WHERE ");
  5: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(mSPcrunchEntryInformation0, remoteFileDocument0, logReadListener0);

Test case 3

  1: BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(blastEntryInformation0);
  3: emblDocumentEntry0.makeNativeFeature((Feature) null, true);

Test case 4

  1: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)SimpleEntryInformation.getDefaultEntryInformation();
  2: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0);
  3: BioJavaFeature bioJavaFeature0 = new BioJavaFeature((Feature) null, (BioJavaEntry) null);
  4: publicDBDocumentEntry0.makeNativeFeature(bioJavaFeature0, false);

Test case 5

  1: SimpleEntryInformation simpleEntryInformation0 = new SimpleEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(simpleEntryInformation0);
  3: EmblStreamFeature emblStreamFeature0 = new EmblStreamFeature();
  4: EmblStreamFeature emblStreamFeature1 = (EmblStreamFeature)emblDocumentEntry0.forcedAdd(emblStreamFeature0);
  5: assertSame(emblStreamFeature1, emblStreamFeature0);

Test case 6

  1: Key key0 = Key.CDS;
  2: Key key1 = PublicDBDocumentEntry.mapKeys(key0);
  3: Key key2 = PublicDBDocumentEntry.mapKeys(key1);
  4: assertSame(key2, key1);

Test case 7

  1: BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
  2: EmblDocumentEntry emblDocumentEntry0 = new EmblDocumentEntry(blastEntryInformation0);
  3: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("|uz ZA.Z@}YE89}H$");
  4: GenbankStreamSequence genbankStreamSequence0 = (GenbankStreamSequence)emblDocumentEntry0.makeNativeSequence(fastaStreamSequence0);
  5: assertNull(genbankStreamSequence0.getHeader());

Test case 8

  1: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)SimpleEntryInformation.getDefaultEntryInformation();
  2: BlastDocumentEntry blastDocumentEntry0 = new BlastDocumentEntry(simpleEntryInformation0);
  3: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0, blastDocumentEntry0, true);
  4: assertFalse(publicDBDocumentEntry0.isReadOnly());

Test case 9

  1: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry((EntryInformation) null);

Test case 10

  1: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry((EntryInformation) null, (Entry) null, true);

Test case 11

  1: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)SimpleEntryInformation.getDefaultEntryInformation();
  2: MockFile mockFile0 = new MockFile((File) null, "oP?9e%(TRrv");
  3: ZipFileDocument zipFileDocument0 = new ZipFileDocument(mockFile0, " category\">");
  4: LogReadListener logReadListener0 = new LogReadListener("oP?9e%(TRrv");
  5: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0, zipFileDocument0, logReadListener0);

Test case 12

  1: MSPcrunchEntryInformation mSPcrunchEntryInformation0 = new MSPcrunchEntryInformation();
  2: LogReadListener logReadListener0 = new LogReadListener("gWmL?2$");
  3: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(mSPcrunchEntryInformation0, (Document) null, logReadListener0);

Test case 13

  1: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)SimpleEntryInformation.getDefaultEntryInformation();
  2: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0);
  3: publicDBDocumentEntry0.makeNativeSequence((Sequence) null);

Test case 14

  1: PublicDBDocumentEntry.mapKeys((Key) null);

Test case 15

  1: SimpleEntryInformation simpleEntryInformation0 = new SimpleEntryInformation();
  2: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0);
  3: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("4wZ8-l:e(T");
  4: char[] charArray0 = new char[3];
  5: charArray0[2] = 'c';
  6: rawStreamSequence0.setFromChar(charArray0);
  7: EmblStreamSequence emblStreamSequence0 = (EmblStreamSequence)publicDBDocumentEntry0.makeNativeSequence(rawStreamSequence0);
  8: assertNull(emblStreamSequence0.getHeader());

Test case 16

  1: Entry entry0 = Entry.newEntry((Bases) null);
  2: SimpleEntryInformation simpleEntryInformation0 = (SimpleEntryInformation)entry0.getEntryInformation();
  3: PublicDBDocumentEntry publicDBDocumentEntry0 = new PublicDBDocumentEntry(simpleEntryInformation0);
  4: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("");
  5: GenbankStreamSequence genbankStreamSequence0 = new GenbankStreamSequence(emblStreamSequence0);
  6: EmblStreamSequence emblStreamSequence1 = (EmblStreamSequence)publicDBDocumentEntry0.makeNativeSequence(genbankStreamSequence0);
  7: assertEquals(2, emblStreamSequence1.getFormatType());

Test case 17

  1: Key key0 = new Key("", true);
  2: Key key1 = PublicDBDocumentEntry.mapKeys(key0);
  3: assertEquals(0, key1.length());

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.io.PublicDBDocumentEntry
  • Size: 17
  • Length: 56
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.4528035281762921
  • BranchCoverage: 0.1557377049180328
  • MethodCoverage: 1.0
  • OutputCoverage: 0.42857142857142855


Back to Overview