aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2018-09-29 15:04:38 +0200
committerTeddy Wing2018-09-29 15:05:08 +0200
commitcf4736db68e9d797f489c87bf3c5b06913010e36 (patch)
treed784a892176874983f92e9f512f6fae31a29e5d7 /src
parentdece42a1849477d359f9be1503bb66ba67645237 (diff)
downloaddome-key-map-cf4736db68e9d797f489c87bf3c5b06913010e36.tar.bz2
parser: Add some stub tests for a new `Action` parser
Ideas for some things we should be testing.
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 148187f..50b15b3 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -373,6 +373,30 @@ mod tests {
}
#[test]
+ fn action_parses_map_with_simple_characters() {
+ }
+
+ #[test]
+ fn action_parses_map_with_modifier() {
+ }
+
+ #[test]
+ fn action_parses_map_with_special_key() {
+ }
+
+ #[test]
+ fn action_parses_map_with_backslash_escape() {
+ }
+
+ #[test]
+ fn action_parses_map_with_less_than_escape() {
+ }
+
+ #[test]
+ fn action_parses_command_to_vec_of_words() {
+ }
+
+ #[test]
fn map_parses_map_line() {
let text = "map <play><down> test
";