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 java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.junit.*;
import static org.junit.Assert.*;
import com.intuit.tank.project.RequestData;
import com.intuit.tank.script.RequestDataContentWrapper;
import com.intuit.tank.script.RequestDataPhase;
import com.intuit.tank.script.ResponseContentEditor;
import com.intuit.tank.vm.api.enumerated.DataLocation;
import com.intuit.tank.vm.api.enumerated.ValidationType;
/**
* The class <code>ResponseContentEditorTest</code> contains tests for the class <code>{@link ResponseContentEditor}</code>.
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
public class ResponseContentEditorTest {
/**
* Run the ResponseContentEditor() constructor test.
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testResponseContentEditor_1()
throws Exception {
ResponseContentEditor result = new ResponseContentEditor();
assertNotNull(result);
}
/**
* Run the void editResponseContent(Set<RequestData>) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testEditResponseContent_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
Set<RequestData> requestData = new HashSet();
fixture.editResponseContent(requestData);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.editResponseContent(ResponseContentEditor.java:38)
}
/**
* Run the void editResponseContent(Set<RequestData>) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testEditResponseContent_2()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
Set<RequestData> requestData = new HashSet();
fixture.editResponseContent(requestData);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.editResponseContent(ResponseContentEditor.java:38)
}
/**
* Run the void editResponseContent(Set<RequestData>) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testEditResponseContent_3()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
Set<RequestData> requestData = new HashSet();
fixture.editResponseContent(requestData);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.editResponseContent(ResponseContentEditor.java:38)
}
/**
* Run the List<RequestDataContentWrapper> getAssignmentContent() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetAssignmentContent_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
List<RequestDataContentWrapper> result = fixture.getAssignmentContent();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getAssignmentContent(ResponseContentEditor.java:52)
assertNotNull(result);
}
/**
* Run the DataLocation[] getDataLocationValues() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetDataLocationValues_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
DataLocation[] result = fixture.getDataLocationValues();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getDataLocationValues(ResponseContentEditor.java:92)
assertNotNull(result);
}
/**
* Run the RequestDataPhase[] getPhases() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetPhases_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
RequestDataPhase[] result = fixture.getPhases();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getPhases(ResponseContentEditor.java:96)
assertNotNull(result);
}
/**
* Run the Set<RequestData> getRequestDataSet() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetRequestDataSet_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
Set<RequestData> result = fixture.getRequestDataSet();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getRequestDataSet(ResponseContentEditor.java:115)
assertNotNull(result);
}
/**
* Run the Set<RequestData> getRequestDataSet() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetRequestDataSet_2()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
Set<RequestData> result = fixture.getRequestDataSet();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getRequestDataSet(ResponseContentEditor.java:115)
assertNotNull(result);
}
/**
* Run the List<RequestDataContentWrapper> getValidationContent() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetValidationContent_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
List<RequestDataContentWrapper> result = fixture.getValidationContent();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getValidationContent(ResponseContentEditor.java:45)
assertNotNull(result);
}
/**
* Run the ValidationType[] getValidationValues() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testGetValidationValues_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
ValidationType[] result = fixture.getValidationValues();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.getValidationValues(ResponseContentEditor.java:88)
assertNotNull(result);
}
/**
* Run the void insertAssignment() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testInsertAssignment_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
fixture.insertAssignment();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.insertAssignment(ResponseContentEditor.java:76)
}
/**
* Run the void insertPostValidation() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testInsertPostValidation_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
fixture.insertPostValidation();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.insertPostValidation(ResponseContentEditor.java:68)
}
/**
* Run the void insertPreValidation() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testInsertPreValidation_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
fixture.insertPreValidation();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: com_cenqua_clover/CoverageRecorder
// at com.intuit.tank.script.ResponseContentEditor.insertPreValidation(ResponseContentEditor.java:64)
}
/**
* Run the boolean isAssignment(RequestData) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testIsAssignment_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
RequestData data = new RequestData();
boolean result = fixture.isAssignment(data);
assertTrue(!result);
}
/**
* Run the boolean isAssignment(RequestData) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testIsAssignment_2()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
RequestData data = new RequestData();
boolean result = fixture.isAssignment(data);
assertTrue(!result);
}
/**
* Run the boolean isValidation(RequestData) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testIsValidation_1()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
RequestData data = new RequestData();
boolean result = fixture.isValidation(data);
assertTrue(!result);
}
/**
* Run the boolean isValidation(RequestData) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 12/15/14 3:53 PM
*/
@Test
public void testIsValidation_2()
throws Exception {
ResponseContentEditor fixture = new ResponseContentEditor();
RequestData data = new RequestData();
boolean result = fixture.isValidation(data);
assertTrue(!result);
}
}