Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java')
-rw-r--r--jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java21
1 files changed, 20 insertions, 1 deletions
diff --git a/jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java b/jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java
index 6b33d7dbae..cfa96b16a4 100644
--- a/jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java
+++ b/jetty-xml/src/test/java/org/eclipse/jetty/xml/TestConfiguration.java
@@ -34,6 +34,7 @@ public class TestConfiguration extends HashMap<String,Object>
public static int VALUE=77;
public TestConfiguration nested;
+ public String testString="default";
public Object testObject;
public int testInt;
public URL url;
@@ -65,6 +66,25 @@ public class TestConfiguration extends HashMap<String,Object>
propValue=value;
}
+ public TestConfiguration getNested()
+ {
+ return nested;
+ }
+
+ public void setNested(TestConfiguration nested)
+ {
+ this.nested = nested;
+ }
+
+ public String getTestString()
+ {
+ return testString;
+ }
+
+ public void setTestString(String testString)
+ {
+ this.testString = testString;
+ }
public void call()
{
@@ -73,7 +93,6 @@ public class TestConfiguration extends HashMap<String,Object>
public TestConfiguration call(Boolean b)
{
- nested=new TestConfiguration();
nested.put("Arg",b);
return nested;
}

Back to the top