Summary

Test suite

Test case 1

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Strand strand0 = bases0.getForwardStrand();
  4: GCWindowAlgorithm gCWindowAlgorithm0 = new GCWindowAlgorithm(strand0);
  5: gCWindowAlgorithm0.getMaximumInternal();
  6: gCWindowAlgorithm0.getAverage();
  7: ICDIAlgorithm iCDIAlgorithm0 = new ICDIAlgorithm(strand0);
  8: bases0.getGCount();
  9: GCFrameAlgorithm gCFrameAlgorithm0 = new GCFrameAlgorithm(strand0);
 10: gCFrameAlgorithm0.getDefaultStepSize(1);
 11: Frame frame0 = new Frame("");

Test case 2

  1: String string0 = SVGConstants.SVG_STEMH_ATTRIBUTE;
  2: assertEquals("stemh", string0);

Test case 3

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("6");
  2: rawStreamSequence0.getCharSubSequence(5, 5);
  3: Bases bases0 = new Bases(rawStreamSequence0);
  4: Strand strand0 = bases0.getReverseStrand();
  5: GCWindowAlgorithm gCWindowAlgorithm0 = new GCWindowAlgorithm(strand0);
  6: Bases.reverseComplement("6");
  7: gCWindowAlgorithm0.getAverage();
  8: assertFalse(gCWindowAlgorithm0.isRevCompDisplay());
  9: 
 10: gCWindowAlgorithm0.setRevCompDisplay(true);
 11: assertTrue(gCWindowAlgorithm0.isRevCompDisplay());

Test case 4

  1: DefaultEditorKit.CopyAction defaultEditorKit_CopyAction0 = new DefaultEditorKit.CopyAction();
  2: Key key0 = Key.CDS;
  3: assertEquals(3, key0.length());

Test case 5

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("/^~4H8F");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: fastaStreamSequence0.forceReset();
  4: FileSystemHandling.shouldAllThrowIOExceptions();
  5: bases0.getLength();
  6: Bases.reverseComplement("/^~4H8F");
  7: Strand strand0 = bases0.getForwardStrand();
  8: bases0.reverseComplement();
  9: fastaStreamSequence0.getSubSequence(1, 1);
 10: EntropyAlgorithm entropyAlgorithm0 = new EntropyAlgorithm(strand0);
 11: entropyAlgorithm0.getDefaultStepSize(0);
 12: entropyAlgorithm0.getDefaultMinWindowSize();
 13: ICDIAlgorithm iCDIAlgorithm0 = new ICDIAlgorithm(strand0);
 14: fastaStreamSequence0.charAt(1);
 15: float[] floatArray0 = new float[6];
 16: GenericDocumentType genericDocumentType0 = new GenericDocumentType("VEU/^r9", "@@d@@@@", "y}:e");
 17: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
 18: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
 19: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
 20: SVGGraphics2D sVGGraphics2D1 = (SVGGraphics2D)sVGGraphics2D0.create(1, 1, 7, (-1017));
 21: LineAttributes[] lineAttributesArray0 = new LineAttributes[4];
 22: DefaultTreeCellRenderer defaultTreeCellRenderer0 = new DefaultTreeCellRenderer();
 23: ColorUIResource colorUIResource0 = (ColorUIResource)defaultTreeCellRenderer0.getBackgroundNonSelectionColor();
 24: LineAttributes lineAttributes0 = new LineAttributes(colorUIResource0);
 25: lineAttributesArray0[0] = lineAttributes0;
 26: LineAttributes lineAttributes1 = new LineAttributes(colorUIResource0);
 27: lineAttributesArray0[1] = lineAttributes1;
 28: LineAttributes lineAttributes2 = new LineAttributes(colorUIResource0);
 29: LineAttributes lineAttributes3 = new LineAttributes(colorUIResource0);
 30: lineAttributesArray0[3] = lineAttributes3;
 31: iCDIAlgorithm0.drawLegend(sVGGraphics2D1, 1195, 731, lineAttributesArray0, 0);

Test case 6

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: Bases bases0 = new Bases(rawStreamSequence0);
  3: Strand strand0 = bases0.getForwardStrand();
  4: GCWindowAlgorithm gCWindowAlgorithm0 = new GCWindowAlgorithm(strand0);
  5: gCWindowAlgorithm0.getMaximumInternal();
  6: gCWindowAlgorithm0.getAverage();
  7: ICDIAlgorithm iCDIAlgorithm0 = new ICDIAlgorithm(strand0);
  8: bases0.getGCount();
  9: GCFrameAlgorithm gCFrameAlgorithm0 = new GCFrameAlgorithm(strand0);
 10: gCFrameAlgorithm0.setRevCompDisplay(false);
 11: gCFrameAlgorithm0.getDefaultStepSize(1);
 12: Frame frame0 = new Frame("");

Test case 7

  1: FastaStreamSequence fastaStreamSequence0 = new FastaStreamSequence("/^~4H8F");
  2: Bases bases0 = new Bases(fastaStreamSequence0);
  3: fastaStreamSequence0.forceReset();
  4: FileSystemHandling.shouldAllThrowIOExceptions();
  5: bases0.getLength();
  6: Bases.reverseComplement("/^~4H8F");
  7: Strand strand0 = bases0.getForwardStrand();
  8: bases0.reverseComplement();
  9: fastaStreamSequence0.getSubSequence(1, 1);
 10: EntropyAlgorithm entropyAlgorithm0 = new EntropyAlgorithm(strand0);
 11: entropyAlgorithm0.getDefaultStepSize(0);
 12: entropyAlgorithm0.getDefaultMinWindowSize();
 13: ICDIAlgorithm iCDIAlgorithm0 = new ICDIAlgorithm(strand0);
 14: fastaStreamSequence0.charAt(1);
 15: float[] floatArray0 = new float[6];
 16: GenericDocumentType genericDocumentType0 = new GenericDocumentType("VEU/^r9", "@@d@@@@", "y}:e");
 17: GenericDOMImplementation genericDOMImplementation0 = new GenericDOMImplementation();
 18: GenericDocument genericDocument0 = new GenericDocument(genericDocumentType0, genericDOMImplementation0);
 19: SVGGraphics2D sVGGraphics2D0 = new SVGGraphics2D(genericDocument0);
 20: SVGGraphics2D sVGGraphics2D1 = (SVGGraphics2D)sVGGraphics2D0.create(1, 1, 7, (-1017));
 21: LineAttributes[] lineAttributesArray0 = new LineAttributes[4];
 22: DefaultTreeCellRenderer defaultTreeCellRenderer0 = new DefaultTreeCellRenderer();
 23: ColorUIResource colorUIResource0 = (ColorUIResource)defaultTreeCellRenderer0.getBackgroundNonSelectionColor();
 24: LineAttributes lineAttributes0 = new LineAttributes(colorUIResource0);
 25: lineAttributesArray0[0] = lineAttributes0;
 26: LineAttributes lineAttributes1 = new LineAttributes(colorUIResource0);
 27: lineAttributesArray0[1] = lineAttributes1;
 28: LineAttributes lineAttributes2 = new LineAttributes(colorUIResource0);
 29: lineAttributesArray0[2] = lineAttributes2;
 30: LineAttributes lineAttributes3 = new LineAttributes(colorUIResource0);
 31: lineAttributesArray0[3] = lineAttributes3;
 32: iCDIAlgorithm0.drawLegend(sVGGraphics2D1, 1195, 731, lineAttributesArray0, 0);
 33: floatArray0[0] = (float) 1;
 34: floatArray0[1] = 0.395F;
 35: floatArray0[2] = (float) 0;
 36: floatArray0[3] = (float) 1;
 37: FileSystemHandling.setPermissions((EvoSuiteFile) null, true, true, true);
 38: floatArray0[4] = (float) 2;
 39: floatArray0[5] = (float) 0;

Test case 8

  1: EmblStreamSequence emblStreamSequence0 = new EmblStreamSequence("");
  2: RawStreamSequence rawStreamSequence0 = new RawStreamSequence(emblStreamSequence0);
  3: EmblStreamSequence emblStreamSequence1 = new EmblStreamSequence(rawStreamSequence0);
  4: Bases bases0 = new Bases(emblStreamSequence1);
  5: Strand strand0 = bases0.getForwardStrand();
  6: EntropyAlgorithm entropyAlgorithm0 = new EntropyAlgorithm(strand0);
  7: emblStreamSequence1.forceReset();
  8: entropyAlgorithm0.getDefaultMinWindowSize();
  9: entropyAlgorithm0.getBases();
 10: assertFalse(entropyAlgorithm0.isRevCompDisplay());

Test case 9

  1: RawStreamSequence rawStreamSequence0 = new RawStreamSequence("");
  2: StringWriter stringWriter0 = new StringWriter();
  3: rawStreamSequence0.writeToStream(stringWriter0);
  4: Bases bases0 = new Bases(rawStreamSequence0);
  5: Strand strand0 = bases0.getForwardStrand();
  6: GCWindowAlgorithm gCWindowAlgorithm0 = new GCWindowAlgorithm(strand0);
  7: gCWindowAlgorithm0.getMaximumInternal();
  8: strand0.getTCount();
  9: gCWindowAlgorithm0.getAverage();
 10: ICDIAlgorithm iCDIAlgorithm0 = new ICDIAlgorithm(strand0);
 11: bases0.getGCount();
 12: iCDIAlgorithm0.isRevCompDisplay();
 13: GCFrameAlgorithm gCFrameAlgorithm0 = new GCFrameAlgorithm(strand0);
 14: gCFrameAlgorithm0.getDefaultStepSize(1);
 15: KarlinSigAlgorithm karlinSigAlgorithm0 = new KarlinSigAlgorithm(strand0);
 16: karlinSigAlgorithm0.getDefaultMaxWindowSize();
 17: Frame frame0 = new Frame("");

Source Code

  1: No source found for uk.ac.sanger.artemis.plot.BaseAlgorithm

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.plot.BaseAlgorithm
  • Size: 9
  • Length: 130
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.4737037493562458
  • BranchCoverage: 0.5185185185185185
  • MethodCoverage: 0.5714285714285714
  • OutputCoverage: 0.15384615384615385


Back to Overview