org.alfresco.util.json
Class ExceptionJsonSerializerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.util.json.ExceptionJsonSerializerTest
All Implemented Interfaces:
junit.framework.Test

public class ExceptionJsonSerializerTest
extends junit.framework.TestCase


Constructor Summary
ExceptionJsonSerializerTest()
           
 
Method Summary
protected  void setUp()
           
 void testAccessDeniedException()
           
 void testAlfrescoRuntimeExceptionWithNoParams()
           
 void testAlfrescoRuntimeExceptionWithParams()
           
 void testIllegalArgumentException()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

ExceptionJsonSerializerTest

public ExceptionJsonSerializerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testIllegalArgumentException

public void testIllegalArgumentException()

testAlfrescoRuntimeExceptionWithNoParams

public void testAlfrescoRuntimeExceptionWithNoParams()

testAlfrescoRuntimeExceptionWithParams

public void testAlfrescoRuntimeExceptionWithParams()

testAccessDeniedException

public void testAccessDeniedException()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.