X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=misc%2Frosetta%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Faaf%2Fmisc%2Frosetta%2Ftest%2FJU_Struct.java;h=1a366fa0cdbb297eb60a7befe9c9472736ad624c;hb=1296352d8eafee57f982a4342ad79ada4aa56d28;hp=1209e77dba74824489f82aba604aadba81e632c6;hpb=ac1e1ec76e9125206be91a2f32c7104c9392dc9a;p=aaf%2Fauthz.git
diff --git a/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/test/JU_Struct.java b/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/test/JU_Struct.java
index 1209e77d..1a366fa0 100644
--- a/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/test/JU_Struct.java
+++ b/misc/rosetta/src/test/java/org/onap/aaf/misc/rosetta/test/JU_Struct.java
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,47 +27,47 @@ import org.onap.aaf.misc.rosetta.JaxInfo;
import s.xsd.LargerData;
public class JU_Struct {
- public final static String XML ="\n" +
- "\n" +
- "sd object 1\n" +
- "1346439215932\n" +
- "- Item 1.1
\n" +
- "- Item 1.2
\n" +
- "\n" +
- "\n" +
- "sd object 2\n" +
- "1346439215932\n" +
- "- Item 2.1
\n" +
- "- Item 2.2
\n" +
- "\n" +
- "MyFluff\n" +
- "\n";
-
-// @Test
-// public void test2() throws Exception {
+ public final static String XML ="\n" +
+ "\n" +
+ "sd object 1\n" +
+ "1346439215932\n" +
+ "- Item 1.1
\n" +
+ "- Item 1.2
\n" +
+ "\n" +
+ "\n" +
+ "sd object 2\n" +
+ "1346439215932\n" +
+ "- Item 2.1
\n" +
+ "- Item 2.2
\n" +
+ "\n" +
+ "MyFluff\n" +
+ "\n";
+
+// @Test
+// public void test2() throws Exception {
//
-// SampleData sd = new SampleData();
-// sd.setDate(new Date().getTime());
-// sd.setId("myId");
-// sd.getItem().add("Item 1.1");
-//
-// InObj inObj = new InObj(SampleData.class);
+// SampleData sd = new SampleData();
+// sd.setDate(new Date().getTime());
+// sd.setId("myId");
+// sd.getItem().add("Item 1.1");
//
-// JaxSet jaxSet = JaxSet.get(SampleData.class);
-// Setter setter = jaxSet.setter("id");
-// setter.set(sd, "Your ID");
-//
-// for(Entry> es : jaxSet.getters()) {
-// System.out.print(es.getKey());
-// System.out.print(' ');
-// System.out.println(es.getValue().get(sd));
-// }
-// }
-
- @Test
- public void test() throws Exception {
- JaxInfo ji = JaxInfo.build(LargerData.class);
- System.out.println(ji);
- }
+// InObj inObj = new InObj(SampleData.class);
+//
+// JaxSet jaxSet = JaxSet.get(SampleData.class);
+// Setter setter = jaxSet.setter("id");
+// setter.set(sd, "Your ID");
+//
+// for (Entry> es : jaxSet.getters()) {
+// System.out.print(es.getKey());
+// System.out.print(' ');
+// System.out.println(es.getValue().get(sd));
+// }
+// }
+
+ @Test
+ public void test() throws Exception {
+ JaxInfo ji = JaxInfo.build(LargerData.class);
+ System.out.println(ji);
+ }
}