1/* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to You under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16package tests.api.java.nio.charset; 17 18import dalvik.annotation.TestLevel; 19import dalvik.annotation.TestTargetClass; 20import dalvik.annotation.TestTargetNew; 21 22import junit.framework.TestCase; 23 24import java.nio.ByteBuffer; 25import java.nio.CharBuffer; 26import java.nio.charset.CharacterCodingException; 27import java.nio.charset.Charset; 28import java.nio.charset.CharsetDecoder; 29import java.nio.charset.CharsetEncoder; 30import java.nio.charset.CodingErrorAction; 31 32@TestTargetClass(targets.Charsets._Abstract.class) 33 34public class Charset_SingleByte_ extends Charset_SingleByteAbstractTest { 35 36 protected void setUp() throws Exception { 37 charsetName = ""; 38 allChars = theseChars(new int[]{ 39 }); 40 super.setUp(); 41 } 42 43} 44