@MockPolicy(value=SharedSetUp.class) @PrepareForTest(value={LogUtils.class,SkyhookProvider.class}) @PowerMockIgnore(value={"javax.crypto.*","javax.management.*"}) public class SkyhookProviderSpec_run extends Object
Modifier and Type | Field and Description |
---|---|
org.junit.rules.TemporaryFolder |
folder |
private SimpleCallback |
innerInitCallback |
private ServiceRunner |
serviceRunnerMock |
private ScheduledThreadPoolExecutor |
sExecutor |
private SkyhookProvider |
skyHook |
Constructor and Description |
---|
SkyhookProviderSpec_run() |
Modifier and Type | Method and Description |
---|---|
void |
negativeFlow_fullGridFileError() |
void |
negativeFlow_skyhookFileError() |
void |
positiveFlow_emptyconfigFiles() |
void |
positiveFlow_notEmptyconfigFiles() |
void |
setUp() |
private void |
writeTestString(File f) |
private ServiceRunner serviceRunnerMock
private SkyhookProvider skyHook
private ScheduledThreadPoolExecutor sExecutor
private SimpleCallback innerInitCallback
public org.junit.rules.TemporaryFolder folder
public void negativeFlow_fullGridFileError() throws ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
public void negativeFlow_skyhookFileError() throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
public void positiveFlow_emptyconfigFiles() throws IOException, ClassNotFoundException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
public void positiveFlow_notEmptyconfigFiles() throws Exception
Exception
private void writeTestString(File f) throws IOException
IOException