![JAR search and dependency download from the Maven repository](/logo.png)
t-tck.0.5.source-code.test-audit.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unit-tck Show documentation
Show all versions of unit-tck Show documentation
Units of Measurement (JSR 363) TCK.
<?xml version="1.0" encoding="UTF-8"?> <specification xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://jboss.com/products/weld/tec.units.tck/audit" xsi:schemaLocation="http://jboss.com/products/weld/tec.units.tck/audit" name="JSR 363 Units of Measurement" version="0.8.0" id="JSR 363" generateSectionIds="false"> <section id="0" title="TCK Setup"> <!-- Tests class TCKSetupTest --> <group> <text>Tests the correct setup of the TCK</text> <assertion id="Setup"> <text>Ensure an implementation of tec.units.tck.util.ServiceConfiguration is registered using the java.util.ServiceLoader. </text> </assertion> </group> </section> <section id="4" title="API" /> <section id="4.1" title="Packages and fundamental types"> <group> <text>Unit implementation</text> <assertion id="41-A1"> <text>Ensure at least one javax.measure.Unit implementation is available/registered. </text> </assertion> </group> <group> <text>Dimension implementation</text> <assertion id="41-A2"> <text>Ensure at least one javax.measure.Dimension implementation is available/registered. </text> </assertion> </group> <group> <text>Quantity implementation</text> <assertion id="41-A3"> <text>Ensure at least one javax.measure.Quantity implementation is available/registered. </text> </assertion> </group> </section> <section id="4.2" title="The Unit Interface" /> <section id="4.2.1" title="Operations on Units"> <group> <text>Basic Operations</text> <assertion id="421-A1"> <text>Ensure the equals() operation is implemented. </text> </assertion> <assertion id="421-A2"> <text>Ensure the hashCode() operation is implemented. </text> </assertion> </group> </section> <section id="4.2.1.2" title="Operations on Units with same dimension as the operand"> <group> <text>Algebraic Operations</text> <assertion id="42121-A1"> <text>Ensure the shift() operation is implemented. </text> </assertion> </group> </section> <section id="4.2.4" title="Unit Dimension"> <group> <text>Basic Operations</text> <assertion id="424-A1"> <text>Ensure the equals() operation is implemented. </text> </assertion> <assertion id="424-A2"> <text>Ensure the hashCode() operation is implemented. </text> </assertion> </group> </section> <section id="4.3" title="Unit Formatting"> <group> <text>UnitFormat implementation</text> <assertion id="43-A1"> <text>Ensure at least one javax.measure.format.UnitFormat implementation is available/registered. </text> </assertion> </group> <group> <text>UnitFormat methods</text> <assertion id="43-A2"> <text>4.3 Ensure the format() operation is implemented. </text> </assertion> <assertion id="43-A3"> <text>4.3 Ensure the appendable format() operation is implemented. </text> </assertion> <assertion id="43-A4"> <text>4.3 Ensure the label() operation is implemented. </text> </assertion> </group> </section> <section id="4.4" title="The Quantity Interface" /> <section id="4.4.1" title="Operations on Quantities"> <group> <text>Basic Operations</text> <assertion id="441-A1"> <text>Ensure the equals() operation is implemented. </text> </assertion> <assertion id="441-A2"> <text>Ensure the hashCode() operation is implemented. </text> </assertion> </group> </section> <section id="4.5" title="Supported Quantities"> <group> <text>Base Quantities</text> <assertion id="45-A1"> <text>Ensure all SI Base Quantities are used by an implementation. </text> </assertion> </group> <group> <text>Derived Quantities</text> <assertion id="45-A2"> <text>Ensure all Supported Quantities are used by an implementation. </text> </assertion> </group> </section> <section id="5" title="SPI" /> <section id="5.5" title="Obtaining Quantity Instances" /> <section id="5.5.1" title="Quantities Obtained from a factory"> <group> <text>Quantities Obtained from a factory</text> <assertion id="551-A1"> <text>Test QuantityFactoryService provides a QuantityFactory for each base quantity. </text> </assertion> </group> </section> </specification>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy