com.atlassian.jira.functest.framework.suite
Enum Category

java.lang.Object
  extended by java.lang.Enum<Category>
      extended by com.atlassian.jira.functest.framework.suite.Category
All Implemented Interfaces:
Serializable, Comparable<Category>

public enum Category
extends Enum<Category>

Enumeration of possible categories of JIRA web tests.

Since:
v4.4

Enum Constant Summary
ACTIVE_OBJECTS
           
ACTIVITY_STREAMS
           
ADMINISTRATION
           
API
           
APP_LINKS
           
ATTACHMENTS
           
BROWSE_PROJECT
           
BROWSING
           
BULK_OPERATIONS
           
CHANGE_HISTORY
           
CHARTING
           
CLONE_ISSUE
           
COMMENTS
           
COMPONENTS_AND_VERSIONS
           
CUSTOM_FIELDS
           
DASHBOARDS
           
DATABASE
          We have some tests that we want to run against other databases: MS SQL, Oracle, Postgres, etc.
DEV_MODE
          Marks all tests that require 'dev-mode' plugins installed in JIRA.
EMAIL
           
FIELDS
           
FILTERS
           
FUNC_TEST
          Generic category applied to all func tests.
GADGETS
           
HTTP
           
I18N
           
IGNITE
          Requires ignite plugin to run.
IMPORT_EXPORT
           
INDEXING
           
ISSUE_LINKS
           
ISSUE_NAVIGATOR
           
ISSUES
           
JELLY
           
JQL
           
LDAP
           
LICENSING
           
MOVE_ISSUE
           
PERFORMANCE
          Performance test
PERMISSIONS
           
PLATFORM_COMPATIBILITY
          Platform compatibility tests.
PLUGINS
           
PROJECT_IMPORT
           
PROJECTS
           
QUARTZ
           
QUNIT
          QUnit runner.
REFERENCE_PLUGIN
          Marks all tests that require the JIRA reference plugin installed in JIRA.
RELOADABLE_PLUGINS
          Tests for plugins reloadability (involve slow data restore)
REPORTS
           
REST
           
ROLES
           
SCHEMES
           
SECURITY
           
SELENIUM_TEST
          Generic category applied to all Selenium tests.
SETUP
           
SUB_TASKS
           
TIME_TRACKING
           
TIME_ZONES
           
TPM
          Marks tests that can only be run in the TPM builds.
UPGRADE_TASKS
           
USERS_AND_GROUPS
           
VISUAL_REGRESSION
          Tests for visual regression.
WEBDRIVER_TEST
          Generic category applied to all WebDriver tests.
WORKFLOW
           
WORKLOGS
           
 
Method Summary
static Category forString(String constName)
           
static Set<Category> fromAnnotation(WebTest webTest)
           
 boolean isFunctional()
          Whether or not this category marks a functional area of the tested application.
static Category valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Category[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FUNC_TEST

public static final Category FUNC_TEST
Generic category applied to all func tests.


SELENIUM_TEST

public static final Category SELENIUM_TEST
Generic category applied to all Selenium tests. NOTE: those tests should be steadily migrated to WebDriver suite.


WEBDRIVER_TEST

public static final Category WEBDRIVER_TEST
Generic category applied to all WebDriver tests.


TPM

public static final Category TPM
Marks tests that can only be run in the TPM builds.


PLATFORM_COMPATIBILITY

public static final Category PLATFORM_COMPATIBILITY
Platform compatibility tests.


VISUAL_REGRESSION

public static final Category VISUAL_REGRESSION
Tests for visual regression.


QUNIT

public static final Category QUNIT
QUnit runner.


DEV_MODE

public static final Category DEV_MODE
Marks all tests that require 'dev-mode' plugins installed in JIRA.


REFERENCE_PLUGIN

public static final Category REFERENCE_PLUGIN
Marks all tests that require the JIRA reference plugin installed in JIRA.


IGNITE

public static final Category IGNITE
Requires ignite plugin to run.


PERFORMANCE

public static final Category PERFORMANCE
Performance test


RELOADABLE_PLUGINS

public static final Category RELOADABLE_PLUGINS
Tests for plugins reloadability (involve slow data restore)


DATABASE

public static final Category DATABASE
We have some tests that we want to run against other databases: MS SQL, Oracle, Postgres, etc. In theory we might want a different Category for each database (along with each OS-type [Linux, Windows]) but in practice we'll start with just lumping them all together under "DATABASE" and refine that later if we need to.


ACTIVITY_STREAMS

public static final Category ACTIVITY_STREAMS

ADMINISTRATION

public static final Category ADMINISTRATION

API

public static final Category API

APP_LINKS

public static final Category APP_LINKS

ATTACHMENTS

public static final Category ATTACHMENTS

BROWSE_PROJECT

public static final Category BROWSE_PROJECT

BROWSING

public static final Category BROWSING

BULK_OPERATIONS

public static final Category BULK_OPERATIONS

CHARTING

public static final Category CHARTING

CLONE_ISSUE

public static final Category CLONE_ISSUE

COMMENTS

public static final Category COMMENTS

COMPONENTS_AND_VERSIONS

public static final Category COMPONENTS_AND_VERSIONS

CUSTOM_FIELDS

public static final Category CUSTOM_FIELDS

DASHBOARDS

public static final Category DASHBOARDS

EMAIL

public static final Category EMAIL

FIELDS

public static final Category FIELDS

FILTERS

public static final Category FILTERS

GADGETS

public static final Category GADGETS

HTTP

public static final Category HTTP

I18N

public static final Category I18N

IMPORT_EXPORT

public static final Category IMPORT_EXPORT

INDEXING

public static final Category INDEXING

ISSUE_NAVIGATOR

public static final Category ISSUE_NAVIGATOR

ISSUES

public static final Category ISSUES

ISSUE_LINKS

public static final Category ISSUE_LINKS

JELLY

public static final Category JELLY

JQL

public static final Category JQL

LDAP

public static final Category LDAP

LICENSING

public static final Category LICENSING

MOVE_ISSUE

public static final Category MOVE_ISSUE

PERMISSIONS

public static final Category PERMISSIONS

PLUGINS

public static final Category PLUGINS

PROJECT_IMPORT

public static final Category PROJECT_IMPORT

PROJECTS

public static final Category PROJECTS

QUARTZ

public static final Category QUARTZ

REPORTS

public static final Category REPORTS

REST

public static final Category REST

ROLES

public static final Category ROLES

SCHEMES

public static final Category SCHEMES

SECURITY

public static final Category SECURITY

SETUP

public static final Category SETUP

SUB_TASKS

public static final Category SUB_TASKS

TIME_TRACKING

public static final Category TIME_TRACKING

TIME_ZONES

public static final Category TIME_ZONES

UPGRADE_TASKS

public static final Category UPGRADE_TASKS

USERS_AND_GROUPS

public static final Category USERS_AND_GROUPS

WORKFLOW

public static final Category WORKFLOW

WORKLOGS

public static final Category WORKLOGS

CHANGE_HISTORY

public static final Category CHANGE_HISTORY

ACTIVE_OBJECTS

public static final Category ACTIVE_OBJECTS
Method Detail

values

public static Category[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Category c : Category.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Category valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

forString

public static Category forString(String constName)

fromAnnotation

public static Set<Category> fromAnnotation(WebTest webTest)

isFunctional

public boolean isFunctional()
Whether or not this category marks a functional area of the tested application.

Returns:
true, if this is a functional category


Copyright © 2002-2012 Atlassian. All Rights Reserved.