org.melati.test
Class MelatiTest

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

public class MelatiTest
extends junit.framework.TestCase

Test Melati.

Since:
30/05/2006
Author:
timp

Constructor Summary
MelatiTest(String name)
          Constructor for MelatiTest.
 
Method Summary
protected  org.melati.PoemContext poemContext()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testEstablishCharsets()
           
 void testGetArguments()
           
 void testGetConentType()
           
 void testGetConfig()
           
 void testGetContextUtil()
           
 void testGetDatabase()
           
 void testGetEncoding()
           
 void testGetHTMLMarkupLanguage()
           
 void testGetJavascriptLibraryURL()
           
 void testGetKnownDatabaseNames()
           
 void testGetLoginURL()
           
 void testGetLogoutURL()
           
 void testGetMarkupLanguage()
           
 void testGetMethod()
           
 void testGetObject()
           
 void testGetPathInfoParts()
           
 void testGetPoemContext()
           
 void testGetPoemLocale()
           
 void testGetRelativeZoneURL()
           
 void testGetRequest()
           
 void testGetResponse()
           
 void testGetSameURL()
           
 void testGetServletTemplateContext()
           
 void testGetServletURL()
          Not used in Melati.
 void testGetSession()
           
 void testGetStringWriter()
           
 void testGetTable()
           
 void testGetTemplateContext()
           
 void testGetTemplateEngine()
           
 void testGetURLQueryEncoding()
           
 void testGetUser()
           
 void testGetWriter()
           
 void testGetZoneURL()
           
 void testIsReferencePoemType()
           
 void testLoadTableAndObject()
           
 void testMelatiMelatiConfigHttpServletRequestHttpServletResponse()
           
 void testMelatiMelatiConfigMelatiWriter()
           
 void testSameURLWithString()
           
 void testSameURLWithStringString()
           
 void testSetArguments()
           
 void testSetBufferingOff()
           
 void testSetFlushingOn()
           
 void testSetMarkupLanguage()
           
 void testSetPoemContext()
           
 void testSetRequest()
           
 void testSetResponseContentType()
           
 void testSetTemplateContext()
           
 void testSetTemplateEngine()
           
 void testSetVariableExceptionHandler()
           
 void testTemplateName()
           
 void testUrlEncode()
           
 void testWrite()
           
 
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

MelatiTest

public MelatiTest(String name)
Constructor for MelatiTest.

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()

poemContext

protected org.melati.PoemContext poemContext()

testMelatiMelatiConfigHttpServletRequestHttpServletResponse

public void testMelatiMelatiConfigHttpServletRequestHttpServletResponse()
See Also:
Melati.Melati(MelatiConfig, HttpServletRequest, HttpServletResponse)

testMelatiMelatiConfigMelatiWriter

public void testMelatiMelatiConfigMelatiWriter()
See Also:
Melati.Melati(MelatiConfig, MelatiWriter)

testGetRequest

public void testGetRequest()
See Also:
Melati.getRequest()

testSetRequest

public void testSetRequest()
See Also:
Melati.setRequest(HttpServletRequest)

testGetResponse

public void testGetResponse()
See Also:
Melati.getResponse()

testSetPoemContext

public void testSetPoemContext()
See Also:
Melati.setPoemContext(PoemContext)

testLoadTableAndObject

public void testLoadTableAndObject()
See Also:
Melati.loadTableAndObject()

testGetPoemContext

public void testGetPoemContext()
See Also:
Melati.getPoemContext()

testGetDatabase

public void testGetDatabase()
See Also:
Melati.getDatabase()

testGetKnownDatabaseNames

public void testGetKnownDatabaseNames()
                               throws Exception
Throws:
Exception
See Also:
Melati.getKnownDatabaseNames()

testGetTable

public void testGetTable()
See Also:
Melati.getTable()

testGetObject

public void testGetObject()
See Also:
Melati.getObject()

testGetMethod

public void testGetMethod()
See Also:
Melati.getMethod()

testSetTemplateEngine

public void testSetTemplateEngine()
See Also:
Melati.setTemplateEngine(TemplateEngine)

testGetTemplateEngine

public void testGetTemplateEngine()
See Also:
Melati.getTemplateEngine()

testSetTemplateContext

public void testSetTemplateContext()
See Also:
Melati.setTemplateContext(TemplateContext)

testGetTemplateContext

public void testGetTemplateContext()
See Also:
Melati.getTemplateContext()

testGetServletTemplateContext

public void testGetServletTemplateContext()
See Also:
Melati.getServletTemplateContext()

testGetConfig

public void testGetConfig()
See Also:
Melati.getConfig()

testGetPathInfoParts

public void testGetPathInfoParts()
See Also:
Melati.getPathInfoParts()

testSetArguments

public void testSetArguments()
See Also:
Melati.setArguments(String[])

testGetArguments

public void testGetArguments()
                      throws Exception
Throws:
Exception
See Also:
Melati.getArguments()

testGetSession

public void testGetSession()
See Also:
Melati.getSession()

testGetContextUtil

public void testGetContextUtil()
                        throws Exception
Throws:
Exception
See Also:
Melati.getContextUtil(String)

testGetLogoutURL

public void testGetLogoutURL()
                      throws Exception
Throws:
Exception
See Also:
Melati.getLogoutURL()

testGetLoginURL

public void testGetLoginURL()
                     throws Exception
Throws:
Exception
See Also:
Melati.getLoginURL()

testGetZoneURL

public void testGetZoneURL()
See Also:
Melati.getZoneURL()

testGetServletURL

public void testGetServletURL()
                       throws Exception
Not used in Melati.

Throws:
Exception
See Also:
Melati.getServletURL()

testGetRelativeZoneURL

public void testGetRelativeZoneURL()

testGetJavascriptLibraryURL

public void testGetJavascriptLibraryURL()
See Also:
Melati.getJavascriptLibraryURL()

testGetPoemLocale

public void testGetPoemLocale()
                       throws Exception
Throws:
Exception
See Also:
Melati.getPoemLocale()

testEstablishCharsets

public void testEstablishCharsets()
                           throws Exception
Throws:
Exception
See Also:
Melati.establishCharsets()

testSetResponseContentType

public void testSetResponseContentType()
See Also:
Melati.setResponseContentType(String)

testGetConentType

public void testGetConentType()
See Also:
Melati.getContentType()

testSetMarkupLanguage

public void testSetMarkupLanguage()
See Also:
Melati.setMarkupLanguage(MarkupLanguage)

testGetMarkupLanguage

public void testGetMarkupLanguage()
                           throws Exception
Throws:
Exception
See Also:
Melati.getMarkupLanguage()

testGetHTMLMarkupLanguage

public void testGetHTMLMarkupLanguage()
                               throws Exception
Throws:
Exception
See Also:
Melati.getHTMLMarkupLanguage()

testSameURLWithStringString

public void testSameURLWithStringString()
                                 throws Exception
Throws:
Exception
See Also:
Melati.sameURLWith(String, String)

testSameURLWithString

public void testSameURLWithString()
See Also:
Melati.sameURLWith(String)

testGetSameURL

public void testGetSameURL()
See Also:
Melati.getSameURL()

testSetBufferingOff

public void testSetBufferingOff()
                         throws Exception
Throws:
Exception
See Also:
Melati.setBufferingOff()

testSetFlushingOn

public void testSetFlushingOn()
See Also:
Melati.setFlushingOn()

testGetURLQueryEncoding

public void testGetURLQueryEncoding()
                             throws Exception
Throws:
Exception
See Also:
Melati.getURLQueryEncoding()

testUrlEncode

public void testUrlEncode()
                   throws Exception
Throws:
Exception
See Also:
Melati.urlEncode(String)

testGetEncoding

public void testGetEncoding()
See Also:
Melati.getEncoding()

testGetWriter

public void testGetWriter()
See Also:
Melati.getWriter()

testGetStringWriter

public void testGetStringWriter()
                         throws Exception
Throws:
Exception
See Also:
Melati.getStringWriter()

testWrite

public void testWrite()
See Also:
Melati.write()

testSetVariableExceptionHandler

public void testSetVariableExceptionHandler()
                                     throws Exception
Throws:
Exception
See Also:
org.melati.Melati#setVariableExceptionHandler(Object)

testGetUser

public void testGetUser()
                 throws Exception
Throws:
Exception
See Also:
Melati.getUser()

testIsReferencePoemType

public void testIsReferencePoemType()
                             throws Exception
Throws:
Exception
See Also:
Melati.isReferencePoemType(Field)

testTemplateName

public void testTemplateName()
                      throws Exception
Throws:
Exception
See Also:
Melati.templateName(String)


Copyright © 2000-2010 PanEris. All Rights Reserved.