com.atlassian.jira.functest.framework.dump
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 classes/interfaces inherited from class com.atlassian.jira.testkit.client.dump.TestInformationKit |
com.atlassian.jira.testkit.client.dump.TestInformationKit.TestCaseCounter |
Method Summary |
static List<TestInformationKit.TestCaseInfo> |
getAllTestsRun()
|
static String |
getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS)
|
static String |
getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
FuncTestWebClientListener webClientListener)
|
static String |
getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
FuncTestWebClientListener webClientListener,
Throwable problemT)
|
static String |
getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
Throwable problemT)
|
static String |
getStartMsg(junit.framework.TestCase testCase,
String tenant)
|
static TestInformationKit.TestCaseInfo |
getTotals()
|
static void |
startTestSuite(int totalTestCases)
|
Methods inherited from class com.atlassian.jira.testkit.client.dump.TestInformationKit |
getCountersForTest, pullTimer, recordCounter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestInformationKit
public TestInformationKit()
startTestSuite
public static void startTestSuite(int totalTestCases)
getStartMsg
public static String getStartMsg(junit.framework.TestCase testCase,
String tenant)
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS)
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
FuncTestWebClientListener webClientListener)
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
Throwable problemT)
getEndMsg
public static String getEndMsg(junit.framework.TestCase testCase,
String tenant,
long runtimeMS,
FuncTestWebClientListener webClientListener,
Throwable problemT)
getAllTestsRun
public static List<TestInformationKit.TestCaseInfo> getAllTestsRun()
getTotals
public static TestInformationKit.TestCaseInfo getTotals()
Copyright © 2002-2014 Atlassian. All Rights Reserved.