summaryrefslogtreecommitdiffstats
path: root/harmony-tests/src/test
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2013-11-15 10:24:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-11-15 10:24:13 +0000
commitd7613be956eb5b004df64cdb99ba05c78f4ff1de (patch)
treeee80143c9d3eed1d37071fcba73a3ec86e8bf57f /harmony-tests/src/test
parentebf160a0a41f2ea819b5c5c2e33199c098312941 (diff)
parent1399e0b42af7a565f34b9a2441f0a079e6ab3854 (diff)
downloadlibcore-d7613be956eb5b004df64cdb99ba05c78f4ff1de.zip
libcore-d7613be956eb5b004df64cdb99ba05c78f4ff1de.tar.gz
libcore-d7613be956eb5b004df64cdb99ba05c78f4ff1de.tar.bz2
Merge "Fix a few failures in FileURLConnectionTest."
Diffstat (limited to 'harmony-tests/src/test')
-rw-r--r--harmony-tests/src/test/resources/resources/test.doc20
-rw-r--r--harmony-tests/src/test/resources/resources/test.htx22
-rw-r--r--harmony-tests/src/test/resources/resources/test.java20
-rw-r--r--harmony-tests/src/test/resources/resources/test.rtf20
-rw-r--r--harmony-tests/src/test/resources/resources/test.xml22
5 files changed, 104 insertions, 0 deletions
diff --git a/harmony-tests/src/test/resources/resources/test.doc b/harmony-tests/src/test/resources/resources/test.doc
new file mode 100644
index 0000000..9d88f15
--- /dev/null
+++ b/harmony-tests/src/test/resources/resources/test.doc
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+
+/* A bogus doc file used to see if we can detect
+ * file type based on its file extension.
+ */ \ No newline at end of file
diff --git a/harmony-tests/src/test/resources/resources/test.htx b/harmony-tests/src/test/resources/resources/test.htx
new file mode 100644
index 0000000..2aa810e
--- /dev/null
+++ b/harmony-tests/src/test/resources/resources/test.htx
@@ -0,0 +1,22 @@
+<html>
+
+/*
+ * 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.
+ */
+
+/* A bogus html file used to see if we can detect
+ * file type based on its file extension / content.
+ */ \ No newline at end of file
diff --git a/harmony-tests/src/test/resources/resources/test.java b/harmony-tests/src/test/resources/resources/test.java
new file mode 100644
index 0000000..3ea4660
--- /dev/null
+++ b/harmony-tests/src/test/resources/resources/test.java
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+
+/* A bogus java file used to see if we can detect
+ * file type based on its file extension.
+ */ \ No newline at end of file
diff --git a/harmony-tests/src/test/resources/resources/test.rtf b/harmony-tests/src/test/resources/resources/test.rtf
new file mode 100644
index 0000000..aa1d82d
--- /dev/null
+++ b/harmony-tests/src/test/resources/resources/test.rtf
@@ -0,0 +1,20 @@
+/*
+ * 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.
+ */
+
+/* A bogus RTF file used to see if we can detect
+ * file type based on its file extension.
+ */ \ No newline at end of file
diff --git a/harmony-tests/src/test/resources/resources/test.xml b/harmony-tests/src/test/resources/resources/test.xml
new file mode 100644
index 0000000..cb5c342
--- /dev/null
+++ b/harmony-tests/src/test/resources/resources/test.xml
@@ -0,0 +1,22 @@
+<?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.
+-->
+
+<!-- A bogus XML file used to see if we can detect
+ file type based on its file extension / content.
+--> \ No newline at end of file