org.jvnet.hudson.test
Class HudsonHomeLoader.Local

java.lang.Object
  extended by org.jvnet.hudson.test.HudsonHomeLoader.Local
All Implemented Interfaces:
HudsonHomeLoader
Enclosing interface:
HudsonHomeLoader

public static final class HudsonHomeLoader.Local
extends java.lang.Object
implements HudsonHomeLoader

Allocates a new directory by copying from a test resource


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hudson.test.HudsonHomeLoader
HudsonHomeLoader.CopyExisting, HudsonHomeLoader.Local
 
Field Summary
 
Fields inherited from interface org.jvnet.hudson.test.HudsonHomeLoader
NEW
 
Constructor Summary
HudsonHomeLoader.Local(java.lang.reflect.Method testMethod)
           
 
Method Summary
 java.io.File allocate()
          Returns a directory to be used as HUDSON_HOME
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HudsonHomeLoader.Local

public HudsonHomeLoader.Local(java.lang.reflect.Method testMethod)
Method Detail

allocate

public java.io.File allocate()
                      throws java.lang.Exception
Description copied from interface: HudsonHomeLoader
Returns a directory to be used as HUDSON_HOME

Specified by:
allocate in interface HudsonHomeLoader
Throws:
java.lang.Exception - to cause a test to fail.


Copyright © 2008. All Rights Reserved.