summaryrefslogtreecommitdiff
path: root/eaaf_core_utils/src/test/java/at
diff options
context:
space:
mode:
authorThomas <>2023-05-15 08:54:18 +0200
committerThomas <>2023-05-15 08:54:18 +0200
commit00042becb5593d15138f7b5317c9d1f8db8108b2 (patch)
treea76e1d8822472111eb77933d5646e7a3f93506d1 /eaaf_core_utils/src/test/java/at
parent5865c9e49fb399c7690ed87925ba7b8ad5d98f13 (diff)
downloadEAAF-Components-00042becb5593d15138f7b5317c9d1f8db8108b2.tar.gz
EAAF-Components-00042becb5593d15138f7b5317c9d1f8db8108b2.tar.bz2
EAAF-Components-00042becb5593d15138f7b5317c9d1f8db8108b2.zip
chore(utils): optimize type-specific deserialization
Diffstat (limited to 'eaaf_core_utils/src/test/java/at')
-rw-r--r--eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/utils/EaafSerializationUtilsTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/utils/EaafSerializationUtilsTest.java b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/utils/EaafSerializationUtilsTest.java
index 98747b41..3535b217 100644
--- a/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/utils/EaafSerializationUtilsTest.java
+++ b/eaaf_core_utils/src/test/java/at/gv/egiz/eaaf/core/test/utils/EaafSerializationUtilsTest.java
@@ -112,6 +112,9 @@ public class EaafSerializationUtilsTest {
assertThrows(IllegalArgumentException.class, () -> EaafSerializationUtils.typeSpecificDeserialize(
object, Sets.newHashSet(DummyClassA.class, DummyClassB.class), DummyClassC.class));
+ assertThrows(IllegalArgumentException.class, () -> EaafSerializationUtils.typeSpecificDeserialize(
+ object, Sets.newHashSet(DummyClassA.class, DummyClassB.class), DummyClassC.class));
+
assertNotNull(EaafSerializationUtils.typeSpecificDeserialize(
object, Sets.newHashSet(DummyClassA.class, DummyClassB.class,
Throwable.class, StackTraceElement[].class,