Enum TestGroups.Profile

java.lang.Object
java.lang.Enum<TestGroups.Profile>
tech.units.tck.util.TestGroups.Profile
All Implemented Interfaces:
Serializable, Comparable<TestGroups.Profile>, java.lang.constant.Constable, tech.uom.lib.common.function.DescriptionSupplier
Enclosing class:
TestGroups

public static enum TestGroups.Profile extends Enum<TestGroups.Profile> implements tech.uom.lib.common.function.DescriptionSupplier
Profiles used in the JSR 385 TCK. Some of the most common profiles (used by TCKRunner) are:
  • MINIMAL - used to include tests for the core elements of the API. These tests are mandatory for every implementation.
  • FORMAT - formatting tests used to include tests for elements in javax.measure.format.
  • FULL - All tests in the JSR 385 TCK.
Since:
1.0
Version:
2.0
Author:
Werner Keil
  • Enum Constant Details

  • Method Details

    • values

      public static TestGroups.Profile[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TestGroups.Profile 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
    • getDescription

      Specified by:
      getDescription in interface tech.uom.lib.common.function.DescriptionSupplier
    • getGroups

      public String[] getGroups()
      Returns the test groups
      Returns:
      test groups
    • isDefault

      public boolean isDefault()
      Returns true for the default profile
      Returns:
      true for the default profile