Summary

Test suite

Test case 1

  1: Object object0 = new Object();
  2: OSXAdapter.setFileHandler(object0, (Method) null);

Test case 2

  1: OSXAdapter.setAboutHandler((Object) null, (Method) null);

Test case 3

  1: Object object0 = new Object();
  2: OSXAdapter.macOSXApplication = object0;
  3: OSXAdapter.setAboutHandler(OSXAdapter.macOSXApplication, (Method) null);

Test case 4

  1: Object[] objectArray0 = new Object[3];
  2: OSXAdapter.setPreferencesHandler(objectArray0[0], (Method) null);

Test case 5

  1: Object object0 = new Object();
  2: OSXAdapter oSXAdapter0 = new OSXAdapter("YJukC", object0, (Method) null);
  3: OSXAdapter.setPreferencesHandler(oSXAdapter0, (Method) null);

Test case 6

  1: Object object0 = new Object();
  2: OSXAdapter oSXAdapter0 = new OSXAdapter("YJukC", object0, (Method) null);
  3: Object[] objectArray0 = new Object[4];
  4: Object object1 = oSXAdapter0.invoke(oSXAdapter0, (Method) null, objectArray0);
  5: assertNull(object1);

Test case 7

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("No annotation was provided", "No annotation was provided", (Method) null);
  2: oSXAdapter0.setApplicationEventHandled((Object) null, false);

Test case 8

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("Mac OS X Adapter could not talk to EAWT:", "Mac OS X Adapter could not talk to EAWT:", (Method) null);
  2: oSXAdapter0.setApplicationEventHandled("", true);

Test case 9

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("'X3", "'X3", (Method) null);
  2: oSXAdapter0.callTarget(OSXAdapter.macOSXApplication);

Test case 10

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("No annotation was provided", "No annotation was provided", (Method) null);
  2: OSXAdapter.setHandler(oSXAdapter0);

Test case 11

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("'X3", "'X3", (Method) null);
  2: Object[] objectArray0 = new Object[4];
  3: boolean boolean0 = oSXAdapter0.isCorrectMethod((Method) null, objectArray0);
  4: assertFalse(boolean0);

Test case 12

  1: Object object0 = new Object();
  2: OSXAdapter.macOSXApplication = object0;
  3: OSXAdapter.setPreferencesHandler(object0, (Method) null);

Test case 13

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("& $HAT`<\"@J", "& $HAT`<\"@J", (Method) null);
  2: OSXAdapter.setQuitHandler(oSXAdapter0, (Method) null);

Test case 14

  1: OSXAdapter oSXAdapter0 = new OSXAdapter("No annotation was provided", "No annotation was provided", (Method) null);
  2: OSXAdapter.setAboutHandler(oSXAdapter0, (Method) null);

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.OSXAdapter
  • Size: 14
  • Length: 33
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.4213109354413702
  • BranchCoverage: 0.5
  • MethodCoverage: 1.0
  • OutputCoverage: 0.3333333333333333


Back to Overview