From 1462ba251f5a0eb90320c4cd20c85d0977c4c0c3 Mon Sep 17 00:00:00 2001 From: Alexander Marsalek Date: Wed, 23 Jun 2021 09:06:11 +0200 Subject: one more test --- build.gradle | 14 +++++++------- .../pdfas/lib/test/mains/SignatureBlockParameterTest.java | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index de178030..891111ce 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ buildscript { allprojects { apply plugin: "com.github.ben-manes.versions" repositories { mavenCentral() } - version = '4.2.0' + version = '4.2.0-RC3' } configurations { @@ -135,12 +135,12 @@ subprojects { } } - //uploadArchives { - // repositories.mavenDeployer { - // repository(url: project.releaseRepoUrl) - // snapshotRepository(url: project.snapshotRepoUrl) - // } - //} +// uploadArchives { +// repositories.mavenDeployer { +// repository(url: project.releaseRepoUrl) +// snapshotRepository(url: project.snapshotRepoUrl) +// } +// } task(internalRelease) { doLast { diff --git a/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/SignatureBlockParameterTest.java b/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/SignatureBlockParameterTest.java index 62d5beaf..c2f6445c 100644 --- a/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/SignatureBlockParameterTest.java +++ b/pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/SignatureBlockParameterTest.java @@ -56,7 +56,9 @@ public class SignatureBlockParameterTest { if(checkValid( "ÄÖÜöäüjhsbdjej", DefaultSignatureProfileSettings.SIG_BLOCK_PARAMETER_DEFAULT_VALUE_REGEX) == false){assert(false);} if(checkValid( "aauacnhuisdc Ä Ü Ö aaxsa ö aÜaÖa", DefaultSignatureProfileSettings.SIG_BLOCK_PARAMETER_DEFAULT_VALUE_REGEX) == false){assert(false);} + if(checkValid( "NMS Güssing", DefaultSignatureProfileSettings.SIG_BLOCK_PARAMETER_DEFAULT_VALUE_REGEX) == false){assert(false);} } + public boolean checkValid(String s, String regex) { return CheckSignatureBlockParameters.isValid(s, regex); } -- cgit v1.2.3