com.atlassian.plugins.rest.common.interceptor.impl
Class Jersey291ShimTest

java.lang.Object
  extended by com.atlassian.plugins.rest.common.interceptor.impl.Jersey291ShimTest

public class Jersey291ShimTest
extends java.lang.Object

Tests the compatibility shim for JRADEV-11989 / REST-206 / JERSEY-291. To be removed after JIRA 6.0 ships.


Nested Class Summary
static class Jersey291ShimTest.ContainerClass
           
 
Constructor Summary
Jersey291ShimTest()
           
 
Method Summary
static void restoreOriginalSystemProperty()
           
static void saveOriginalSystemProperty()
           
 void testEmptyListMapsToNull()
           
 void testEmptySetMapsToNull()
           
 void testEmptyTreeSetMapsToNull()
           
 void testFormParamUnchanged()
           
 void testNonCollectionUnchanged()
           
 void testNonEmptyCollectionUnchanged()
           
 void testShimOffByDefault1()
           
 void testShimOffByDefault2()
           
 void testUnannotatedUnchanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jersey291ShimTest

public Jersey291ShimTest()
Method Detail

saveOriginalSystemProperty

public static void saveOriginalSystemProperty()

restoreOriginalSystemProperty

public static void restoreOriginalSystemProperty()

testShimOffByDefault1

public void testShimOffByDefault1()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testShimOffByDefault2

public void testShimOffByDefault2()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyListMapsToNull

public void testEmptyListMapsToNull()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testEmptySetMapsToNull

public void testEmptySetMapsToNull()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyTreeSetMapsToNull

public void testEmptyTreeSetMapsToNull()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testFormParamUnchanged

public void testFormParamUnchanged()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testUnannotatedUnchanged

public void testUnannotatedUnchanged()
                              throws java.lang.Exception
Throws:
java.lang.Exception

testNonEmptyCollectionUnchanged

public void testNonEmptyCollectionUnchanged()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testNonCollectionUnchanged

public void testNonCollectionUnchanged()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2014 Atlassian. All Rights Reserved.