Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Commit 783e0d2

Browse files
committed
1 parent 7f8eae2 commit 783e0d2

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
<maven.compile.targetLevel>1.6</maven.compile.targetLevel>
2727
<maven.compile.sourceLevel>${jdkVersion}</maven.compile.sourceLevel>
2828
<impl.version>0.8-SNAPSHOT</impl.version>
29-
<lib.version>0.7</lib.version> <!-- currently unused -->
30-
<ucum.version>0.1-SNAPSHOT</ucum.version>
29+
<lib.version>0.8-SNAPSHOT</lib.version> <!-- currently unused -->
30+
<ucum.version>0.2-SNAPSHOT</ucum.version>
3131
<jackson.version>2.2.2</jackson.version>
3232
</properties>
3333

@@ -44,6 +44,11 @@
4444
<groupId>tec.uom</groupId>
4545
<artifactId>uom-se</artifactId>
4646
<version>${impl.version}</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>systems.uom</groupId>
50+
<artifactId>systems-quantity</artifactId>
51+
<version>${ucum.version}</version>
4752
</dependency>
4853
<dependency>
4954
<groupId>systems.uom</groupId>

src/test/java/com/opower/unitsofmeasure/TestUnitJacksonModule.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import com.fasterxml.jackson.databind.ObjectMapper;
1212

1313
import org.junit.Before;
14-
import org.junit.Ignore;
1514
import org.junit.Test;
1615

1716
import tec.uom.se.unit.Units;
@@ -67,11 +66,10 @@ public void testSerializeLength() throws Exception {
6766

6867
// assertEquals(
6968
// "Expected JSON with a UCUM representation of the length unit",
70-
// "\"km\"", serialize(KILO(Units.METRE))); TODO solve km formatting
69+
// "\"km\"", serialize(KILO(Units.METRE))); //TODO solve km formatting
7170
}
7271

7372
@Test
74-
@Ignore("Currently broken in SE port")
7573
public void testSerializeSpeed() throws Exception {
7674
assertEquals(
7775
"Expected JSON with a UCUM representation of the speed unit",

0 commit comments

Comments
 (0)