Class UnitFormatTest


  • @SpecVersion(spec="JSR 385",
                 version="2.1.0")
    public class UnitFormatTest
    extends Object
    Tests for UnitFormat
    Since:
    1.0
    Version:
    2.1, December 2, 2020
    Author:
    Werner Keil
    • Method Detail

      • testEnsureGotUnitFormat

        @SpecAssertion(section="4.5",
                       id="45-A1")
        public void testEnsureGotUnitFormat()
        Ensure at least one UnitFormat implementation is available/registered.
      • testUnitFormatFormat

        @SpecAssertion(section="4.5",
                       id="45-A2")
        public void testUnitFormatFormat()
        Ensure the format() operation is implemented.
      • testUnitFormatFormatAppendable

        @SpecAssertion(section="4.5",
                       id="45-A3")
        public void testUnitFormatFormatAppendable()
        Ensure the appendable format() operation is implemented.
      • testUnitFormatFormatIsLocalSensitive

        @SpecAssertion(section="4.5",
                       id="45-A4")
        public void testUnitFormatFormatIsLocalSensitive()
        Ensure the isLocaleSensitive() method is implemented.
      • testUnitFormatLabel

        @SpecAssertion(section="4.5",
                       id="45-A5")
        public void testUnitFormatLabel()
        Ensure the label() operation is implemented.
      • testUnitFormatParse

        @SpecAssertion(section="4.5",
                       id="45-A6")
        public void testUnitFormatParse()
        Ensure the parse() operation is implemented.