Class QuantityFormatTest


  • @SpecVersion(spec="JSR 385",
                 version="2.1.0")
    public class QuantityFormatTest
    extends Object
    Tests for QuantityFormat
    Since:
    2.0
    Version:
    2.1, November 15, 2020
    Author:
    Werner Keil
    • Method Detail

      • testEnsureGotQuantityFormat

        @SpecAssertion(section="4.6",
                       id="46-A1")
        public void testEnsureGotQuantityFormat()
        Ensure at least one QuantityFormat implementation is available/registered.
      • testQuantityFormatFormat

        @SpecAssertion(section="4.6",
                       id="46-A2")
        public void testQuantityFormatFormat()
        Ensure the format() operation is implemented.
      • testQuantityFormatFormatAppendable

        @SpecAssertion(section="4.6",
                       id="46-A3")
        public void testQuantityFormatFormatAppendable()
        Ensure the appendable format() operation is implemented.
      • testQuantityFormatParse

        @SpecAssertion(section="4.6",
                       id="46-A5")
        public void testQuantityFormatParse()
        Ensure the parse() operation is implemented.