- Timestamp:
- 08/05/20 09:42:15 (5 years ago)
- Location:
- profile
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/pom.xml
r19 r20 6 6 <groupId>geniusweb</groupId> 7 7 <artifactId>profile</artifactId> 8 <version>1.4. 2</version> <!-- must equal ${geniusweb.version} -->8 <version>1.4.4</version> <!-- must equal ${geniusweb.version} --> 9 9 <packaging>jar</packaging> 10 10 … … 17 17 <passwd>${env.ARTIFACTORY_PASS}</passwd> 18 18 <jackson-2-version>2.9.10</jackson-2-version> 19 <geniusweb.version>1.4. 2</geniusweb.version>19 <geniusweb.version>1.4.4</geniusweb.version> 20 20 </properties> 21 21 -
profile/src/test/java/geniusweb/profile/utilityspace/LinearAdditiveSerializationTest.java
r7 r20 27 27 28 28 public class LinearAdditiveSerializationTest { 29 29 30 private static final BigDecimal VAL2 = new BigDecimal("0.2"); 30 31 private static final BigDecimal VAL3 = new BigDecimal("0.3"); … … 106 107 @Test 107 108 public void testSerialize() throws JsonProcessingException { 108 ObjectMapper jackson = new ObjectMapper();109 109 String string = jackson.writeValueAsString(space); 110 110 System.out.println(string); … … 114 114 @Test 115 115 public void testDeserialize() throws IOException { 116 ObjectMapper jackson = new ObjectMapper();117 116 assertEquals(space, jackson.readValue(serialized, Profile.class)); 118 117 } … … 120 119 @Test(expected = InvalidDefinitionException.class) 121 120 public void testDeserializeWrongIssues() throws IOException { 122 ObjectMapper jackson = new ObjectMapper();123 121 jackson.readValue(serializedWrongIssues, Profile.class); 124 122 }
Note:
See TracChangeset
for help on using the changeset viewer.