summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2018-02-26 10:12:09 -0500
committerGitHub <noreply@github.com>2018-02-26 10:12:09 -0500
commit173e98e00b14db854d293108d559b79071dfaab2 (patch)
tree7aae8bc918e990b065c1389661906f9555f5dc12
parent5b63d98a73726a0e088c30a004baf7cbff390ada (diff)
downloadqtdeclarative-testsuites-173e98e00b14db854d293108d559b79071dfaab2.tar.gz
Revert "Additional tests for QuantifiableAssertion" (#1458)
-rw-r--r--test/language/literals/regexp/invalid-optional-lookbehind.js20
-rw-r--r--test/language/literals/regexp/invalid-optional-negative-lookbehind.js20
-rw-r--r--test/language/literals/regexp/invalid-range-lookbehind.js20
-rw-r--r--test/language/literals/regexp/invalid-range-negative-lookbehind.js20
-rw-r--r--test/language/literals/regexp/u-invalid-optional-lookbehind.js20
-rw-r--r--test/language/literals/regexp/u-invalid-optional-negative-lookahead.js20
-rw-r--r--test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js20
-rw-r--r--test/language/literals/regexp/u-invalid-quantifiable-assertion.js (renamed from test/language/literals/regexp/u-invalid-optional-lookahead.js)0
-rw-r--r--test/language/literals/regexp/u-invalid-range-lookahead.js20
-rw-r--r--test/language/literals/regexp/u-invalid-range-lookbehind.js20
-rw-r--r--test/language/literals/regexp/u-invalid-range-negative-lookahead.js20
-rw-r--r--test/language/literals/regexp/u-invalid-range-negative-lookbehind.js20
12 files changed, 0 insertions, 220 deletions
diff --git a/test/language/literals/regexp/invalid-optional-lookbehind.js b/test/language/literals/regexp/invalid-optional-lookbehind.js
deleted file mode 100644
index 0e46d6b25..000000000
--- a/test/language/literals/regexp/invalid-optional-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<=.)?/;
diff --git a/test/language/literals/regexp/invalid-optional-negative-lookbehind.js b/test/language/literals/regexp/invalid-optional-negative-lookbehind.js
deleted file mode 100644
index b972bc676..000000000
--- a/test/language/literals/regexp/invalid-optional-negative-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<!.)?/;
diff --git a/test/language/literals/regexp/invalid-range-lookbehind.js b/test/language/literals/regexp/invalid-range-lookbehind.js
deleted file mode 100644
index 2019433e8..000000000
--- a/test/language/literals/regexp/invalid-range-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<=.){2,3}/;
diff --git a/test/language/literals/regexp/invalid-range-negative-lookbehind.js b/test/language/literals/regexp/invalid-range-negative-lookbehind.js
deleted file mode 100644
index c02122bbb..000000000
--- a/test/language/literals/regexp/invalid-range-negative-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<!.){2,3}/;
diff --git a/test/language/literals/regexp/u-invalid-optional-lookbehind.js b/test/language/literals/regexp/u-invalid-optional-lookbehind.js
deleted file mode 100644
index d36b4e0c9..000000000
--- a/test/language/literals/regexp/u-invalid-optional-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<=.)?/u;
diff --git a/test/language/literals/regexp/u-invalid-optional-negative-lookahead.js b/test/language/literals/regexp/u-invalid-optional-negative-lookahead.js
deleted file mode 100644
index e12dcae6e..000000000
--- a/test/language/literals/regexp/u-invalid-optional-negative-lookahead.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-es6id: B.1.4
-description: Quantifiable assertions disallowed with `u` flag
-info: |
- The `u` flag precludes quantifiable assertions (even when Annex B is
- honored)
-
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?!.)?/u;
diff --git a/test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js b/test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js
deleted file mode 100644
index 6697fa05f..000000000
--- a/test/language/literals/regexp/u-invalid-optional-negative-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<!.)?/u;
diff --git a/test/language/literals/regexp/u-invalid-optional-lookahead.js b/test/language/literals/regexp/u-invalid-quantifiable-assertion.js
index c1d64c2c7..c1d64c2c7 100644
--- a/test/language/literals/regexp/u-invalid-optional-lookahead.js
+++ b/test/language/literals/regexp/u-invalid-quantifiable-assertion.js
diff --git a/test/language/literals/regexp/u-invalid-range-lookahead.js b/test/language/literals/regexp/u-invalid-range-lookahead.js
deleted file mode 100644
index 1c6efb12c..000000000
--- a/test/language/literals/regexp/u-invalid-range-lookahead.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-es6id: B.1.4
-description: Quantifiable assertions disallowed with `u` flag
-info: |
- The `u` flag precludes quantifiable assertions (even when Annex B is
- honored)
-
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?=.){2,3}/u;
diff --git a/test/language/literals/regexp/u-invalid-range-lookbehind.js b/test/language/literals/regexp/u-invalid-range-lookbehind.js
deleted file mode 100644
index a69084869..000000000
--- a/test/language/literals/regexp/u-invalid-range-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<=.){2,3}/u;
diff --git a/test/language/literals/regexp/u-invalid-range-negative-lookahead.js b/test/language/literals/regexp/u-invalid-range-negative-lookahead.js
deleted file mode 100644
index 18d3c1b12..000000000
--- a/test/language/literals/regexp/u-invalid-range-negative-lookahead.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2016 the V8 project authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-es6id: B.1.4
-description: Quantifiable assertions disallowed with `u` flag
-info: |
- The `u` flag precludes quantifiable assertions (even when Annex B is
- honored)
-
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?!.){2,3}/u;
diff --git a/test/language/literals/regexp/u-invalid-range-negative-lookbehind.js b/test/language/literals/regexp/u-invalid-range-negative-lookbehind.js
deleted file mode 100644
index 7bb80a249..000000000
--- a/test/language/literals/regexp/u-invalid-range-negative-lookbehind.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2018 Igalia S. L. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-esid: sec-regular-expressions-patterns
-description: Lookbehinds are not treated as a QuantifiableAssertion
-info: |
- Term[U] ::
- [~U] QuantifiableAssertion Quantifier
-
- QuantifiableAssertion[N]::
- ( ? = Disjunction[~U, ?N] )
- ( ? ! Disjunction[~U, ?N] )
-negative:
- phase: parse
- type: SyntaxError
----*/
-
-throw "Test262: This statement should not be evaluated.";
-
-/.(?<!.){2,3}/u;