Skip to content

Commit

Permalink
UNITSOFMEASUREMENT-118: Add Tests according to Spec Chapter 4
Browse files Browse the repository at this point in the history
  • Loading branch information
keilw committed Jan 1, 2016
1 parent 3f595c1 commit d494ed4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 35 deletions.
60 changes: 30 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,36 +67,36 @@
<url>https://github.com/unitsofmeasurement/unit-tck-usage</url>
</scm>

<!-- Additional repositories -->
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
<repositories>
<repository>
<id>geotoolkit</id>
<name>Geotoolkit.org project</name>
<url>http://maven.geotoolkit.org</url>
</repository>
<repository>
<id>jcenter</id>
<name>JCenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-release</id>
<name>libs-release</name>
<url>http://oss.jfrog.org/artifactory/libs-release</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bintray-snapshot</id>
<name>libs-snapshot</name>
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
</repository>
</repositories>
<!-- Additional repositories -->
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
<repositories>
<repository>
<id>geotoolkit</id>
<name>Geotoolkit.org project</name>
<url>http://maven.geotoolkit.org</url>
</repository>
<repository>
<id>jcenter</id>
<name>JCenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-release</id>
<name>libs-release</name>
<url>http://oss.jfrog.org/artifactory/libs-release</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bintray-snapshot</id>
<name>libs-snapshot</name>
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
</repository>
</repositories>

<dependencies>
<dependency>
Expand Down
12 changes: 7 additions & 5 deletions src/main/java/tec/units/tckusage/TestConfiguration.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Unit-API - Units of Measurement API for Java
* Copyright (c) 2005-2015, Jean-Marie Dautelle, Werner Keil, V2COM.
* Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner Keil, V2COM.
*
* All rights reserved.
*
Expand Down Expand Up @@ -50,7 +50,7 @@
* <p>
*
* @author <a href="mailto:[email protected]">Werner Keil</a>
* @version 0.6.3, December 28, 2015
* @version 0.6.4, January 1, 2016
*/
public final class TestConfiguration implements ServiceConfiguration {

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

@SuppressWarnings("rawtypes")
public Collection<Class> getSupportedQuantityTypes() {
return Arrays.asList(new Class[] { Acceleration.class,
AmountOfSubstance.class, Angle.class, Area.class, Length.class,
Mass.class });
return Arrays.asList(new Class[] { Acceleration.class, AmountOfSubstance.class,
Angle.class, Area.class, CatalyticActivity.class, Dimensionless.class,
ElectricCapacitance.class, ElectricCharge.class, ElectricConductance.class,
ElectricCurrent.class, ElectricResistance.class,
Length.class, Mass.class });
}

@SuppressWarnings({ "unchecked", "rawtypes" })
Expand Down

0 comments on commit d494ed4

Please sign in to comment.