Searched refs:interface2 (Results 1 – 5 of 5) sorted by relevance
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/interface2.m5 // CHECK: interface2.m:16:9: error: instance variable 'ivar2' declared with incompatible types in d…9 // CHECK: interface2.m:21:17: note: inherits from superclass 'I1' here10 // CHECK: interface2.m:33:1: error: class method 'foo' has incompatible result types in different t…12 // CHECK: interface2.m:39:19: error: class method 'bar:' has a parameter with a different types in …14 // CHECK: interface2.m:45:1: error: class method 'bar:' is variadic in one translation unit and not…16 // CHECK: interface2.m:57:20: error: instance method 'bar:' has a parameter with a different types …20 // CHECK: interface2.m:99:17: note: inherits from superclass 'I11' here
104 Class<?> interface2 = inMemoryClassLoader() in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths() local109 Object mocked = mock(interface1, withSettings().extraInterfaces(interface2)); in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths()110 …assertThat(interface2.isInstance(mocked)).describedAs("mock should be assignable from interface2 t… in should_mock_class_with_interfaces_of_different_class_loader_AND_different_classpaths()
79 def InterfacesAreEqual(interface1, interface2): argument80 if interface1 == interface2:82 if interface1.name != interface2.name or \83 len(interface1.methods) != len(interface2.methods):86 if not MethodsAreEqual(interface1.methods[i], interface2.methods[i]):
10 public void interface2(int a, int b); in interface2() method
107 public void interface2(int a, int b) { in interface2() method in Invoke130 i.interface2(1, 2); in interfaceMethods()