From 423f0a05ca07fbe4a4fe2668735b0a3b6b4e8f94 Mon Sep 17 00:00:00 2001 From: srowen Date: Thu, 24 Jul 2008 21:43:40 +0000 Subject: [PATCH] Remove dead files git-svn-id: https://zxing.googlecode.com/svn/trunk@536 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- .../zxing/qrcode/decoder/ECITestCase.java | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 core/test/src/com/google/zxing/qrcode/decoder/ECITestCase.java diff --git a/core/test/src/com/google/zxing/qrcode/decoder/ECITestCase.java b/core/test/src/com/google/zxing/qrcode/decoder/ECITestCase.java deleted file mode 100644 index dc9c5e895..000000000 --- a/core/test/src/com/google/zxing/qrcode/decoder/ECITestCase.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2008 ZXing authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.google.zxing.qrcode.decoder; - -import com.google.zxing.common.BitSource; -import junit.framework.TestCase; - -/** - * @author srowen@google.com (Sean Owen) - */ -public final class ECITestCase extends TestCase { - - public void testParseECI() { - doTestParseECI(0, new byte[] { (byte) 0x00 }); - doTestParseECI(127, new byte[] { (byte) 0x7F }); - doTestParseECI(128, new byte[] { (byte) 0x80, (byte) 0x80 }); - doTestParseECI(16383, new byte[] { (byte) 0xBF, (byte) 0xFF }); - doTestParseECI(16384, new byte[] { (byte) 0xC0, (byte) 0x40, (byte) 0x00 }); - doTestParseECI(2097151, new byte[] { (byte) 0xDF, (byte) 0xFF, (byte) 0xFF }); - } - - private static void doTestParseECI(int expectedValue, byte[] bytes) { - BitSource bitSource = new BitSource(bytes); - int actual = ECI.parseECI(bitSource); - assertEquals(expectedValue, actual); - } - -} \ No newline at end of file