org.springframework.extensions.webscripts
Class WebScriptExceptionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.extensions.webscripts.WebScriptExceptionTest
All Implemented Interfaces:
junit.framework.Test

public class WebScriptExceptionTest
extends junit.framework.TestCase

Unit test to test Web Script API

Author:
davidc

Constructor Summary
WebScriptExceptionTest()
           
 
Method Summary
 void testScriptStatusTemplate()
          Ensure that, for a non request type specific .js script, the request body is available as requestbody.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebScriptExceptionTest

public WebScriptExceptionTest()
Method Detail

testScriptStatusTemplate

public void testScriptStatusTemplate()
                              throws java.lang.Exception
Ensure that, for a non request type specific .js script, the request body is available as requestbody.

Throws:
java.lang.Exception


Copyright © 2009-2011 SpringSource, Inc. All Rights Reserved.