Summary

Test suite

Test case 1

  1: JembossParams jembossParams0 = new JembossParams();
  2: Vector<Object> vector0 = jembossParams0.modeVector();
  3: JExtendedComboBox jExtendedComboBox0 = new JExtendedComboBox(vector0, false);
  4: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jExtendedComboBox0);
  5: StyleContext styleContext0 = new StyleContext();
  6: StyleContext.NamedStyle styleContext_NamedStyle0 = styleContext0.new NamedStyle();
  7: autoCompleteComboDocument0.insertString(1602, (String) null, styleContext_NamedStyle0);

Test case 2

  1: JExtendedComboBox jExtendedComboBox0 = new JExtendedComboBox(true);
  2: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jExtendedComboBox0);
  3: autoCompleteComboDocument0.remove(1059, 1059);

Test case 3

  1: DefaultComboBoxModel<TextArea> defaultComboBoxModel0 = new DefaultComboBoxModel<TextArea>();
  2: JComboBox<TextArea> jComboBox0 = new JComboBox<TextArea>(defaultComboBoxModel0);
  3: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  4: StyleContext styleContext0 = new StyleContext();
  5: StyleContext.NamedStyle styleContext_NamedStyle0 = styleContext0.new NamedStyle();
  6: defaultComboBoxModel0.setSelectedItem(styleContext_NamedStyle0);

Test case 4

  1: DefaultComboBoxModel<TextArea> defaultComboBoxModel0 = new DefaultComboBoxModel<TextArea>();
  2: JComboBox<TextArea> jComboBox0 = new JComboBox<TextArea>(defaultComboBoxModel0);
  3: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  4: autoCompleteComboDocument0.remove(70, 0);

Test case 5

  1: Vector<JPasswordField> vector0 = new Vector<JPasswordField>();
  2: DefaultComboBoxModel<JPasswordField> defaultComboBoxModel0 = new DefaultComboBoxModel<JPasswordField>(vector0);
  3: JComboBox<JPasswordField> jComboBox0 = new JComboBox<JPasswordField>(defaultComboBoxModel0);
  4: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  5: autoCompleteComboDocument0.selecting = true;
  6: autoCompleteComboDocument0.remove(7501, 6);

Test case 6

  1: DefaultComboBoxModel<TextArea> defaultComboBoxModel0 = new DefaultComboBoxModel<TextArea>();
  2: JComboBox<TextArea> jComboBox0 = new JComboBox<TextArea>(defaultComboBoxModel0);
  3: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  4: autoCompleteComboDocument0.hitBackspace = true;
  5: autoCompleteComboDocument0.remove(0, 0);

Test case 7

  1: DefaultComboBoxModel<TextArea> defaultComboBoxModel0 = new DefaultComboBoxModel<TextArea>();
  2: JComboBox<TextArea> jComboBox0 = new JComboBox<TextArea>(defaultComboBoxModel0);
  3: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  4: autoCompleteComboDocument0.hitBackspace = true;
  5: autoCompleteComboDocument0.remove(1602, 1);

Test case 8

  1: Vector<JPasswordField> vector0 = new Vector<JPasswordField>();
  2: DefaultComboBoxModel<JPasswordField> defaultComboBoxModel0 = new DefaultComboBoxModel<JPasswordField>(vector0);
  3: JComboBox<JPasswordField> jComboBox0 = new JComboBox<JPasswordField>(defaultComboBoxModel0);
  4: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  5: autoCompleteComboDocument0.selecting = true;
  6: SimpleAttributeSet simpleAttributeSet0 = new SimpleAttributeSet();
  7: autoCompleteComboDocument0.insertString(7501, "SQJAVA.LANG.STRING@0000000015", simpleAttributeSet0);

Test case 9

  1: JembossParams jembossParams0 = new JembossParams();
  2: Vector<Object> vector0 = jembossParams0.modeVector();
  3: JExtendedComboBox jExtendedComboBox0 = new JExtendedComboBox(vector0, true);
  4: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jExtendedComboBox0);
  5: autoCompleteComboDocument0.insertString(2, "M+T8wK", (AttributeSet) null);

Test case 10

  1: Vector<MockHijrahDate> vector0 = new Vector<MockHijrahDate>();
  2: JComboBox<MockHijrahDate> jComboBox0 = new JComboBox<MockHijrahDate>(vector0);
  3: MockHijrahDate mockHijrahDate0 = new MockHijrahDate();
  4: vector0.add(mockHijrahDate0);
  5: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  6: StyleContext styleContext0 = StyleContext.getDefaultStyleContext();
  7: JTextPane jTextPane0 = new JTextPane();
  8: MutableAttributeSet mutableAttributeSet0 = jTextPane0.getInputAttributes();
  9: StyleContext.SmallAttributeSet styleContext_SmallAttributeSet0 = (StyleContext.SmallAttributeSet)styleContext0.removeAttribute(mutableAttributeSet0, vector0);
 10: autoCompleteComboDocument0.insertString(1, "", styleContext_SmallAttributeSet0);

Test case 11

  1: Integer[] integerArray0 = new Integer[3];
  2: Integer integer0 = JLayeredPane.MODAL_LAYER;
  3: integerArray0[0] = integer0;
  4: JComboBox<Integer> jComboBox0 = new JComboBox<Integer>(integerArray0);
  5: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);

Test case 12

  1: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument((JComboBox) null);

Test case 13

  1: String[] stringArray0 = new String[4];
  2: stringArray0[0] = "";
  3: JExtendedComboBox jExtendedComboBox0 = new JExtendedComboBox(stringArray0);
  4: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jExtendedComboBox0);
  5: autoCompleteComboDocument0.insertString((-1146), "", (AttributeSet) null);

Test case 14

  1: JComboBox<Checkbox> jComboBox0 = new JComboBox<Checkbox>();
  2: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  3: autoCompleteComboDocument0.insertString(491, ">", (AttributeSet) null);

Test case 15

  1: DefaultComboBoxModel<TextArea> defaultComboBoxModel0 = new DefaultComboBoxModel<TextArea>();
  2: JComboBox<TextArea> jComboBox0 = new JComboBox<TextArea>(defaultComboBoxModel0);
  3: AutoCompleteComboDocument autoCompleteComboDocument0 = new AutoCompleteComboDocument(jComboBox0);
  4: autoCompleteComboDocument0.hitBackspace = true;
  5: autoCompleteComboDocument0.remove((-3743), 70);

Source Code

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

EvoSuite Parameters

  • TARGET_CLASS: uk.ac.sanger.artemis.components.genebuilder.AutoCompleteComboDocument
  • Size: 15
  • Length: 77
  • criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
  • Coverage: 0.8967338709677419
  • BranchCoverage: 0.72
  • MethodCoverage: 1.0
  • OutputCoverage: 1.0


Back to Overview