diff options
Diffstat (limited to 'src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java')
-rw-r--r-- | src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java b/src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java index 6e3d4ee..9dffd3a 100644 --- a/src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java +++ b/src/test/java/org/uic/barcode/asn1/test/UperEncodeRestrictedStringLengthTest.java @@ -4,6 +4,7 @@ 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.CharacterRestriction; @@ -12,6 +13,7 @@ import org.uic.barcode.asn1.datatypes.RestrictedString; import org.uic.barcode.asn1.datatypes.Sequence; import org.uic.barcode.asn1.datatypes.SizeRange; import org.uic.barcode.asn1.uper.UperEncoder; +import org.uic.barcode.logger.LoggerFactory; public class UperEncodeRestrictedStringLengthTest { @@ -51,6 +53,9 @@ public class UperEncodeRestrictedStringLengthTest { } } + @Before public void prepare() { + LoggerFactory.setActivateConsoleLog(true); + } @Test public void testEncode1() throws IllegalArgumentException, IllegalAccessException { TestRecord record = new TestRecord("A"); |