Skip to content

Commit

Permalink
Merge pull request #1255 from Cali0707/tck-test-fixes
Browse files Browse the repository at this point in the history
Small fixes to CESQL tck test cases
  • Loading branch information
duglin authored Feb 8, 2024
2 parents 5fadd55 + d80c7c6 commit 3ff0462
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cesql/cesql_tck/subscriptions_api_recreations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@ tests:
source: "http://www.some-website.com"

- name: Disjunctive Normal Form (1)
expresion: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
expression: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
result: true
eventOverrides:
id: "myId"
type: "example.event.success"
- name: Disjunctive Normal Form (2)
expresion: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
expression: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
result: true
eventOverrides:
id: "notmyId"
type: "example.event.warning"
source: "http://localhost.localdomain"
- name: Disjunctive Normal Form (3)
expresion: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
expression: "(id = 'myId' AND type LIKE '%.success') OR (id = 'notmyId' AND source LIKE 'http://%' AND type LIKE '%.warning')"
result: false
eventOverrides:
id: "notmyId"
Expand Down Expand Up @@ -150,7 +150,7 @@ tests:
source: "http://localhost.localdomain"
- name: Conjunctive Normal Form (4)
expression: "(id = 'myId' OR type LIKE '%.success') AND (id = 'notmyId' OR source LIKE 'https://%' OR type LIKE '%.warning')"
result: true
result: false
eventOverrides:
id: "myId"
type: "example.event.success"
Expand All @@ -160,7 +160,7 @@ tests:
error: missingAttribute
eventOverrides:
id: "myId"
type: "example.event.success"
type: "example.event.warning"
source: "http://localhost.localdomain"


Expand Down

0 comments on commit 3ff0462

Please sign in to comment.