/third_party/googletest/googlemock/test/ |
D | gmock_output_test_.cc | 61 MOCK_METHOD2(Bar2, bool(int x, int y)); 77 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 78 foo_.Bar2(0, 0); // Expected call in TEST_F() 93 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F() 94 foo_.Bar2(2, 2); in TEST_F() 95 foo_.Bar2(1, 1); // Explicit actions in EXPECT_CALL run out. in TEST_F() 99 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() 101 foo_.Bar2(1, 0); // Unexpected call in TEST_F() 102 foo_.Bar2(0, 0); // Expected call in TEST_F() 113 EXPECT_CALL(foo_, Bar2(0, _)); in TEST_F() [all …]
|
D | gmock_output_test_golden.txt | 3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked 6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))... 7 Function call: Bar2(0, 0) 23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))... 26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))... 34 Function call: Bar2(1, 0) 38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))... 60 Function call: Bar2(0, 1) 76 Function call: Bar2(0, 1) 91 Function call: Bar2(1, 1) [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | implementingAnInterfaceExtendingClassWithPrivates2.js | 14 class Bar2 extends Foo implements I { // error class 43 class Bar2 extends Foo implements I { // error 77 class Bar2 extends Foo implements I { // error 116 var Bar2 = /** @class */ (function (_super) { 117 __extends(Bar2, _super); 118 function Bar2() { class in Bar2 121 return Bar2; 152 var Bar2 = /** @class */ (function (_super) { class 153 __extends(Bar2, _super); 154 function Bar2() { class in anonymousFunction9fd3c5460a00.Bar2 [all …]
|
D | implementingAnInterfaceExtendingClassWithPrivates2.errors.txt | 1 …tingAnInterfaceExtendingClassWithPrivates2.ts(13,7): error TS2415: Class 'Bar2' incorrectly extend… 2 Property 'x' is private in type 'Foo' but not in type 'Bar2'. 3 …tingAnInterfaceExtendingClassWithPrivates2.ts(13,7): error TS2420: Class 'Bar2' incorrectly implem… 4 Property 'x' is private in type 'I' but not in type 'Bar2'. 9 …ingAnInterfaceExtendingClassWithPrivates2.ts(42,11): error TS2415: Class 'Bar2' incorrectly extend… 10 Property 'x' is private in type 'Foo' but not in type 'Bar2'. 11 …ingAnInterfaceExtendingClassWithPrivates2.ts(42,11): error TS2420: Class 'Bar2' incorrectly implem… 12 Property 'z' is missing in type 'Bar2' but required in type 'I'. 21 …ingAnInterfaceExtendingClassWithPrivates2.ts(76,11): error TS2415: Class 'Bar2' incorrectly extend… 22 Property 'x' is private in type 'Foo' but not in type 'Bar2'. [all …]
|
D | importTypeLocal.js | 35 export class Bar2 { class 41 Bar: Bar2 61 exports.shim = exports.Bar2 = exports.y = exports.x = void 0; 64 var Bar2 = /** @class */ (function () { 65 function Bar2(input) { class in Bar2 67 return Bar2; 69 exports.Bar2 = Bar2; 71 Bar: Bar2 102 export declare class Bar2 {
|
D | importTypeLocalMissing.js | 36 export class Bar2 { class 42 Bar: Bar2 62 exports.shim = exports.Bar2 = exports.z = exports.y = exports.x = void 0; 66 var Bar2 = /** @class */ (function () { 67 function Bar2(input) { class in Bar2 69 return Bar2; 71 exports.Bar2 = Bar2; 73 Bar: Bar2 105 export declare class Bar2 {
|
D | importTypeGenericTypes.js | 38 export class Bar2<T> { class 44 Bar: Bar2 64 exports.shim = exports.Bar2 = exports.y = exports.x = void 0; 67 var Bar2 = /** @class */ (function () { 68 function Bar2(input) { class in Bar2 70 return Bar2; 72 exports.Bar2 = Bar2; 74 Bar: Bar2 112 export declare class Bar2<T> {
|
D | importTypeAmbient.types | 68 class Bar2 { 69 >Bar2 : Bar2 83 >{ Bar: Bar2} : { Bar: typeof Bar2; } 85 Bar: Bar2 86 >Bar : typeof Bar2 87 >Bar2 : typeof Bar2
|
D | importTypeLocalMissing.types | 74 export class Bar2 { 75 >Bar2 : Bar2 89 >{ Bar: Bar2} : { Bar: typeof Bar2; } 91 Bar: Bar2 92 >Bar : typeof Bar2 93 >Bar2 : typeof Bar2
|
D | importTypeLocal.types | 65 export class Bar2 { 66 >Bar2 : Bar2 80 >{ Bar: Bar2} : { Bar: typeof Bar2; } 82 Bar: Bar2 83 >Bar : typeof Bar2 84 >Bar2 : typeof Bar2
|
D | importTypeAmbient.js | 34 class Bar2 { class 40 Bar: Bar2 47 var Bar2 = /** @class */ (function () { 48 function Bar2(input) { class in Bar2 50 return Bar2; 53 Bar: Bar2 85 declare class Bar2 {
|
D | importTypeGenericTypes.types | 84 export class Bar2<T> { 85 >Bar2 : Bar2<T> 100 >{ Bar: Bar2} : { Bar: typeof Bar2; } 102 Bar: Bar2 103 >Bar : typeof Bar2 104 >Bar2 : typeof Bar2
|
D | implementingAnInterfaceExtendingClassWithPrivates2.symbols | 26 class Bar2 extends Foo implements I { // error 27 >Bar2 : Symbol(Bar2, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 10, 1)) 32 >x : Symbol(Bar2.x, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 12, 37)) 35 >y : Symbol(Bar2.y, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 13, 14)) 89 class Bar2 extends Foo implements I { // error 90 >Bar2 : Symbol(Bar2, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 39, 5)) 95 >x : Symbol(Bar2.x, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 41, 41)) 98 >y : Symbol(Bar2.y, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 42, 18)) 170 class Bar2 extends Foo implements I { // error 171 >Bar2 : Symbol(Bar2, Decl(implementingAnInterfaceExtendingClassWithPrivates2.ts, 73, 17)) [all …]
|
D | implementingAnInterfaceExtendingClassWithPrivates2.types | 22 class Bar2 extends Foo implements I { // error 23 >Bar2 : Bar2 79 class Bar2 extends Foo implements I { // error 80 >Bar2 : Bar2 155 class Bar2 extends Foo implements I { // error 156 >Bar2 : Bar2
|
D | unionAndIntersectionInference3.types | 71 type Bar2<T> = { 72 >Bar2 : Bar2<T> 79 declare let g1: <T>(x: Foo2<T> | Bar2<T>) => Promise<T>; 80 >g1 : <T>(x: Foo2<T> | Bar2<T>) => Promise<T> 81 >x : Foo2<T> | Bar2<T> 83 declare let g2: <U>(x: Foo2<U> | Bar2<U>) => Promise<U>; 84 >g2 : <U>(x: Foo2<U> | Bar2<U>) => Promise<U> 85 >x : Foo2<U> | Bar2<U> 88 >g1 = g2 : <U>(x: Foo2<U> | Bar2<U>) => Promise<U> 89 >g1 : <T>(x: Foo2<T> | Bar2<T>) => Promise<T> [all …]
|
D | implementingAnInterfaceExtendingClassWithPrivates.js | 13 class Bar2 implements I { // error class 38 var Bar2 = /** @class */ (function () { 39 function Bar2() { class in Bar2 41 return Bar2;
|
D | importTypeLocal.symbols | 72 export class Bar2 { 73 >Bar2 : Symbol(Bar2, Decl(usage.ts, 1, 55)) 76 >item : Symbol(Bar2.item, Decl(usage.ts, 3, 19)) 88 Bar: Bar2 90 >Bar2 : Symbol(Bar2, Decl(usage.ts, 1, 55))
|
D | importTypeAmbient.symbols | 75 class Bar2 { 76 >Bar2 : Symbol(Bar2, Decl(importTypeAmbient.ts, 30, 46)) 79 >item : Symbol(Bar2.item, Decl(importTypeAmbient.ts, 32, 12)) 91 Bar: Bar2 93 >Bar2 : Symbol(Bar2, Decl(importTypeAmbient.ts, 30, 46))
|
D | importTypeLocalMissing.symbols | 76 export class Bar2 { 77 >Bar2 : Symbol(Bar2, Decl(usage.ts, 2, 55)) 80 >item : Symbol(Bar2.item, Decl(usage.ts, 4, 19)) 92 Bar: Bar2 94 >Bar2 : Symbol(Bar2, Decl(usage.ts, 2, 55))
|
D | noImplicitAnyDestructuringInPrivateMethod.symbols | 21 export declare class Bar2 { 22 >Bar2 : Symbol(Bar2, Decl(noImplicitAnyDestructuringInPrivateMethod.ts, 7, 1)) 25 >bar : Symbol(Bar2.bar, Decl(noImplicitAnyDestructuringInPrivateMethod.ts, 8, 27))
|
D | importTypeGenericTypes.symbols | 96 export class Bar2<T> { 97 >Bar2 : Symbol(Bar2, Decl(usage.ts, 1, 83)) 101 >item : Symbol(Bar2.item, Decl(usage.ts, 3, 22)) 115 Bar: Bar2 117 >Bar2 : Symbol(Bar2, Decl(usage.ts, 1, 83))
|
D | implementingAnInterfaceExtendingClassWithPrivates.errors.txt | 3 …ntingAnInterfaceExtendingClassWithPrivates.ts(12,7): error TS2420: Class 'Bar2' incorrectly implem… 4 Property 'x' is missing in type 'Bar2' but required in type 'I'. 26 class Bar2 implements I { // error 28 !!! error TS2420: Class 'Bar2' incorrectly implements interface 'I'. 29 !!! error TS2420: Property 'x' is missing in type 'Bar2' but required in type 'I'.
|
D | getEmitOutputExternalModule2.baseline | 11 var Bar2 = /** @class */ (function () { 12 function Bar2() { 14 return Bar2;
|
D | implementingAnInterfaceExtendingClassWithProtecteds.js | 13 class Bar2 implements I { // error class 70 var Bar2 = /** @class */ (function () { 71 function Bar2() { class in Bar2 73 return Bar2;
|
D | implementingAnInterfaceExtendingClassWithPrivates.symbols | 22 class Bar2 implements I { // error 23 >Bar2 : Symbol(Bar2, Decl(implementingAnInterfaceExtendingClassWithPrivates.ts, 9, 1)) 27 >y : Symbol(Bar2.y, Decl(implementingAnInterfaceExtendingClassWithPrivates.ts, 11, 25))
|