com.acsinet_solutions.cetia4.test
Class RestMapperTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.acsinet_solutions.cetia4.test.RestMapperTest
All Implemented Interfaces:
junit.framework.Test

public final class RestMapperTest
extends junit.framework.TestCase

Test render methods in a REST framework

Author:
Santiago Arriaga

Constructor Summary
RestMapperTest(java.lang.String name)
          Public constructor
 
Method Summary
static junit.framework.Test suite()
           
static void testActionConfigurableWeb()
          Simple GET render for web request
static void testActionDefaultMappingWeb()
          Simple GET render for web request
static void testActionDefaultMappingWithPathInfoWeb()
          Simple GET render for web request
static void testActionIncludesWeb()
          Simple GET render for web request
static void testActionMapperWeb()
          Simple GET render for web request
static void testInvalid()
          Test invalid
static void testRenderDefaultMappingWeb()
          Simple GET render for web request
 
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

RestMapperTest

public RestMapperTest(java.lang.String name)
Public constructor

Method Detail

suite

public static junit.framework.Test suite()

testActionDefaultMappingWeb

public static final void testActionDefaultMappingWeb()
                                              throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception

testRenderDefaultMappingWeb

public static final void testRenderDefaultMappingWeb()
                                              throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception

testActionDefaultMappingWithPathInfoWeb

public static final void testActionDefaultMappingWithPathInfoWeb()
                                                          throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception

testInvalid

public static final void testInvalid()
                              throws java.lang.Exception
Test invalid

Throws:
java.lang.Exception

testActionIncludesWeb

public static final void testActionIncludesWeb()
                                        throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception

testActionMapperWeb

public static final void testActionMapperWeb()
                                      throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception

testActionConfigurableWeb

public static final void testActionConfigurableWeb()
                                            throws java.lang.Exception
Simple GET render for web request

Throws:
java.lang.Exception