com.atlassian.jira.webtests
Class CategorisingTestSuite

java.lang.Object
  extended by com.atlassian.jira.webtests.CategorisingTestSuite
All Implemented Interfaces:
junit.framework.Test

public class CategorisingTestSuite
extends Object
implements junit.framework.Test

Test suite that runs given set of tests based on provided test package name property and included and excluded categories.

This basically mimics behaviour of SystemPropertyBasedSuite, but works with the old JUnit3-based test infrastructure.

Since:
v4.3

Nested Class Summary
static class CategorisingTestSuite.CategoryMatchPredicate
           
 
Field Summary
static CategorisingTestSuite SUITE
           
 
Constructor Summary
CategorisingTestSuite()
           
 
Method Summary
 int countTestCases()
           
 void run(junit.framework.TestResult result)
           
static junit.framework.Test suite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUITE

public static final CategorisingTestSuite SUITE
Constructor Detail

CategorisingTestSuite

public CategorisingTestSuite()
Method Detail

suite

public static junit.framework.Test suite()

countTestCases

public int countTestCases()
Specified by:
countTestCases in interface junit.framework.Test

run

public void run(junit.framework.TestResult result)
Specified by:
run in interface junit.framework.Test


Copyright © 2002-2014 Atlassian. All Rights Reserved.