org.davesag.generica.test
Class StoryTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.davesag.generica.test.StoryTest
All Implemented Interfaces:
Serializable, Test

public class StoryTest
extends TestCase
implements Serializable

StoryTest is a simple test that we can create a Story okay.

Since:
Generica 1.0
Version:
CVS Revision $Id: StoryTest.java,v 1.14 2004/04/06 15:40:42 davesag Exp $
Author:
Dave Sag http://www.davesag.com
See Also:
Serialized Form

Constructor Summary
StoryTest()
          null constructor
StoryTest(String name)
          Constructor that takes a test name.
 
Method Summary
static Test suite()
          test suite
 void testCreateStory()
          tests that we can create a Story.
 String toString()
          test name
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown
 
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

StoryTest

public StoryTest()
null constructor


StoryTest

public StoryTest(String name)
Constructor that takes a test name.

Parameters:
name - the name of this suite of tests
Method Detail

testCreateStory

public void testCreateStory()
tests that we can create a Story.


suite

public static Test suite()
test suite

Returns:
suite of tests

toString

public String toString()
test name

Returns:
name of test


Dave Sag Generica API version 0.5.9 - (prerelease) Copyright 2003 - 2004 Dave Sag.