From d7d12cd83d1610b118a336024b260e11b7c83d98 Mon Sep 17 00:00:00 2001 From: Alexander Marsalek Date: Thu, 15 Apr 2021 17:11:43 +0200 Subject: pass empty map if no map is supplied --- .../java/at/gv/egiz/pdfas/cli/test/SignaturBlockParameterTest.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pdf-as-cli/src/test/java/at/gv/egiz/pdfas') diff --git a/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturBlockParameterTest.java b/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturBlockParameterTest.java index 4bce7b05..db11f451 100644 --- a/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturBlockParameterTest.java +++ b/pdf-as-cli/src/test/java/at/gv/egiz/pdfas/cli/test/SignaturBlockParameterTest.java @@ -147,9 +147,10 @@ public class SignaturBlockParameterTest { result = pdfas.sign(signParameter); fos.close(); name = getName(outFile, "PDF-AS Signatur1"); - Assert.assertEquals("{sbp.subject} test {sbp.foo} 123 {subject.T != null ? (subject.T + \" a \"+sbp.subject) : " + - "\"c \"+sbp.subject+\" \"}Andreas Fitzek ECC", name); -//TODO gewünscht? + Assert.assertEquals("null test null 123 c null Andreas Fitzek ECC", name); +// Assert.assertEquals("{sbp.subject} test {sbp.foo} 123 {subject.T != null ? (subject.T + \" a \"+sbp.subject) : " + +// "\"c \"+sbp.subject+\" \"}Andreas Fitzek ECC", name); +//TODO was ist gewünscht? outFile = getPath("out") + "/" + profile + "-4.pdf"; -- cgit v1.2.3