X-Git-Url: http://git.rot13.org/?p=zxing.git;a=blobdiff_plain;f=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FBitSourceTestCase.java;fp=core%2Ftest%2Fsrc%2Fcom%2Fgoogle%2Fzxing%2Fcommon%2FBitSourceTestCase.java;h=1ff714a3c555578c3cedf08bb463e0ee9be1d974;hp=9b5339011c3054bd28103ecdc80c39159aaa470f;hb=e5d03a79a458340b69a57914a352f0a8841cdf69;hpb=a932cce57fabafd18a5db770f2c87afbd72e31b9 diff --git a/core/test/src/com/google/zxing/common/BitSourceTestCase.java b/core/test/src/com/google/zxing/common/BitSourceTestCase.java index 9b533901..1ff714a3 100644 --- a/core/test/src/com/google/zxing/common/BitSourceTestCase.java +++ b/core/test/src/com/google/zxing/common/BitSourceTestCase.java @@ -16,13 +16,15 @@ package com.google.zxing.common; -import junit.framework.TestCase; +import org.junit.Assert; +import org.junit.Test; /** * @author Sean Owen */ -public final class BitSourceTestCase extends TestCase { +public final class BitSourceTestCase extends Assert { + @Test public void testSource() { byte[] bytes = {(byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5}; BitSource source = new BitSource(bytes);