doc improvement.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15160 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-02-09 19:29:56 +00:00
1 parent ba0896cb0a
commit dc827868e7
1 file changed
+4
@@ -29,6 +29,10 @@ package org.jvnet.hudson.test;
public class TestEnvironment {
public final TemporaryDirectoryAllocator temporaryDirectoryAllocator = new TemporaryDirectoryAllocator();
/**
* Associates (or pin down) this {@link TestEnvironment} to the current thread, so that
* from within the test you can access this object without referring to any context.
*/
public void pin() {
ENVIRONMENT.set(this);
}