summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-10-05 20:40:26 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-10-10 00:23:01 +1100
commit3f5e52f7743dda977dcf7eb2a103f1fded0b6ab4 (patch)
treeb2403ae8fa35337b9048c2ea2058032977d0e4b6
parent2e05ac0c90848c71ab23728859a7bd4b67c39114 (diff)
another integration test
-rw-r--r--test/integration/searchingInStagingPanel/recording.json1
-rw-r--r--test/integration/searchingInStagingPanel/snapshot.txt36
2 files changed, 37 insertions, 0 deletions
diff --git a/test/integration/searchingInStagingPanel/recording.json b/test/integration/searchingInStagingPanel/recording.json
new file mode 100644
index 000000000..23f66dad6
--- /dev/null
+++ b/test/integration/searchingInStagingPanel/recording.json
@@ -0,0 +1 @@
+[{"Timestamp":38,"Event":{"Type":1,"Mod":0,"Key":0,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":0,"Bytes":null}},{"Timestamp":1264,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":2040,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":47,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Lw=="}},{"Timestamp":2408,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":108,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bA=="}},{"Timestamp":2448,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":105,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"aQ=="}},{"Timestamp":2504,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":2616,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":2712,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":2896,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":52,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"NA=="}},{"Timestamp":3136,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":3728,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":100,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZA=="}},{"Timestamp":4255,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":5192,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":47,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Lw=="}},{"Timestamp":5504,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":108,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bA=="}},{"Timestamp":5552,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":105,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"aQ=="}},{"Timestamp":5584,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":5711,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":5792,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":6088,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":50,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Mg=="}},{"Timestamp":6320,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":6711,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":7222,"Event":{"Type":0,"Mod":0,"Key":27,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Gw=="}},{"Timestamp":8496,"Event":{"Type":0,"Mod":0,"Key":27,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Gw=="}},{"Timestamp":8920,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":99,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Yw=="}},{"Timestamp":9528,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":111,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bw=="}},{"Timestamp":9584,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":110,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"bg=="}},{"Timestamp":9728,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":9992,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":10720,"Event":{"Type":0,"Mod":0,"Key":32,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"IA=="}},{"Timestamp":11072,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":99,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"Yw=="}},{"Timestamp":11368,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":116,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"dA=="}},{"Timestamp":11424,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":101,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"ZQ=="}},{"Timestamp":11608,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":115,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"cw=="}},{"Timestamp":11648,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":116,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"dA=="}},{"Timestamp":12352,"Event":{"Type":0,"Mod":0,"Key":13,"Ch":0,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"DQ=="}},{"Timestamp":13000,"Event":{"Type":0,"Mod":0,"Key":0,"Ch":113,"Width":0,"Height":0,"Err":null,"MouseX":0,"MouseY":0,"N":1,"Bytes":"cQ=="}}] \ No newline at end of file
diff --git a/test/integration/searchingInStagingPanel/snapshot.txt b/test/integration/searchingInStagingPanel/snapshot.txt
new file mode 100644
index 000000000..281d5ffca
--- /dev/null
+++ b/test/integration/searchingInStagingPanel/snapshot.txt
@@ -0,0 +1,36 @@
+On branch master
+nothing to commit, working tree clean
+line 1
+line 2
+line 3
+test
+
+
+diff --git a/myfile1 b/myfile1
+index 7bba8c8..a92d664 100644
+--- a/myfile1
++++ b/myfile1
+@@ -1,2 +1,3 @@
+ line 1
+ line 2
++line 3
+one
+
+
+diff --git a/myfile1 b/myfile1
+index 89b24ec..7bba8c8 100644
+--- a/myfile1
++++ b/myfile1
+@@ -1 +1,2 @@
+ line 1
++line 2
+myfile1
+
+
+diff --git a/myfile1 b/myfile1
+new file mode 100644
+index 0000000..89b24ec
+--- /dev/null
++++ b/myfile1
+@@ -0,0 +1 @@
++line 1