Test suite
Test case 1
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 3: simpleGotoEventSource0.gotoFirstBase();
Test case 2
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("`", "`"); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: Key key0 = new Key("`"); 5: FeatureKeyQualifierPredicate featureKeyQualifierPredicate0 = new FeatureKeyQualifierPredicate(key0, "`"); 6: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureKeyQualifierPredicate0, ""); 7: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 8: simpleGotoEventSource0.addGotoListener((GotoListener) null); 9: simpleGotoEventSource0.gotoLastBase();
Test case 3
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence(""); 2: Bases bases0 = new Bases(emblStreamSequence0); 3: Range range0 = new Range((-383)); 4: Bases bases1 = bases0.truncate(range0); 5: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases1); 6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 7: simpleGotoEventSource0.gotoLastBase();
Test case 4
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("{Lx50", "{Lx50"); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: Key key0 = Key.CDS; 5: FeatureKeyQualifierPredicate featureKeyQualifierPredicate0 = new FeatureKeyQualifierPredicate(key0, "{Lx50"); 6: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureKeyQualifierPredicate0, ""); 7: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 8: simpleGotoEventSource0.removeGotoListener((GotoListener) null);
Test case 5
1: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource((EntryGroup) null); 2: simpleGotoEventSource0.gotoBase((Marker) null);
Test case 6
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence(""); 2: Bases bases0 = new Bases(emblStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 5: MarkerRange markerRange0 = simpleGotoEventSource0.gotoBase(2207); 6: assertNull(markerRange0);
Test case 7
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 3: GotoEvent gotoEvent0 = new GotoEvent(simpleEntryGroup0, (Marker) null); 4: simpleGotoEventSource0.sendGotoEvent(gotoEvent0);
Test case 8
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("Location: ", ""); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: FeatureVector featureVector0 = new FeatureVector(); 5: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "@gM^ys 1^HL;[$x4"); 6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 7: Strand strand0 = bases0.getForwardStrand(); 8: Marker marker0 = strand0.makeMarkerFromRawPosition(1); 9: GotoEvent gotoEvent0 = new GotoEvent(fastaStreamSequence0, marker0); 10: simpleGotoEventSource0.sendGotoEvent(gotoEvent0);
Test case 9
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 3: simpleGotoEventSource0.gotoBase(Integer.MIN_VALUE);
Test case 10
1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence(""); 2: Bases bases0 = new Bases(rawStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 5: simpleGotoEventSource0.sendGotoEvent((GotoEvent) null);
Test case 11
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: Range range0 = new Range((-1)); 3: FeatureVector featureVector0 = simpleEntryGroup0.getFeaturesInRange(range0); 4: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, ""); 5: filteredEntryGroup0.unref(); 6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 7: FilteredEntryGroup filteredEntryGroup1 = (FilteredEntryGroup)simpleGotoEventSource0.getEntryGroup(); 8: assertSame(filteredEntryGroup1, filteredEntryGroup0);
Test case 12
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence(""); 3: Bases bases0 = new Bases(fastaStreamSequence0); 4: MSPcrunchDocumentEntry mSPcrunchDocumentEntry0 = new MSPcrunchDocumentEntry((EntryInformation) null); 5: Entry entry0 = new Entry(bases0, mSPcrunchDocumentEntry0); 6: FeatureVector featureVector0 = entry0.checkFeatureStartCodons(); 7: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, ""); 8: filteredEntryGroup0.ref(); 9: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 10: FilteredEntryGroup filteredEntryGroup1 = (FilteredEntryGroup)simpleGotoEventSource0.getEntryGroup(); 11: assertEquals(0, filteredEntryGroup1.size());
Test case 13
1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(); 2: simpleEntryGroup0.createEntry(); 3: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 4: simpleGotoEventSource0.getEntryGroup();
Test case 14
1: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource((EntryGroup) null); 2: EntryGroup entryGroup0 = simpleGotoEventSource0.getEntryGroup(); 3: assertNull(entryGroup0);
Test case 15
1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence(""); 2: Bases bases0 = new Bases(emblStreamSequence0); 3: Range range0 = new Range((-383)); 4: Bases bases1 = bases0.truncate(range0); 5: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases1); 6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0); 7: MarkerRange markerRange0 = simpleGotoEventSource0.gotoBase(1); 8: assertTrue(markerRange0.isForwardMarker());
Test case 16
1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("U,ES}", "EntryEdit.fireAction () - unknown event"); 2: Bases bases0 = new Bases(fastaStreamSequence0); 3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0); 4: Entry entry0 = Entry.newEntry(bases0); 5: FeatureVector featureVector0 = entry0.checkForEMBLDuplicates(); 6: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "U,ES}"); 7: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0); 8: simpleGotoEventSource0.gotoFirstBase();
Source Code
1: No source found for uk.ac.sanger.artemis.SimpleGotoEventSource
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.SimpleGotoEventSource
- Size: 16
- Length: 94
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.9361408328513592
- BranchCoverage: 0.9285714285714286
- MethodCoverage: 1.0
- OutputCoverage: 0.8