diff options
author | Alexander Marsalek <amarsalek@iaik.tugraz.at> | 2021-06-23 09:30:17 +0200 |
---|---|---|
committer | Alexander Marsalek <amarsalek@iaik.tugraz.at> | 2021-06-23 09:30:17 +0200 |
commit | 2b4ce1e99918676197981bb6bacc4f291368669f (patch) | |
tree | c5c42cd5977cf74c22641b581b7ddbb0ebf9a966 | |
parent | 1462ba251f5a0eb90320c4cd20c85d0977c4c0c3 (diff) | |
download | pdf-as-4-2b4ce1e99918676197981bb6bacc4f291368669f.tar.gz pdf-as-4-2b4ce1e99918676197981bb6bacc4f291368669f.tar.bz2 pdf-as-4-2b4ce1e99918676197981bb6bacc4f291368669f.zip |
set encoding to UTF-8
-rw-r--r-- | build.gradle | 2 | ||||
-rw-r--r-- | pdf-as-lib/src/test/java/at/gv/egiz/pdfas/lib/test/mains/SignatureBlockParameterTest.java | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 891111ce..05be9494 100644 --- a/build.gradle +++ b/build.gradle @@ -72,6 +72,8 @@ subprojects { } sourceCompatibility = 1.7 + compileJava.options.encoding = "UTF-8" + compileTestJava.options.encoding = "UTF-8" project.ext{ releaseRepoUrl = "file://${project(':').projectDir}/../mvn-repo/releases" snapshotRepoUrl = "file://${project(':').projectDir}/../mvn-repo/snapshots" 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 c2f6445c..1cebd8ef 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 @@ -57,6 +57,7 @@ public class SignatureBlockParameterTest { 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) { |