Commit c960d38
* TIKA-4704: close client so that temp directory gets deleted
* Refactor PipesClient initialization in tests
Refactor FrictionlessUnpackTest to use try-with-resources for PipesClient initialization, reducing code duplication and improving resource management.
* Refactor try-with-resources syntax in tests
* Refactor try-with-resources syntax in tests
* Refactor testWriteLimiter methods for clarity
* Clean up comments in MetadataWriteLimiterTest
Removed redundant comments in the test case for write limiter override.
* Refactor JSON config string in testWriteLimiterOverride
Updated the JSON configuration string for ParseContext to improve readability.
* Clean up comments in MetadataWriteLimiterTest
Removed commented code regarding ParseContext override for X-TIKA:parse_time_millis.
* Update comment to reflect number of embedded documents
* Update tika-pipes/tika-pipes-integration-tests/src/test/java/org/apache/tika/pipes/core/MetadataWriteLimiterTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Close pipesClient in PassbackFilterTest
Close pipesClient after emitting data in test.
* Refactor PipesClient usage in tests to try-with-resources
* Update tika-pipes/tika-pipes-integration-tests/src/test/java/org/apache/tika/pipes/core/EmbeddedLimitsTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Refactor UnpackModeTest for improved readability
* Refactor PipesClientTest to use try-with-resources
* Refactor UnpackModeTest for clarity and structure
* Update tika-pipes/tika-pipes-integration-tests/src/test/java/org/apache/tika/pipes/core/UnpackModeTest.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 89a301f commit c960d38
6 files changed
Lines changed: 825 additions & 824 deletions
File tree
- tika-pipes/tika-pipes-integration-tests/src/test/java/org/apache/tika/pipes/core
Lines changed: 139 additions & 140 deletions
Large diffs are not rendered by default.
Lines changed: 220 additions & 220 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
0 commit comments