- TCKRunner - Class in tech.units.tck
-
Main class for executing the JSR 385 TCK.
- TCKRunner() - Constructor for class tech.units.tck.TCKRunner
-
- TCKRunner.Reporter - Class in tech.units.tck
-
- TCKSetup - Class in tech.units.tck
-
Test setup used by the JSR 385 TCK.
- TCKSetupTest - Class in tech.units.tck.tests
-
Tests the ServiceConfiguration
- TCKSetupTest() - Constructor for class tech.units.tck.tests.TCKSetupTest
-
- TCKValidationException - Exception in tech.units.tck
-
This exception indicates that an error has occurred while performing a TCK validate operation.
- TCKValidationException(String) - Constructor for exception tech.units.tck.TCKValidationException
-
- TCKValidationException(String, Throwable) - Constructor for exception tech.units.tck.TCKValidationException
-
- tech.units.tck - package tech.units.tck
-
- tech.units.tck.tests - package tech.units.tck.tests
-
- tech.units.tck.tests.format - package tech.units.tck.tests.format
-
- tech.units.tck.tests.quantity - package tech.units.tck.tests.quantity
-
- tech.units.tck.tests.spi - package tech.units.tck.tests.spi
-
- tech.units.tck.tests.unit - package tech.units.tck.tests.unit
-
- tech.units.tck.util - package tech.units.tck.util
-
- testAccessToQuantityFactory() - Method in class tech.units.tck.tests.spi.ObtainingQuantiesTest
-
Access a QuantityFactory for each registered type.
- testAccessToQuantityFactoryCreate() - Method in class tech.units.tck.tests.spi.ObtainingQuantiesTest
-
Check a QuantityFactory for each registered type has create method.
- testAccessToQuantityFactoryGetSystemUnit() - Method in class tech.units.tck.tests.spi.ObtainingQuantiesTest
-
Check a QuantityFactory for each registered type has getSystemUnit method.
- testAvailable() - Method in class tech.units.tck.tests.spi.ServiceProviderTest
-
Access available service providers.
- testAvailableNotEmpty() - Method in class tech.units.tck.tests.spi.ServiceProviderTest
-
Available service providers not empty.
- testComparable(String, Class<?>) - Static method in class tech.units.tck.util.TestUtils
-
Tests if the given type is comparable.
- testContainsBaseDimensions() - Method in class tech.units.tck.tests.quantity.QuantityTypesTest
-
Check if all SI Base Quantities are used.
- testContainsQuantities() - Method in class tech.units.tck.tests.quantity.QuantityTypesTest
-
Ensure all Supported Quantities are used by an implementation.
- testCurrent() - Method in class tech.units.tck.tests.spi.ServiceProviderTest
-
Access current ServiceProvider.
- testDivide() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override divide.
- testEnsureGotConverters() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure at least one UnitConverter implementation is available/registered.
- testEnsureGotQuantityFormat() - Method in class tech.units.tck.tests.format.QuantityFormatTest
-
Ensure at least one QuantityFormat implementation
is available/registered.
- testEnsureGotSystemOfUnits() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure at least one SystemOfUnits implementation exists.
- testEnsureGotUnit() - Method in class tech.units.tck.tests.FundamentalTypesTest
-
Ensure at least one Unit implementation
is available/registered.
- testEnsureGotUnitFormat() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure at least one UnitFormat implementation
is available/registered.
- testEnsureHasDimension() - Method in class tech.units.tck.tests.FundamentalTypesTest
-
Ensure at least one Dimension implementation
is available/registered.
- testEnsureHasPrefix() - Method in class tech.units.tck.tests.FundamentalTypesTest
-
Ensure at least one Prefix implementation
is available/registered.
- testEnsureHasQuantity() - Method in class tech.units.tck.tests.FundamentalTypesTest
-
Ensure at least one Quantity implementation
is available/registered.
- testEquals() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Dimension implementations override equals.
- testEquals() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override equals.
- testEquals() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations override equals.
- testFormatService() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access available UnitFormatServices.
- testFormatServiceAvailableFormats() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access available UnitFormats in UnitFormatServices.
- testFormatServiceDefaultFormat() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access default UnitFormats in UnitFormatServices.
- testGetBaseDimensions() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override getBaseDimensions.
- testGetBaseUnits() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations contain getBaseUnits
- testGetDimension() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations contain getters
- testGetName() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Prefix implementations override getName.
- testGetName() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations contain getters
- testGetSymbol() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Prefix implementations override getSymbol.
- testGetSymbol() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations contain getters
- testGetSystemUnit() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations contain getSystemUnit
- testGetUnitsFromSystemOfUnits() - Method in class tech.units.tck.tests.spi.ObtainingUnitsTest
-
Access a SystemOfUnits for each registered unit.
- testGetUnitsFromUnitString() - Method in class tech.units.tck.tests.spi.ObtainingUnitsTest
-
Try parsing the symbol for each registered unit.
- testGetValue() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Prefix implementations override getValue.
- testGetXponent() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Prefix implementations override getExponent.
- TestGroups - Class in tech.units.tck.util
-
TestNG groups and profiles used in the JSR 385 TCK.
- TestGroups() - Constructor for class tech.units.tck.util.TestGroups
-
- TestGroups.Profile - Enum in tech.units.tck.util
-
Profiles used in the JSR 385 TCK.
- testHashcode() - Method in class tech.units.tck.tests.unit.PrefixInterfaceTest
-
Test that Dimension implementations override hashCode.
- testHashcode() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override hashCode.
- testHashcode() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations override hashCode.
- testHasNotPublicMethod(String, Class, Class, String, Class...) - Static method in class tech.units.tck.util.TestUtils
-
Tests if the given type has not a public method with the given signature.
- testHasPublicMethod(String, Class<?>, boolean, Class<?>, String, Class<?>...) - Static method in class tech.units.tck.util.TestUtils
-
- testHasPublicMethod(String, Class<?>, Class<?>, String, Class<?>...) - Static method in class tech.units.tck.util.TestUtils
-
- testHasPublicMethod(String, Class<?>, String) - Static method in class tech.units.tck.util.TestUtils
-
- testHasPublicMethod(String, Class<?>, String, boolean) - Static method in class tech.units.tck.util.TestUtils
-
Tests if the given type has a public method with the given signature.
- testImmutable(String, Class<?>) - Static method in class tech.units.tck.util.TestUtils
-
Tests the given class being serializable.
- testImmutableOpt(String, Class) - Static method in class tech.units.tck.util.TestUtils
-
Test for immutability (optional recommendation), writes a warning if not given.
- testImplementsInterface(String, Class<?>, Class<?>) - Static method in class tech.units.tck.util.TestUtils
-
Tests the given class implements a given interface.
- testMultiply() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override multiply.
- testPow() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override pow.
- testPriority() - Method in class tech.units.tck.tests.spi.ServiceProviderTest
-
Access a ServiceProvider priority.
- testQuantityCastAsType() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override asType method.
- testQuantityConfiguration() - Method in class tech.units.tck.tests.TCKSetupTest
-
- testQuantityEquals() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override equals.
- testQuantityFactoryExists() - Method in class tech.units.tck.tests.spi.QuantityFactoryTest
-
Ensure at least one QuantityFactory implementation exists
- testQuantityFactoryScale() - Method in class tech.units.tck.tests.spi.QuantityFactoryTest
-
Ensure every QuantityFactory creates quantities with the correct scale
- testQuantityFormatFormat() - Method in class tech.units.tck.tests.format.QuantityFormatTest
-
Ensure the format() operation is implemented.
- testQuantityFormatFormatAppendable() - Method in class tech.units.tck.tests.format.QuantityFormatTest
-
Ensure the appendable format() operation is implemented.
- testQuantityFormatFormatIsLocalSensitive() - Method in class tech.units.tck.tests.format.QuantityFormatTest
-
Ensure the isLocaleSensitive() method is implemented.
- testQuantityFormatParse() - Method in class tech.units.tck.tests.format.QuantityFormatTest
-
Ensure the parse() operation is implemented.
- testQuantityGetScale() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override getScale.
- testQuantityGetUnit() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override getUnit.
- testQuantityGetValue() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override getValue.
- testQuantityHashcode() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override hashCode.
- testQuantityOp1Add() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override add.
- testQuantityOp1DivideByNumber() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override divide with number as argument.
- testQuantityOp1MultiplyByNumber() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override multiply with number as argument.
- testQuantityOp1Subtract() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override subtract.
- testQuantityOp2Divide() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override divide.
- testQuantityOp2Multiply() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override multiply.
- testQuantityOp2To() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override to method.
- testQuantityOp3Inverse() - Method in class tech.units.tck.tests.quantity.QuantityInterfaceTest
-
Test that Quantity implementations override getUnit.
- testRoot() - Method in class tech.units.tck.tests.unit.UnitDimensionTest
-
Test that Dimension implementations override root.
- testSerializable(String, Class<?>) - Static method in class tech.units.tck.util.TestUtils
-
Tests the given object being (effectively) serializable by serializing it.
- testSerializable(String, Object) - Static method in class tech.units.tck.util.TestUtils
-
Tests the given object being (effectively) serializable by serializing it.
- testSerializableOpt(String, Class) - Static method in class tech.units.tck.util.TestUtils
-
Test for serializable (optional recommendation), writes a warning if not given.
- testSerializableOpt(String, Object) - Static method in class tech.units.tck.util.TestUtils
-
Test for serializable (optional recommendation), writes a warning if not given.
- testSystemOfUnitsGetName() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure the getName() method is implemented.
- testSystemOfUnitsGetUnit() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure the getUnit() method is implemented.
- testSystemOfUnitsGetUnitForString() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure the getUnit() method is implemented.
- testSystemOfUnitsGetUnits() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure the getUnits() method is implemented.
- testSystemOfUnitsGetUnitsForDimension() - Method in class tech.units.tck.tests.spi.SystemOfUnitsTest
-
Ensure the getUnits() method is implemented.
- testSystemOfUnitsService() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access available SystemOfUnitsServices.
- testSystemOfUnitsServiceAvailableSystems() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access available Systems OfUnits in SystemOfUnitsService.
- testSystemOfUnitsServiceDefaultSystem() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access default SystemOfUnits in SystemOfUnitsService.
- testSystemOfUnitsServicePrefixBinary() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access Binary Prefixes in SystemOfUnitsService.
- testSystemOfUnitsServicePrefixMetric() - Method in class tech.units.tck.tests.spi.ServicesTest
-
Access Metric Prefixes in SystemOfUnitsService.
- testTestSetup() - Method in class tech.units.tck.tests.TCKSetupTest
-
- testToString() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Test that Unit implementations override toString.
- testUnit42121A1_Alternate() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the alternate() operation is implemented.
- testUnit42121A10_ShiftByNumber() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the shift(Number) operation is implemented.
- testUnit42121A2_Divide() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the divide(Unit) operation is implemented.
- testUnit42121A3_DivideByDouble() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the divide(double) operation is implemented.
- testUnit42121A4_DivideByNumber() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the divide(Number) operation is implemented.
- testUnit42121A5_Multiply() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the multiply() operation is implemented.
- testUnit42121A6_MultiplyByDouble() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the multiply(double) operation is implemented.
- testUnit42121A7_MultiplyByNumber() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the multiply(Number) operation is implemented.
- testUnit42121A8_Prefix() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the prefix() operation is implemented.
- testUnit42121A9_ShiftByDouble() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the shift() operation is implemented.
- testUnit42122Pow() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the pow() operation is implemented.
- testUnit42122Root() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the root() operation is implemented.
- testUnit42122Transform() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the transform() operation is implemented.
- testUnit42123Inverse() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the inverse() operation is implemented.
- testUnit422IsCompatible() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the isCompatible() operation is implemented.
- testUnit423AsType() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the asType() operation is implemented.
- testUnit423GetConverterTo() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the getConverterTo() operation is implemented.
- testUnit423GetConverterToAny() - Method in class tech.units.tck.tests.unit.UnitInterfaceTest
-
Ensure the getConverterToAny() operation is implemented.
- testUnitConverterConcatenate() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the concatenate() operation is implemented.
- testUnitConverterConvert() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the convert() operation is implemented.
- testUnitConverterConvertWithDouble() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the convert() operation is implemented.
- testUnitConverterEquals() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Test that UnitConverter implementations override equals.
- testUnitConverterGetConversionSteps() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the getConversionSteps() operation is implemented.
- testUnitConverterHashcode() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Test that UnitConverter implementations override hashCode.
- testUnitConverterInvert() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the inverse() method is implemented.
- testUnitConverterIsIdentity() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the isIdentity() operation is implemented.
- testUnitConverterIsLinear() - Method in class tech.units.tck.tests.unit.UnitConversionTest
-
Ensure the isLinear() operation is implemented.
- testUnitFormatFormat() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure the format() operation is implemented.
- testUnitFormatFormatAppendable() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure the appendable format() operation is implemented.
- testUnitFormatFormatIsLocalSensitive() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure the isLocaleSensitive() method is implemented.
- testUnitFormatLabel() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure the label() operation is implemented.
- testUnitFormatParse() - Method in class tech.units.tck.tests.format.UnitFormatTest
-
Ensure the parse() operation is implemented.
- TestUtils - Class in tech.units.tck.util
-
Test utilities used in the JSR 385 TCK.