-
-
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.
- Loading branch information
1 parent
e2fcdb0
commit 439a2b5
Showing
64 changed files
with
3,829 additions
and
1 deletion.
There are no files selected for viewing
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
1 change: 1 addition & 0 deletions
1
test/Core.Tests/Debugging/DefaultDebugGremlinQuerySerializationTest.Inject_Coin.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.inject(42).coin(1) |
1 change: 1 addition & 0 deletions
1
test/Core.Tests/Debugging/DefaultDebugGremlinQuerySerializationTest.V_BothE.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().bothE('LivesIn','Speaks','WorksFor').project('id','label','properties').by(id).by(label).by(__.valueMap()) |
16 changes: 16 additions & 0 deletions
16
test/Core.Tests/Serialization/BytecodeQuerySerializationTest.Inject_Coin.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,16 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: inject, | ||
Arguments: [ | ||
42 | ||
] | ||
}, | ||
{ | ||
OperatorName: coin, | ||
Arguments: [ | ||
1.0 | ||
] | ||
} | ||
] | ||
} |
53 changes: 53 additions & 0 deletions
53
test/Core.Tests/Serialization/BytecodeQuerySerializationTest.V_BothE.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,53 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: bothE, | ||
Arguments: [ | ||
LivesIn, | ||
Speaks, | ||
WorksFor | ||
] | ||
}, | ||
{ | ||
OperatorName: project, | ||
Arguments: [ | ||
id, | ||
label, | ||
properties | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
EnumName: T, | ||
EnumValue: id | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
EnumName: T, | ||
EnumValue: label | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: valueMap | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
...ts/Serialization/EmptyProjectionValueProtectionSerializationTest.Inject_Coin.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,16 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: inject, | ||
Arguments: [ | ||
42 | ||
] | ||
}, | ||
{ | ||
OperatorName: coin, | ||
Arguments: [ | ||
1.0 | ||
] | ||
} | ||
] | ||
} |
53 changes: 53 additions & 0 deletions
53
....Tests/Serialization/EmptyProjectionValueProtectionSerializationTest.V_BothE.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,53 @@ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: V | ||
}, | ||
{ | ||
OperatorName: bothE, | ||
Arguments: [ | ||
LivesIn, | ||
Speaks, | ||
WorksFor | ||
] | ||
}, | ||
{ | ||
OperatorName: project, | ||
Arguments: [ | ||
id, | ||
label, | ||
properties | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
EnumName: T, | ||
EnumValue: id | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
EnumName: T, | ||
EnumValue: label | ||
} | ||
] | ||
}, | ||
{ | ||
OperatorName: by, | ||
Arguments: [ | ||
{ | ||
StepInstructions: [ | ||
{ | ||
OperatorName: valueMap | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
31 changes: 31 additions & 0 deletions
31
.../Core.Tests/Serialization/Graphson2GremlinQuerySerializationTest.Inject_Coin.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,31 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "bytecode", | ||
"processor": "traversal", | ||
"args": { | ||
"gremlin": { | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"inject", | ||
{ | ||
"@type": "g:Int32", | ||
"@value": 42 | ||
} | ||
], | ||
[ | ||
"coin", | ||
{ | ||
"@type": "g:Double", | ||
"@value": 1 | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
test/Core.Tests/Serialization/Graphson2GremlinQuerySerializationTest.V_BothE.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 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "bytecode", | ||
"processor": "traversal", | ||
"args": { | ||
"gremlin": { | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"V" | ||
], | ||
[ | ||
"bothE", | ||
"LivesIn", | ||
"Speaks", | ||
"WorksFor" | ||
], | ||
[ | ||
"project", | ||
"id", | ||
"label", | ||
"properties" | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:T", | ||
"@value": "id" | ||
} | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:T", | ||
"@value": "label" | ||
} | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"valueMap" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
.../Core.Tests/Serialization/Graphson3GremlinQuerySerializationTest.Inject_Coin.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,31 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "bytecode", | ||
"processor": "traversal", | ||
"args": { | ||
"gremlin": { | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"inject", | ||
{ | ||
"@type": "g:Int32", | ||
"@value": 42 | ||
} | ||
], | ||
[ | ||
"coin", | ||
{ | ||
"@type": "g:Double", | ||
"@value": 1 | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
test/Core.Tests/Serialization/Graphson3GremlinQuerySerializationTest.V_BothE.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 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "bytecode", | ||
"processor": "traversal", | ||
"args": { | ||
"gremlin": { | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"V" | ||
], | ||
[ | ||
"bothE", | ||
"LivesIn", | ||
"Speaks", | ||
"WorksFor" | ||
], | ||
[ | ||
"project", | ||
"id", | ||
"label", | ||
"properties" | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:T", | ||
"@value": "id" | ||
} | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:T", | ||
"@value": "label" | ||
} | ||
], | ||
[ | ||
"by", | ||
{ | ||
"@type": "g:Bytecode", | ||
"@value": { | ||
"step": [ | ||
[ | ||
"valueMap" | ||
] | ||
] | ||
} | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...s/Serialization/Graphson3WithGroovyGremlinQuerySerializationTest.Inject_Coin.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,21 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "eval", | ||
"processor": "", | ||
"args": { | ||
"gremlin": "g.inject(_a).coin(_b)", | ||
"bindings": { | ||
"_a": { | ||
"@type": "g:Int32", | ||
"@value": 42 | ||
}, | ||
"_b": { | ||
"@type": "g:Double", | ||
"@value": 1 | ||
} | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Tests/Serialization/Graphson3WithGroovyGremlinQuerySerializationTest.V_BothE.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,19 @@ | ||
{ | ||
"requestId": "00000000-0000-0000-0000-000000000000", | ||
"op": "eval", | ||
"processor": "", | ||
"args": { | ||
"gremlin": "g.V().bothE(_a,_b,_c).project(_d,_e,_f).by(id).by(label).by(__.valueMap())", | ||
"bindings": { | ||
"_a": "LivesIn", | ||
"_b": "Speaks", | ||
"_c": "WorksFor", | ||
"_d": "id", | ||
"_e": "label", | ||
"_f": "properties" | ||
}, | ||
"aliases": { | ||
"g": "g" | ||
} | ||
} | ||
} |
Oops, something went wrong.