This repository was archived by the owner on Sep 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
src/test/java/com/opower/unitsofmeasure Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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 >
Original file line number Diff line number Diff line change 1111import com .fasterxml .jackson .databind .ObjectMapper ;
1212
1313import org .junit .Before ;
14- import org .junit .Ignore ;
1514import org .junit .Test ;
1615
1716import 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" ,
You can’t perform that action at this time.
0 commit comments