com.atlassian.plugins.rest.common.security.jersey
Class TestCorsResourceFilterFactory

java.lang.Object
  extended by com.atlassian.plugins.rest.common.security.jersey.TestCorsResourceFilterFactory

public class TestCorsResourceFilterFactory
extends java.lang.Object


Constructor Summary
TestCorsResourceFilterFactory()
           
 
Method Summary
 void setup()
           
 void testThatCorsAllowedIsDetectedOnJerseyResource()
           
 void testThatCorsAllowedIsDetectedOnMethod()
           
 void testThatCorsAllowedIsDetectedOnResourcePackage()
           
 void testThatNoCorsAllowedAnnotationsResultsInEmptyFilters()
           
 void testThatResourceInDefaultPackageIsTolerated()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCorsResourceFilterFactory

public TestCorsResourceFilterFactory()
Method Detail

setup

public void setup()

testThatCorsAllowedIsDetectedOnMethod

public void testThatCorsAllowedIsDetectedOnMethod()

testThatCorsAllowedIsDetectedOnJerseyResource

public void testThatCorsAllowedIsDetectedOnJerseyResource()

testThatCorsAllowedIsDetectedOnResourcePackage

public void testThatCorsAllowedIsDetectedOnResourcePackage()
                                                    throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

testThatNoCorsAllowedAnnotationsResultsInEmptyFilters

public void testThatNoCorsAllowedAnnotationsResultsInEmptyFilters()
                                                           throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

testThatResourceInDefaultPackageIsTolerated

public void testThatResourceInDefaultPackageIsTolerated()
                                                 throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright © 2014 Atlassian. All Rights Reserved.