com.atlassian.confluence.util.test.rules
Class SystemProperties

java.lang.Object
  extended by com.atlassian.confluence.util.test.rules.AnnotatedMethodTemplate<SystemProperties.Set>
      extended by com.atlassian.confluence.util.test.rules.SystemProperties
All Implemented Interfaces:
org.junit.rules.TestRule

public class SystemProperties
extends AnnotatedMethodTemplate<SystemProperties.Set>

Set system properties for a specific test run.

Usage:

 {@code public class MyTest
   {

Since:
5.4

Nested Class Summary
static interface SystemProperties.Set
           
 
Field Summary
 
Fields inherited from class com.atlassian.confluence.util.test.rules.AnnotatedMethodTemplate
annotationClass, testClass
 
Constructor Summary
SystemProperties(java.lang.Class testClass)
           
 
Method Summary
protected  org.junit.runners.model.Statement applyForAnnotation(org.junit.runners.model.Statement statement, org.junit.runner.Description description, SystemProperties.Set set)
           
 
Methods inherited from class com.atlassian.confluence.util.test.rules.AnnotatedMethodTemplate
apply
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemProperties

public SystemProperties(java.lang.Class testClass)
Method Detail

applyForAnnotation

protected org.junit.runners.model.Statement applyForAnnotation(org.junit.runners.model.Statement statement,
                                                               org.junit.runner.Description description,
                                                               SystemProperties.Set set)
Specified by:
applyForAnnotation in class AnnotatedMethodTemplate<SystemProperties.Set>


Copyright © 2003-2014 Atlassian. All Rights Reserved.