Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Austaras committed Feb 26, 2022
1 parent 9c1d983 commit 9de116d
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function Field() {
value: "foo"
});
};
var _foo6 = new WeakMap();
var _foo6 = new WeakMap(), _foo6 = new ();
var A_Field_StaticGetter = function A_Field_StaticGetter() {
"use strict";
_classCallCheck(this, A_Field_StaticGetter);
Expand All @@ -113,7 +113,7 @@ function Field() {
get: get_foo1,
set: void 0
};
var _foo7 = new WeakMap();
var _foo7 = new WeakMap(), _foo7 = new ();
var A_Field_StaticSetter = function A_Field_StaticSetter() {
"use strict";
_classCallCheck(this, A_Field_StaticSetter);
Expand Down Expand Up @@ -199,7 +199,7 @@ function Method() {
_classCallCheck(this, A_Method_StaticMethod);
_classPrivateMethodInit(this, _foo12);
};
var _foo13 = new WeakSet();
var _foo13 = new WeakSet(), _foo13 = new ();
var A_Method_StaticGetter = function A_Method_StaticGetter() {
"use strict";
_classCallCheck(this, A_Method_StaticGetter);
Expand All @@ -209,7 +209,7 @@ function Method() {
get: get_foo2,
set: void 0
};
var _foo14 = new WeakSet();
var _foo14 = new WeakSet(), _foo14 = new ();
var A_Method_StaticSetter = function A_Method_StaticSetter() {
"use strict";
_classCallCheck(this, A_Method_StaticSetter);
Expand Down Expand Up @@ -315,7 +315,7 @@ function Getter() {
set: void 0
});
};
var _foo20 = new WeakMap();
var _foo20 = new WeakMap(), _foo20 = new ();
var A_Getter_StaticGetter = function A_Getter_StaticGetter() {
"use strict";
_classCallCheck(this, A_Getter_StaticGetter);
Expand All @@ -328,7 +328,7 @@ function Getter() {
get: get_foo8,
set: void 0
};
var _foo21 = new WeakMap();
var _foo21 = new WeakMap(), _foo21 = new ();
var A_Getter_StaticSetter = function A_Getter_StaticSetter() {
"use strict";
_classCallCheck(this, A_Getter_StaticSetter);
Expand Down Expand Up @@ -424,7 +424,7 @@ function Setter() {
set: set_foo8
});
};
var _foo27 = new WeakMap();
var _foo27 = new WeakMap(), _foo27 = new ();
var A_Setter_StaticGetter = function A_Setter_StaticGetter() {
"use strict";
_classCallCheck(this, A_Setter_StaticGetter);
Expand All @@ -437,7 +437,7 @@ function Setter() {
get: get_foo10,
set: void 0
};
var _foo28 = new WeakMap();
var _foo28 = new WeakMap(), _foo28 = new ();
var A_Setter_StaticSetter = function A_Setter_StaticSetter() {
"use strict";
_classCallCheck(this, A_Setter_StaticSetter);
Expand Down Expand Up @@ -531,6 +531,7 @@ function StaticField() {
writable: true,
value: "foo"
};
var _foo34 = new ();
var A_StaticField_StaticGetter = function A_StaticField_StaticGetter() {
"use strict";
_classCallCheck(this, A_StaticField_StaticGetter);
Expand All @@ -543,6 +544,7 @@ function StaticField() {
get: get_foo11,
set: void 0
};
var _foo35 = new ();
var A_StaticField_StaticSetter = function A_StaticField_StaticSetter() {
"use strict";
_classCallCheck(this, A_StaticField_StaticSetter);
Expand Down Expand Up @@ -620,6 +622,7 @@ function StaticMethod() {
"use strict";
_classCallCheck(this, A_StaticMethod_StaticMethod);
};
var _foo40 = new ();
var A_StaticMethod_StaticGetter = function A_StaticMethod_StaticGetter() {
"use strict";
_classCallCheck(this, A_StaticMethod_StaticGetter);
Expand All @@ -628,6 +631,7 @@ function StaticMethod() {
get: get_foo12,
set: void 0
};
var _foo41 = new ();
var A_StaticMethod_StaticSetter = function A_StaticMethod_StaticSetter() {
"use strict";
_classCallCheck(this, A_StaticMethod_StaticSetter);
Expand Down Expand Up @@ -673,7 +677,7 @@ function StaticGetter() {
return "";
};
var set_foo13 = function set_foo13(value) {};
var _foo = new WeakMap();
var _foo = new (), _foo = new WeakMap();
var A_StaticGetter_Field = function A_StaticGetter_Field() {
"use strict";
_classCallCheck(this, A_StaticGetter_Field);
Expand All @@ -686,7 +690,7 @@ function StaticGetter() {
get: get_foo,
set: void 0
};
var _foo42 = new WeakSet();
var _foo42 = new (), _foo42 = new WeakSet();
var A_StaticGetter_Method = function A_StaticGetter_Method() {
"use strict";
_classCallCheck(this, A_StaticGetter_Method);
Expand All @@ -696,7 +700,7 @@ function StaticGetter() {
get: get_foo13,
set: void 0
};
var _foo43 = new WeakMap();
var _foo43 = new (), _foo43 = new WeakMap();
var A_StaticGetter_Getter = function A_StaticGetter_Getter() {
"use strict";
_classCallCheck(this, A_StaticGetter_Getter);
Expand All @@ -709,7 +713,7 @@ function StaticGetter() {
get: get_foo14,
set: void 0
};
var _foo44 = new WeakMap();
var _foo44 = new (), _foo44 = new WeakMap();
var A_StaticGetter_Setter = function A_StaticGetter_Setter() {
"use strict";
_classCallCheck(this, A_StaticGetter_Setter);
Expand All @@ -722,6 +726,7 @@ function StaticGetter() {
get: get_foo15,
set: void 0
};
var _foo45 = new ();
var A_StaticGetter_StaticField = function A_StaticGetter_StaticField() {
"use strict";
_classCallCheck(this, A_StaticGetter_StaticField);
Expand All @@ -730,6 +735,7 @@ function StaticGetter() {
get: get_foo16,
set: void 0
};
var _foo46 = new ();
var A_StaticGetter_StaticMethod = function A_StaticGetter_StaticMethod() {
"use strict";
_classCallCheck(this, A_StaticGetter_StaticMethod);
Expand All @@ -738,6 +744,7 @@ function StaticGetter() {
get: get_foo17,
set: void 0
};
var _foo47 = new ();
var A_StaticGetter_StaticGetter = function A_StaticGetter_StaticGetter() {
"use strict";
_classCallCheck(this, A_StaticGetter_StaticGetter);
Expand All @@ -746,6 +753,7 @@ function StaticGetter() {
get: get_foo18,
set: void 0
};
var _foo48 = new ();
var A_StaticGetter_StaticSetter = function A_StaticGetter_StaticSetter() {
"use strict";
_classCallCheck(this, A_StaticGetter_StaticSetter);
Expand Down Expand Up @@ -774,7 +782,7 @@ function StaticSetter() {
};
var set_foo20 = function set_foo20(value) {};
var set_foo20 = function set_foo20(value) {};
var _foo = new WeakMap();
var _foo = new (), _foo = new WeakMap();
var A_StaticSetter_Field = function A_StaticSetter_Field() {
"use strict";
_classCallCheck(this, A_StaticSetter_Field);
Expand All @@ -787,7 +795,7 @@ function StaticSetter() {
get: void 0,
set: set_foo
};
var _foo49 = new WeakSet();
var _foo49 = new (), _foo49 = new WeakSet();
var A_StaticSetter_Method = function A_StaticSetter_Method() {
"use strict";
_classCallCheck(this, A_StaticSetter_Method);
Expand All @@ -797,7 +805,7 @@ function StaticSetter() {
get: void 0,
set: set_foo14
};
var _foo50 = new WeakMap();
var _foo50 = new (), _foo50 = new WeakMap();
var A_StaticSetter_Getter = function A_StaticSetter_Getter() {
"use strict";
_classCallCheck(this, A_StaticSetter_Getter);
Expand All @@ -810,7 +818,7 @@ function StaticSetter() {
get: void 0,
set: set_foo15
};
var _foo51 = new WeakMap();
var _foo51 = new (), _foo51 = new WeakMap();
var A_StaticSetter_Setter = function A_StaticSetter_Setter() {
"use strict";
_classCallCheck(this, A_StaticSetter_Setter);
Expand All @@ -823,6 +831,7 @@ function StaticSetter() {
get: void 0,
set: set_foo16
};
var _foo52 = new ();
var A_StaticSetter_StaticField = function A_StaticSetter_StaticField() {
"use strict";
_classCallCheck(this, A_StaticSetter_StaticField);
Expand All @@ -835,6 +844,7 @@ function StaticSetter() {
writable: true,
value: "foo"
};
var _foo53 = new ();
var A_StaticSetter_StaticMethod = function A_StaticSetter_StaticMethod() {
"use strict";
_classCallCheck(this, A_StaticSetter_StaticMethod);
Expand All @@ -843,6 +853,7 @@ function StaticSetter() {
get: void 0,
set: set_foo18
};
var _foo54 = new ();
var A_StaticSetter_StaticGetter = function A_StaticSetter_StaticGetter() {
"use strict";
_classCallCheck(this, A_StaticSetter_StaticGetter);
Expand All @@ -851,6 +862,7 @@ function StaticSetter() {
get: get_foo20,
set: set_foo19
};
var _foo55 = new ();
var A_StaticSetter_StaticSetter = function A_StaticSetter_StaticSetter() {
"use strict";
_classCallCheck(this, A_StaticSetter_StaticSetter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ function _checkPrivateRedeclaration(obj, privateCollection) {
function _classPrivateFieldInit(obj, privateMap, value) {
_checkPrivateRedeclaration(obj, privateMap), privateMap.set(obj, value);
}
var _field = new WeakMap(), _method = new WeakSet(), _acc = new WeakMap(), A = function() {
var _field = new WeakMap(), _method = new WeakSet(), _acc = new WeakMap();
new ();
var A = function() {
"use strict";
var obj, privateSet;
!function(instance, Constructor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function _templateObject1() {
return data;
}, data;
}
new (), new ();
var A = function() {
"use strict";
var Constructor, protoProps, staticProps;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
function _classCheckPrivateStaticAccess(receiver, classConstructor) {
if (receiver !== classConstructor) throw new TypeError("Private static access of wrong provenance");
}
var A1 = function(name) {
var _prop = new (), _roProp = new (), A1 = function(name) {
"use strict";
!function(instance, Constructor) {
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
new ();
export var S = function() {
"use strict";
!function(instance, Constructor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function _classCheckPrivateStaticAccess(receiver, classConstructor) {
return this._invoke("return", arg);
};
import regeneratorRuntime from "regenerator-runtime";
var A = function() {
var _quux = new (), A = function() {
"use strict";
_classCallCheck(this, A), _classStaticPrivateMethodGet(A, A, foo).call(A, 30), _classStaticPrivateMethodGet(A, A, bar).call(A, 30), _classStaticPrivateMethodGet(A, A, bar).call(A, 30), _classStaticPrivateFieldSpecSet(A, A, _quux, _classStaticPrivateMethodGet(A, A, quux) + 1), _classStaticPrivateFieldSpecSet(A, A, _quux, +_classStaticPrivateMethodGet(A, A, quux) + 1);
}, __quux = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function _classCheckPrivateStaticAccess(receiver, classConstructor) {
return this._invoke("return", arg);
};
import regeneratorRuntime from "regenerator-runtime";
var A = function() {
var _quux = new (), A = function() {
"use strict";
_classCallCheck(this, A), _classStaticPrivateMethodGet(A, A, foo).call(A, 30), _classStaticPrivateMethodGet(A, A, bar).call(A, 30), _classStaticPrivateMethodGet(A, A, bar).call(A, 30), _classStaticPrivateFieldSpecSet(A, A, _quux, _classStaticPrivateMethodGet(A, A, quux) + 1), _classStaticPrivateFieldSpecSet(A, A, _quux, +_classStaticPrivateMethodGet(A, A, quux) + 1);
}, __quux = {
Expand Down

0 comments on commit 9de116d

Please sign in to comment.