com.atlassian.jira.functest.framework.navigation.issue
Class DefaultFileAttachmentsList

java.lang.Object
  extended by junit.framework.Assert
      extended by com.atlassian.jira.functest.framework.navigation.issue.DefaultFileAttachmentsList
All Implemented Interfaces:
FileAttachmentsList

public class DefaultFileAttachmentsList
extends junit.framework.Assert
implements FileAttachmentsList

Since:
v4.2
See Also:
FileAttachmentsList

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.navigation.issue.FileAttachmentsList
FileAttachmentsList.FileAttachmentItem, FileAttachmentsList.Items, FileAttachmentsList.ZipFileAttachmentEntry
 
Constructor Summary
DefaultFileAttachmentsList(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
           
 
Method Summary
 List<FileAttachmentsList.FileAttachmentItem> get()
          Retrieves the list of all the attachments displayed on the file attachments list.
 
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, toString, wait, wait, wait
 

Constructor Detail

DefaultFileAttachmentsList

public DefaultFileAttachmentsList(net.sourceforge.jwebunit.WebTester tester,
                                  com.atlassian.jira.testkit.client.log.FuncTestLogger logger)
Method Detail

get

public List<FileAttachmentsList.FileAttachmentItem> get()
Description copied from interface: FileAttachmentsList
Retrieves the list of all the attachments displayed on the file attachments list. Each attachment in the list is represented by a FileAttachmentsList.FileAttachmentItem object.

Specified by:
get in interface FileAttachmentsList
Returns:

A list of all the FileAttachmentsList.FileAttachmentItem on the file attachments list of the view issue page.

It returns an empty collection if there are no attachments on the page.



Copyright © 2002-2012 Atlassian. All Rights Reserved.