org.kohsuke.youdebug
Class AbstractYouDebugTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.kohsuke.youdebug.AbstractYouDebugTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AppTest

public abstract class AbstractYouDebugTest
extends junit.framework.TestCase

Base class for unit tests.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class AbstractYouDebugTest.Counter
           
 
Constructor Summary
AbstractYouDebugTest()
           
 
Method Summary
protected  int exec(VM vm, String script)
          Executes the given script and returns the hit counter.
protected  VM fork(String cmdLine)
           
protected  void join(VM vm)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractYouDebugTest

public AbstractYouDebugTest()
Method Detail

join

protected void join(VM vm)
             throws InterruptedException
Throws:
InterruptedException

fork

protected VM fork(String cmdLine)
           throws Exception
Throws:
Exception

exec

protected int exec(VM vm,
                   String script)
            throws Exception
Executes the given script and returns the hit counter.

Throws:
Exception


Copyright © 2013. All rights reserved.