1f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes/* 2adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * Licensed to the Apache Software Foundation (ASF) under one or more 3adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * contributor license agreements. See the NOTICE file distributed with 4adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * this work for additional information regarding copyright ownership. 5adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * The ASF licenses this file to You under the Apache License, Version 2.0 6adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * (the "License"); you may not use this file except in compliance with 7adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * the License. You may obtain a copy of the License at 8f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * 9adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * http://www.apache.org/licenses/LICENSE-2.0 10f33eae7e84eb6d3b0f4e86b59605bb3de73009f3Elliott Hughes * 11adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * Unless required by applicable law or agreed to in writing, software 12adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS, 13adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * See the License for the specific language governing permissions and 15adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project * limitations under the License. 16adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project */ 17adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project 18a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilsonpackage libcore.java.text; 19adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project 20a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilsonimport java.text.Format; 21a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilsonimport junit.framework.TestCase; 22adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project 23a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilsonpublic class OldFormatFieldTest extends TestCase { 24a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson private class MockFormatField extends Format.Field { 25a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson 26a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson private static final long serialVersionUID = 1L; 27a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson 28a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson public MockFormatField(String name) { 29a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson super(name); 30a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson } 31a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson } 32a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson 33a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson public void test_Constructor() { 34a055b2a5d62f7e8f879d2704edb261d43c3ac46cJesse Wilson new MockFormatField("test"); 35adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project } 36adc854b798c1cfe3bfd4c27d68d5cee38ca617daThe Android Open Source Project} 37