Skip navigation links
A C E M R S T W 

A

and(String, String) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.WithEnvironmentVariables
Creates a new WithEnvironmentVariables object that additionally stores the value for an additional environment variable.
andExceptionThrownOnInputEnd(IOException) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.SystemInStub
Sets an exception that is thrown after the text is read.
andExceptionThrownOnInputEnd(RuntimeException) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.SystemInStub
Sets an exception that is thrown after the text is read.
assertNothingWrittenToSystemErr(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and fails (throws an AssertionError) if the statement tries to write to System.err.
assertNothingWrittenToSystemOut(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and fails (throws an AssertionError) if the statement tries to write to System.out.

C

catchSystemExit(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and returns the status code that is provided to System.exit(int) within the statement.
com.github.stefanbirkner.systemlambda - package com.github.stefanbirkner.systemlambda
 

E

execute() - Method in interface com.github.stefanbirkner.systemlambda.Statement
Execute the statement.
execute(Statement) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.SystemInStub
Executes the statement and lets System.in provide the specified text during the execution.
execute(Callable<T>) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.WithEnvironmentVariables
Executes a Callable with environment variable values according to what was set before.
execute(Statement) - Method in class com.github.stefanbirkner.systemlambda.SystemLambda.WithEnvironmentVariables
Executes a statement with environment variable values according to what was set before.

M

muteSystemErr(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and suppresses the output of the statement to System.err.
muteSystemOut(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and suppresses the output of the statement to System.out.

R

restoreSystemProperties(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and restores the system properties after the statement has been executed.

S

Statement - Interface in com.github.stefanbirkner.systemlambda
Code that should be executed by on of the methods of SystemLambda.
SystemLambda - Class in com.github.stefanbirkner.systemlambda
SystemLambda is a collection of functions for testing code that uses java.lang.System.
SystemLambda() - Constructor for class com.github.stefanbirkner.systemlambda.SystemLambda
 
SystemLambda.SystemInStub - Class in com.github.stefanbirkner.systemlambda
A stub that defines the text provided by System.in.
SystemLambda.WithEnvironmentVariables - Class in com.github.stefanbirkner.systemlambda
A collection of values for environment variables.

T

tapSystemErr(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and returns the text that was written to System.err by the statement.
tapSystemErrNormalized(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and returns the text that was written to System.err by the statement.
tapSystemOut(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and returns the text that was written to System.out by the statement.
tapSystemOutNormalized(Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and returns the text that was written to System.out by the statement.

W

withEnvironmentVariable(String, String) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement with the specified environment variables.
withSecurityManager(SecurityManager, Statement) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement with the provided security manager.
withTextFromSystemIn(String...) - Static method in class com.github.stefanbirkner.systemlambda.SystemLambda
Executes the statement and lets System.in provide the specified text during the execution.
A C E M R S T W 
Skip navigation links

Copyright © 2020. All rights reserved.