Package ninja
Class AssetsControllerTest
- java.lang.Object
-
- ninja.AssetsControllerTest
-
public class AssetsControllerTest extends Object
-
-
Constructor Summary
Constructors Constructor Description AssetsControllerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
before()
void
testServeStatic304NotModified()
void
testServeStatic404()
void
testServeStaticDirectory()
void
testServeStaticNormalOperationModifiedNoCaching()
void
testServeStaticRobotsTxt()
void
testServeStaticSecurityClassesAbsolute()
void
testServeStaticSecurityClassesWithoutSlash()
void
testServeStaticSecurityNoRelativePathWorks()
void
testServeWebJars()
void
testStaticDirectoryClassPathWhenFileNotInFileSystemInDevMode()
void
testStaticDirectoryIsClassPathInProdMode()
void
testStaticDirectoryIsFileSystemInDevMode()
-
-
-
Method Detail
-
before
public final void before()
-
testServeStatic404
public void testServeStatic404()
-
testServeStaticSecurityClassesWithoutSlash
public void testServeStaticSecurityClassesWithoutSlash()
-
testServeStaticSecurityClassesAbsolute
public void testServeStaticSecurityClassesAbsolute()
-
testServeStaticSecurityNoRelativePathWorks
public void testServeStaticSecurityNoRelativePathWorks()
-
testServeStaticDirectory
public void testServeStaticDirectory()
-
testServeStatic304NotModified
public void testServeStatic304NotModified()
-
testStaticDirectoryIsFileSystemInDevMode
public void testStaticDirectoryIsFileSystemInDevMode()
-
testStaticDirectoryClassPathWhenFileNotInFileSystemInDevMode
public void testStaticDirectoryClassPathWhenFileNotInFileSystemInDevMode() throws Exception
- Throws:
Exception
-
testStaticDirectoryIsClassPathInProdMode
public void testStaticDirectoryIsClassPathInProdMode() throws Exception
- Throws:
Exception
-
testServeStaticNormalOperationModifiedNoCaching
public void testServeStaticNormalOperationModifiedNoCaching() throws Exception
- Throws:
Exception
-
-