/cts/tools/signature-tools/test/signature/comparator/ |
D | ClassCompareTest.java | 33 import signature.model.IApi; 51 IApi fromApi = convert(A, B); in compareEqualClasses() 52 IApi toApi = convert(A, B); in compareEqualClasses() 64 IApi fromApi = convert(A, B); in compareMissingClass() 65 IApi toApi = convert(A); in compareMissingClass() 80 IApi fromApi = convert(A); in compareAddedClass() 81 IApi toApi = convert(A, B); in compareAddedClass() 97 IApi fromApi = convert(A); in compareAnnotationsOnClass() 98 IApi toApi = convert(AnnotA); in compareAnnotationsOnClass() 127 IApi fromApi = convert(annot, AnnotBDefault); in compareDefaultedAnnotationElementOnClass() [all …]
|
D | MethodCompareTests.java | 32 import signature.model.IApi; 44 IApi fromApi = convert(A); in compareEqualClasses() 45 IApi toApi = convert(A); in compareEqualClasses() 60 IApi fromApi = convert(A); in compareMissingMethod() 61 IApi toApi = convert(AMissing); in compareMissingMethod() 80 IApi fromApi = convert(AMissing); in compareAddedMethod() 81 IApi toApi = convert(A); in compareAddedMethod() 101 IApi fromApi = convert(AMissing); in compareChangedMethod() 102 IApi toApi = convert(A); in compareChangedMethod() 122 IApi fromApi = convert(AMissing); in compareAddedParameterMethod() [all …]
|
D | PackageCompareTest.java | 30 import signature.model.IApi; 41 IApi fromApi = convert(from); in compareEqualPackageTest0() 42 IApi toApi = convert(from); in compareEqualPackageTest0() 55 IApi fromApi = convert(from0, from1); in compareEqualPackageTest1() 56 IApi toApi = convert(from0, from1); in compareEqualPackageTest1() 68 IApi fromApi = convert(packageA, packageB); in compareRemovedPackagePackageTest1() 69 IApi toApi = convert(packageA); in compareRemovedPackagePackageTest1() 86 IApi fromApi = convert(packageA); in compareAddedPackagePackageTest1() 87 IApi toApi = convert(packageA, packageB); in compareAddedPackagePackageTest1()
|
D | AnnotationCompareTest.java | 26 import signature.model.IApi; 51 IApi fromApi = convert(A0, A1, AnnotBDefault); in testAnnotationValue() 52 IApi toApi = convert(A0, A1, AnnotB); in testAnnotationValue() 68 IApi fromApi = convert(A0); in testDefaultAnnotationValue() 69 IApi toApi = convert(A1); in testDefaultAnnotationValue()
|
/cts/tools/signature-tools/test/signature/converter/util/ |
D | ITestSourceConverter.java | 23 import signature.model.IApi; 26 IApi convert(Set<CompilationUnit> units) throws IOException; in convert() 27 IApi convert(CompilationUnit... units) throws IOException; in convert() 28 IApi convert(Visibility visibility, Set<CompilationUnit> units) throws IOException; in convert() 29 IApi convert(Visibility visibility, CompilationUnit... units) throws IOException; in convert()
|
D | AbstractTestSourceConverter.java | 25 import signature.model.IApi; 29 public IApi convert(Set<CompilationUnit> units) throws IOException { in convert() 32 public IApi convert(CompilationUnit... units) throws IOException { in convert() 35 public IApi convert(Visibility visibility, CompilationUnit... units) throws IOException { in convert()
|
D | AbstractConvertTest.java | 25 import signature.model.IApi; 43 public IApi convert(Visibility visibility, Set<CompilationUnit> units) throws IOException { in convert()
|
/cts/tools/signature-tools/src/signature/compare/model/impl/ |
D | SigApiDelta.java | 21 import signature.model.IApi; 25 public class SigApiDelta extends SigDelta<IApi> implements IApiDelta { 29 public SigApiDelta(IApi from, IApi to) { in SigApiDelta()
|
/cts/tools/signature-tools/src/signature/io/impl/ |
D | BinaryApi.java | 22 import signature.model.IApi; 33 public void externalizeApi(String fileName, IApi api) throws IOException { in externalizeApi() 51 private String getFileName(IApi api) { in getFileName() 55 public IApi loadApi(String name, Visibility visibility, in loadApi() 70 IApi sig = null; in loadApi() 72 sig = (IApi) ois.readObject(); in loadApi()
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertVisibilityTest.java | 30 import signature.model.IApi; 49 IApi api = convert(Visibility.PUBLIC, src); in testVisibilityMethods1() 67 IApi api = convert(Visibility.PROTECTED, src); in testVisibilityMethods2() 85 IApi api = convert(Visibility.PACKAGE, src); in testVisibilityMethods3() 103 IApi api = convert(Visibility.PRIVATE, src); in testVisibilityMethods4() 120 IApi api = convert(Visibility.PUBLIC, src); in testVisibility1() 135 IApi api = convert(Visibility.PROTECTED, src); in testVisibility2() 151 IApi api = convert(Visibility.PACKAGE, src); in testVisibility3() 167 IApi api = convert(Visibility.PRIVATE, src); in testVisibility4()
|
D | ConvertClassTest.java | 35 import signature.model.IApi; 57 IApi api = convert(new CompilationUnit("a.b.A", "package a.b; public class A{}")); in convertPackageClassTest() 68 IApi api = convert(new CompilationUnit("a.A", "package a; public class A{}")); in convertClassClassTest() 79 IApi api = convert(new CompilationUnit("a.A", "package a; public interface A{}")); in convertClassInterfaceTest() 90 IApi api = convert(new CompilationUnit("a.A", "package a; public enum A{}")); in convertClassEnumTest() 101 IApi api = convert(new CompilationUnit("a.A", "package a; public @interface A{}")); in convertClassAnnotationTest() 112 IApi api = convert(new CompilationUnit("a.A", "package a; @Deprecated public class A{}")); in convertAnnotationTest() 126 IApi api = convert(new CompilationUnit("a.A", in convertAnnotationOnFieldTest() 148 IApi api = convert(new CompilationUnit("a.A", "package a; public class A<T> {}")); in convertGenericClass0() 167 … IApi api = convert(new CompilationUnit("a.A", "package a; public class A<T extends Integer> {}")); in convertGenericClass00() [all …]
|
D | ConvertPackageTest.java | 28 import signature.model.IApi; 39 IApi api = convert(classSrc, packageSrc); in testPackageAnnotation() 51 IApi api = convert(classSrc, packageSrc); in testNumberOfClasses1() 64 IApi api = convert(src); in testNumberOfClasses2()
|
D | ConvertAnnotationTest.java | 32 import signature.model.IApi; 57 IApi api = convert(classSrc); in convertAnnotationDefinition1() 87 IApi api = convert(classSrc); in convertAnnotationDefinition2() 109 IApi api = convert(classSrc); in convertAnnotationDefinition3() 137 IApi api = convert(src); in testAnnotationDefaultsInt1() 162 IApi api = convert(src); in testAnnotationDefaultsInt2() 186 IApi api = convert(src); in testAnnotationDefaultsInt3() 221 IApi api = convert(src); in testAnnotationDefaultsDouble1() 247 IApi api = convert(src); in testAnnotationDefaultsDouble2() 271 IApi api = convert(src); in testAnnotationDefaultsDouble3() [all …]
|
D | ConvertParameterizedTypeTest.java | 28 import signature.model.IApi; 50 IApi api = convert(new CompilationUnit("a.A", source)); in convertParameterizedType() 74 …IApi api = convert(Visibility.PRIVATE, new CompilationUnit("a.A", clazz),new CompilationUnit("a.I"… in convertWildcardLowerBound()
|
D | ConvertEnumTest.java | 35 import signature.model.IApi; 53 IApi api = convert(new CompilationUnit("test.A", in testEnum1() 89 IApi api = convert(new CompilationUnit("test.A", in testEnum2() 114 IApi api = convert(new CompilationUnit("test.A", in testEnum3() 157 IApi api = convert(new CompilationUnit("test.A", in testEnum4()
|
/cts/tools/signature-tools/src/signature/compare/ |
D | IApiComparator.java | 20 import signature.model.IApi; 38 IApiDelta compare(IApi fromApi, IApi toApi); in compare()
|
D | Main.java | 30 import signature.model.IApi; 142 IApi fromApi = getApi(fromType, nameFrom, fromFiles, packages); in main() 143 IApi toApi = getApi(toType, nameTo, toFiles, packages); in main() 155 private static class EmptyDelta extends SigDelta<IApi> implements 157 public EmptyDelta(IApi from, IApi to) { in EmptyDelta() 166 private static IApi getApi(String specType, String name, in getApi()
|
/cts/tools/signature-tools/test/signature/comparator/util/ |
D | AbstractComparatorTest.java | 30 import signature.model.IApi; 40 public IApiDelta compare(IApi from, IApi to){ in compare()
|
/cts/tools/signature-tools/src/signature/compare/model/ |
D | IApiDelta.java | 21 import signature.model.IApi; 26 public interface IApiDelta extends IDelta<IApi> {
|
/cts/tools/signature-tools/src/signature/io/ |
D | IApiExternalizer.java | 19 import signature.model.IApi; 29 void externalizeApi(String loacation, IApi signature) throws IOException; in externalizeApi()
|
D | IApiLoader.java | 23 import signature.model.IApi; 26 IApi loadApi(String name, Visibility visibility, Set<String> fileNames, in loadApi()
|
/cts/tools/signature-tools/test/signature/converter/dex/ |
D | DexExternalizerTest.java | 24 import signature.model.IApi; 35 …IApi api = converter.convertApi("Dex Tests", DexUtil.getDexFiles(new HashSet<String>(Arrays.asList… in testExternalizer()
|
D | DexTestConverter.java | 26 import signature.model.IApi; 35 public IApi convert(Visibility visibility, Set<CompilationUnit> units) throws IOException { in convert()
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigApi.java | 23 import signature.model.IApi; 27 public class SigApi implements IApi, Serializable {
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | DexFactory.java | 22 import signature.model.IApi; 32 public IApi loadApi(String name, Visibility visibility, in loadApi()
|