At last update to JUnit 4.x
[zxing.git] / core / test / src / com / google / zxing / oned / rss / expanded / ExpandedInformationDecoderTest.java
index a9a3e37..4e408ae 100644 (file)
@@ -29,14 +29,16 @@ package com.google.zxing.oned.rss.expanded;
 import com.google.zxing.common.BitArray;
 import com.google.zxing.oned.rss.expanded.decoders.AbstractExpandedDecoder;
 
-import junit.framework.TestCase;
+import org.junit.Assert;
+import org.junit.Test;
 
 /**
  * @author Pablo Orduña, University of Deusto (pablo.orduna@deusto.es)
  * @author Eduardo Castillejo, University of Deusto (eduardo.castillejo@deusto.es)
  */
-public final class ExpandedInformationDecoderTest extends TestCase {
+public final class ExpandedInformationDecoderTest extends Assert {
 
+  @Test
   public void testNoAi() throws Exception {
     BitArray information = BinaryUtil.buildBitArrayFromString(" .......X ..XX..X. X.X....X .......X ....");