Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: test/mjsunit/harmony/typesystem/simple-types.js

Issue 1817353003: Add tests for variable declarations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@types
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/mjsunit/harmony/typesystem/simple-types.js
diff --git a/test/mjsunit/harmony/typesystem/simple-types.js b/test/mjsunit/harmony/typesystem/simple-types.js
index 59a6350ba1accab9274e9a0681eb03bb998424d9..1f905cdf87543f950fb4791d2bb5b57d2fa42209 100644
--- a/test/mjsunit/harmony/typesystem/simple-types.js
+++ b/test/mjsunit/harmony/typesystem/simple-types.js
@@ -16,33 +16,33 @@ let test_size = 1000;
(function TestPrimaryTypes(size) {
Test(size, [
- new TestGen(4, ValidPrimaryTypes, [CheckValid], true),
- new TestGen(1, InvalidPrimaryTypes, [CheckInvalid], true)
+ new TestGen(4, ValidPrimaryTypes, [CheckValidType], true),
+ new TestGen(1, InvalidPrimaryTypes, [CheckInvalidType], true)
]);
})(test_size);
(function TestIntersectionTypes(size) {
Test(size, [
- new TestGen(4, ValidIntersectionTypes, [CheckValid], true),
- new TestGen(1, InvalidIntersectionTypes, [CheckInvalid], true)
+ new TestGen(4, ValidIntersectionTypes, [CheckValidType], true),
+ new TestGen(1, InvalidIntersectionTypes, [CheckInvalidType], true)
]);
})(test_size);
(function TestUnionTypes(size) {
Test(size, [
- new TestGen(4, ValidUnionTypes, [CheckValid], true),
- new TestGen(1, InvalidUnionTypes, [CheckInvalid], true)
+ new TestGen(4, ValidUnionTypes, [CheckValidType], true),
+ new TestGen(1, InvalidUnionTypes, [CheckInvalidType], true)
]);
})(test_size);
(function TestFunctionAndConstructorTypes(size) {
Test(size, [
- new TestGen(4, ValidFunctionTypes, [CheckValid], false),
- new TestGen(1, InvalidFunctionTypes, [CheckInvalid], false),
- new TestGen(4, ValidFunctionTypes, [CheckValid], true),
- new TestGen(1, InvalidFunctionTypes, [CheckInvalid], true)
+ new TestGen(4, ValidFunctionTypes, [CheckValidType], false),
+ new TestGen(1, InvalidFunctionTypes, [CheckInvalidType], false),
+ new TestGen(4, ValidFunctionTypes, [CheckValidType], true),
+ new TestGen(1, InvalidFunctionTypes, [CheckInvalidType], true)
]);
})(test_size);
« no previous file with comments | « test/mjsunit/harmony/typesystem/object-types.js ('k') | test/mjsunit/harmony/typesystem/string-literal-types.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698