Summary

Test suite

Test case 1

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("", "");
  2: String string0 = lookSeqPanel0.getQueryStr();
  3: assertEquals("", string0);

Test case 2

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: DisplayAdjustmentEvent displayAdjustmentEvent0 = new DisplayAdjustmentEvent(lookSeqPanel0, (-1539), 1614, 500000, 0.0F, (-1539), true, 0);
  3: lookSeqPanel0.displayAdjustmentValueChanged(displayAdjustmentEvent0);
  4: assertEquals(5, DisplayAdjustmentEvent.CONTIG_REORDER);

Test case 3

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("'n!", "");
  2: lookSeqPanel0.setFeatureDisplay((FeatureDisplay) null);
  3: assertEquals("", lookSeqPanel0.getQueryStr());

Test case 4

  1: URL uRL0 = MockURL.getHttpExample();
  2: LookSeqPanel lookSeqPanel0 = new LookSeqPanel(uRL0);
  3: assertTrue(lookSeqPanel0.getFocusTraversalKeysEnabled());

Test case 5

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("'n!", "");
  2: lookSeqPanel0.setDisplay(3659, 10, (DisplayAdjustmentEvent) null);
  3: assertEquals("", lookSeqPanel0.getQueryStr());

Test case 6

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("g", "g");
  2: DisplayAdjustmentEvent displayAdjustmentEvent0 = new DisplayAdjustmentEvent("g", 1768, 0, 1091, (-2772.839F), 3895, true, 3895);
  3: lookSeqPanel0.setDisplay(1768, 1768, displayAdjustmentEvent0);
  4: assertEquals("g", lookSeqPanel0.getQueryStr());

Test case 7

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: DisplayAdjustmentEvent displayAdjustmentEvent0 = new DisplayAdjustmentEvent(lookSeqPanel0, (-1539), 1614, 500000, 0.0F, (-1539), true, 0);
  3: lookSeqPanel0.setUrl((String) null, "");
  4: lookSeqPanel0.setDisplay(2, 6, displayAdjustmentEvent0);
  5: assertEquals("", lookSeqPanel0.getQueryStr());

Test case 8

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("", "");
  2: lookSeqPanel0.showOptions();

Test case 9

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: lookSeqPanel0.setImage((String) null, (String) null);
  3: assertTrue(lookSeqPanel0.getFocusTraversalKeysEnabled());

Test case 10

  1: MockFile mockFile0 = new MockFile("0zI=#1l`7c");
  2: URL uRL0 = mockFile0.toURL();
  3: LookSeqPanel lookSeqPanel0 = new LookSeqPanel(uRL0);

Test case 11

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("qd&pM[})Hlt1ZiHR.p", "qd&pM[})Hlt1ZiHR.p");
  2: lookSeqPanel0.paintComponent((Graphics) null);

Test case 12

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: lookSeqPanel0.setDisplay((-366), 0, (DisplayAdjustmentEvent) null);

Test case 13

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: lookSeqPanel0.showOptions();

Test case 14

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel("cannot set qualifiers", "cannot set qualifiers");
  2: String string0 = lookSeqPanel0.getQueryStr();
  3: assertEquals("cannot set qualifiers", string0);

Test case 15

  1: LookSeqPanel lookSeqPanel0 = new LookSeqPanel();
  2: String string0 = lookSeqPanel0.getQueryStr();
  3: assertNull(string0);

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.alignment.LookSeqPanel
  • Size: 15
  • Length: 35
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.6296499299339541
  • BranchCoverage: 0.3563218390804598
  • MethodCoverage: 1.0
  • OutputCoverage: 1.0


Back to Overview