|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.atlassian.plugin.servlet.TestPluginResourceDownload
public class TestPluginResourceDownload
| Constructor Summary | |
|---|---|
TestPluginResourceDownload()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testMatches()
|
void |
testResourceNotFound()
|
void |
testServeFile()
|
void |
testServeFileContentTypeUsesContentTypeResolverWhenResourceContentTypeIsNull()
|
void |
testServeFileDoesNotCallSetContentTypeWithNullContentType()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestPluginResourceDownload()
| Method Detail |
|---|
protected void setUp()
throws java.lang.Exception
setUp in class junit.framework.TestCasejava.lang.Exception
protected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testMatches()
public void testResourceNotFound()
throws java.lang.Exception
java.lang.Exception
public void testServeFile()
throws java.lang.Exception
java.lang.Exception
public void testServeFileContentTypeUsesContentTypeResolverWhenResourceContentTypeIsNull()
throws DownloadException
DownloadException
public void testServeFileDoesNotCallSetContentTypeWithNullContentType()
throws DownloadException
DownloadException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||