At last update to JUnit 4.x
[zxing.git] / core / test / src / com / google / zxing / common / BitSourceTestCase.java
index 9b53390..1ff714a 100644 (file)
 
 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);