Changeset 20 for profile/src/test


Ignore:
Timestamp:
08/05/20 09:42:15 (4 years ago)
Author:
bart
Message:

Added BOA support, some bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profile/src/test/java/geniusweb/profile/utilityspace/LinearAdditiveSerializationTest.java

    r7 r20  
    2727
    2828public class LinearAdditiveSerializationTest {
     29
    2930        private static final BigDecimal VAL2 = new BigDecimal("0.2");
    3031        private static final BigDecimal VAL3 = new BigDecimal("0.3");
     
    106107        @Test
    107108        public void testSerialize() throws JsonProcessingException {
    108                 ObjectMapper jackson = new ObjectMapper();
    109109                String string = jackson.writeValueAsString(space);
    110110                System.out.println(string);
     
    114114        @Test
    115115        public void testDeserialize() throws IOException {
    116                 ObjectMapper jackson = new ObjectMapper();
    117116                assertEquals(space, jackson.readValue(serialized, Profile.class));
    118117        }
     
    120119        @Test(expected = InvalidDefinitionException.class)
    121120        public void testDeserializeWrongIssues() throws IOException {
    122                 ObjectMapper jackson = new ObjectMapper();
    123121                jackson.readValue(serializedWrongIssues, Profile.class);
    124122        }
Note: See TracChangeset for help on using the changeset viewer.