org.melati.template.test
Class YMDDateAdaptorTest

Package class diagram package YMDDateAdaptorTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.melati.template.test.YMDDateAdaptorTest
All Implemented Interfaces:
junit.framework.Test

public class YMDDateAdaptorTest
extends junit.framework.TestCase

Since:
26 Jun 2007
Author:
timp

Constructor Summary
YMDDateAdaptorTest(String name)
           
 
Method Summary
protected  void setUp()
          
protected  void tearDown()
          
 void testDayField()
          Test method for YMDDateAdaptor.dayField(org.melati.poem.Field).
 void testGetFormOrDie()
          Test method for YMDDateAdaptor.getFormOrDie(org.melati.template.ServletTemplateContext, java.lang.String, java.lang.String).
 void testMonthField()
          Test method for YMDDateAdaptor.monthField(org.melati.poem.Field).
 void testRawFrom()
          Test method for YMDDateAdaptor.rawFrom(org.melati.template.ServletTemplateContext, java.lang.String).
 void testYearField()
          Test method for YMDDateAdaptor.yearField(org.melati.poem.Field).
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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

YMDDateAdaptorTest

public YMDDateAdaptorTest(String name)
Parameters:
name -
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.setUp()

tearDown

protected void tearDown()
                 throws Exception

Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception
See Also:
TestCase.tearDown()

testGetFormOrDie

public void testGetFormOrDie()
Test method for YMDDateAdaptor.getFormOrDie(org.melati.template.ServletTemplateContext, java.lang.String, java.lang.String).


testRawFrom

public void testRawFrom()
Test method for YMDDateAdaptor.rawFrom(org.melati.template.ServletTemplateContext, java.lang.String).


testYearField

public void testYearField()
Test method for YMDDateAdaptor.yearField(org.melati.poem.Field).


testMonthField

public void testMonthField()
Test method for YMDDateAdaptor.monthField(org.melati.poem.Field).


testDayField

public void testDayField()
Test method for YMDDateAdaptor.dayField(org.melati.poem.Field).



Copyright © 2000-2010 PanEris. All Rights Reserved.