At last update to JUnit 4.x
[zxing.git] / core / test / src / com / google / zxing / common / BitSourceTestCase.java
index 13fe73b..1ff714a 100644 (file)
 
 package com.google.zxing.common;
 
-import junit.framework.TestCase;
+import org.junit.Assert;
+import org.junit.Test;
 
 /**
- * @author srowen@google.com (Sean Owen)
+ * @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);