forked from enviPath/enviPy
Current Dev State
This commit is contained in:
32
static/js/ketcher2/node_modules/varstream/tests/fixtures/0-result.dat
generated
vendored
Executable file
32
static/js/ketcher2/node_modules/varstream/tests/fixtures/0-result.dat
generated
vendored
Executable file
@ -0,0 +1,32 @@
|
||||
aSimpleIntValue=7
|
||||
aSimpleIntNegativeValue=4988
|
||||
aSimpleFloatValue=401.99999999999994
|
||||
aSimpleFloatNegativeValue=476400
|
||||
aSimpleBoolValueTrue=true
|
||||
aSimpleBoolValueFalse=false
|
||||
aSimpleNullValue=null
|
||||
aSimpleStringValue=I'm the king of the world! Yep!
|
||||
aSimpleStringMultilineValue=I'm the king of the world!\
|
||||
You know!\
|
||||
It's true.\
|
||||
Yep.
|
||||
treeRoot.branch1.aSimpleIntValue=2000
|
||||
treeRoot.branch1.aSimpleIntNegativeValue=-2000
|
||||
treeRoot.branch3.aSimpleBoolValueFalse=false
|
||||
treeRoot.branch3.branch1.aSimpleNullValue=null
|
||||
treeRoot.branch3.branch1.aSimpleStringValue=I'm not the king of the world!
|
||||
treeRoot.branch3.branch2.aSimpleStringMultilineValue=I'm not the king of the world!\
|
||||
You know!\
|
||||
It's true.
|
||||
treeRoot.branch3.branch2.aSimpleWellDeclaredStringValue="I'm not the king of the world!"
|
||||
treeRoot.branch3.branch2.branch1.aSimpleWellDeclaredStringMultilineValue="I'm not the king of the world!
|
||||
treeRoot.branch3.aSimpleBoolValueTrue=true
|
||||
treeRoot.branch3.branch4&=treeRoot.branch3.branch2
|
||||
treeRoot.branch2.aSimpleFloatValue=2.0001
|
||||
treeRoot.branch2.aSimpleFloatNegativeValue=-1000.0002
|
||||
aSimpleWellDeclaredStringValue=undefined" Yep!"
|
||||
aSimpleWellDeclaredStringMultilineValue=undefined"
|
||||
aSimpleArray.0=10
|
||||
aSimpleArray.1=10
|
||||
aSimpleArray2.0.value=9
|
||||
aSimpleArray2.1.value=9
|
||||
12
static/js/ketcher2/node_modules/varstream/tests/fixtures/1-simple.dat
generated
vendored
Executable file
12
static/js/ketcher2/node_modules/varstream/tests/fixtures/1-simple.dat
generated
vendored
Executable file
@ -0,0 +1,12 @@
|
||||
# Simple values
|
||||
aSimpleIntValue=1898
|
||||
aSimpleIntNegativeValue=-1669
|
||||
aSimpleFloatValue=1.0025
|
||||
aSimpleFloatNegativeValue=-1191.0025
|
||||
aSimpleBoolValueTrue=true
|
||||
aSimpleBoolValueFalse=false
|
||||
aSimpleNullValue=null
|
||||
aSimpleStringValue=I'm the king of the world!
|
||||
aSimpleStringMultilineValue=I'm the king of the world!\
|
||||
You know!\
|
||||
It's true.
|
||||
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/2-trees.dat
generated
vendored
Executable file
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/2-trees.dat
generated
vendored
Executable file
@ -0,0 +1,16 @@
|
||||
# Simple values in a tree
|
||||
treeRoot.branch1.aSimpleIntValue=1898
|
||||
treeRoot.branch1.aSimpleIntNegativeValue=-1669
|
||||
treeRoot.branch2.aSimpleFloatValue=1.0025
|
||||
treeRoot.branch2.aSimpleFloatNegativeValue=-1191.0025
|
||||
treeRoot.branch3.aSimpleBoolValueTrue=true
|
||||
treeRoot.branch3.aSimpleBoolValueFalse=false
|
||||
treeRoot.branch3.branch1.aSimpleNullValue=null
|
||||
treeRoot.branch3.branch1.aSimpleStringValue=I'm the king of the world!
|
||||
treeRoot.branch3.branch2.aSimpleStringMultilineValue=I'm the king of the world!\
|
||||
You know!\
|
||||
It's true.
|
||||
treeRoot.branch3.branch2.aSimpleWellDeclaredStringValue="I'm the king of the world!"
|
||||
treeRoot.branch3.branch2.branch1.aSimpleWellDeclaredStringMultilineValue="I'm the king of the world!
|
||||
You \"know\"!
|
||||
It's true."
|
||||
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/3-delete.dat
generated
vendored
Executable file
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/3-delete.dat
generated
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
treeRoot.branch1.aSimpleIntNegativeValue=
|
||||
treeRoot.branch2=
|
||||
treeRoot.branch3.aSimpleBoolValueTrue=
|
||||
treeRoot.branch3.branch1.aSimpleStringValue=
|
||||
# above lines should delete indexes
|
||||
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/4-backward.dat
generated
vendored
Executable file
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/4-backward.dat
generated
vendored
Executable file
@ -0,0 +1,16 @@
|
||||
# Simple values in a tree with backward references
|
||||
treeRoot.branch1.aSimpleIntValue=2000
|
||||
^.aSimpleIntNegativeValue=-2000
|
||||
treeRoot.branch2.aSimpleFloatValue=2.0001
|
||||
^.aSimpleFloatNegativeValue=-1000.0002
|
||||
treeRoot.branch3.aSimpleBoolValueTrue=true
|
||||
^1.branch3.aSimpleBoolValueFalse=false
|
||||
^2.branch1.aSimpleNullValue=null
|
||||
^.aSimpleStringValue=I'm not the king of the world!
|
||||
^2.branch2.aSimpleStringMultilineValue=I'm not the king of the world!\
|
||||
You know!\
|
||||
It's true.
|
||||
^.aSimpleWellDeclaredStringValue="I'm not the king of the world!"
|
||||
^.branch1.aSimpleWellDeclaredStringMultilineValue="I'm not the king of the world!
|
||||
You \"know\"!
|
||||
It's true."
|
||||
22
static/js/ketcher2/node_modules/varstream/tests/fixtures/5-operators.dat
generated
vendored
Executable file
22
static/js/ketcher2/node_modules/varstream/tests/fixtures/5-operators.dat
generated
vendored
Executable file
@ -0,0 +1,22 @@
|
||||
# Simple values in a tree with operators
|
||||
# Numbers
|
||||
aSimpleIntValue+=5
|
||||
aSimpleIntValue*=2
|
||||
aSimpleIntValue-=15
|
||||
aSimpleIntValue%=8
|
||||
aSimpleIntNegativeValue+=6
|
||||
aSimpleIntNegativeValue*=-3
|
||||
aSimpleIntNegativeValue-=1
|
||||
aSimpleFloatValue+=0.0025
|
||||
aSimpleFloatValue/=0.0025
|
||||
aSimpleFloatNegativeValue-=-0.0025
|
||||
aSimpleFloatNegativeValue/=-0.0025
|
||||
# Strings
|
||||
aSimpleStringValue+= Yep!
|
||||
aSimpleStringMultilineValue+=\
|
||||
Yep.
|
||||
aSimpleWellDeclaredStringValue+=" Yep!"
|
||||
aSimpleWellDeclaredStringMultilineValue+="
|
||||
Yep."
|
||||
# Objects
|
||||
treeRoot.branch3.branch4&=treeRoot.branch3.branch2
|
||||
20
static/js/ketcher2/node_modules/varstream/tests/fixtures/6-arrays.dat
generated
vendored
Executable file
20
static/js/ketcher2/node_modules/varstream/tests/fixtures/6-arrays.dat
generated
vendored
Executable file
@ -0,0 +1,20 @@
|
||||
# Playing with arrays
|
||||
aSimpleArray.!=0
|
||||
aSimpleArray.+=1
|
||||
aSimpleArray.+=2
|
||||
aSimpleArray.+=3
|
||||
^.+=4
|
||||
^.+=5
|
||||
^.+=6
|
||||
^.+=7
|
||||
^.*=8
|
||||
^.*=9
|
||||
aSimpleArray.+=9
|
||||
aSimpleArray.*=8
|
||||
aSimpleArray2.!.value=0
|
||||
aSimpleArray2.+.value=1
|
||||
aSimpleArray2.!.value=2
|
||||
aSimpleArray2.+.value=3
|
||||
aSimpleArray2.*.value=4
|
||||
aSimpleArray2.0.value=5
|
||||
aSimpleArray2.9.value=5
|
||||
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/7-truncated-part1.dat
generated
vendored
Executable file
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/7-truncated-part1.dat
generated
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
# More complicated backward references
|
||||
aSimpleArray.+.test.test=Final pop !
|
||||
"-1.test.test=Final pop modified !
|
||||
aSimpleArray.+.test.test=New final pop !
|
||||
"-2.+.test.test=New final pop modified !
|
||||
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/7-truncated-part2.dat
generated
vendored
Executable file
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/7-truncated-part2.dat
generated
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
# More complicated backward references
|
||||
aSimpleArray.+.test.test=Final pop !
|
||||
"-1.test.test=Final pop modified !
|
||||
aSimpleArray.+.test.test=New final pop !
|
||||
"-2.+.test.test=New final pop modified !
|
||||
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/8-rightval.dat
generated
vendored
Executable file
5
static/js/ketcher2/node_modules/varstream/tests/fixtures/8-rightval.dat
generated
vendored
Executable file
@ -0,0 +1,5 @@
|
||||
aSimpleArray.!=10
|
||||
aSimpleArray.+&=aSimpleArray.*
|
||||
aSimpleArray2.!.value=9
|
||||
aSimpleArray2.+.value&=aSimpleArray2.*.value
|
||||
|
||||
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/9-othertext.dat
generated
vendored
Executable file
16
static/js/ketcher2/node_modules/varstream/tests/fixtures/9-othertext.dat
generated
vendored
Executable file
@ -0,0 +1,16 @@
|
||||
# Simple values
|
||||
aSimpleIntValue=1898
|
||||
aSimpleIntNegativeValue=-1669
|
||||
aSimpleFloatValue=1.0025
|
||||
aSimpleFloatNegativeValue=-1191.0025
|
||||
aSimpleBoolValueTrue=true
|
||||
aSimpleBoolValueFalse=false
|
||||
aSimpleNullValue=null
|
||||
aSimpleStringValue=I'm the king of the world!
|
||||
aSimpleStringMultilineValue=I'm the king of the world!\
|
||||
You know!\
|
||||
It's true.
|
||||
aSimpleWellDeclaredStringValue="I'm the king of the world!"
|
||||
aSimpleWellDeclaredStringMultilineValue="I'm the king of the world!
|
||||
You \"know\"!
|
||||
It's true."
|
||||
18
static/js/ketcher2/node_modules/varstream/tests/fixtures/y-complexarray.dat
generated
vendored
Normal file
18
static/js/ketcher2/node_modules/varstream/tests/fixtures/y-complexarray.dat
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
aComplexerArray.+.value=plop
|
||||
aComplexerArray.*.value2=plip
|
||||
aComplexerArray.*.subarray.+.value=plop
|
||||
aComplexerArray.*.subarray.*.value=plip
|
||||
aComplexerArray.*.subarray.+.value=plop
|
||||
aComplexerArray.*.subarray.*.value=plip
|
||||
aComplexerArray.*.subarray.+.value=plop
|
||||
aComplexerArray.*.subarray.*.value=plip
|
||||
aComplexerArray.*.subarray.*.subarray.+.value=plop
|
||||
aComplexerArray.*.subarray.*.subarray.*.value=plip
|
||||
aComplexerArray.+.value=plop
|
||||
aComplexerArray.*.value2=plip
|
||||
aComplexerArray.*.+=plop
|
||||
aComplexerArray.*.+=plip
|
||||
aComplexerArray.*.*.+=plop
|
||||
aComplexerArray.*.*.+=plip
|
||||
aComplexerArray.+.value=plop
|
||||
aComplexerArray.*.value2=plip
|
||||
6
static/js/ketcher2/node_modules/varstream/tests/fixtures/z-circular.dat
generated
vendored
Normal file
6
static/js/ketcher2/node_modules/varstream/tests/fixtures/z-circular.dat
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
childs.+.childs.+.title=test-file1
|
||||
childs.*.childs.*.parent&=childs.*
|
||||
childs.*.childs.+.title=test-file2
|
||||
childs.*.childs.*.parent&=childs.*
|
||||
childs.*.index.title=test-index
|
||||
# voir avec root scope
|
||||
Reference in New Issue
Block a user