1f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project/* 2f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Copyright (C) 2009 The Android Open Source Project 3f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 4f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License"); 5f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * you may not use this file except in compliance with the License. 6f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * You may obtain a copy of the License at 7f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 8f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * http://www.apache.org/licenses/LICENSE-2.0 9f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 10f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Unless required by applicable law or agreed to in writing, software 11f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS, 12f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * See the License for the specific language governing permissions and 14f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * limitations under the License. 15f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project */ 16f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 17f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectpackage signature.comparator; 18f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectimport org.junit.runner.RunWith; 19f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectimport org.junit.runners.Suite; 20f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 21f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectimport signature.converter.doclet.DocletTestConverter; 22f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectimport signature.converter.util.ITestSourceConverter; 23f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 24f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project@RunWith(Suite.class) 25f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project@Suite.SuiteClasses({ 26f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project AllDocletTests.DocletPackageCompareTest.class, 27f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project AllDocletTests.DocletClassCompareTest.class, 28f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project AllDocletTests.DocletMethodCompareTests.class 29f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project}) 30f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectpublic class AllDocletTests { 31f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project private static ITestSourceConverter newConverter(){ 32f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project return new DocletTestConverter(); 33f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 34f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 35f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project public static class DocletPackageCompareTest extends PackageCompareTest { 36f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project @Override public ITestSourceConverter createConverter() { 37f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project return newConverter(); 38f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 39f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 40f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 41f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project public static class DocletClassCompareTest extends ClassCompareTest { 42f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project @Override public ITestSourceConverter createConverter() { 43f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project return newConverter(); 44f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 45f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 46f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 47f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project public static class DocletMethodCompareTests extends MethodCompareTests { 48f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project @Override public ITestSourceConverter createConverter() { 49f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project return newConverter(); 50f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 51f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 52f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project}