package com.intuit.tank.script; /* * #%L * JSF Support Beans * %% * Copyright (C) 2011 - 2015 Intuit Inc. * %% * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * #L% */ import org.junit.*; import static org.junit.Assert.*; import com.intuit.tank.project.ScriptStep; import com.intuit.tank.script.AggregatorEditor; /** * The class <code>AggregatorEditorTest</code> contains tests for the class <code>{@link AggregatorEditor}</code>. * * @generatedBy CodePro at 12/15/14 3:53 PM */ public class AggregatorEditorTest { /** * Run the AggregatorEditor() constructor test. * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testAggregatorEditor_1() throws Exception { AggregatorEditor result = new AggregatorEditor(); assertNotNull(result); } /** * Run the void checkFixOrder(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testCheckFixOrder_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.checkFixOrder(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void checkFixOrder(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testCheckFixOrder_2() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.checkFixOrder(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void checkFixOrder(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testCheckFixOrder_3() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.checkFixOrder(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void editAggregator(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testEditAggregator_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.editAggregator(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void editAggregator(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testEditAggregator_2() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.editAggregator(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void editAggregator(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testEditAggregator_3() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); fixture.editAggregator(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the String getAggregatorName() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testGetAggregatorName_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); String result = fixture.getAggregatorName(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) assertNotNull(result); } /** * Run the String getButtonLabel() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testGetButtonLabel_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); String result = fixture.getButtonLabel(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) assertNotNull(result); } /** * Run the void insertAggregator() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testInsertAggregator_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); fixture.insertAggregator(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the boolean isAggregator(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testIsAggregator_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); boolean result = fixture.isAggregator(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) assertTrue(!result); } /** * Run the boolean isCanBeAggregated() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testIsCanBeAggregated_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); boolean result = fixture.isCanBeAggregated(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) assertTrue(!result); } /** * Run the boolean isStart(ScriptStep) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testIsStart_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); ScriptStep step = new ScriptStep(); boolean result = fixture.isStart(step); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) assertTrue(!result); } /** * Run the void setAggregatorName(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testSetAggregatorName_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); String aggregatorName = ""; fixture.setAggregatorName(aggregatorName); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } /** * Run the void setButtonLabel(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:53 PM */ @Test public void testSetButtonLabel_1() throws Exception { AggregatorEditor fixture = new AggregatorEditor(); fixture.setAggregatorName(""); fixture.editAggregator(new ScriptStep()); fixture.setButtonLabel(""); String buttonLabel = ""; fixture.setButtonLabel(buttonLabel); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.script.AggregatorEditor.setAggregatorName(AggregatorEditor.java:283) } }