com.atlassian.jira.functest.config
Class FuncSuiteAssertions

java.lang.Object
  extended by com.atlassian.jira.functest.config.FuncSuiteAssertions

public final class FuncSuiteAssertions
extends Object

Assertions for FuncTestSuite.

Since:
v4.3

Method Summary
static void assertDoesNotHaveTestNames(junit.framework.Test suite, String... testNames)
           
static void assertDoesNotHaveTests(junit.framework.Test suite, Class<? extends junit.framework.Test>... testClasses)
           
static void assertHasTestNames(junit.framework.Test suite, String... testNames)
           
static void assertHasTests(junit.framework.Test suite, Class<? extends junit.framework.Test>... testClasses)
           
static void assertNumberOfTestCasesEquals(int expected, junit.framework.Test suite)
           
static void assertOldTestsInNewSuite(junit.framework.Test oldSuite, junit.framework.Test newSuite)
           
static void assertSuitesEqual(junit.framework.Test suite1, junit.framework.Test suite2)
           
static List<Class<?>> collectCaseClasses(junit.framework.Test suite)
           
static List<Class<?>> collectCaseClasses(junit.framework.TestSuite suite)
           
static List<String> collectCaseNames(junit.framework.TestSuite suite)
           
static List<junit.framework.Test> collectCases(junit.framework.TestSuite suite)
           
static void logSuites(junit.framework.Test oldOne, junit.framework.Test newOne)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertSuitesEqual

public static void assertSuitesEqual(junit.framework.Test suite1,
                                     junit.framework.Test suite2)

assertOldTestsInNewSuite

public static void assertOldTestsInNewSuite(junit.framework.Test oldSuite,
                                            junit.framework.Test newSuite)

assertHasTests

public static void assertHasTests(junit.framework.Test suite,
                                  Class<? extends junit.framework.Test>... testClasses)

assertDoesNotHaveTests

public static void assertDoesNotHaveTests(junit.framework.Test suite,
                                          Class<? extends junit.framework.Test>... testClasses)

assertHasTestNames

public static void assertHasTestNames(junit.framework.Test suite,
                                      String... testNames)

assertDoesNotHaveTestNames

public static void assertDoesNotHaveTestNames(junit.framework.Test suite,
                                              String... testNames)

assertNumberOfTestCasesEquals

public static void assertNumberOfTestCasesEquals(int expected,
                                                 junit.framework.Test suite)

collectCases

public static List<junit.framework.Test> collectCases(junit.framework.TestSuite suite)

collectCaseClasses

public static List<Class<?>> collectCaseClasses(junit.framework.Test suite)

collectCaseClasses

public static List<Class<?>> collectCaseClasses(junit.framework.TestSuite suite)

collectCaseNames

public static List<String> collectCaseNames(junit.framework.TestSuite suite)

logSuites

public static void logSuites(junit.framework.Test oldOne,
                             junit.framework.Test newOne)


Copyright © 2002-2011 Atlassian. All Rights Reserved.