# Package org.tanukisoftware.wrapper.test

package org.tanukisoftware.wrapper.test

Related Packages
Package
Description
org.tanukisoftware.wrapper
org.tanukisoftware.wrapper.demo
org.tanukisoftware.wrapper.event
org.tanukisoftware.wrapper.jmx
org.tanukisoftware.wrapper.security
org.tanukisoftware.wrapper.test2
Classes
Class
Description
AbstractActionApp
BackgroundThreads
ChildWrapper
CommandMain
DaemonThreads
DeadLockBase
This is test is designed to simulate various deadlock cases using either ReentrantLock instances or synchronized objects.
DeadLockMixed
This is test is designed to simulate a series of deadlock cases using ReentrantLocks, which will can be detected and restarted by the Standard Edition.
DeadLockObject
This is test is designed to simulate a series of deadlock cases using standard Object synchronization, which will can be detected and restarted by the Standard Edition.
DeadlockPrintStream
A print stream which can be put into a state in which all calls to write to it will result in the calling threads deadlocking in the call.
DeadLockReentrantLock
This is test is designed to simulate a series of deadlock cases using ReentrantLocks, which will can be detected and restarted by the Standard Edition.
DelayedIORestarter
This test is designed to make sure the Wrapper handles the case where the JVM is restarted while the Wrapper is blocking due to a long disk IO queue.
EnvironmentVariables
ExecParallel
ExecRead
ExecSignals
ExecThrasher
ExecWorkingDir
ExecWriteAndRead
This class tests the ability to write to the output stream of a subprocess and to read the input stream of that same process.
Filter
GrowingLogOutput
HugeLogOutput
JarMain
JvmEncoding
JvmEncoding2
LoadedGCOutput
LoadedLogOutput
LoadedSplitOutput
LoadedWrapperListener
This test was created to test timeout problems under heavily loaded conditions.
LogOutput
LogStdoutStderr
LongRunningBackgroundThreads
Test case which launched several threads and lets them run for 30 seconds.
LongRunningWithShutdownHook
Test case which launched several threads and lets them run for 30 seconds.
Main
This is a Test / Example program which can be used to test the main features of the Wrapper.
Memory
NestedWrapperListener
This is a simple test to see how the WrapperManager behaves when a main class designed for Integration Method #3 is called using Integration Method #2.
NoReturn
OnExit
OpenVariousSizeWindows
OutputLoader
Passthrough
PercentOutput
Tests Bug #531880 where % characters in the text output were causing the wrapper to crash.
Performance
Can be run without the Wrapper as: java -classpath lib/wrappertest.jar org.tanukisoftware.wrapper.test.Performance NOTE - This class intentionally does not use resources for localization because it needs to be able to be run without the Wrapper components being loaded.
PostShutdownGC
QuickComplete
Restarter
RuntimeExec
ShutdownHook
ShutdownLock
SimpleWrapperListener
This is a very simple test of how a main class using Integration Method #3 works.
SlowStop
This test is to make sure the Wrapper handles applications whose stop method take too much time to complete.
StopWhileStarting
This test is to make sure the Wrapper works correctly when stop or restart is called before the start method has completed.
SystemProperty
This test is to make sure that property values set in the wrapper config file are handled and passed into the JVM as expected.
TestUtils
This test is designed to make sure the Wrapper handles the case where the JVM is restarted while the Wrapper is blocking due to a long disk IO queue.
TimedLogOutput
WrapperPrintArgs
WrapperPrintParam