-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UNITSOFMEASUREMENT-118: Add Tests according to Spec Chapter 4
- Loading branch information
Showing
2 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
* | ||
|
@@ -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 { | ||
|
||
|
@@ -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" }) | ||
|