-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add another test with reverse step label/label property arrangement.
- Loading branch information
1 parent
535f9b4
commit 8a3f8b8
Showing
30 changed files
with
791 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...DebugGremlinQuerySerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
g.V().hasLabel('Person').as('_a').V().hasLabel('Person').values('Age').as('_b').where('_b',lt('_a')).by().by('Age') |
59 changes: 59 additions & 0 deletions
59
...ion/BytecodeQuerySerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_a | ||
] | ||
}, | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: values, | ||
Arguments: [ | ||
Age | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_b | ||
] | ||
}, | ||
{ | ||
OperatorName: where, | ||
Arguments: [ | ||
_b, | ||
{ | ||
OperatorName: lt, | ||
Value: _a | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
Age | ||
] | ||
} | ||
] | ||
} |
59 changes: 59 additions & 0 deletions
59
...onValueProtectionSerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_a | ||
] | ||
}, | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: values, | ||
Arguments: [ | ||
Age | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_b | ||
] | ||
}, | ||
{ | ||
OperatorName: where, | ||
Arguments: [ | ||
_b, | ||
{ | ||
OperatorName: lt, | ||
Value: _a | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
Age | ||
] | ||
} | ||
] | ||
} |
1 change: 1 addition & 0 deletions
1
...son2BinaryMessageSerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!application/vnd.gremlin-v2.0+json{"requestId":"12345678-9012-3456-7890-123456789012","op":"bytecode","processor":"traversal","args":{"gremlin":{"@type":"g:Bytecode","@value":{"step":[["V"],["hasLabel","Person"],["as","_a"],["V"],["hasLabel","Person"],["values","Age"],["as","_b"],["where","_b",{"@type":"g:P","@value":{"predicate":"lt","value":"_a"}}],["by"],["by","Age"]]}},"aliases":{"g":"g"}}} |
1 change: 1 addition & 0 deletions
1
...son3BinaryMessageSerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!application/vnd.gremlin-v3.0+json{"requestId":"12345678-9012-3456-7890-123456789012","op":"bytecode","processor":"traversal","args":{"gremlin":{"@type":"g:Bytecode","@value":{"step":[["V"],["hasLabel","Person"],["as","_a"],["V"],["hasLabel","Person"],["values","Age"],["as","_b"],["where","_b",{"@type":"g:P","@value":{"predicate":"lt","value":"_a"}}],["by"],["by","Age"]]}},"aliases":{"g":"g"}}} |
9 changes: 9 additions & 0 deletions
9
...roovyGremlinQuerySerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
Script: g.V().hasLabel(_a).as(_b).V().hasLabel(_a).values(_c).as(_d).where(_d,lt(_b)).by().by(_c), | ||
Bindings: { | ||
_a: Person, | ||
_b: _a, | ||
_c: Age, | ||
_d: _b | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
.../Serialization/OuterProjectionTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
69 changes: 69 additions & 0 deletions
69
...on/RequestMessageSerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
RequestId: 12345678-9012-3456-7890-123456789012, | ||
Operation: bytecode, | ||
Processor: traversal, | ||
Arguments: { | ||
aliases: { | ||
g: g | ||
}, | ||
gremlin: { | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_a | ||
] | ||
}, | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: values, | ||
Arguments: [ | ||
Age | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_b | ||
] | ||
}, | ||
{ | ||
OperatorName: where, | ||
Arguments: [ | ||
_b, | ||
{ | ||
OperatorName: lt, | ||
Value: _a | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
Age | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...MessageWithGroovySerializationTest.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
RequestId: 12345678-9012-3456-7890-123456789012, | ||
Operation: eval, | ||
Processor: , | ||
Arguments: { | ||
aliases: { | ||
g: g | ||
}, | ||
bindings: { | ||
_a: Person, | ||
_b: _a, | ||
_c: Age, | ||
_d: _b | ||
}, | ||
gremlin: g.V().hasLabel(_a).as(_b).V().hasLabel(_a).values(_c).as(_d).where(_d,lt(_b)).by().by(_c) | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...roviders.CosmosDb.Tests/DebugTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
g.V().hasLabel('Person').as('_a').V().hasLabel('Person').values('Age').as('_b').where('_b',lt('_a')).by().by('Age') |
1 change: 1 addition & 0 deletions
1
...rs.CosmosDb.Tests/IntegrationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
17 changes: 17 additions & 0 deletions
17
...s/RequestMessageSerializationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
RequestId: 12345678-9012-3456-7890-123456789012, | ||
Operation: eval, | ||
Processor: , | ||
Arguments: { | ||
aliases: { | ||
g: g | ||
}, | ||
bindings: { | ||
_a: Person, | ||
_b: _a, | ||
_c: Age, | ||
_d: _b | ||
}, | ||
gremlin: g.V().hasLabel(_a).as(_b).V().hasLabel(_a).values(_c).as(_d).where(_d,lt(_b)).by().by(_c) | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
....CosmosDb.Tests/SerializationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
Script: g.V().hasLabel(_a).as(_b).V().hasLabel(_a).values(_c).as(_d).where(_d,lt(_b)).by().by(_c), | ||
Bindings: { | ||
_a: Person, | ||
_b: _a, | ||
_c: Age, | ||
_d: _b | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
...ers.GremlinServer.Tests/DebugTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
g.V().hasLabel('Person').as('_a').V().hasLabel('Person').values('Age').as('_b').where('_b',lt('_a')).by().by('Age') |
1 change: 1 addition & 0 deletions
1
...erver.Tests/GroovyIntegrationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
...emlinServer.Tests/IntegrationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
.../IntegrationWithoutProjectionTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
....Tests/ObjectQueryIntegrationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
1 change: 1 addition & 0 deletions
1
...ts/PasswordSecuredIntegrationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
69 changes: 69 additions & 0 deletions
69
...s/RequestMessageSerializationTests.Where_stepLabel_equals_stepLabel_property.verified.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
RequestId: 12345678-9012-3456-7890-123456789012, | ||
Operation: bytecode, | ||
Processor: traversal, | ||
Arguments: { | ||
aliases: { | ||
g: g | ||
}, | ||
gremlin: { | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_a | ||
] | ||
}, | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: hasLabel, | ||
Arguments: [ | ||
Person | ||
] | ||
}, | ||
{ | ||
OperatorName: values, | ||
Arguments: [ | ||
Age | ||
] | ||
}, | ||
{ | ||
OperatorName: as, | ||
Arguments: [ | ||
_b | ||
] | ||
}, | ||
{ | ||
OperatorName: where, | ||
Arguments: [ | ||
_b, | ||
{ | ||
OperatorName: lt, | ||
Value: _a | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
Age | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.