Skip to content

Commit d494ed4

Browse files
committed
UNITSOFMEASUREMENT-118: Add Tests according to Spec Chapter 4
Task-Url: https://java.net/jira/browse/UNITSOFMEASUREMENT-118
1 parent 3f595c1 commit d494ed4

2 files changed

Lines changed: 37 additions & 35 deletions

File tree

pom.xml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -67,36 +67,36 @@
6767
<url>https://github.com/unitsofmeasurement/unit-tck-usage</url>
6868
</scm>
6969

70-
<!-- Additional repositories -->
71-
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
72-
<repositories>
73-
<repository>
74-
<id>geotoolkit</id>
75-
<name>Geotoolkit.org project</name>
76-
<url>http://maven.geotoolkit.org</url>
77-
</repository>
78-
<repository>
79-
<id>jcenter</id>
80-
<name>JCenter</name>
81-
<url>http://jcenter.bintray.com</url>
82-
</repository>
83-
<repository>
84-
<snapshots>
85-
<enabled>false</enabled>
86-
</snapshots>
87-
<id>bintray-release</id>
88-
<name>libs-release</name>
89-
<url>http://oss.jfrog.org/artifactory/libs-release</url>
90-
</repository>
91-
<repository>
92-
<snapshots>
93-
<enabled>true</enabled>
94-
</snapshots>
95-
<id>bintray-snapshot</id>
96-
<name>libs-snapshot</name>
97-
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
98-
</repository>
99-
</repositories>
70+
<!-- Additional repositories -->
71+
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
72+
<repositories>
73+
<repository>
74+
<id>geotoolkit</id>
75+
<name>Geotoolkit.org project</name>
76+
<url>http://maven.geotoolkit.org</url>
77+
</repository>
78+
<repository>
79+
<id>jcenter</id>
80+
<name>JCenter</name>
81+
<url>http://jcenter.bintray.com</url>
82+
</repository>
83+
<repository>
84+
<snapshots>
85+
<enabled>false</enabled>
86+
</snapshots>
87+
<id>bintray-release</id>
88+
<name>libs-release</name>
89+
<url>http://oss.jfrog.org/artifactory/libs-release</url>
90+
</repository>
91+
<repository>
92+
<snapshots>
93+
<enabled>true</enabled>
94+
</snapshots>
95+
<id>bintray-snapshot</id>
96+
<name>libs-snapshot</name>
97+
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
98+
</repository>
99+
</repositories>
100100

101101
<dependencies>
102102
<dependency>

src/main/java/tec/units/tckusage/TestConfiguration.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Unit-API - Units of Measurement API for Java
3-
* Copyright (c) 2005-2015, Jean-Marie Dautelle, Werner Keil, V2COM.
3+
* Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner Keil, V2COM.
44
*
55
* All rights reserved.
66
*
@@ -50,7 +50,7 @@
5050
* <p>
5151
*
5252
* @author <a href="mailto:units@catmedia.us">Werner Keil</a>
53-
* @version 0.6.3, December 28, 2015
53+
* @version 0.6.4, January 1, 2016
5454
*/
5555
public final class TestConfiguration implements ServiceConfiguration {
5656

@@ -92,9 +92,11 @@ public Collection<Dimension> getBaseDimensions() {
9292

9393
@SuppressWarnings("rawtypes")
9494
public Collection<Class> getSupportedQuantityTypes() {
95-
return Arrays.asList(new Class[] { Acceleration.class,
96-
AmountOfSubstance.class, Angle.class, Area.class, Length.class,
97-
Mass.class });
95+
return Arrays.asList(new Class[] { Acceleration.class, AmountOfSubstance.class,
96+
Angle.class, Area.class, CatalyticActivity.class, Dimensionless.class,
97+
ElectricCapacitance.class, ElectricCharge.class, ElectricConductance.class,
98+
ElectricCurrent.class, ElectricResistance.class,
99+
Length.class, Mass.class });
98100
}
99101

100102
@SuppressWarnings({ "unchecked", "rawtypes" })

0 commit comments

Comments
 (0)