package com.intuit.tank.report; /* * #%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 java.util.Date; import org.junit.*; import com.intuit.tank.report.JobReportOptions; import static org.junit.Assert.*; /** * The class <code>JobReportOptionsTest</code> contains tests for the class <code>{@link JobReportOptions}</code>. * * @generatedBy CodePro at 12/15/14 3:54 PM */ public class JobReportOptionsTest { /** * Run the JobReportOptions() constructor test. * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testJobReportOptions_1() throws Exception { JobReportOptions result = new JobReportOptions(); assertNotNull(result); } /** * Run the String getDurationEnd() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetDurationEnd_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String result = fixture.getDurationEnd(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the String getDurationStart() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetDurationStart_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String result = fixture.getDurationStart(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getEndDate() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetEndDate_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getEndDate(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getEndTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetEndTime_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getEndTime(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getEndTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetEndTime_2() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getEndTime(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getEndTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetEndTime_3() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate((Date) null); fixture.setDurationEnd(""); fixture.setEndDate(new Date()); Date result = fixture.getEndTime(); assertNotNull(result); } /** * Run the String getEndTimeString() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetEndTimeString_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String result = fixture.getEndTimeString(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the String getJobIdEnd() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetJobIdEnd_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); fixture.setJobIdEnd("test"); String result = fixture.getJobIdEnd(); assertNotNull(result); } /** * Run the String getJobIdStart() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetJobIdStart_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); fixture.setJobIdStart("tst"); String result = fixture.getJobIdStart(); assertNotNull(result); } /** * Run the String getMaxUsers() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetMaxUsers_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); fixture.setMaxUsers("30"); String result = fixture.getMaxUsers(); assertNotNull(result); } /** * Run the String getMinUsers() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetMinUsers_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); fixture.setMinUsers("30"); String result = fixture.getMinUsers(); assertNotNull(result); } /** * Run the String getProjectNameMatch() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetProjectNameMatch_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String result = fixture.getProjectNameMatch(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getStartDate() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetStartDate_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getStartDate(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getStartTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetStartTime_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getStartTime(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getStartTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetStartTime_2() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date result = fixture.getStartTime(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the Date getStartTime() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetStartTime_3() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate((Date) null); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); fixture.setStartDate(new Date()); Date result = fixture.getStartTime(); assertNotNull(result); } /** * Run the String getStartTimeString() method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testGetStartTimeString_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String result = fixture.getStartTimeString(); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) assertNotNull(result); } /** * Run the void setDurationEnd(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetDurationEnd_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String durationEnd = ""; fixture.setDurationEnd(durationEnd); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setDurationStart(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetDurationStart_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String durationStart = ""; fixture.setDurationStart(durationStart); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setEndDate(Date) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetEndDate_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date endDate = new Date(); fixture.setEndDate(endDate); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setEndTimeString(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetEndTimeString_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String endTimeString = ""; fixture.setEndTimeString(endTimeString); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setJobIdEnd(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetJobIdEnd_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String jobIdEnd = ""; fixture.setJobIdEnd(jobIdEnd); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setJobIdStart(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetJobIdStart_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String jobIdStart = ""; fixture.setJobIdStart(jobIdStart); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setMaxUsers(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetMaxUsers_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String maxUsers = ""; fixture.setMaxUsers(maxUsers); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setMinUsers(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetMinUsers_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String minUsers = ""; fixture.setMinUsers(minUsers); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setProjectNameMatch(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetProjectNameMatch_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String projectNameMatch = ""; fixture.setProjectNameMatch(projectNameMatch); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setStartDate(Date) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetStartDate_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); Date startDate = new Date(); fixture.setStartDate(startDate); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } /** * Run the void setStartTimeString(String) method test. * * @throws Exception * * @generatedBy CodePro at 12/15/14 3:54 PM */ @Test public void testSetStartTimeString_1() throws Exception { JobReportOptions fixture = new JobReportOptions(); fixture.setDurationStart(""); fixture.setProjectNameMatch(""); fixture.setStartDate(new Date()); fixture.setEndTimeString(""); fixture.setStartTimeString(""); fixture.setEndDate(new Date()); fixture.setDurationEnd(""); String startTimeString = ""; fixture.setStartTimeString(startTimeString); // An unexpected exception was thrown in user code while executing this test: // java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder // at com.intuit.tank.report.JobReportOptions.setDurationStart(JobReportOptions.java:225) } }