summaryrefslogtreecommitdiffstats
path: root/luni/src/test/resources/prefs
diff options
context:
space:
mode:
authorPeter Hallam <peterhal@google.com>2010-05-03 12:57:15 -0700
committerPeter Hallam <peterhal@google.com>2010-05-04 16:30:12 -0700
commit6b811c5daec1b28e6f63b57f98a032236f2c3cf7 (patch)
treea733f20e87a9739253d495c14d54e7d253e35771 /luni/src/test/resources/prefs
parent0a98ab45e3566542f2d669eb0ffd28a560d97d28 (diff)
downloadlibcore-6b811c5daec1b28e6f63b57f98a032236f2c3cf7.zip
libcore-6b811c5daec1b28e6f63b57f98a032236f2c3cf7.tar.gz
libcore-6b811c5daec1b28e6f63b57f98a032236f2c3cf7.tar.bz2
Merge awt-kernel, icu, luni-kernel, prefs, security-kernel, x-net into luni
Merge xml except xmlpull and kxml into luni
Diffstat (limited to 'luni/src/test/resources/prefs')
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml63
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml64
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml54
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml64
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml64
-rw-r--r--luni/src/test/resources/prefs/java/util/prefs/userprefs.xml76
6 files changed, 385 insertions, 0 deletions
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml
new file mode 100644
index 0000000..9d066f1
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs-ascii.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ascii"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+ <root type="user">
+ <map />
+ <node name="tests">
+ <map />
+ <node name="api">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+ <node name="prefs">
+ <map>
+ <entry key="prefskey3" value="newvalue3" />
+ </map>
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </root>
+</preferences>
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml
new file mode 100644
index 0000000..4b99e04
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badencoding.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="badencoding"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+ <root type="user">
+ <map />
+ <node name="tests">
+ <map />
+ <node name="api">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+ <node name="prefs">
+ <map>
+ <entry key="prefskey" value="newvalue" />
+ <entry key="prefskey3" value="newvalue3" />
+ </map>
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </root>
+</preferences>
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml
new file mode 100644
index 0000000..2c231b9
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badform.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+ <root type="user">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+ <node name="prefs">
+ <map />
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </root>
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml
new file mode 100644
index 0000000..f974617
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs-badtype.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+ <root type="user">
+ <map />
+ <node name="tests">
+ <map />
+ <node name="api">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+ <node name="prefs">
+ <map>
+ <entry key="prefskey" value="newvalue" />
+ <entry key="prefskey3" value="newvalue3" />
+ </map>
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </root>
+</preferences>
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml
new file mode 100644
index 0000000..a7f6aa8
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs-higherversion.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.1">
+ <root type="user">
+ <map />
+ <node name="tests">
+ <map />
+ <node name="api">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+ <node name="prefs">
+ <map>
+ <entry key="prefskey" value="newvalue" />
+ <entry key="prefskey3" value="newvalue3" />
+ </map>
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </node>
+ </root>
+</preferences>
diff --git a/luni/src/test/resources/prefs/java/util/prefs/userprefs.xml b/luni/src/test/resources/prefs/java/util/prefs/userprefs.xml
new file mode 100644
index 0000000..f901f5b
--- /dev/null
+++ b/luni/src/test/resources/prefs/java/util/prefs/userprefs.xml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you 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. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
+
+<preferences EXTERNAL_XML_VERSION="1.0">
+ <root type="user">
+ <map />
+ <node name="org">
+ <map />
+ <node name="apache">
+ <map />
+ <node name="harmony">
+ <map />
+ <node name="prefs">
+ <map />
+ <node name="tests">
+ <map />
+ <node name="java">
+ <map />
+ <node name="util">
+ <map />
+
+ <node name="prefs">
+ <map>
+ <entry key="prefskey" value="newvalue" />
+ <entry key="prefskey3" value="newvalue3" />
+ </map>
+
+ <node name="mock">
+ <map />
+ <node name="child">
+ <map>
+ <entry key="key2" value="value2" />
+ </map>
+ <node name="grandson">
+ <map>
+ <entry key="key3" value="value3" />
+ </map>
+ <node name="grandgrandson">
+ <map>
+ <entry key="key4" value="value4" />
+ </map>
+ </node> <!--grandgrandson-->
+ </node> <!--grandson-->
+ </node> <!--child-->
+ </node> <!--mock-->
+
+ </node> <!--prefs-->
+ </node> <!--util-->
+ </node> <!--java-->
+ </node> <!--tests-->
+ </node> <!--prefs-->
+ </node> <!--harmony-->
+ </node> <!--apache-->
+ </node> <!--org-->
+ </root>
+</preferences>