Summary

Test suite

Test case 1

  1: JRootPane jRootPane0 = new JRootPane();
  2: JLayeredPane jLayeredPane0 = jRootPane0.getLayeredPane();
  3: InputMethodListener inputMethodListener0 = mock(InputMethodListener.class, new ViolatedAssumptionAnswer());
  4: AWTEventMulticaster.remove(inputMethodListener0, inputMethodListener0);
  5: InputMethodListener inputMethodListener1 = AWTEventMulticaster.remove(inputMethodListener0, (InputMethodListener) null);
  6: jLayeredPane0.removeInputMethodListener(inputMethodListener1);
  7: Splash.exitApp();
  8: Splash.exitApp();

Test case 2

  1: Splash.setWorkingDirectory();
  2: String[] stringArray0 = new String[2];
  3: String string0 = "k*UB}R[5";
  4: stringArray0[0] = string0;
  5: String string1 = "0an";
  6: stringArray0[1] = string1;
  7: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
  8: JFrame jFrame0 = new JFrame(string1);
  9: jFrame0.remove((Component) artemisMain0);
 10: boolean boolean0 = false;
 11: jFrame0.setEnabled(boolean0);
 12: artemisMain0.readArgsAndOptions(stringArray0, jFrame0);
 13: artemisMain0.exit();
 14: artemisMain0.exit();

Test case 3

  1: Splash.appendToLog("garbage at the end of the location string");

Test case 4

  1: Splash.getLogger();
  2: ActMain actMain0 = new ActMain();
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  4: simpleEntryGroup0.unref();
  5: int int0 = 336;
  6: actMain0.toBack();
  7: Key key0 = new Key(actMain0.version);
  8: boolean boolean0 = true;
  9: boolean boolean1 = true;
 10: FeatureKeyQualifierPredicate featureKeyQualifierPredicate0 = new FeatureKeyQualifierPredicate(key0, actMain0.version, actMain0.version, boolean0, boolean1);
 11: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureKeyQualifierPredicate0, actMain0.version);
 12: Entry entry0 = filteredEntryGroup0.getSequenceEntry();
 13: Bases bases0 = filteredEntryGroup0.getBases();
 14: int int1 = 5;
 15: Range range0 = new Range(int1);
 16: Bases bases1 = bases0.truncate(range0);
 17: Entry entry1 = entry0.truncate(bases1, range0);
 18: simpleEntryGroup0.setDefaultEntry(entry1);
 19: Entry entry2 = simpleEntryGroup0.elementAt(int0);
 20: ArtemisMain.makeEntryEdit(entry2);
 21: actMain0.exit();
 22: ArtemisMain.makeEntryEdit(entry2);
 23: String[] stringArray0 = new String[7];
 24: stringArray0[0] = actMain0.version;
 25: stringArray0[1] = actMain0.version;
 26: stringArray0[2] = actMain0.version;
 27: stringArray0[3] = actMain0.version;
 28: stringArray0[4] = actMain0.version;
 29: stringArray0[5] = actMain0.version;
 30: stringArray0[6] = actMain0.version;
 31: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
 32: artemisMain0.openClipboardContents();
 33: artemisMain0.exit();

Test case 5

  1: String string0 = null;
  2: Splash.appendToLog((String) null);
  3: SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
  4: FeatureVector featureVector0 = new FeatureVector();
  5: FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureVector0, (String) null);
  6: filteredEntryGroup0.isReadOnly();
  7: filteredEntryGroup0.getBases();
  8: Entry entry0 = Entry.newEntry((Bases) null);
  9: EntryEdit entryEdit0 = ArtemisMain.makeEntryEdit(entry0);
 10: Splash.initLogger();
 11: String[] stringArray0 = new String[6];
 12: stringArray0[0] = string0;
 13: stringArray0[1] = string0;
 14: String string1 = "Q2&";
 15: stringArray0[2] = string1;
 16: stringArray0[3] = string0;
 17: stringArray0[4] = string0;
 18: stringArray0[5] = string0;
 19: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
 20: artemisMain0.getCanvas();
 21: InputStreamProgressListener inputStreamProgressListener0 = artemisMain0.getInputStreamProgressListener();
 22: ActMain.makeMultiComparator(artemisMain0, inputStreamProgressListener0, stringArray0);
 23: artemisMain0.getEntrySources(entryEdit0);
 24: artemisMain0.getCanvas();
 25: Splash.getLogger();

Test case 6

  1: Splash.processJnlpAttributes();
  2: ActMain actMain0 = new ActMain();
  3: InputStreamProgressListener inputStreamProgressListener0 = actMain0.getInputStreamProgressListener();
  4: Object[] objectArray0 = new Object[9];
  5: objectArray0[0] = (Object) inputStreamProgressListener0;
  6: objectArray0[1] = (Object) inputStreamProgressListener0;
  7: objectArray0[2] = (Object) actMain0;
  8: objectArray0[3] = (Object) inputStreamProgressListener0;
  9: objectArray0[4] = (Object) inputStreamProgressListener0;
 10: objectArray0[5] = (Object) actMain0;
 11: objectArray0[6] = (Object) actMain0;
 12: objectArray0[7] = (Object) inputStreamProgressListener0;
 13: objectArray0[8] = (Object) inputStreamProgressListener0;
 14: ActMain.makeMultiComparator(actMain0, inputStreamProgressListener0, objectArray0);
 15: long long0 = (-3511L);
 16: System.setCurrentTimeMillis(long0);
 17: actMain0.about();
 18: BasicDesktopIconUI basicDesktopIconUI0 = new BasicDesktopIconUI();
 19: DefaultTreeCellRenderer defaultTreeCellRenderer0 = new DefaultTreeCellRenderer();
 20: basicDesktopIconUI0.getBaselineResizeBehavior(defaultTreeCellRenderer0);
 21: Dimension dimension0 = basicDesktopIconUI0.getPreferredSize(defaultTreeCellRenderer0);
 22: double double0 = (-4513.0892821);
 23: dimension0.setSize(double0, double0);
 24: actMain0.setMaximumSize(dimension0);
 25: Dialog.ModalExclusionType dialog_ModalExclusionType0 = Dialog.ModalExclusionType.APPLICATION_EXCLUDE;
 26: actMain0.setModalExclusionType(dialog_ModalExclusionType0);
 27: actMain0.getToolkit();
 28: actMain0.getBackground();
 29: actMain0.toFront();
 30: actMain0.getCanvas();
 31: String string0 = "j2ssh";
 32: Splash.appendToLog(string0);
 33: Splash.getLogger();
 34: Splash.appendToLog(actMain0.version);
 35: actMain0.exit();
 36: actMain0.about();
 37: System.setCurrentTimeMillis(dimension0.height);
 38: Splash.exitApp();

Test case 7

  1: JMenu jMenu0 = new JMenu("1) b4T`3V%WNjDz");
  2: FileSystemHandling.appendDataToFile((EvoSuiteFile) null, (byte[]) null);
  3: DefaultEditorKit.DefaultKeyTypedAction defaultEditorKit_DefaultKeyTypedAction0 = new DefaultEditorKit.DefaultKeyTypedAction();
  4: defaultEditorKit_DefaultKeyTypedAction0.getKeys();
  5: Object object0 = ColorSpaceHintKey.VALUE_COLORSPACE_ARGB;
  6: Splash.makeMenuItem(jMenu0, "L06@\"k>x*n{uK", defaultEditorKit_DefaultKeyTypedAction0);
  7: Splash.showLog();
  8: ActMain actMain0 = new ActMain();
  9: JFrame jFrame0 = null;
 10: actMain0.getEntrySources(jFrame0);
 11: Splash.exitApp();
 12: BasicScrollBarUI basicScrollBarUI0 = new BasicScrollBarUI();
 13: actMain0.setLayout(basicScrollBarUI0);
 14: actMain0.getStatusLabel();
 15: actMain0.exit();

Test case 8

  1: InputMethodListener inputMethodListener0 = mock(InputMethodListener.class, new ViolatedAssumptionAnswer());
  2: AWTEventMulticaster.remove(inputMethodListener0, inputMethodListener0);
  3: AWTEventMulticaster.add((InputMethodListener) null, (InputMethodListener) null);
  4: String string0 = "MZk-*Z[/naTC ";
  5: Object[] objectArray0 = new Object[10];
  6: objectArray0[3] = (Object) null;
  7: objectArray0[6] = (Object) "MZk-*Z[/naTC ";
  8: Splash.showLog();
  9: Splash.initLogger();
 10: String string1 = "";
 11: Splash.appendToLog(string1);
 12: String[] stringArray0 = new String[1];
 13: stringArray0[0] = string0;
 14: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
 15: artemisMain0.about();

Test case 9

  1: String string0 = "org.biojava.bio.taxa.Taxon";
  2: FileSystemHandling.appendLineToFile((EvoSuiteFile) null, "org.biojava.bio.taxa.Taxon");
  3: String string1 = "f#?((34<0R";
  4: FileSystemHandling.appendLineToFile((EvoSuiteFile) null, "f#?((34<0R");
  5: Splash.processJnlpAttributes();
  6: Splash.setWorkingDirectory();
  7: Splash.showLog();
  8: String[] stringArray0 = new String[9];
  9: stringArray0[0] = string0;
 10: stringArray0[1] = string1;
 11: stringArray0[2] = string1;
 12: String string2 = "?WVzkh&T;?p]";
 13: stringArray0[3] = string2;
 14: stringArray0[4] = string0;
 15: stringArray0[5] = string1;
 16: stringArray0[6] = string0;
 17: stringArray0[7] = string1;
 18: stringArray0[8] = string1;
 19: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
 20: artemisMain0.getCanvas();
 21: Splash.showLog();
 22: String string3 = "6egM0NX{EYFH";
 23: artemisMain0.loadFile(string3);
 24: String string4 = "Confirm Translation Table Change";
 25: JembossParams jembossParams0 = new JembossParams();
 26: MultiSliderUI multiSliderUI0 = new MultiSliderUI();
 27: String string5 = "?=4Wqa=ytIc]a`W<8";
 28: FileSystemView fileSystemView0 = MockFileSystemView.getFileSystemView();
 29: MockJFileChooser mockJFileChooser0 = new MockJFileChooser(string5, fileSystemView0);
 30: Dimension dimension0 = multiSliderUI0.getPreferredSize(mockJFileChooser0);
 31: artemisMain0.getSize(dimension0);
 32: int int0 = 2001;
 33: jembossParams0.setServerStatus(string0, int0);
 34: Browser browser0 = new Browser(string2, string4, jembossParams0);
 35: artemisMain0.readArgsAndOptions(stringArray0, browser0);
 36: Splash.getLogger();
 37: long long0 = 1L;
 38: System.setCurrentTimeMillis(long0);

Test case 10

  1: Splash.exitApp();
  2: long long0 = (-744L);
  3: System.setCurrentTimeMillis(long0);
  4: Splash.initLogger();
  5: EvoSuiteFile evoSuiteFile0 = null;
  6: String string0 = "jnlp.show_line.separator";
  7: FileSystemHandling.appendStringToFile(evoSuiteFile0, string0);
  8: Splash.processJnlpAttributes();
  9: String[] stringArray0 = new String[8];
 10: String string1 = "java.vm.na";
 11: stringArray0[0] = string1;
 12: String string2 = "j40#y'DI";
 13: stringArray0[1] = string2;
 14: String string3 = "jnlp.bamjava.vm.name";
 15: FileSystemHandling.shouldAllThrowIOExceptions();
 16: stringArray0[2] = string3;
 17: String string4 = "q4%TkADI#k-z'@=ul{";
 18: stringArray0[3] = string4;
 19: String string5 = "cosmid.pir";
 20: stringArray0[4] = string5;
 21: String string6 = "J(]";
 22: stringArray0[5] = string6;
 23: String string7 = "evosuite";
 24: stringArray0[6] = string7;
 25: String string8 = "jnlp.offset";
 26: stringArray0[7] = string8;
 27: ArtemisMain artemisMain0 = new ArtemisMain(stringArray0);
 28: artemisMain0.exit();
 29: String string9 = "Black Belt Mode";
 30: Dialog.ModalExclusionType dialog_ModalExclusionType0 = Dialog.ModalExclusionType.TOOLKIT_EXCLUDE;
 31: artemisMain0.setModalExclusionType(dialog_ModalExclusionType0);
 32: int int0 = (-168162154);
 33: artemisMain0.remove(int0);
 34: artemisMain0.getMinimumSize();
 35: artemisMain0.loadFile(string9);
 36: artemisMain0.getCanvas();
 37: Splash.initLogger();

Test case 11

  1: JMenu jMenu0 = new JMenu((String) null);
  2: Splash.makeMenuItem(jMenu0, "S6@@\"", (ActionListener) null);
  3: assertFalse(jMenu0.isFocusCycleRoot());

Test case 12

  1: FileSystemHandling.createFolder((EvoSuiteFile) null);
  2: Splash.initLogger();
  3: ActMain actMain0 = new ActMain();

Test case 13

  1: Splash.getLogger();
  2: Splash.getLogger();
  3: Splash.processJnlpAttributes();
  4: Splash.showLog();

Test case 14

  1: Color color0 = Color.WHITE;
  2: StyledEditorKit.ForegroundAction styledEditorKit_ForegroundAction0 = new StyledEditorKit.ForegroundAction((String) null, color0);
  3: AWTEventMulticaster.remove((ActionListener) styledEditorKit_ForegroundAction0, (ActionListener) styledEditorKit_ForegroundAction0);
  4: Splash.makeMenuItem((JMenu) null, (String) null, (ActionListener) null);

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.Splash
  • Size: 14
  • Length: 237
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.12780528822364118
  • BranchCoverage: 0.11788617886178862
  • MethodCoverage: 0.5
  • OutputCoverage: 0.03333333333333333


Back to Overview