public class

TestHasAttachmentCondition

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.plugin.descriptor.web.conditions.TestHasAttachmentCondition

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestHasAttachmentCondition()
Public Methods
void testShouldDisplayWithPageAndAttachment()
void testShouldNotDisplayWithNoPage()
void testShouldNotDisplayWithPageAndNoAttachments()
Protected Methods
void setUp()
[Expand]
Inherited Methods
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestHasAttachmentCondition ()

Public Methods

public void testShouldDisplayWithPageAndAttachment ()

Throws
Exception

public void testShouldNotDisplayWithNoPage ()

Throws
Exception

public void testShouldNotDisplayWithPageAndNoAttachments ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception