Class TestInformationKit
java.lang.Object
com.atlassian.jira.testkit.client.dump.TestInformationKit
com.atlassian.jira.functest.framework.dump.TestInformationKit
public class TestInformationKit
extends com.atlassian.jira.testkit.client.dump.TestInformationKit
Contains common code for generated test messages and the like. This is used by both the old JIRAWebtest code and the
new FuncTestCase code.
This code uses static variables however thats OK because the func tests are single threaded and run one after the other, so statics are fine.
- Since:
- v4.0
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.jira.testkit.client.dump.TestInformationKit
com.atlassian.jira.testkit.client.dump.TestInformationKit.TestCaseCounter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<TestInformationKit.TestCaseInfo>static StringgetEndMsg(String testName, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) static Stringstatic StringgetEndMsg(junit.framework.TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener) static StringgetEndMsg(junit.framework.TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) static Stringstatic StringgetEndMsg(org.junit.runner.Description testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener) static StringgetEndMsg(org.junit.runner.Description description, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) static StringgetStartMsg(String testName, String tenant) static StringgetStartMsg(junit.framework.TestCase testCase, String tenant) static StringgetStartMsg(org.junit.runner.Description description, String tenant) static voidstartTestSuite(int totalTestCases) Methods inherited from class com.atlassian.jira.testkit.client.dump.TestInformationKit
getCountersForTest, pullTimer, recordCounter
-
Constructor Details
-
TestInformationKit
public TestInformationKit()
-
-
Method Details
-
startTestSuite
public static void startTestSuite(int totalTestCases) -
getStartMsg
-
getStartMsg
-
getStartMsg
-
getEndMsg
-
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener) -
getEndMsg
public static String getEndMsg(org.junit.runner.Description testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener) -
getEndMsg
-
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) -
getEndMsg
public static String getEndMsg(org.junit.runner.Description description, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) -
getEndMsg
public static String getEndMsg(String testName, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT) -
getAllTestsRun
-
getTotals
-