Home
last modified time | relevance | path

Searched refs:IApi (Results 1 – 25 of 32) sorted by relevance

12

/cts/tools/signature-tools/test/signature/comparator/
DClassCompareTest.java33 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 …]
DMethodCompareTests.java32 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 …]
DPackageCompareTest.java30 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()
DAnnotationCompareTest.java26 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/
DITestSourceConverter.java23 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()
DAbstractTestSourceConverter.java25 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()
DAbstractConvertTest.java25 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/
DSigApiDelta.java21 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/
DBinaryApi.java22 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/
DConvertVisibilityTest.java30 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()
DConvertClassTest.java35 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()
167IApi api = convert(new CompilationUnit("a.A", "package a; public class A<T extends Integer> {}")); in convertGenericClass00()
[all …]
DConvertPackageTest.java28 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()
DConvertAnnotationTest.java32 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 …]
DConvertParameterizedTypeTest.java28 import signature.model.IApi;
50 IApi api = convert(new CompilationUnit("a.A", source)); in convertParameterizedType()
74IApi api = convert(Visibility.PRIVATE, new CompilationUnit("a.A", clazz),new CompilationUnit("a.I"… in convertWildcardLowerBound()
DConvertEnumTest.java35 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/
DIApiComparator.java20 import signature.model.IApi;
38 IApiDelta compare(IApi fromApi, IApi toApi); in compare()
DMain.java30 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/
DAbstractComparatorTest.java30 import signature.model.IApi;
40 public IApiDelta compare(IApi from, IApi to){ in compare()
/cts/tools/signature-tools/src/signature/compare/model/
DIApiDelta.java21 import signature.model.IApi;
26 public interface IApiDelta extends IDelta<IApi> {
/cts/tools/signature-tools/src/signature/io/
DIApiExternalizer.java19 import signature.model.IApi;
29 void externalizeApi(String loacation, IApi signature) throws IOException; in externalizeApi()
DIApiLoader.java23 import signature.model.IApi;
26 IApi loadApi(String name, Visibility visibility, Set<String> fileNames, in loadApi()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexExternalizerTest.java24 import signature.model.IApi;
35IApi api = converter.convertApi("Dex Tests", DexUtil.getDexFiles(new HashSet<String>(Arrays.asList… in testExternalizer()
DDexTestConverter.java26 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/
DSigApi.java23 import signature.model.IApi;
27 public class SigApi implements IApi, Serializable {
/cts/tools/signature-tools/src/signature/converter/dex/
DDexFactory.java22 import signature.model.IApi;
32 public IApi loadApi(String name, Visibility visibility, in loadApi()

12