"!": {
multiOutput: ["echo foo"]
},
+ get Clistkeys() this.listcommands,
+ Cmap: {},
+ Cnoremap: {},
+ Cunmap: {},
+ get Ilistkeys() this.listcommands,
+ Imap: {},
+ Inoremap: {},
+ Iunmap: {},
abbreviate: {
+ error: ["!"],
someOutput: ["", "abc"],
noOutput: ["abc def", "-js abc def"],
completions: ["", "abc ", "-js abc "]
},
addons: {
+ error: ["!"],
multiOutput: ["", "dactyl", "-type=extension", "-type=extension dactyl"],
completions: [
"",
anyOutput: ["about:pentadactyl"],
completions: [["", hasItems]]
},
+ get blistkeys() this.listcommands,
+ bmap: {},
bmark: {
singleOutput: ["", "-tags=foo -title=bar -keyword=baz -charset=UTF-8 -post=quux about:pentadactyl"],
error: ["-tags=foo -title=bar -keyword=baz -charset=nonExistentCharset -post=quux about:pentadactyl"],
"-max=1 -keyword=foo -tags=bar -title=baz about:"
]
},
+ bnoremap: {},
buffer: {
anyOutput: ["", "1"],
noOutput: ["!", "! 1"],
]
},
buffers: {
+ error: ["!"],
multiOutput: ["", "1"],
completions: ["", "1"]
},
+ bunmap: {},
cd: {
+ error: ["!"],
singleOutput: ["", "~/"],
completions: ["", "~/"]
},
+ get clistkeys() this.listcommands,
+ cmap: {},
+ cnoremap: {},
colorscheme: {
- error: ["", "some-nonexistent-scheme"]
+ error: ["!", "", "some-nonexistent-scheme"]
},
command: {
init: ["delc!"],
["-group=user ", hasItems]
]
},
- contexts: {}, // Not testable in this manner
+ completions: {
+ error: ["!", ""]
+ },
+ contexts: { // Not testable in this manner
+ error: ["!"]
+ },
cookies: {
anyOutput: ["dactyl.sf.net", "dactyl.sf.net list"],
- error: [""],
+ error: ["!", ""],
completions: [
"",
["dactyl.sf.net ", hasItems]
]
},
+ cunabbreviate: {},
+ cunmap: {},
delbmarks: { anyOutput: ["", "about:pentadactyl"] },
delcommand: [
{
error: ["foo"]
}
],
+ delgroup: {
+ error: ["", "! foo", "builtin"],
+ completions: [""]
+ },
delmacros: {
- error: [""],
+ error: ["", "! foo"],
noOutput: ["x"],
completions: ["", "x"]
},
completions: ["", "-name=", "-name=foo ", "-index=", "-index="]
},
dialog: {
+ error: ["!", ""],
// Skip implementation for now
completions: [
["", hasntNullItems]
]
},
- doautoall: {}, // Skip for now
- doautocmd: {}, // Skip for now
+ dlclear: {
+ error: ["!"]
+ },
+ doautoall: {
+ error: ["!"]
+ },
+ doautocmd: {
+ error: ["!"]
+ },
downloads: {
+ error: ["!"],
multiOutput: ["", "dactyl", "dactyl"]
},
echo: {
+ error: ["!"],
singleOutput: [
["' - '", " - "]
],
__proto__: this.echo,
}),
get echomsg() this.echo,
- else: {}, // Skip for now
- elseif: {}, // Skip for now
+ else: {
+ error: ["!", "foo"]
+ },
+ elseif: {
+ error: ["!", ""]
+ },
emenu: {
noOutput: ["View.Zoom.Zoom In", "View.Zoom.Zoom Out"],
- error: [""],
+ error: ["!", ""],
completions: [
["", hasItems],
["View.", hasItems]
]
},
- endif: {}, // Skip for now
+ endif: {
+ error: ["!", "foo"]
+ },
execute: {
+ error: ["!"],
noOutput: ["", "'js " + "".quote() + "'"],
someOutput: ["'ls'"],
completions: [["", hasItems]]
},
+ exit: {
+ error: ["foo"]
+ },
extadd: {
completions: [["", hasItems]],
- error: [""]
+ error: ["!", ""]
},
extdelete: {
completions: [["", hasItems]],
noOutput: ["<Esc>"],
error: [""]
},
- finish: { noOutput: [""] },
+ finish: {
+ error: ["!", "foo"],
+ noOutput: [""]
+ },
forward: { noOutput: [""] },
- frameonly: { noOutput: [""] },
- delgroup: {
- error: ["builtin"],
- completions: [""]
+ frameonly: {
+ error: ["!", "foo"],
+ noOutput: [""]
},
group: {
multiOutput: [""],
},
hardcopy: {}, // Skip for now
help: {
+ error: ["!"],
noOutput: ["", "intro"],
cleanup: ["tabdelete", "tabdelete"],
completions: [
},
get helpall() this.help,
highlight: {
+ error: ["!"],
multiOutput: ["", "Help"],
noOutput: [
"Help foo: bar;",
"-sort=+date about:"
]
},
- if: {}, // Skip for now
+ if: {
+ error: ["!", ""],
+ },
+ iabbreviate: {},
+ get ilistkeys() this.listcommands,
+ imap: {},
+ inoremap: {},
+ iunabbreviate: {},
+ iunmap: {},
javascript: {
- noOutput: ["''", "'\\n'", "<pre>foo bar</pre>", "window"],
+ noOutput: ["''", "'\\n'", "<pre>foo bar</pre>", "window", "<<EOF\n''\nEOF"],
completions: [
["", hasItems],
["window", hasItems],
]
},
jumps: {
+ error: ["!", "foo"],
multiOutput: [""]
},
keepalt: {
- error: [""],
+ error: ["!", "", "some-nonexistent-command"],
noOutput: ["js ''"],
- anyOutput: ["echo 'foo'"]
+ anyOutput: ["echo 'foo'"],
+ completions: [["", hasItems]]
+ },
+ let: {
+ error: ["!"]
},
- let: {}, // Deprecated. Fuck it.
listcommands: {
+ error: ["!"],
anyOutput: ["", "in"],
completions: [
["", hasItems],
get listoptions() this.listcommands,
loadplugins: {},
macros: {
+ error: ["!"],
multiOutput: [""],
completions: [""]
},
map: {
+ error: ["!"],
init: ["unmap!"],
anyOutput: [""],
singleOutput: ["i"],
]
},
mark: {
- error: ["", "#", "xy"],
+ error: ["!", "", "#", "xy"],
noOutput: ["y"],
completions: [""]
},
marks: {
init: ["delmarks q"],
multiOutput: ["", "y"],
- error: ["q", "#"],
+ error: ["!", "q", "#"],
completions: [""]
},
messages: {
+ error: ["!", "foo"],
anyOutput: ["messages"]
},
messclear: {
- error: ["q"],
+ error: ["!", "foo"],
noOutput: [""]
},
mkpentadactylrc: {
],
cleanup: ["silent !rm -r some-nonexistent-pentadactyl-dir/"]
},
+ get mlistkeys() this.listcommands,
+ mmap: {},
+ mnoremap: {},
+ munmap: {},
+ get nlistkeys() this.listcommands,
+ nmap: {},
+ nnoremap: {},
+ nohlfind: {
+ error: ["!", "foo"]
+ },
+ noremap: {},
normal: {
+ error: [""],
noOutput: ["<Nop>"],
singleOutput: ["<C-g>"],
multiOutput: ["g<C-g>"]
},
+ nunmap: {},
open: {
+ error: ["!"],
noOutput: ["about:blank | about:home"],
completions: [
["", hasItems],
pageinfo: {
multiOutput: ["", "fgm"],
completions: [["", hasItems]],
- error: ["abcdefghijklmnopqrstuvwxyz", "f g m"]
+ error: ["!", "abcdefghijklmnopqrstuvwxyz", "f g m"]
},
pagestyle: {
+ error: ["!"],
completions: [""]
},
- preferences: {}, // Skip for now
+ pintab: {},
+ preferences: {
+ error: ["foo"]
+ },
pwd: {
+ error: ["!", "foo"],
singleOutput: [""]
},
qmark: {
"m",
"m foo bar"
],
- error: ["", "#"],
+ error: ["!", "", "#"],
completions: [
["", hasItems],
["m ", hasItems]
]
},
qmarks: [
+ {
+ error: ["!"]
+ },
{
init: ["delqmarks a-zA-Z0-9"],
error: ["", "x"],
completions: [["", hasItems]]
}
],
- quit: {}, // Skip for now
- quitall: {}, // Skip for now
+ quit: {
+ error: ["foo"]
+ },
+ quitall: {
+ error: ["!", "foo"]
+ },
redraw: {
+ error: ["!", "foo"],
noOutput: [""]
},
- rehash: {}, // Skip for now
+ rehash: {
+ error: ["!"]
+ },
reload: {
+ error: ["foo"],
noOutput: [""]
},
reloadall: {
+ error: ["foo"],
noOutput: [""]
},
- restart: {}, // Skip
+ restart: {
+ error: ["!", "foo"]
+ },
runtime: {
init: [
"js File('~/.pentadactyl/some-nonexistent/good.css').write('')",
"some-nonexistent/good.penta"
],
error: [
+ "",
"some-nonexistent/bad.js",
"some-nonexistent/bad.penta"
],
},
saveas: {},
sbclose: {
+ error: ["!", "foo"],
noOutput: [""]
},
- scriptnames: {},
+ scriptnames: {
+ error: ["!", "foo"]
+ },
set: {
multiOutput: [
"vb?", "cpt?", "messages?", "titlestring?", "au?", "eht?",
- "cpt", "messages", "titlestring", "au", "eht"
+ "cpt", "messages", "titlestring", "au", "eht", "! "
],
noOutput: ["vb", "novb"],
completions: [
]
},
silent: {
+ error: ["!"],
noOutput: [
"echo 'foo'",
"echo " + "foo\nbar".quote(),
".pentadactyl/some-nonexistent/good.penta"
],
error: [
+ "",
".pentadactyl/some-nonexistent/really-nonexistent.js",
"~/.pentadactyl/some-nonexistent/bad.js",
"~/.pentadactyl/some-nonexistent/bad.penta",
["resource://dactyl/", hasItems]
]
}),
- stop: { noOutput: [""] },
- stopall: { noOutput: [""] },
+ stop: {
+ error: ["!", "foo"],
+ noOutput: [""]
+ },
+ stopall: {
+ error: ["!", "foo"],
+ noOutput: [""]
+ },
style: {
+ error: ["!"],
cleanup: ["delstyle -n foo"],
noOutput: [
"-name=foo http://does.not.exist/* div { display: inline; }",
["-index=", hasNItems(2)]
]
},
- tab: {},
- tabattach: {},
- tabdetach: {},
- tabdo: {},
- tabduplicate: {},
- tablast: {},
- tabmove: {},
- tabnext: {},
- tabonly: {},
+ tab: {
+ error: ["!", "", "some-nonexistent-command"],
+ noOutput: ["js ''"],
+ anyOutput: ["echo 'foo'"],
+ completions: [["", hasItems]]
+ },
+ tabattach: {
+ error: ["!", ""]
+ },
+ tabdetach: {
+ error: ["!", "foo"]
+ },
+ tabdo: {
+ error: ["!", "", "some-nonexistent-command"],
+ noOutput: ["js ''"],
+ anyOutput: ["echo 'foo'"],
+ completions: [["", hasItems]]
+ },
+ tabduplicate: {
+ error: ["foo"]
+ },
+ tablast: {
+ error: ["!", "foo"]
+ },
+ tabmove: {
+ error: [""],
+ noOutput: ["1", "$", "999", "-1", "+1", "! +1", "! -1", "-999", "+999", "! +999", "! -999"],
+ completions: [
+ ["", hasItems],
+ ["1", hasItems]
+ ]
+ },
+ tabnext: {
+ error: ["!", "foo"]
+ },
+ tabonly: {
+ error: ["!", "foo"]
+ },
tabopen: {},
- tabprevious: {},
- tabrewind: {},
- time: {},
+ tabprevious: {
+ error: ["!", "foo"]
+ },
+ tabrewind: {
+ error: ["!", "foo"]
+ },
+ time: {
+ error: ["", ":some-nonexistent-command"/*, "some_nonexistent_reference"*/], // FIXME
+ singleOutput: [":js null", "null"]
+
+ },
+ get tlistkeys() this.listcommands,
+ tmap: {},
+ tnoremap: {},
toolbarhide: {
init: [
["tbs Navigation Toolbar", toolbarState("#nav-bar", true)],
["Navigation Toolbar", toolbarState("#nav-bar", false)],
["Bookmarks Toolbar", toolbarState("#PersonalToolbar", false)]
],
- error: ["", "foo"]
+ error: ["!", "", "foo"]
},
toolbarshow: {
completions: [["", hasItems]],
["Navigation Toolbar", toolbarState("#nav-bar", true)],
["Bookmarks Toolbar", toolbarState("#PersonalToolbar", true)]
],
- error: ["", "foo"]
+ error: ["!", "", "foo"]
},
toolbartoggle: {
completions: [["", hasItems]],
["Navigation Toolbar", toolbarState("#nav-bar", false)],
["Bookmarks Toolbar", toolbarState("#PersonalToolbar", false)]
],
- error: ["", "foo"]
+ error: ["!", "", "foo"]
},
+ tunmap: {},
unabbreviate: {
noOutput: ["abc", "! "],
error: [""]
},
- undo: {},
- undoall: {},
- unlet: {},
+ undo: {
+ error: ["!"]
+ },
+ undoall: {
+ error: ["!", "foo"]
+ },
+ unpintab: {
+ error: ["!"]
+ },
+ unlet: {
+ error: [""],
+ },
unmap: {
noOutput: [
"i",
"-group="
]
},
- verbose: {},
+ verbose: {
+ error: ["!", ""]
+ },
version: {
+ error: ["foo"],
multiOutput: [
["", function (msg) {
var res = /(\w+dactyl) (\S+) \(([\^)]+)\) running on:\nMozilla/;
]
},
viewsource: {},
- winclose: {},
- window: {},
- winonly: {},
- winopen: {},
- wqall: {},
+ get vlistkeys() this.listcommands,
+ vmap: {},
+ vnoremap: {},
+ vunmap: {},
+ winclose: {
+ error: ["!", "foo"]
+ },
+ window: {
+ error: ["!", ""]
+ },
+ winonly: {
+ error: ["!", "foo"]
+ },
+ winopen: {
+ error: ["!"]
+ },
+ wqall: {
+ error: ["!", "foo"]
+ },
yank: {
multiOutput: [
["foo".quote(), /foo/],
[":addons", /Pentadactyl/]
],
error: [
+ "!", "",
":echoerr " + "foo".quote()
],
completions: [