Skip to content

Commit

Permalink
UNITSOFMEASUREMENT-158: Add Tests according to Spec Chapter 5
Browse files Browse the repository at this point in the history
  • Loading branch information
keilw committed Jul 2, 2016
1 parent 7feb781 commit 5ecbc17
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>tec.uom</groupId>
<artifactId>uom-parent</artifactId>
<version>0.9-SNAPSHOT</version>
<version>0.9</version>
</parent>

<licenses>
Expand All @@ -35,13 +35,13 @@
<!-- Build Settings -->
<!-- ======================================================= -->
<properties>
<jsr.version>0.9-SNAPSHOT</jsr.version>
<ri.version>0.9-SNAPSHOT</ri.version>
<jsr.version>0.9</jsr.version>
<ri.version>0.9</ri.version>
<jdkVersion>1.7</jdkVersion>
<project.build.javaVersion>${jdkVersion}</project.build.javaVersion>
<maven.compile.targetLevel>1.7</maven.compile.targetLevel>
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
<lib.version>0.9-SNAPSHOT</lib.version>
<lib.version>0.9</lib.version>
<testng.version>6.9.10</testng.version>
<jboss.test.audit.version>1.1.0.Final</jboss.test.audit.version>
<reflections.version>0.9.10</reflections.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Unit-API - Units of Measurement API for Java Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner
* Units of Measurement TCK for Java Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner
* Keil, V2COM.
*
* All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Unit-API - Units of Measurement API for Java Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner
* Units of Measurement TCK for Java Copyright (c) 2005-2016, Jean-Marie Dautelle, Werner
* Keil, V2COM.
*
* All rights reserved.
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/tec/units/tck/tests/unit/UnitInterfaceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void testToString() {
/**
* Ensure the shift() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A1")
@SpecAssertion(section = "4.2.1.2", id = "42121-A1")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the shift() operation is implemented.")
public void testUnit42121Shift() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -156,7 +156,7 @@ public void testUnit42121Shift() {
/**
* Ensure the multiply() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A2")
@SpecAssertion(section = "4.2.1.2", id = "42121-A2")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the multiply() operation is implemented.")
public void testUnit42121Multiply() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -168,7 +168,7 @@ public void testUnit42121Multiply() {
/**
* Ensure the divide() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A3")
@SpecAssertion(section = "4.2.1.2", id = "42121-A3")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the divide() operation is implemented.")
public void testUnit42121Divide() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -180,7 +180,7 @@ public void testUnit42121Divide() {
/**
* Ensure the multiply() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A4")
@SpecAssertion(section = "4.2.1.2", id = "42121-A4")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the multiply(double) operation is implemented.")
public void testUnit42121MultiplyWithDouble() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -192,7 +192,7 @@ public void testUnit42121MultiplyWithDouble() {
/**
* Ensure the divide() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A5")
@SpecAssertion(section = "4.2.1.2", id = "42121-A5")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the divide(double) operation is implemented.")
public void testUnit42121DivideWithDouble() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -204,7 +204,7 @@ public void testUnit42121DivideWithDouble() {
/**
* Ensure the alternate() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.1", id = "42121-A6")
@SpecAssertion(section = "4.2.1.2", id = "42121-A6")
@Test(groups = {"core"}, description = "4.2.1.2.1 Ensure the alternate() operation is implemented.")
public void testUnit42121Alternate() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -216,7 +216,7 @@ public void testUnit42121Alternate() {
/**
* Ensure the pow() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.2", id = "42122-A1")
@SpecAssertion(section = "4.2.1.2", id = "42122-A1")
@Test(groups = {"core"}, description = "4.2.1.2.2 Ensure the pow() operation is implemented.")
public void testUnit42122Pow() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -228,7 +228,7 @@ public void testUnit42122Pow() {
/**
* Ensure the root() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.2", id = "42122-A2")
@SpecAssertion(section = "4.2.1.2", id = "42122-A2")
@Test(groups = {"core"}, description = "4.2.1.2.2 Ensure the root() operation is implemented.")
public void testUnit42122Root() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -240,7 +240,7 @@ public void testUnit42122Root() {
/**
* Ensure the transform() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.2", id = "42122-A3")
@SpecAssertion(section = "4.2.1.2", id = "42122-A3")
@Test(groups = {"core"}, description = "4.2.1.2.2 Ensure the transform() operation is implemented.")
public void testUnit42122Transform() {
for (@SuppressWarnings("rawtypes")
Expand All @@ -252,7 +252,7 @@ public void testUnit42122Transform() {
/**
* Ensure the inverse() operation is implemented.
*/
@SpecAssertion(section = "4.2.1.2.3", id = "42123-A1")
@SpecAssertion(section = "4.2.1.2", id = "42123-A1")
@Test(groups = {"core"}, description = "4.2.1.2.3 Ensure the inverse() operation is implemented.")
public void testUnit42123Inverse() {
for (@SuppressWarnings("rawtypes")
Expand Down
File renamed without changes.

0 comments on commit 5ecbc17

Please sign in to comment.