Author: tilman
Date: Fri Apr 10 08:55:34 2026
New Revision: 1932947
Log:
PDFBOX-5660: isolate timezone change
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Modified:
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
==============================================================================
---
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Fri Apr 10 08:51:56 2026 (r1932946)
+++
pdfbox/branches/3.0/xmpbox/src/test/java/org/apache/xmpbox/parser/DeserializationTest.java
Fri Apr 10 08:55:34 2026 (r1932947)
@@ -21,6 +21,7 @@
package org.apache.xmpbox.parser;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.fail;
@@ -51,12 +52,15 @@ import org.apache.xmpbox.type.ThumbnailT
import org.apache.xmpbox.xml.DomXmpParser;
import org.apache.xmpbox.xml.XmpParsingException;
import org.apache.xmpbox.xml.XmpParsingException.ErrorType;
+import org.apache.xmpbox.xml.XmpSerializer;
+
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
-import org.apache.xmpbox.xml.XmpSerializer;
-import static org.junit.jupiter.api.Assertions.assertEquals;
+import org.junit.jupiter.api.parallel.Isolated;
+import org.junit.jupiter.api.parallel.ResourceLock;
+import org.junit.jupiter.api.parallel.Resources;
/**
* DomXmpParser imports the XML into an internal representation. XmpSerializer
exports this into
@@ -64,6 +68,8 @@ import static org.junit.jupiter.api.Asse
*
* @author Tilman Hausherr
*/
+@Isolated
+@ResourceLock(Resources.TIME_ZONE)
class DeserializationTest
{