example
Class MyCodeTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by junit.extensions.abbot.ScriptFixture
              extended by example.MyCodeTest
All Implemented Interfaces:
Test

public class MyCodeTest
extends ScriptFixture

Simple example of a ScriptTestSuite. Selects all scripts of the form MyCode-[0-9]*.xml.


Constructor Summary
MyCodeTest(String name)
          Name is the name of a script filename.
 
Method Summary
static void main(String[] args)
           
static Test suite()
          Return the set of scripts we want to run.
 
Methods inherited from class junit.extensions.abbot.ScriptFixture
runTest, setUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, setName, 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

MyCodeTest

public MyCodeTest(String name)
Name is the name of a script filename.

Method Detail

suite

public static Test suite()
Return the set of scripts we want to run.


main

public static void main(String[] args)


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge