package com.intuit.tank.harness.test;
/*
* #%L
* Intuit Tank Agent (apiharness)
* %%
* 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.HashMap;
import java.util.Vector;
import org.junit.*;
import static org.junit.Assert.*;
import com.intuit.tank.harness.test.TestInformation;
import com.intuit.tank.harness.test.data.Variables;
/**
* The class <code>TestInformationTest</code> contains tests for the class <code>{@link TestInformation}</code>.
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
public class TestInformationTest {
/**
* Run the TestInformation() constructor test.
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testTestInformation_1()
throws Exception {
TestInformation result = new TestInformation();
assertNotNull(result);
}
/**
* Run the void addComment(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testAddComment_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String comment = "";
fixture.addComment(comment);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the Vector<String> getComments() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testGetComments_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
Vector<String> result = fixture.getComments();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
assertNotNull(result);
}
/**
* Run the HashMap<String, String> getVariables() method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testGetVariables_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
HashMap<String, String> result = fixture.getVariables();
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
assertNotNull(result);
}
/**
* Run the void processVariables(Variables) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testProcessVariables_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
Variables variables = new Variables();
fixture.processVariables(variables);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void processVariables(Variables) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testProcessVariables_2()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
Variables variables = new Variables();
fixture.processVariables(variables);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void processVariables(Variables) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testProcessVariables_3()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
Variables variables = new Variables();
fixture.processVariables(variables);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setAuthenticate(boolean) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetAuthenticate_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
boolean value = true;
fixture.setAuthenticate(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setDescription(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetDescription_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setDescription(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setHost(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetHost_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setHost(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setLoggingKey(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetLoggingKey_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setLoggingKey(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setLoop(int) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetLoop_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
int loop = 1;
fixture.setLoop(loop);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetName_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setName(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.ExceptionInInitializerError
// at org.apache.log4j.LogManager.getLogger(Logger.java:117)
// at com.intuit.tank.harness.test.TestInformation.<clinit>(TestInformation.java:13)
}
/**
* Run the void setPath(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetPath_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setPath(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setPort(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetPort_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setPort(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setProtocol(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetProtocol_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setProtocol(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setTemplate(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetTemplate_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setTemplate(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setTestName(String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetTestName_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String value = "";
fixture.setTestName(value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
/**
* Run the void setVariable(String,String) method test.
*
* @throws Exception
*
* @generatedBy CodePro at 9/3/14 9:20 PM
*/
@Test
public void testSetVariable_1()
throws Exception {
TestInformation fixture = new TestInformation();
fixture.addComment("");
String key = "";
String value = "";
fixture.setVariable(key, value);
// An unexpected exception was thrown in user code while executing this test:
// java.lang.NoClassDefFoundError: Could not initialize class com.intuit.tank.harness.test.TestInformation
}
}