summaryrefslogtreecommitdiffstats
path: root/test/datafile_simple.1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 17:44:55 +0000
commit5068d34c08f951a7ea6257d305a1627b09a95817 (patch)
tree08213e2be853396a3b07ce15dbe222644dcd9a89 /test/datafile_simple.1
parentInitial commit. (diff)
downloadlnav-5068d34c08f951a7ea6257d305a1627b09a95817.tar.xz
lnav-5068d34c08f951a7ea6257d305a1627b09a95817.zip
Adding upstream version 0.11.1.upstream/0.11.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--test/datafile_simple.113
-rw-r--r--test/datafile_simple.109
-rw-r--r--test/datafile_simple.1113
-rw-r--r--test/datafile_simple.1210
-rw-r--r--test/datafile_simple.1310
-rw-r--r--test/datafile_simple.1457
-rw-r--r--test/datafile_simple.1575
-rw-r--r--test/datafile_simple.169
-rw-r--r--test/datafile_simple.1722
-rw-r--r--test/datafile_simple.1823
-rw-r--r--test/datafile_simple.1953
11 files changed, 294 insertions, 0 deletions
diff --git a/test/datafile_simple.1 b/test/datafile_simple.1
new file mode 100644
index 0000000..48bb61a
--- /dev/null
+++ b/test/datafile_simple.1
@@ -0,0 +1,13 @@
+ current speed: 38 mph
+ key 0:0
+ key 0:13 ^-----------^ current speed
+pair 0:13 ^-----------^ current speed
+ key 15:15 ^
+ num 15:17 ^^ 38
+pair 15:17 ^^ 38
+msg :current speed: 38 mph
+format :#: # mph
+{
+ "col_0": "current speed",
+ "col_1": 38
+}
diff --git a/test/datafile_simple.10 b/test/datafile_simple.10
new file mode 100644
index 0000000..928f183
--- /dev/null
+++ b/test/datafile_simple.10
@@ -0,0 +1,9 @@
+ quoted string u'pm/runtime'
+ key 16:16 ^
+quot 16:26 ^--------^ pm/runtime
+pair 16:26 ^--------^ pm/runtime
+msg :quoted string u'pm/runtime'
+format :quoted string #
+{
+ "col_0": "pm/runtime"
+}
diff --git a/test/datafile_simple.11 b/test/datafile_simple.11
new file mode 100644
index 0000000..f12969f
--- /dev/null
+++ b/test/datafile_simple.11
@@ -0,0 +1,13 @@
+ version numbers 0.6.16 1.2-a1
+ key 17:17 ^
+vers 17:23 ^----^ 0.6.16
+pair 17:23 ^----^ 0.6.16
+ key 25:25 ^
+vers 25:31 ^----^ 1.2-a1
+pair 25:31 ^----^ 1.2-a1
+msg :version numbers 0.6.16 1.2-a1
+format :version numbers # #
+{
+ "col_0": "0.6.16",
+ "col_1": "1.2-a1"
+}
diff --git a/test/datafile_simple.12 b/test/datafile_simple.12
new file mode 100644
index 0000000..e19007e
--- /dev/null
+++ b/test/datafile_simple.12
@@ -0,0 +1,10 @@
+ kickoff_duration=4.41074371338e-05
+ key 0:16 ^--------------^ kickoff_duration
+ num 17:34 ^---------------^ 4.41074371338e-05
+ val 17:34 ^---------------^ 4.41074371338e-05
+pair 0:34 ^--------------------------------^ kickoff_duration=4.41074371338e-05
+msg :kickoff_duration=4.41074371338e-05
+format :kickoff_duration=#
+{
+ "kickoff_duration": 4.41074371338e-05
+}
diff --git a/test/datafile_simple.13 b/test/datafile_simple.13
new file mode 100644
index 0000000..8021010
--- /dev/null
+++ b/test/datafile_simple.13
@@ -0,0 +1,10 @@
+ kickoff_duration=4.41074371338E-05
+ key 0:16 ^--------------^ kickoff_duration
+ num 17:34 ^---------------^ 4.41074371338E-05
+ val 17:34 ^---------------^ 4.41074371338E-05
+pair 0:34 ^--------------------------------^ kickoff_duration=4.41074371338E-05
+msg :kickoff_duration=4.41074371338E-05
+format :kickoff_duration=#
+{
+ "kickoff_duration": 4.41074371338E-05
+}
diff --git a/test/datafile_simple.14 b/test/datafile_simple.14
new file mode 100644
index 0000000..4c548b9
--- /dev/null
+++ b/test/datafile_simple.14
@@ -0,0 +1,57 @@
+ FSChange(Direction.DOWNLOAD, Action.CREATE, name=Fanime 2015, route=[CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names)])
+ key 0:0
+ sym 0:8 ^------^ FSChange
+pair 0:8 ^------^ FSChange
+ key 9:9 ^
+ key 9:9 ^
+ sym 9:27 ^----------------^ Direction.DOWNLOAD
+ val 9:27 ^----------------^ Direction.DOWNLOAD
+pair 9:27 ^----------------^ Direction.DOWNLOAD
+ key 29:29 ^
+ sym 29:42 ^-----------^ Action.CREATE
+ val 29:42 ^-----------^ Action.CREATE
+pair 29:42 ^-----------^ Action.CREATE
+ key 44:48 ^--^ name
+word 49:55 ^----^ Fanime
+wspc 55:56 ^
+ num 56:60 ^--^ 2015
+ val 49:60 ^---------^ Fanime 2015
+pair 44:60 ^--------------^ name=Fanime 2015
+ key 62:67 ^---^ route
+ key 69:79 ^--------^ CloudEntry
+ key 80:86 ^----^ doc_id
+ sym 87:131 ^------------------------------------------^ 1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg
+ val 87:131 ^------------------------------------------^ 1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg
+pair 80:131 ^-------------------------------------------------^ doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg
+ key 132:140 ^------^ filename
+word 141:145 ^--^ Baby
+wspc 145:146 ^
+word 146:151 ^---^ Names
+ val 141:151 ^--------^ Baby Names
+pair 132:151 ^-----------------^ filename=Baby Names
+ grp 80:151 ^---------------------------------------------------------------------^ doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+ val 80:151 ^---------------------------------------------------------------------^ doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+pair 69:151 ^--------------------------------------------------------------------------------^ CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+ grp 69:151 ^--------------------------------------------------------------------------------^ CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+ val 69:151 ^--------------------------------------------------------------------------------^ CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+pair 62:151 ^---------------------------------------------------------------------------------------^ route=[CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+ grp 9:151 ^--------------------------------------------------------------------------------------------------------------------------------------------^ Direction.DOWNLOAD, Action.CREATE, name=Fanime 2015, route=[CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+pair 9:151 ^--------------------------------------------------------------------------------------------------------------------------------------------^ Direction.DOWNLOAD, Action.CREATE, name=Fanime 2015, route=[CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names
+msg :FSChange(Direction.DOWNLOAD, Action.CREATE, name=Fanime 2015, route=[CloudEntry(doc_id=1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg,filename=Baby Names)])
+format :#(#)])
+{
+ "col_0": "FSChange",
+ "col_1": {
+ "col_0": "Direction.DOWNLOAD",
+ "col_1": "Action.CREATE",
+ "name": "Fanime 2015",
+ "route": [
+ {
+ "CloudEntry": {
+ "doc_id": "1g5Yho6JmysVGRO-Xmfurra_cQRFb0nTIfZRhGompweg",
+ "filename": "Baby Names"
+ }
+ }
+ ]
+ }
+}
diff --git a/test/datafile_simple.15 b/test/datafile_simple.15
new file mode 100644
index 0000000..f0e053d
--- /dev/null
+++ b/test/datafile_simple.15
@@ -0,0 +1,75 @@
+ Worker successfully completed [ImmutableChange(Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False)]
+ key 31:31 ^
+ key 31:46 ^-------------^ ImmutableChange
+ key 47:47 ^
+ sym 47:63 ^--------------^ Direction.UPLOAD
+ val 47:63 ^--------------^ Direction.UPLOAD
+pair 47:63 ^--------------^ Direction.UPLOAD
+ key 65:65 ^
+ sym 65:78 ^-----------^ Action.CREATE
+ val 65:78 ^-----------^ Action.CREATE
+pair 65:78 ^-----------^ Action.CREATE
+ key 80:83 ^-^ ino
+ sym 84:91 ^-----^ LocalID
+ key 92:97 ^---^ inode
+ num 98:105 ^-----^ 5567236
+ val 98:105 ^-----^ 5567236
+pair 92:105 ^-----------^ inode=5567236
+ grp 92:105 ^-----------^ inode=5567236
+pair 84:105 ^-------------------^ LocalID(inode=5567236
+ val 84:105 ^-------------------^ LocalID(inode=5567236
+pair 80:105 ^-----------------------^ ino=LocalID(inode=5567236
+ key 108:112 ^--^ path
+quot 115:140 ^-----------------------^ /Users/stack/Google Drive
+ val 115:140 ^-----------------------^ /Users/stack/Google Drive
+pair 108:140 ^------------------------------^ path=u'/Users/stack/Google Drive
+ key 143:147 ^--^ name
+quot 150:167 ^---------------^ pyjsonpath1.patch
+ val 150:167 ^---------------^ pyjsonpath1.patch
+pair 143:167 ^----------------------^ name=u'pyjsonpath1.patch
+ key 170:180 ^--------^ parent_ino
+ sym 181:188 ^-----^ LocalID
+ key 189:194 ^---^ inode
+ num 195:203 ^------^ 46166734
+ val 195:203 ^------^ 46166734
+pair 189:203 ^------------^ inode=46166734
+ grp 189:203 ^------------^ inode=46166734
+pair 181:203 ^--------------------^ LocalID(inode=46166734
+ val 181:203 ^--------------------^ LocalID(inode=46166734
+pair 170:203 ^-------------------------------^ parent_ino=LocalID(inode=46166734
+ key 206:215 ^-------^ is_folder
+cnst 216:221 ^---^ False
+ val 216:221 ^---^ False
+pair 206:221 ^-------------^ is_folder=False
+ grp 47:221 ^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False
+ val 47:221 ^----------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False
+pair 31:221 ^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ ImmutableChange(Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False
+ grp 31:221 ^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ ImmutableChange(Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False
+pair 31:221 ^--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^ ImmutableChange(Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False
+msg :Worker successfully completed [ImmutableChange(Direction.UPLOAD, Action.CREATE, ino=LocalID(inode=5567236), path=u'/Users/stack/Google Drive', name=u'pyjsonpath1.patch', parent_ino=LocalID(inode=46166734), is_folder=False)]
+format :Worker successfully completed [#)]
+[
+ {
+ "ImmutableChange": {
+ "col_0": "Direction.UPLOAD",
+ "col_1": "Action.CREATE",
+ "ino": {
+ "LocalID": [
+ {
+ "inode": 5567236
+ }
+ ]
+ },
+ "path": "/Users/stack/Google Drive",
+ "name": "pyjsonpath1.patch",
+ "parent_ino": {
+ "LocalID": [
+ {
+ "inode": 46166734
+ }
+ ]
+ },
+ "is_folder": false
+ }
+ }
+]
diff --git a/test/datafile_simple.16 b/test/datafile_simple.16
new file mode 100644
index 0000000..f549fc7
--- /dev/null
+++ b/test/datafile_simple.16
@@ -0,0 +1,9 @@
+ test: c'est la vie charlie's
+ key 0:0
+ key 0:4 ^--^ test
+pair 0:4 ^--^ test
+msg :test: c'est la vie charlie's
+format :#: c'est la vie charlie's
+{
+ "col_0": "test"
+}
diff --git a/test/datafile_simple.17 b/test/datafile_simple.17
new file mode 100644
index 0000000..132eda6
--- /dev/null
+++ b/test/datafile_simple.17
@@ -0,0 +1,22 @@
+ foo=[]; bar=['a', 'b']
+ key 0:3 ^-^ foo
+ grp 5:5 ^
+ val 5:5 ^
+pair 0:5 ^---^ foo=[
+ key 8:11 ^-^ bar
+quot 14:15 ^ a
+ val 14:15 ^ a
+quot 19:20 ^ b
+ val 19:20 ^ b
+ grp 14:20 ^----^ a', 'b
+ val 14:20 ^----^ a', 'b
+pair 8:20 ^----------^ bar=['a', 'b
+msg :foo=[]; bar=['a', 'b']
+format :foo=[#]; bar=[#]
+{
+ "foo": null,
+ "bar": [
+ "a",
+ "b"
+ ]
+}
diff --git a/test/datafile_simple.18 b/test/datafile_simple.18
new file mode 100644
index 0000000..55f125b
--- /dev/null
+++ b/test/datafile_simple.18
@@ -0,0 +1,23 @@
+ list [foo(bar=1)]
+ key 6:6 ^
+ key 6:9 ^-^ foo
+ key 10:13 ^-^ bar
+ num 14:15 ^ 1
+ val 14:15 ^ 1
+pair 10:15 ^---^ bar=1
+ grp 10:15 ^---^ bar=1
+ val 10:15 ^---^ bar=1
+pair 6:15 ^-------^ foo(bar=1
+ grp 6:15 ^-------^ foo(bar=1
+pair 6:15 ^-------^ foo(bar=1
+msg :list [foo(bar=1)]
+format :list [#)]
+[
+ {
+ "foo": [
+ {
+ "bar": 1
+ }
+ ]
+ }
+]
diff --git a/test/datafile_simple.19 b/test/datafile_simple.19
new file mode 100644
index 0000000..ce58fc9
--- /dev/null
+++ b/test/datafile_simple.19
@@ -0,0 +1,53 @@
+ list [foo(bar=1), foo(bar=2), foo(bar=3)]
+ key 6:6 ^
+ key 6:9 ^-^ foo
+ key 10:13 ^-^ bar
+ num 14:15 ^ 1
+ val 14:15 ^ 1
+pair 10:15 ^---^ bar=1
+ grp 10:15 ^---^ bar=1
+ val 10:15 ^---^ bar=1
+pair 6:15 ^-------^ foo(bar=1
+ key 18:21 ^-^ foo
+ key 22:25 ^-^ bar
+ num 26:27 ^ 2
+ val 26:27 ^ 2
+pair 22:27 ^---^ bar=2
+ grp 22:27 ^---^ bar=2
+ val 22:27 ^---^ bar=2
+pair 18:27 ^-------^ foo(bar=2
+ key 30:33 ^-^ foo
+ key 34:37 ^-^ bar
+ num 38:39 ^ 3
+ val 38:39 ^ 3
+pair 34:39 ^---^ bar=3
+ grp 34:39 ^---^ bar=3
+ val 34:39 ^---^ bar=3
+pair 30:39 ^-------^ foo(bar=3
+ grp 6:39 ^-------------------------------^ foo(bar=1), foo(bar=2), foo(bar=3
+pair 6:39 ^-------------------------------^ foo(bar=1), foo(bar=2), foo(bar=3
+msg :list [foo(bar=1), foo(bar=2), foo(bar=3)]
+format :list [#)]
+[
+ {
+ "foo": [
+ {
+ "bar": 1
+ }
+ ]
+ },
+ {
+ "foo": [
+ {
+ "bar": 2
+ }
+ ]
+ },
+ {
+ "foo": [
+ {
+ "bar": 3
+ }
+ ]
+ }
+]