Lines Matching full:shouldbe
43 shouldBe("constructorCallCount", "0");
44 shouldBe("A.someStaticMethod()", "staticMethodValue");
45 shouldBe("A.someStaticGetter", "getterValue");
46 shouldBe("setterValue = undefined; A.someStaticSetter = 123; setterValue", "123");
47 shouldBe("(new A).someInstanceMethod()", "instanceMethodValue");
48 shouldBe("constructorCallCount", "1");
49 shouldBe("(new A).someGetter", "getterValue");
50 shouldBe("constructorCallCount", "2");
51 shouldBe("(new A).someGetter", "getterValue");
52 shouldBe("setterValue = undefined; (new A).someSetter = 789; setterValue", "789");
53 shouldBe("(new A).__proto__", "A.prototype");
54 shouldBe("A.prototype.constructor", "A");
67 shouldBe("class X { constructor() {} static constructor() { return staticMethodValue; } }; X.constructor()", "staticMethodValue");
73 shouldBe("class X { constructor() {} prototype() { return instanceMethodValue; } }; (new X).prototype()", "instanceMethodValue");