Test suite
Test case 1
1: BasicTreeUI basicTreeUI0 = new BasicTreeUI();
2: Dimension dimension0 = basicTreeUI0.getMaximumSize((JComponent) null);
3: WrapTextArea wrapTextArea0 = new WrapTextArea("user.dir", dimension0, (-1075));
4: int int0 = wrapTextArea0.getLabelWidth();
5: assertEquals(0, int0);
Test case 2
1: WrapTextArea wrapTextArea0 = new WrapTextArea("f;PRaDkW", (Dimension) null, (-42));
2: assertFalse(wrapTextArea0.isFocusCycleRoot());
Test case 3
1: JPopupMenu jPopupMenu0 = new JPopupMenu("GO:0001234 [F] ");
2: JMenuItem jMenuItem0 = jPopupMenu0.add("");
3: Dimension dimension0 = jMenuItem0.getPreferredSize();
4: WrapTextArea wrapTextArea0 = new WrapTextArea("GO:0001234 [F] ", dimension0, 13);
5: int int0 = wrapTextArea0.getLabelWidth();
6: assertEquals(17, int0);
Test case 4
1: WrapTextArea wrapTextArea0 = new WrapTextArea((String) null, (Dimension) null, (-42));
Test case 5
1: FlowLayout flowLayout0 = new FlowLayout((-2088));
2: DefaultEditorKit.BeepAction defaultEditorKit_BeepAction0 = new DefaultEditorKit.BeepAction();
3: JCheckBoxMenuItem jCheckBoxMenuItem0 = new JCheckBoxMenuItem(defaultEditorKit_BeepAction0);
4: Dimension dimension0 = flowLayout0.minimumLayoutSize(jCheckBoxMenuItem0);
5: dimension0.setSize((-598.1364483113), (-957.0311));
6: WrapTextArea wrapTextArea0 = new WrapTextArea("Forward", dimension0, (-598));
7: int int0 = wrapTextArea0.getLabelWidth();
8: assertEquals((-598), int0);
Source Code
1: No source found for uk.ac.sanger.artemis.components.genebuilder.cv.WrapTextArea
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.components.genebuilder.cv.WrapTextArea
- Size: 5
- Length: 18
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.998898678414097
- BranchCoverage: 1.0
- MethodCoverage: 1.0
- OutputCoverage: 1.0
Back to Overview