You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by th...@apache.org on 2016/06/11 23:52:23 UTC
tika git commit: Add test case config file
Repository: tika
Updated Branches:
refs/heads/TIKA-1508 71726bc1f -> e48d19156
Add test case config file
Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/e48d1915
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/e48d1915
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/e48d1915
Branch: refs/heads/TIKA-1508
Commit: e48d191566f603d3b38ce1e24c07dc21a003c95e
Parents: 71726bc
Author: Thamme Gowda <th...@apache.org>
Authored: Sat Jun 11 16:52:17 2016 -0700
Committer: Thamme Gowda <th...@apache.org>
Committed: Sat Jun 11 16:52:17 2016 -0700
----------------------------------------------------------------------
.../TIKA-1986-parameterized-decorated.xml | 39 ++++++++++++++++++++
1 file changed, 39 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tika/blob/e48d1915/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized-decorated.xml
----------------------------------------------------------------------
diff --git a/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized-decorated.xml b/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized-decorated.xml
new file mode 100644
index 0000000..56f5556
--- /dev/null
+++ b/tika-core/src/test/resources/org/apache/tika/config/TIKA-1986-parameterized-decorated.xml
@@ -0,0 +1,39 @@
+<?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.
+ -->
+<properties>
+ <parsers>
+ <parser class="org.apache.tika.parser.DummyParameterizedParser">
+ <params>
+ <param name="testparam" type="string">testparamval</param>
+ <param name="xshort" type="short">1000</param>
+ <param name="xint" type="int">999999999</param>
+ <param name="xlong" type="long">9999999999999</param>
+ <param name="xbigint" type="bigint">99999999999999999999999999999999999999999999999</param>
+ <param name="xfloat" type="float">10.2</param>
+ <param name="xbool" type="bool">true</param>
+ <param name="xdouble" type="double">4.6</param>
+ <param name="xurl" type="url">http://apache.org</param>
+ <!-- for cross platform testing, can't include / in file -->
+ <param name="xfile" type="file">somefile</param>
+ <param name="xuri" type="uri">tika://customuri?param=value</param>
+ </params>
+ <mime>application/xml</mime>
+ </parser>
+
+ </parsers>
+</properties>