Skip navigation links
A B C E F G I L N O P R S T V 

A

add(String) - Method in class org.junit.contrib.java.lang.system.internal.RestoreSpecificSystemProperties
 
add(String) - Method in class org.junit.contrib.java.lang.system.RestoreSystemProperties
Deprecated.
Simply remove all calls to this method. RestoreSystemProperties restores all properties automatically. That's why you don't have to add the properties anymore.
after() - Method in class org.junit.contrib.java.lang.system.ClearSystemProperties
 
after() - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
 
after() - Method in class org.junit.contrib.java.lang.system.ProvideSecurityManager
 
after() - Method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
 
after() - Method in class org.junit.contrib.java.lang.system.RestoreSystemProperties
 
after() - Method in class org.junit.contrib.java.lang.system.TextFromStandardInputStream
 
and(String, String) - Method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
 
apply(Statement, Description) - Method in class org.junit.contrib.java.lang.system.ExpectedSystemExit
 
Assertion - Interface in org.junit.contrib.java.lang.system
An Assertion encapsulates the code of an assertion into an object.

B

before() - Method in class org.junit.contrib.java.lang.system.ClearSystemProperties
 
before() - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
 
before() - Method in class org.junit.contrib.java.lang.system.ProvideSecurityManager
 
before() - Method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
 
before() - Method in class org.junit.contrib.java.lang.system.RestoreSystemProperties
 
before() - Method in class org.junit.contrib.java.lang.system.TextFromStandardInputStream
 

C

checkAccept(String, int) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkAccess(Thread) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkAccess(ThreadGroup) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkAssertion() - Method in interface org.junit.contrib.java.lang.system.Assertion
 
checkAssertionAfterwards(Assertion) - Method in class org.junit.contrib.java.lang.system.ExpectedSystemExit
 
checkAwtEventQueueAccess() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkConnect(String, int) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkConnect(String, int, Object) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkCreateClassLoader() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkDelete(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkExec(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkExit(int) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
CheckExitCalled - Exception in org.junit.contrib.java.lang.system.internal
 
CheckExitCalled(int) - Constructor for exception org.junit.contrib.java.lang.system.internal.CheckExitCalled
 
checkLink(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkListen(int) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkMemberAccess(Class<?>, int) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkMulticast(InetAddress) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkMulticast(InetAddress, byte) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPackageAccess(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPackageDefinition(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPermission(Permission) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPermission(Permission, Object) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPrintJobAccess() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPropertiesAccess() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkPropertyAccess(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkRead(FileDescriptor) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkRead(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkRead(String, Object) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkSecurityAccess(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkSetFactory() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkSystemClipboardAccess() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkTopLevelWindow(Object) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkWrite(FileDescriptor) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
checkWrite(String) - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
clear() - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
Clears the log.
clearProperty(String) - Method in class org.junit.contrib.java.lang.system.ClearSystemProperties
Deprecated.
Please use RestoreSystemProperties along with System.clearProperty(String).
ClearSystemProperties - Class in org.junit.contrib.java.lang.system
The ClearSystemProperties rule clears a set of system properties when the test starts and restores their original values when the test finishes (whether it passes or fails).
ClearSystemProperties(String...) - Constructor for class org.junit.contrib.java.lang.system.ClearSystemProperties
Creates a ClearSystemProperties rule that clears the specified properties and restores their original values when the test finishes (whether it passes or fails).

E

emptyStandardInputStream() - Static method in class org.junit.contrib.java.lang.system.TextFromStandardInputStream
 
ExpectedSystemExit - Class in org.junit.contrib.java.lang.system
The ExpectedSystemExit allows in-test specification of expected System.exit(...) calls.
expectSystemExit() - Method in class org.junit.contrib.java.lang.system.ExpectedSystemExit
 
expectSystemExitWithStatus(int) - Method in class org.junit.contrib.java.lang.system.ExpectedSystemExit
 

F

fromFile(String) - Static method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
 
fromResource(String) - Static method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
 

G

getInCheck() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
getLog() - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
Returns the text written to the standard error stream.
getOriginalStream() - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
 
getOriginalStream() - Method in class org.junit.contrib.java.lang.system.StandardErrorStreamLog
 
getOriginalStream() - Method in class org.junit.contrib.java.lang.system.StandardOutputStreamLog
 
getSecurityContext() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
getStatus() - Method in exception org.junit.contrib.java.lang.system.internal.CheckExitCalled
 
getStatusOfFirstCheckExitCall() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
getThreadGroup() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 

I

isCheckExitCalled() - Method in class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 

L

LogMode - Enum in org.junit.contrib.java.lang.system

N

NoExitSecurityManager - Class in org.junit.contrib.java.lang.system.internal
A NoExitSecurityManager throws a CheckExitCalled exception whenever NoExitSecurityManager.checkExit(int) is called.
NoExitSecurityManager(SecurityManager) - Constructor for class org.junit.contrib.java.lang.system.internal.NoExitSecurityManager
 
none() - Static method in class org.junit.contrib.java.lang.system.ExpectedSystemExit
 

O

org.junit.contrib.java.lang.system - package org.junit.contrib.java.lang.system
 
org.junit.contrib.java.lang.system.internal - package org.junit.contrib.java.lang.system.internal
 

P

PrintStreamLog - Class in org.junit.contrib.java.lang.system.internal
 
PrintStreamLog(LogMode) - Constructor for class org.junit.contrib.java.lang.system.internal.PrintStreamLog
 
ProvideSecurityManager - Class in org.junit.contrib.java.lang.system
The ProvideSecurityManager rule provides an arbitrary security manager to a test.
ProvideSecurityManager(SecurityManager) - Constructor for class org.junit.contrib.java.lang.system.ProvideSecurityManager
 
ProvideSystemProperty - Class in org.junit.contrib.java.lang.system
The ProvideSystemProperty rule provides an arbitrary value for a system property to a test.
ProvideSystemProperty() - Constructor for class org.junit.contrib.java.lang.system.ProvideSystemProperty
ProvideSystemProperty(String, String) - Constructor for class org.junit.contrib.java.lang.system.ProvideSystemProperty
 
provideText(String) - Method in class org.junit.contrib.java.lang.system.TextFromStandardInputStream
 

R

restore() - Method in class org.junit.contrib.java.lang.system.internal.RestoreSpecificSystemProperties
 
RestoreSpecificSystemProperties - Class in org.junit.contrib.java.lang.system.internal
 
RestoreSpecificSystemProperties() - Constructor for class org.junit.contrib.java.lang.system.internal.RestoreSpecificSystemProperties
 
RestoreSystemProperties - Class in org.junit.contrib.java.lang.system
The RestoreSystemProperties rule undoes changes of system properties when the test finishes (whether it passes or fails).
RestoreSystemProperties(String...) - Constructor for class org.junit.contrib.java.lang.system.RestoreSystemProperties
Deprecated.
Please use RestoreSystemProperties.RestoreSystemProperties(). The rule restores all properties. That's why you don't have to specify the properties anymore.
RestoreSystemProperties() - Constructor for class org.junit.contrib.java.lang.system.RestoreSystemProperties
Creates a RestoreSystemProperties rule that restores all system properties.

S

setProperty(String, String) - Method in class org.junit.contrib.java.lang.system.ProvideSystemProperty
Deprecated.
Please use RestoreSystemProperties along with System.setProperty(String, String).
setStream(PrintStream) - Method in class org.junit.contrib.java.lang.system.internal.PrintStreamLog
 
setStream(PrintStream) - Method in class org.junit.contrib.java.lang.system.StandardErrorStreamLog
 
setStream(PrintStream) - Method in class org.junit.contrib.java.lang.system.StandardOutputStreamLog
 
StandardErrorStreamLog - Class in org.junit.contrib.java.lang.system
The StandardErrorStreamLog records writes to the standard error stream.
StandardErrorStreamLog() - Constructor for class org.junit.contrib.java.lang.system.StandardErrorStreamLog
Creates a rule that records writes while they are still written to the standard error stream.
StandardErrorStreamLog(LogMode) - Constructor for class org.junit.contrib.java.lang.system.StandardErrorStreamLog
Creates a rule that records writes to the standard error stream according to the specified LogMode.
StandardOutputStreamLog - Class in org.junit.contrib.java.lang.system
The StandardOutputStreamLog records writes to the standard output stream.
StandardOutputStreamLog() - Constructor for class org.junit.contrib.java.lang.system.StandardOutputStreamLog
Creates a rule that records writes while they are still written to the standard output stream.
StandardOutputStreamLog(LogMode) - Constructor for class org.junit.contrib.java.lang.system.StandardOutputStreamLog
Creates a rule that records writes to the standard output stream according to the specified LogMode.

T

TextFromStandardInputStream - Class in org.junit.contrib.java.lang.system
The TextFromStandardInputStream rule replaces System.in with another InputStream, which provides an arbitrary text.
TextFromStandardInputStream(String) - Constructor for class org.junit.contrib.java.lang.system.TextFromStandardInputStream

V

valueOf(String) - Static method in enum org.junit.contrib.java.lang.system.LogMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.junit.contrib.java.lang.system.LogMode
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E F G I L N O P R S T V 
Skip navigation links

Copyright © 2011-2015. All Rights Reserved.