Class AbstractUnitTest<U extends Unit<U>>

    • Constructor Detail

      • AbstractUnitTest

        public AbstractUnitTest()
    • Method Detail

      • checkUnitNameAndAbbreviation

        protected final void checkUnitNameAndAbbreviation​(U u,
                                                          String expectedName,
                                                          String expectedAbbreviation)
        Verify the localization of the name and abbreviation.
        Parameters:
        u - Unit to check
        expectedName - String; expected name in the resources
        expectedAbbreviation - String; expected abbreviation in the resources