|
||||||||||
| 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, failNotEquals, failNotSame, failSame, format |
| 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 Exception
setUp in class junit.framework.TestCaseException
protected void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionpublic void testMatches()
public void testResourceNotFound()
throws Exception
Exception
public void testServeFile()
throws Exception
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 | |||||||||