You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2024/01/26 16:25:58 UTC

(tika) branch main updated: Improve one-off debugging from literal file path

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new f99e8f9e4 Improve one-off debugging from literal file path
f99e8f9e4 is described below

commit f99e8f9e4130047ae20d67d862f029ebd29c1fd1
Author: tallison <ta...@apache.org>
AuthorDate: Fri Jan 26 11:25:40 2024 -0500

    Improve one-off debugging from literal file path
---
 tika-core/src/test/java/org/apache/tika/TikaTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tika-core/src/test/java/org/apache/tika/TikaTest.java b/tika-core/src/test/java/org/apache/tika/TikaTest.java
index c20229b59..a0a6377b8 100644
--- a/tika-core/src/test/java/org/apache/tika/TikaTest.java
+++ b/tika-core/src/test/java/org/apache/tika/TikaTest.java
@@ -328,6 +328,10 @@ public abstract class TikaTest {
         }
     }
 
+    protected List<Metadata> getRecursiveMetadataFromFullPath(String path) throws Exception {
+        return getRecursiveMetadata(Paths.get(path), true);
+    }
+
     protected List<Metadata> getRecursiveMetadata(String filePath, boolean suppressException)
             throws Exception {
         return getRecursiveMetadata(filePath, new Metadata(), new ParseContext(),