aboutsummaryrefslogtreecommitdiffstats
path: root/gson
diff options
context:
space:
mode:
Diffstat (limited to 'gson')
-rw-r--r--gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java b/gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java
index cc5ef928..156e4ef3 100644
--- a/gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java
+++ b/gson/src/test/java/org/onap/policy/common/gson/internal/FieldSerializerTest.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -89,7 +89,9 @@ public class FieldSerializerTest {
text = "world";
- assertThatThrownBy(() -> ser.addToTree(this, new JsonObject())).isInstanceOf(JsonParseException.class)
+ JsonObject obj = new JsonObject();
+
+ assertThatThrownBy(() -> ser.addToTree(this, obj)).isInstanceOf(JsonParseException.class)
.hasMessage(FieldSerializer.GET_ERR + FieldSerializerTest.class.getName() + ".text");
}
}
background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
Group,Project,Dev Contact,Dev UID,Project Contact,Proj UID,Deployment Plan
GFP-IP,vEPC,Dave Loreti,dl2652,Robert Chin,rc0421,2014.12
GFP-Mobility,vEPC,Michael Yin,my2328,Fred Delaplace,fd7200,2014.12
SMLS,,Ken Lee,kl5760,Shrikant Acharya,sa8763,prototyping
GFP Cacher (Mob only?),276550c,Michael Yin,my2328,,,2015.04
GFP-CPE for Gamma,Trinity,,,Cho Wong,cw1728,investigating
GFP-CPE,Gamma - P272078d,Janet Kalajian,,,2015.04,
GFP-Uverse,Uverse UCA migration,Kailas Deshmukh,kd046m,,,2015.02
GFP-Uverse,TL1 Adapters,Barry Tai,bt721t,Kailas Deshmukh,kd046m,2015.02
GFP-Uverse,UEB to NOM adapter,,,Kailas Deshmukh,kd046m,2015.02
PMOSS,vEPC,Ken Martau,km1785,,,2014.12
Kinsey D2.0 PoC,D2.0 PoC Collector,Jon Lynn,jl220w,Jesse Chan,jc898t,prototyping
Kinsey D2.0 PoC,D2.0 Poc PM,Ken Martau,km1785,Jesse Chan,jc898t,prototyping
Kinsey D2.0 PoC,D2.0 Poc FM,Peter Cardona,pc569h,Jesse Chan,jc898t,prototyping
Kinsey D2.0 PoC,D2.0 Policy Mgr,Peter Cardona,pc569h,Jesse Chan,jc898t,prototyping
Fotache Group?,Trinity PoC,Steve Solomon,ss5395,Alina Fotache,af3193,prototyping
NetCool Group?,NetCool PoC,,,Prashant Rajpal,pr216d,prototyping
NetCool-ITO Group?,NetCool-ITO PoC,,,Chenlock Lim,cl111y,prototyping
A&AI ECOMP,D2.0 ECOMP,,,Jeff Polhemus,jp6726, prototyping
NVP,D2.0 Policy,Bobby Mander,bm116p,,,prototyping