summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2022-04-13 17:57:16 +0200
committerGitHub <noreply@github.com>2022-04-13 17:57:16 +0200
commit7a5f15e2b958dca771b83594669401be2b84f2b6 (patch)
treed96492a7b1958f9822cd994c86d0b0a9f3c6c59f /src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java
parentMerge pull request #45 from UnionInternationalCheminsdeFer/1.3.1 (diff)
parentunit test for fcb version 1 including all elements (diff)
downloadUIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar.gz
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar.bz2
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar.lz
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar.xz
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.tar.zst
UIC-barcode-7a5f15e2b958dca771b83594669401be2b84f2b6.zip
Diffstat (limited to 'src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java')
-rw-r--r--src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java b/src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java
index b5e73b0..dea2716 100644
--- a/src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java
+++ b/src/test/java/org/uic/barcode/asn1/test/UperEncodeBooleanTest.java
@@ -4,11 +4,13 @@ import static org.junit.Assert.assertEquals;
import java.util.logging.Level;
+import org.junit.Before;
import org.junit.Test;
import org.uic.barcode.asn1.datatypes.Asn1Optional;
import org.uic.barcode.asn1.datatypes.FieldOrder;
import org.uic.barcode.asn1.datatypes.Sequence;
import org.uic.barcode.asn1.uper.UperEncoder;
+import org.uic.barcode.logger.LoggerFactory;
public class UperEncodeBooleanTest {
@@ -36,6 +38,9 @@ public class UperEncodeBooleanTest {
}
}
+ @Before public void prepare() {
+ LoggerFactory.setActivateConsoleLog(true);
+ }
@Test public void testTrue() throws IllegalArgumentException, IllegalAccessException {
TestRecord record = new TestRecord(new Boolean(true));