public class

TestInformationKit

extends TestInformationKit
java.lang.Object
   ↳ com.atlassian.jira.testkit.client.dump.TestInformationKit
     ↳ com.atlassian.jira.functest.framework.dump.TestInformationKit

Class Overview

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.

Summary

Nested Classes
class TestInformationKit.TestCaseInfo  
Public Constructors
TestInformationKit()
Public Methods
synchronized static List<TestInformationKit.TestCaseInfo> getAllTestsRun()
synchronized static String getEndMsg(String testName, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)
synchronized static String getEndMsg(TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)
static String getEndMsg(TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener)
static String getEndMsg(Description testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener)
synchronized static String getEndMsg(Description description, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)
static String getEndMsg(TestCase testCase, String tenant, long runtimeMS)
static String getEndMsg(TestCase testCase, String tenant, long runtimeMS, Throwable problemT)
synchronized static String getStartMsg(Description description, String tenant)
synchronized static String getStartMsg(String testName, String tenant)
synchronized static String getStartMsg(TestCase testCase, String tenant)
synchronized static TestInformationKit.TestCaseInfo getTotals()
synchronized static void startTestSuite(int totalTestCases)
[Expand]
Inherited Methods
From class com.atlassian.jira.testkit.client.dump.TestInformationKit
From class java.lang.Object

Public Constructors

public TestInformationKit ()

Public Methods

public static synchronized List<TestInformationKit.TestCaseInfo> getAllTestsRun ()

public static synchronized String getEndMsg (String testName, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)

public static synchronized String getEndMsg (TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)

public static String getEndMsg (TestCase testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener)

public static String getEndMsg (Description testCase, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener)

public static synchronized String getEndMsg (Description description, String tenant, long runtimeMS, FuncTestWebClientListener webClientListener, Throwable problemT)

public static String getEndMsg (TestCase testCase, String tenant, long runtimeMS)

public static String getEndMsg (TestCase testCase, String tenant, long runtimeMS, Throwable problemT)

public static synchronized String getStartMsg (Description description, String tenant)

public static synchronized String getStartMsg (String testName, String tenant)

public static synchronized String getStartMsg (TestCase testCase, String tenant)

public static synchronized TestInformationKit.TestCaseInfo getTotals ()

public static synchronized void startTestSuite (int totalTestCases)