A C D E F G I L M N P R S T V W X 

A

AbstractConfigurationEnvironment - Class in me.gregorias.dfuntest
Environment which implements configuration settings.
AbstractConfigurationEnvironment() - Constructor for class me.gregorias.dfuntest.AbstractConfigurationEnvironment
 
App<EnvironmentT extends Environment> - Class in me.gregorias.dfuntest
This type represents tested applications.
App(int, String) - Constructor for class me.gregorias.dfuntest.App
 
ApplicationFactory<EnvironmentT extends Environment,AppT extends App<EnvironmentT>> - Interface in me.gregorias.dfuntest
Factory which creates application working on given environment.

C

clean(Collection<EnvironmentT>) - Method in interface me.gregorias.dfuntest.EnvironmentPreparator
Performs best-effort try to clean prepared environments from all app related files.
collectOutputAndLogFiles(Collection<EnvironmentT>, Path) - Method in interface me.gregorias.dfuntest.EnvironmentPreparator
Performs best-effort try to collect output and log files for report and put them into local directory.
CommandException - Exception in me.gregorias.dfuntest
Exception thrown when a command has failed.
CommandException() - Constructor for exception me.gregorias.dfuntest.CommandException
 
CommandException(String, Throwable, boolean, boolean) - Constructor for exception me.gregorias.dfuntest.CommandException
 
CommandException(String, Throwable) - Constructor for exception me.gregorias.dfuntest.CommandException
 
CommandException(String) - Constructor for exception me.gregorias.dfuntest.CommandException
 
CommandException(Throwable) - Constructor for exception me.gregorias.dfuntest.CommandException
 
copyDirectoryToDirectory(File, File) - Method in interface me.gregorias.dfuntest.util.FileUtils
FileUtils.copyDirectoryToDirectory(java.io.File, java.io.File)
copyDirectoryToDirectory(File, File) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
copyFilesFromLocalDisk(Path, String) - Method in interface me.gregorias.dfuntest.Environment
Copies specified file or directory to destination directory on environment.
copyFilesFromLocalDisk(Path, String) - Method in class me.gregorias.dfuntest.LocalEnvironment
 
copyFilesFromLocalDisk(Path, String) - Method in class me.gregorias.dfuntest.SSHEnvironment
 
copyFilesToLocalDisk(String, Path) - Method in interface me.gregorias.dfuntest.Environment
Copies specified file or directory to destination directory on local host.
copyFilesToLocalDisk(String, Path) - Method in class me.gregorias.dfuntest.LocalEnvironment
 
copyFilesToLocalDisk(String, Path) - Method in class me.gregorias.dfuntest.SSHEnvironment
 
copyFileToDirectory(File, File) - Method in interface me.gregorias.dfuntest.util.FileUtils
FileUtils.copyFileToDirectory(java.io.File, java.io.File)
copyFileToDirectory(File, File) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
create() - Method in interface me.gregorias.dfuntest.EnvironmentFactory
 
create() - Method in class me.gregorias.dfuntest.LocalEnvironmentFactory
 
create() - Method in class me.gregorias.dfuntest.SSHEnvironmentFactory
 
createDirectories(Path) - Method in interface me.gregorias.dfuntest.util.FileUtils
Files.createDirectories(java.nio.file.Path, java.nio.file.attribute.FileAttribute[])
createDirectories(Path) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
createTempDirectory(String) - Method in interface me.gregorias.dfuntest.util.FileUtils
Files.createTempDirectory( String, java.nio.file.attribute.FileAttribute[])
createTempDirectory(String) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 

D

deleteQuietly(File) - Method in interface me.gregorias.dfuntest.util.FileUtils
FileUtils.deleteQuietly(java.io.File)
deleteQuietly(File) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
destroy(Collection<EnvironmentT>) - Method in interface me.gregorias.dfuntest.EnvironmentFactory
Cleans up everything created by create.
destroy(Collection<Environment>) - Method in class me.gregorias.dfuntest.LocalEnvironmentFactory
 
destroy() - Method in interface me.gregorias.dfuntest.RemoteProcess
Forcibly terminates the process.
destroy(Collection<Environment>) - Method in class me.gregorias.dfuntest.SSHEnvironmentFactory
 

E

Environment - Interface in me.gregorias.dfuntest
Class which represents the environment on which given application is run, such as local or remote host.
EnvironmentFactory<EnvironmentT extends Environment> - Interface in me.gregorias.dfuntest
Objects of this class prepare and clean up environments used for testing.
EnvironmentPreparator<EnvironmentT extends Environment> - Interface in me.gregorias.dfuntest
This class given collection of environments prepares their configuration so that application can be run.
exists(Path) - Method in interface me.gregorias.dfuntest.util.FileUtils
Files.exists(java.nio.file.Path, java.nio.file.LinkOption...)
exists(Path) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 

F

FileUtils - Interface in me.gregorias.dfuntest.util
Interface for local file utilities.
FileUtilsImpl - Class in me.gregorias.dfuntest.util
Concrete implementation of FileUtils
FileUtilsImpl() - Constructor for class me.gregorias.dfuntest.util.FileUtilsImpl
 

G

getDescription() - Method in class me.gregorias.dfuntest.TestResult
 
getEnvironment() - Method in class me.gregorias.dfuntest.App
 
getErrorStream() - Method in interface me.gregorias.dfuntest.RemoteProcess
 
getFileUtilsImpl() - Static method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
getHostname() - Method in interface me.gregorias.dfuntest.Environment
 
getHostname() - Method in class me.gregorias.dfuntest.LocalEnvironment
 
getHostname() - Method in class me.gregorias.dfuntest.SSHEnvironment
 
getId() - Method in class me.gregorias.dfuntest.App
 
getId() - Method in interface me.gregorias.dfuntest.Environment
 
getId() - Method in class me.gregorias.dfuntest.LocalEnvironment
 
getId() - Method in class me.gregorias.dfuntest.SSHEnvironment
 
getInputStream() - Method in interface me.gregorias.dfuntest.RemoteProcess
 
getName() - Method in class me.gregorias.dfuntest.App
 
getName() - Method in interface me.gregorias.dfuntest.Environment
 
getName() - Method in class me.gregorias.dfuntest.LocalEnvironment
 
getName() - Method in class me.gregorias.dfuntest.SSHEnvironment
 
getOutputStream() - Method in interface me.gregorias.dfuntest.RemoteProcess
 
getProperty(String) - Method in class me.gregorias.dfuntest.AbstractConfigurationEnvironment
 
getProperty(String) - Method in interface me.gregorias.dfuntest.Environment
Gets saved property.
getSSHClientFactory() - Static method in class me.gregorias.dfuntest.util.SSHClientFactory
 
getType() - Method in class me.gregorias.dfuntest.TestResult
 

I

isDirectory(Path) - Method in interface me.gregorias.dfuntest.util.FileUtils
Files.isDirectory(java.nio.file.Path, java.nio.file.LinkOption...)
isDirectory(Path) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 

L

LocalEnvironment - Class in me.gregorias.dfuntest
Environment on local host with specified home path
LocalEnvironment(int, Path, FileUtils) - Constructor for class me.gregorias.dfuntest.LocalEnvironment
 
LocalEnvironmentFactory - Class in me.gregorias.dfuntest
Factory of LocalEnvironment.
LocalEnvironmentFactory(Configuration, FileUtils) - Constructor for class me.gregorias.dfuntest.LocalEnvironmentFactory
 
LocalEnvironmentFactory(Configuration) - Constructor for class me.gregorias.dfuntest.LocalEnvironmentFactory
 

M

me.gregorias.dfuntest - package me.gregorias.dfuntest
Main package containing core dfuntest classes
me.gregorias.dfuntest.util - package me.gregorias.dfuntest.util
Basic utility functions mainly used as dependency injection tools for testing
mkdirs(String) - Method in class me.gregorias.dfuntest.SSHEnvironment
Create directories in environment if they don't exist.

N

newApp(EnvironmentT) - Method in interface me.gregorias.dfuntest.ApplicationFactory
Create new application proxy.
newSSHClient() - Method in class me.gregorias.dfuntest.util.SSHClientFactory
 

P

prepare(Collection<EnvironmentT>) - Method in interface me.gregorias.dfuntest.EnvironmentPreparator
Initializes environment with necessary files to run the application.

R

RemoteProcess - Interface in me.gregorias.dfuntest
A process that may be running on a remote host.
removeFile(String) - Method in interface me.gregorias.dfuntest.Environment
Removes specified file.
removeFile(String) - Method in class me.gregorias.dfuntest.LocalEnvironment
 
removeFile(String) - Method in class me.gregorias.dfuntest.SSHEnvironment
 
restore(Collection<EnvironmentT>) - Method in interface me.gregorias.dfuntest.EnvironmentPreparator
Cleans up environments from temporary application files and restores them to initial state.
run() - Method in class me.gregorias.dfuntest.SingleTestRunner
 
run() - Method in interface me.gregorias.dfuntest.TestRunner
 
run(Collection<AppT>) - Method in interface me.gregorias.dfuntest.TestScript
 
runCommand(List<String>) - Method in interface me.gregorias.dfuntest.Environment
Synchronously runs arbitrary command on this environment's OS.
runCommand(List<String>) - Method in class me.gregorias.dfuntest.LocalEnvironment
 
runCommand(List<String>) - Method in class me.gregorias.dfuntest.SSHEnvironment
 
runCommand(List<String>, File) - Method in interface me.gregorias.dfuntest.util.FileUtils
ProcessBuilder
runCommand(List<String>, File) - Method in class me.gregorias.dfuntest.util.FileUtilsImpl
 
runCommandAsynchronously(List<String>) - Method in interface me.gregorias.dfuntest.Environment
 
runCommandAsynchronously(List<String>) - Method in class me.gregorias.dfuntest.LocalEnvironment
 
runCommandAsynchronously(List<String>) - Method in class me.gregorias.dfuntest.SSHEnvironment
 

S

setProperty(String, Object) - Method in class me.gregorias.dfuntest.AbstractConfigurationEnvironment
 
setProperty(String, Object) - Method in interface me.gregorias.dfuntest.Environment
Set arbitrary property of this environment.
shutDown() - Method in class me.gregorias.dfuntest.App
Shuts down started application and deallocates all resources associated with running application.
SingleTestRunner<EnvironmentT extends Environment,AppT extends App<EnvironmentT>> - Class in me.gregorias.dfuntest
Basic implementation of TestRunner which runs one test script on given environments and apps.
SingleTestRunner(TestScript<AppT>, EnvironmentFactory<EnvironmentT>, EnvironmentPreparator<EnvironmentT>, ApplicationFactory<EnvironmentT, AppT>, boolean, boolean, Path) - Constructor for class me.gregorias.dfuntest.SingleTestRunner
 
SSHClientFactory - Class in me.gregorias.dfuntest.util
 
SSHClientFactory() - Constructor for class me.gregorias.dfuntest.util.SSHClientFactory
 
SSHEnvironment - Class in me.gregorias.dfuntest
An UNIX environment accessible through SSH with public key.
SSHEnvironment(int, String, Path, InetAddress, String, Executor, SSHClientFactory, FileUtils) - Constructor for class me.gregorias.dfuntest.SSHEnvironment
 
SSHEnvironmentFactory - Class in me.gregorias.dfuntest
Factory of SSHEnvironment.
SSHEnvironmentFactory(Configuration) - Constructor for class me.gregorias.dfuntest.SSHEnvironmentFactory
 
startUp() - Method in class me.gregorias.dfuntest.App
Starts the application and allows it to run in background.

T

TestResult - Class in me.gregorias.dfuntest
 
TestResult(TestResult.Type, String) - Constructor for class me.gregorias.dfuntest.TestResult
 
TestResult.Type - Enum in me.gregorias.dfuntest
 
TestRunner - Interface in me.gregorias.dfuntest
A point of entry for running tests.
TestScript<AppT extends App> - Interface in me.gregorias.dfuntest
Basic test scenario that tests functionality of given tested applications.

V

valueOf(String) - Static method in enum me.gregorias.dfuntest.TestResult.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.gregorias.dfuntest.TestResult.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitFor() - Method in interface me.gregorias.dfuntest.RemoteProcess
Blocks till process finishes and returns its exit code.

X

XML_DIR_PREFIX_FIELD - Static variable in class me.gregorias.dfuntest.LocalEnvironmentFactory
 
XML_ENV_CNT_FIELD - Static variable in class me.gregorias.dfuntest.LocalEnvironmentFactory
 
XML_HOSTS_FIELD - Static variable in class me.gregorias.dfuntest.SSHEnvironmentFactory
 
XML_PRIVATE_KEY_FIELD - Static variable in class me.gregorias.dfuntest.SSHEnvironmentFactory
 
XML_REMOTE_DIR_FIELD - Static variable in class me.gregorias.dfuntest.SSHEnvironmentFactory
 
XML_USERNAME_FIELD - Static variable in class me.gregorias.dfuntest.SSHEnvironmentFactory
 
A C D E F G I L M N P R S T V W X