org.testatoo.config.cartridge
Enum TestatooCartridge

java.lang.Object
  extended by java.lang.Enum<TestatooCartridge>
      extended by org.testatoo.config.cartridge.TestatooCartridge
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TestatooCartridge>

public enum TestatooCartridge
extends java.lang.Enum<TestatooCartridge>

Define all supported Testatoo Cartridges, and for each cartridges, list all available implementations.


Enum Constant Summary
EXTJS2
          ExtJS 2 Cartridge.
EXTJS3
          ExtJS 3 Cartridge.
FLEX3
          Flex 3 Cartridge.
FLEX4
          Flex 4 Cartridge.
HTML4
          HTML4 Cartridge.
YUI2
          Yahoo UI 2 Cartridge.
YUI3
          Yahoo UI 3 Cartridge.
 
Method Summary
 boolean supports(TestatooEvaluator evaluator)
          Check wheter this cartridge supports the given implementation
static TestatooCartridge valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TestatooCartridge[] 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

HTML4

public static final TestatooCartridge HTML4
HTML4 Cartridge. Supports selenium and WebDriver implementations


EXTJS2

public static final TestatooCartridge EXTJS2
ExtJS 2 Cartridge. Supports selenium and WebDriver implementations


EXTJS3

public static final TestatooCartridge EXTJS3
ExtJS 3 Cartridge. Supports selenium and WebDriver implementations


YUI2

public static final TestatooCartridge YUI2
Yahoo UI 2 Cartridge. Supports selenium and WebDriver implementations


YUI3

public static final TestatooCartridge YUI3
Yahoo UI 3 Cartridge. Supports selenium and WebDriver implementations


FLEX3

public static final TestatooCartridge FLEX3
Flex 3 Cartridge. Supports selenium and WebDriver implementations


FLEX4

public static final TestatooCartridge FLEX4
Flex 4 Cartridge. Supports selenium and WebDriver implementations

Method Detail

values

public static TestatooCartridge[] 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 (TestatooCartridge c : TestatooCartridge.values())
    System.out.println(c);

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

valueOf

public static TestatooCartridge valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

supports

public boolean supports(TestatooEvaluator evaluator)
Check wheter this cartridge supports the given implementation

Parameters:
evaluator - The implementation to check
Returns:
true if the implementation is supprted by this cartridge


Copyright © 2008-2010 Ovea. All Rights Reserved.