Summary

Test suite

Test case 1

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: boolean boolean0 = featureList0.getShowGenes();
  9: assertFalse(boolean0);

Test case 2

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowUserDefinedQualifier("yS7,%(ViX ");
  9: assertFalse(featureList0.getIgnoreRepaint());

Test case 3

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.stopListening();
  9: assertFalse(featureList0.isFocusCycleRoot());

Test case 4

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.entryGroupChanged((EntryGroupChangeEvent) null);
  9: assertTrue(featureList0.getFocusTraversalKeysEnabled());

Test case 5

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: boolean boolean0 = featureList0.getCorrelationScores();
  9: assertFalse(boolean0);

Test case 6

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: boolean boolean0 = featureList0.getShowQualifiers();
  9: assertFalse(boolean0);

Test case 7

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: boolean boolean0 = featureList0.getShowSysID();
  9: assertFalse(boolean0);

Test case 8

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: boolean boolean0 = featureList0.getShowProducts();
  9: assertFalse(boolean0);

Test case 9

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setCorrelationScores(false);
  9: assertFalse(featureList0.getIgnoreRepaint());

Test case 10

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: AminoAcidSequence aminoAcidSequence0 = AminoAcidSequence.getSpacedTranslation(bases0.letter_index, true);
  7: FeaturePatternPredicate featurePatternPredicate0 = new FeaturePatternPredicate(aminoAcidSequence0);
  8: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featurePatternPredicate0, "yS7,%(ViX ");
  9: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(filteredEntryGroup0);
 10: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
 11: featureList0.setShowGenes(false);
 12: assertFalse(featureList0.isFocusTraversalPolicySet());

Test case 11

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowGenes(true);
  9: assertFalse(featureList0.isFocusTraversalPolicySet());

Test case 12

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowSystematicID(false);
  9: assertFalse(featureList0.isFocusTraversalPolicySet());

Test case 13

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowSystematicID(true);
  9: assertFalse(featureList0.isFocusTraversalPolicyProvider());

Test case 14

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: StringVector stringVector0 = featureList0.getShowUserDefinedQualifier();
  9: assertNull(stringVector0);

Test case 15

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowQualifiers(true);
  9: featureList0.setShowQualifiers(true);
 10: assertFalse(featureList0.isFocusCycleRoot());

Test case 16

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowQualifiers(true);
  9: featureList0.setShowQualifiers(false);
 10: assertFalse(featureList0.isFocusTraversalPolicySet());

Test case 17

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowProducts(false);
  9: assertFalse(featureList0.isFocusTraversalPolicySet());

Test case 18

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.featureChanged((FeatureChangeEvent) null);
  9: assertFalse(featureList0.isFocusCycleRoot());

Test case 19

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: Entry entry0 = simpleEntryGroup0.createEntry();
  9: FeatureVector featureVector0 = new FeatureVector();
 10: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, "yS7,%(ViX ");
 11: Feature feature0 = filteredEntryGroup0.createFeature();
 12: EntryChangeEvent entryChangeEvent0 = new EntryChangeEvent(entry0, feature0, 2);
 13: featureList0.entryChanged(entryChangeEvent0);

Test case 20

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: SelectionChangeEvent selectionChangeEvent0 = new SelectionChangeEvent(simpleEntryGroup0, 4);
  9: featureList0.selectionChanged(selectionChangeEvent0);
 10: assertEquals(1, SelectionChangeEvent.SELECTION_CHANGED);

Test case 21

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: StringVector stringVector0 = featureList0.getListStrings();
  9: assertEquals(0, stringVector0.size());

Test case 22

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.getViewport();

Test case 23

  1: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  2: Clipboard clipboard0 = new Clipboard(":5T#i");
  3: Selection selection0 = new Selection(clipboard0);
  4: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  5: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);

Test case 24

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("yS7,%(ViX ");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: int int0 = featureList0.getLineHeight();
  9: assertEquals(14, int0);

Test case 25

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("yS7,%(ViX ", "yS7,%(ViX ");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup(bases0);
  4: Clipboard clipboard0 = new Clipboard("yS7,%(ViX ");
  5: Selection selection0 = new Selection(clipboard0);
  6: SimpleGotoEventSource simpleGotoEventSource0 = new SimpleGotoEventSource(simpleEntryGroup0);
  7: FeatureList featureList0 = new FeatureList(simpleEntryGroup0, selection0, simpleGotoEventSource0, (BasePlotGroup) null);
  8: featureList0.setShowQualifiers(true);
  9: boolean boolean0 = featureList0.getShowQualifiers();
 10: assertTrue(boolean0);

Source Code

  1: No source found for uk.ac.sanger.artemis.components.FeatureList

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.FeatureList
  • Size: 25
  • Length: 209
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.4561350926534232
  • BranchCoverage: 0.1415929203539823
  • MethodCoverage: 0.9545454545454546
  • OutputCoverage: 0.2619047619047619


Back to Overview