org.springframework.web.servlet.view.json.writer.sojo
Class JsonViewWalkerInterceptorTest

java.lang.Object
  extended by org.springjson.test.TestBase
      extended by org.springframework.web.servlet.view.json.writer.sojo.JsonViewWalkerInterceptorTest

public class JsonViewWalkerInterceptorTest
extends TestBase


Field Summary
 
Fields inherited from class org.springjson.test.TestBase
beanFactory, PATH_TO_CONTEXT_PATH
 
Constructor Summary
JsonViewWalkerInterceptorTest()
           
 
Method Summary
 void testEmptyJsonList()
           
 void testEmptyJsonMap()
           
 void testHandleControlCharacter()
           
 void testHandleControlCharacterAndBack()
           
 void testHandleControlCharacterBack()
           
 void testHandleJsonValue()
           
 void testIgnoreNullValues()
           
 void testJsonViewWalkerInterceptor()
           
 void testMapWithNullValue()
           
 void testMapWithOutNullValue()
           
 void testNullValue()
           
 void testReplaceDoubleQuoteWithDoubleQuoteAndBackslash()
           
 void testSimpleJsonArray()
           
 void testSimpleJsonBoolean()
           
 void testSimpleJsonDouble()
           
 void testSimpleJsonList()
           
 void testSimpleJsonLong()
           
 void testSimpleJsonMap()
           
 void testSimpleJsonString()
           
 void testVisitElement()
           
 void testVisitElementWithNoStringKey()
           
 
Methods inherited from class org.springjson.test.TestBase
assertEqualsJson, cleanupTests, getBeanFactory, getBeanFactory, prepareTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonViewWalkerInterceptorTest

public JsonViewWalkerInterceptorTest()
Method Detail

testReplaceDoubleQuoteWithDoubleQuoteAndBackslash

public void testReplaceDoubleQuoteWithDoubleQuoteAndBackslash()
                                                       throws Exception
Throws:
Exception

testHandleControlCharacter

public void testHandleControlCharacter()
                                throws Exception
Throws:
Exception

testHandleControlCharacterBack

public void testHandleControlCharacterBack()
                                    throws Exception
Throws:
Exception

testHandleControlCharacterAndBack

public void testHandleControlCharacterAndBack()
                                       throws Exception
Throws:
Exception

testHandleJsonValue

public void testHandleJsonValue()
                         throws Exception
Throws:
Exception

testJsonViewWalkerInterceptor

public void testJsonViewWalkerInterceptor()
                                   throws Exception
Throws:
Exception

testSimpleJsonString

public void testSimpleJsonString()
                          throws Exception
Throws:
Exception

testSimpleJsonLong

public void testSimpleJsonLong()
                        throws Exception
Throws:
Exception

testSimpleJsonBoolean

public void testSimpleJsonBoolean()
                           throws Exception
Throws:
Exception

testSimpleJsonDouble

public void testSimpleJsonDouble()
                          throws Exception
Throws:
Exception

testEmptyJsonList

public void testEmptyJsonList()
                       throws Exception
Throws:
Exception

testSimpleJsonArray

public void testSimpleJsonArray()
                         throws Exception
Throws:
Exception

testSimpleJsonList

public void testSimpleJsonList()
                        throws Exception
Throws:
Exception

testEmptyJsonMap

public void testEmptyJsonMap()
                      throws Exception
Throws:
Exception

testSimpleJsonMap

public void testSimpleJsonMap()
                       throws Exception
Throws:
Exception

testIgnoreNullValues

public void testIgnoreNullValues()
                          throws Exception
Throws:
Exception

testMapWithNullValue

public void testMapWithNullValue()
                          throws Exception
Throws:
Exception

testMapWithOutNullValue

public void testMapWithOutNullValue()
                             throws Exception
Throws:
Exception

testNullValue

public void testNullValue()
                   throws Exception
Throws:
Exception

testVisitElement

public void testVisitElement()
                      throws Exception
Throws:
Exception

testVisitElementWithNoStringKey

public void testVisitElementWithNoStringKey()
                                     throws Exception
Throws:
Exception


Copyright © 2010. All Rights Reserved.