From 65b577d3f37e9136fc495e1a6cf4fd3aad005b70 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 20 Jan 2019 15:17:47 -0500 Subject: [PATCH 01/74] mostly working new/old for loop syntax --- .../jupyterlab-robotframework/src/mode.ts | 134 ++++++++++++++---- 1 file changed, 105 insertions(+), 29 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index ac90cbc..b388bb0 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -105,9 +105,9 @@ const VAR_NUM = /0(b[01]+|o[0-7]+|x[0-9a-f]+)|(\d+)(\.\d+)?(e-?(\d+)(\.\d+)?)?/i const VAR_BUILTIN = /(none|(cur|temp|exec)dir|\/|:|\\n|true|empty|false|null|space|test (name|documentation|status|message|tags)|prev test (name|status|message)|suite (name|source|documentation|status|message|metadata)|keyword (status|message)|(report|debug) file|log (file|level)|output (dir|file))(?=[.}]|\s+[*\-+\\%&|=> { + return { + ...rule, + regex: new RegExp( + /([\| ]* *)(\\)/.source + + (rule.regex instanceof RegExp ? rule.regex.source : rule.regex) + ), + token: + rule.token instanceof Array + ? [null, 'builtin', ...rule.token] + : [null, 'builtin', rule.token] + }; + }), + r(/(?= +[^\\])/, 'link', { pop: true, sol: true }), ...base ]; @@ -263,12 +338,11 @@ states.test_cases = [ RULE_SETTING_KEYWORD, r( /([\| ]* *)(\[\s*)(documentation|timeout)(\s*\])/i, - ['bracket', 'atom', 'atom', 'atom'], + ['bracket', 'builtin', 'builtin', 'builtin'], { sol: true } ), - RULE_START_BDD, - RULE_KEY_START_PIPE, - RULE_KEY_START, + RULE_START_LOOP_OLD, + RULE_START_LOOP_NEW, r( /(\| +)([^ *\|\.][^\|]*?)( *)(\|?$)/, ['bracket', 'string.header', 'bracket'], @@ -280,6 +354,8 @@ states.test_cases = [ sol: true }), r(/([^| *].+$)/, 'string.header', { sol: true }), + RULE_WS_LINE, + ...RULES_KEYWORD_INVOKING, ...base ]; @@ -287,7 +363,7 @@ states.test_cases = [ states.keyword_invocation = [ r(/^(?= *$)/, null, { pop: true }), RULE_VAR_START, - r(/\}(?=$)/, 'variable', { pop: true }), + r(/\}(?=$)/, 'variable-2', { pop: true }), RULE_VAR_END, r(/#.*$/, 'comment', { pop: true }), r(/( \| | +)/, 'bracket', { pop: true }), @@ -311,9 +387,9 @@ states.variable = [ r(VAR_OP, 'operator'), r(/\./, 'operator', { push: 'variable_property' }), r(/\[/, 'bracket', { next: 'variable_index' }), - r(/\}(?=\[)/, 'variable'), - r(/[^}\n$]/, 'variable'), - r(/^(?=\})/, 'variable', { pop: true }) + r(/\}(?=\[)/, 'variable-2'), + r(/[^}\n$]/, 'variable-2'), + r(/^(?=\})/, 'variable-2', { pop: true }) ]; /** rules for extended syntax in a variable reference */ @@ -326,7 +402,7 @@ states.variable_property = [ r(VAR_OP, 'operator'), r(/\(/, 'bracket'), r(/\)/, 'bracket', { pop: true }), - r(/([a-z_][a-z_\d]*)(=)/i, ['variable', 'operator']), + r(/([a-z_][a-z_\d]*)(=)/i, ['variable-2', 'operator']), r(/,/, 'punctuation'), r(/[^}](?=\})/, 'property', { pop: true }), r(/(^\})( *(?=$|\n))/, ['bracket', null], { pop: true }), @@ -354,7 +430,7 @@ states.variable_index = [ RULE_NUM, r(/\[/, 'bracket'), r(/\](?=\])/, 'bracket'), - r(/(\])(\})( ?=?)/, ['bracket', 'variable', 'operator'], { pop: true }), + r(/(\])(\})( ?=?)/, ['bracket', 'variable-2', 'operator'], { pop: true }), r(/(\])(\[)/, 'bracket'), r(/\]/, 'bracket', { pop: true }), r(/[^\]]/, 'string') From 5c2e4614d7c1cfe5466a220d80923109b6cb4828 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 21 Jan 2019 13:58:53 -0500 Subject: [PATCH 02/74] enumerate and zip are things --- src/packages/jupyterlab-robotframework/src/mode.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index b388bb0..879fa95 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -291,7 +291,11 @@ states.keywords = [ ]; /** A range as used in for loops */ -const RULE_RANGE = r(/([\| ]* *)(IN)( RANGE)?/, [null, 'builtin', 'builtin']); +const RULE_RANGE = r(/([\| ]* *)(IN)( RANGE| ENUMERATE| ZIP)?/, [ + null, + 'builtin', + 'builtin' +]); states.loop_start_new = [ RULE_RANGE, From 0b3a5936ef09130c0c0dcecd75a6bf994c4dbb58 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 23 Jan 2019 22:30:02 -0500 Subject: [PATCH 03/74] tabs. import with name. --- .../jupyterlab-robotframework/src/mode.ts | 168 +++++++++++------- 1 file changed, 102 insertions(+), 66 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 879fa95..3441e10 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -69,10 +69,10 @@ function r( /** Possible Robot Framework table names. Group count is important. */ const TABLE_NAMES: { [key: string]: RegExp } = { - keywords: /(\|\s)?(\*+\s*)(user keywords?|keywords?)(\s*\**)/i, - settings: /(\|\s)?(\*+\s*)(settings?)(\s*\**)/i, - test_cases: /(\|\s)?(\*+\s*)(tasks?|test cases?)(\s*\**)/i, - variables: /(\|\s)?(\*+\s*)(variables?)(\s*\**)/i + keywords: /(\|\s)?(\*+ *)(user keywords?|keywords?)( *\**)/i, + settings: /(\|\s)?(\*+ *)(settings?)( *\**)/i, + test_cases: /(\|\s)?(\*+ *)(tasks?|test cases?)( *\**)/i, + variables: /(\|\s)?(\*+ *)(variables?)( *\**)/i }; /** Enumerate the possible rules */ @@ -119,48 +119,58 @@ const RULE_DOUBLE_STRING_START = r(/"/, 'string', { push: 'double_string' }); /** a rule for capturing tags (and friends) in keyword/test/task definitions */ const RULE_TAGS = r( - /([| ]* *)(\[\s*)(tags)(\s*\])( *\|?)/i, - ['bracket', 'builtin', 'builtin', 'builtin', 'bracket'], + /([|\s]*\s*)(\[\s*)(tags)(\s*\])(\s*\|?)/i, + ['bracket', 'meta', 'meta', 'meta', 'bracket'], { sol: true, push: 'tags' } ); /** rule for special case of applying tags at the suite level */ -const RULE_SUITE_TAGS = r( - /(force tags|default tags)( +)/i, - ['builtin', null], - { - push: 'tags', - sol: true - } -); +const RULE_SUITE_TAGS = r(/(force tags|default tags)( +)/i, ['meta', null], { + push: 'tags', + sol: true +}); /** rule for special case of applying tags at the suite level (with pipes) */ const RULE_SUITE_TAGS_PIPE = r( /(\| +)(force tags|default tags)( *\|?)/i, - ['bracket', 'builtin', 'bracket'], + ['bracket', 'meta', 'bracket'], { sol: true, push: 'tags' } ); /** rule for bracketed settings of keyword/test/task */ const RULE_SETTING_KEYWORD = r( - /([| ]* *)(\[\s*)(setup|teardown|template)(\s*\])( *\|?)/i, - ['bracket', 'builtin', 'builtin', 'builtin', 'bracket'], + /([|\s]*)(\[\s*)(setup|teardown|template)(\s*\])(\s*\|?)/i, + ['bracket', 'meta', 'meta', 'meta', 'bracket'], { push: 'keyword_invocation', sol: true } ); /** rule for bracketed settings of keyword/test/task that include a keyword */ const RULE_SUITE_SETTING_KEYWORD = r( - /(suite setup|suite teardown|test setup|test teardown|test template|task setup|task teardown|task template)( +)/i, - ['builtin', null], + /(suite setup|suite teardown|test setup|test teardown|test template|task setup|task teardown|task template)(\t| +)/i, + ['meta', null], { push: 'keyword_invocation', sol: true } ); /** rule for bracketed settings of keyword/test/task that include a keyword (with pipes) */ const RULE_SUITE_SETTING_KEYWORD_PIPE = r( /(\| +)(suite setup|suite teardown|test setup|test teardown|test template|task setup|task teardown|task template)( +\|)/i, - ['bracket', 'builtin', 'bracket'], + ['bracket', 'meta', 'bracket'], { push: 'keyword_invocation', sol: true } ); +const RULE_SETTING_LIBRARY = r(/(library)(\t| +)/i, ['meta', null], { + push: 'library', + sol: true +}); + +const RULE_SETTING_LIBRARY_PIPE = r( + /(\| +)(library)( +\|)/i, + ['bracket', 'meta', 'bracket'], + { push: 'library', sol: true } +); + +/** rule to escape the final closing bracket of a var at the end of a line */ +const RULE_LINE_ENDS_WITH_VAR = r(/\}(?=$)/, 'variable-2', { pop: true }); + /** collects the states that we build */ const states: IStates = {}; @@ -174,12 +184,12 @@ const base = [ r(/#.*$/, 'comment'), r(/\\ +/, 'bracket'), r(/\\(?=$)/, 'bracket'), - r(/([^ =]*)(=)/, ['attribute', 'operator']), + r(/([^\s=]*)(=)/, ['attribute', 'operator']), r(/_\*.*?\*_/, 'string.strong.em'), r(/\*.*?\*/, 'string.strong'), r(/\_.*?\_/, 'string.em'), // this is pretty extreme, but seems to work - r(/[^ \$]+/, 'string') + r(/[^\s\$]+/, 'string') ]; /** the starting state (begining of a file) */ @@ -188,7 +198,7 @@ states.start = [ mode: { spec: 'ipython' }, sol: true }), - r(/(%%[^ ]*).*$/, 'meta', { sol: true }), + r(/(%%[^\s]*).*$/, 'meta', { sol: true }), ...base ]; @@ -198,40 +208,47 @@ states.settings = [ RULE_SUITE_TAGS, RULE_SUITE_SETTING_KEYWORD_PIPE, RULE_SUITE_SETTING_KEYWORD, + RULE_SETTING_LIBRARY, + RULE_SETTING_LIBRARY_PIPE, r( - /(\|* *)(library|resource|variables|documentation|metadata|test timeout|task timeout)( *)/i, - ['bracket', 'builtin', null], + /(\|*\s*)(resource|variables|documentation|metadata|test timeout|task timeout)(\s*)/i, + ['bracket', 'meta', null], { sol: true } ), ...base ]; -/** pattern for starting keywords */ -const KEY_START = /( +)/; -/** pattern for starting keywords (with pipes) */ -const KEY_START_PIPE = /(\| *\|)( +)/; -/** pattern for starting behavior-driven-development keywords */ -const KEY_BDD_START = /(\| *\| *| +)?(given|when|then|and|but)/i; +states.library = [ + RULE_LINE_ENDS_WITH_VAR, + r(/WITH NAME$/, 'atom', { pop: true }), + r(/WITH NAME/, 'atom'), + r(/[^\}\|\s]*$/, 'string', { pop: true }), + ...base +]; /** rule for behavior-driven-development keywords */ -const RULE_START_BDD = r(KEY_BDD_START, ['bracket', 'builtin.em'], { - push: 'keyword_invocation', - sol: true -}); +const RULE_START_BDD = r( + /(\|\s*\|\s*|\s\s+)?(given|when|then|and|but)/i, + ['bracket', 'builtin.em'], + { + push: 'keyword_invocation', + sol: true + } +); /** rule for whitespace keywords */ -const RULE_KEY_START = r(KEY_START, null, { +const RULE_KEY_START = r(/(\t+| +)/, 'null', { push: 'keyword_invocation', sol: true }); /** rule for pipe keywords */ -const RULE_KEY_START_PIPE = r(KEY_START_PIPE, ['bracket', null], { +const RULE_KEY_START_PIPE = r(/(\|\s*\|)(\s+)/, ['bracket', null], { push: 'keyword_invocation', sol: true }); /** rule for for old-style loops (slashes) */ const RULE_START_LOOP_OLD = r( - /( \|* *)(:FOR)( \|* *)/, - [null, 'builtin', null], + /(\s\|*\s*)(:FOR)(\s\|*\s*)/, + [null, 'atom', null], { push: 'loop_start_old', sol: true @@ -239,8 +256,8 @@ const RULE_START_LOOP_OLD = r( ); /** rule for for new-style loops (slashes) */ const RULE_START_LOOP_NEW = r( - /( \|* *)(FOR)( \|* *)/, - [null, 'builtin', null], + /(\s\|*\s*)(FOR)(\s\|*\s*)/, + [null, 'atom', null], { push: 'loop_start_new', sol: true @@ -249,40 +266,41 @@ const RULE_START_LOOP_NEW = r( /** rules for capturing individual tags */ states.tags = [ - r(/ \| */, 'bracket'), + r(/\s\|\s*/, 'bracket'), r(/^($|\n)/, null, { pop: true }), RULE_VAR_START, - r(/\}(?=$)/, 'variable-2', { pop: true }), + RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, - r(/^ *(?=$)/, null, { pop: true }), + r(/^\s*(?=$)/, null, { pop: true }), r(/ +/, null), r(/[^\$&%@]*?(?=( +| \|))/, 'tag'), - r(/[^\$&%@]*?(?= *\|?$)/, 'tag', { pop: true }), + r(/[^\$&%@]*?(?=\s*\|?$)/, 'tag', { pop: true }), // fall back to single char r(/[^\$&%@|]/, 'tag') ]; /** need to catch empty white lines pretty explicitly */ -const RULE_WS_LINE = r(/ *(?=$)/, null, { sol: true }); +const RULE_WS_LINE = r(/\s*(?=$)/, null, { sol: true }); /** not a state. rules for starting keyword invocation */ const RULES_KEYWORD_INVOKING = [ RULE_START_BDD, RULE_KEY_START_PIPE, RULE_KEY_START, - r(/\| (?=[^ ]*\|)/, null, { sol: true, push: 'keyword_invocation' }), - r(/(?=[^ ])/, null, { sol: true, push: 'keyword_invocation' }) + r(/\|\s(?=[^\s]*\|)/, null, { sol: true, push: 'keyword_invocation' }), + r(/(?=[^\s])/, null, { sol: true, push: 'keyword_invocation' }) ]; -/** rules for data rows inside a keyword definition */ +/** rules for data rows inside a keyword table */ states.keywords = [ RULE_TAGS, RULE_SETTING_KEYWORD, r( - /([\| ]* *)(\[\s*)(arguments|documentation|return|timeout)(\s*\])( *\|?)/i, + /([\|\s]*\s*)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*\|?)/i, ['bracket', 'builtin', 'builtin', 'builtin', 'bracket'], { sol: true } ), + r(/(?=[^\s$&%@*|]+)/, null, { sol: true, push: 'keyword_def' }), RULE_START_LOOP_OLD, RULE_START_LOOP_NEW, RULE_WS_LINE, @@ -290,11 +308,29 @@ states.keywords = [ ...base ]; +/** a keyword name fragment before an inline variable */ +const KEYWORD_WORD_BEFORE_VAR = /([^\s]*?(?=[\$&%@]\{))/i; +/** a keyword name fragment before a separator */ +const KEYWORD_WORD_BEFORE_SEP = /[^\s\|]+(?=$|[|]|\t)/; +/** a keyword name fragment before a non-separator whitespace character */ +const KEYWORD_WORD_BEFORE_WS = /([^\n\$\s*=\|]+?(?= ))/i; + +states.keyword_def = [ + RULE_VAR_START, + r(/\}(?=$)/, 'variable-2'), + RULE_VAR_END, + r(/ /, null), + r(KEYWORD_WORD_BEFORE_VAR, 'def'), + r(KEYWORD_WORD_BEFORE_SEP, 'def', { pop: true }), + r(KEYWORD_WORD_BEFORE_WS, 'def'), + r(/(?=$)/, null, { sol: true, pop: true }) +]; + /** A range as used in for loops */ -const RULE_RANGE = r(/([\| ]* *)(IN)( RANGE| ENUMERATE| ZIP)?/, [ +const RULE_RANGE = r(/([\|\s]*\s*)(IN)( RANGE| ENUMERATE| ZIP)?/, [ null, - 'builtin', - 'builtin' + 'atom', + 'atom' ]); states.loop_start_new = [ @@ -303,7 +339,7 @@ states.loop_start_new = [ RULE_VAR_START, r(/\}(?=$)/, 'variable-2'), RULE_VAR_END, - r(/([\| ]* *)(END)/, [null, 'builtin'], { sol: true, pop: true }), + r(/([\|\s]*\s*)(END)/, [null, 'atom'], { sol: true, pop: true }), RULE_WS_LINE, ...RULES_KEYWORD_INVOKING, ...base @@ -323,7 +359,7 @@ states.loop_body_old = [ return { ...rule, regex: new RegExp( - /([\| ]* *)(\\)/.source + + /([\|\s]*\s*)(\\)/.source + (rule.regex instanceof RegExp ? rule.regex.source : rule.regex) ), token: @@ -332,7 +368,7 @@ states.loop_body_old = [ : [null, 'builtin', rule.token] }; }), - r(/(?= +[^\\])/, 'link', { pop: true, sol: true }), + r(/(?=\s+[^\\])/, null, { pop: true, sol: true }), ...base ]; @@ -341,14 +377,14 @@ states.test_cases = [ RULE_TAGS, RULE_SETTING_KEYWORD, r( - /([\| ]* *)(\[\s*)(documentation|timeout)(\s*\])/i, + /([\|\s]*\s*)(\[\s*)(documentation|timeout)(\s*\])/i, ['bracket', 'builtin', 'builtin', 'builtin'], { sol: true } ), RULE_START_LOOP_OLD, RULE_START_LOOP_NEW, r( - /(\| +)([^ *\|\.][^\|]*?)( *)(\|?$)/, + /(\|\s+)([^\s*\|\.][^\|]*?)(\s*)(\|?$)/, ['bracket', 'string.header', 'bracket'], { sol: true @@ -357,7 +393,7 @@ states.test_cases = [ r(/(\| +)(.+?)( \| )/, ['bracket', 'string.header', 'bracket'], { sol: true }), - r(/([^| *].+$)/, 'string.header', { sol: true }), + r(/([^|\s*].+$)/, 'string.header', { sol: true }), RULE_WS_LINE, ...RULES_KEYWORD_INVOKING, ...base @@ -365,18 +401,18 @@ states.test_cases = [ /** rules for inside of an invoked keyword instance */ states.keyword_invocation = [ - r(/^(?= *$)/, null, { pop: true }), + r(/(?=\s*$)/, null, { pop: true }), RULE_VAR_START, - r(/\}(?=$)/, 'variable-2', { pop: true }), + RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, r(/#.*$/, 'comment', { pop: true }), r(/( \| | +)/, 'bracket', { pop: true }), r(/ ?=( +)/, 'operator'), r(/(\\|[\.]{3}) +/, 'bracket', { pop: true }), r(/ /, null), - r(/([^ ]*?(?=[\$&%@]\{))/i, 'keyword'), - r(/[^ \|]+(?=$|[|])/, 'keyword', { pop: true }), - r(/([^\n\$ *=\|]+?(?= ))/i, 'keyword'), + r(KEYWORD_WORD_BEFORE_VAR, 'keyword'), + r(KEYWORD_WORD_BEFORE_SEP, 'keyword', { pop: true }), + r(KEYWORD_WORD_BEFORE_WS, 'keyword'), ...base ]; @@ -409,8 +445,8 @@ states.variable_property = [ r(/([a-z_][a-z_\d]*)(=)/i, ['variable-2', 'operator']), r(/,/, 'punctuation'), r(/[^}](?=\})/, 'property', { pop: true }), - r(/(^\})( *(?=$|\n))/, ['bracket', null], { pop: true }), - r(/^ *(?=$|\n)/, null, { pop: true }), + r(/(^\})(\s*(?=$|\n))/, ['bracket', null], { pop: true }), + r(/^\t*(?=$|\n)/, null, { pop: true }), r(/[^}]/, 'property') ]; From 013551ac5c48f2e220966cf974d68bf5b6aeffb5 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 24 Jan 2019 07:43:11 -0500 Subject: [PATCH 04/74] some more shakedown for loops, etc --- .../jupyterlab-robotframework/src/mode.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 3441e10..83d6a1b 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -180,7 +180,6 @@ const base = [ RULE_VAR_START, RULE_VAR_END, r(/\|/, 'bracket'), - r(/[\.]{3}/, 'bracket'), r(/#.*$/, 'comment'), r(/\\ +/, 'bracket'), r(/\\(?=$)/, 'bracket'), @@ -226,6 +225,8 @@ states.library = [ ...base ]; +const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, 'bracket']); + /** rule for behavior-driven-development keywords */ const RULE_START_BDD = r( /(\|\s*\|\s*|\s\s+)?(given|when|then|and|but)/i, @@ -236,7 +237,7 @@ const RULE_START_BDD = r( } ); /** rule for whitespace keywords */ -const RULE_KEY_START = r(/(\t+| +)/, 'null', { +const RULE_KEY_START = r(/(\t+| +)(?!\.\.\.)/, null, { push: 'keyword_invocation', sol: true }); @@ -293,11 +294,12 @@ const RULES_KEYWORD_INVOKING = [ /** rules for data rows inside a keyword table */ states.keywords = [ + RULE_ELLIPSIS, RULE_TAGS, RULE_SETTING_KEYWORD, r( /([\|\s]*\s*)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*\|?)/i, - ['bracket', 'builtin', 'builtin', 'builtin', 'bracket'], + ['bracket', 'meta', 'meta', 'meta', 'bracket'], { sol: true } ), r(/(?=[^\s$&%@*|]+)/, null, { sol: true, push: 'keyword_def' }), @@ -335,7 +337,7 @@ const RULE_RANGE = r(/([\|\s]*\s*)(IN)( RANGE| ENUMERATE| ZIP)?/, [ states.loop_start_new = [ RULE_RANGE, - r(/[.]{3}/, 'builtin'), + r(/[.]{3}/, 'bracket'), RULE_VAR_START, r(/\}(?=$)/, 'variable-2'), RULE_VAR_END, @@ -364,8 +366,8 @@ states.loop_body_old = [ ), token: rule.token instanceof Array - ? [null, 'builtin', ...rule.token] - : [null, 'builtin', rule.token] + ? [null, 'bracket', ...rule.token] + : [null, 'bracket', rule.token] }; }), r(/(?=\s+[^\\])/, null, { pop: true, sol: true }), @@ -374,11 +376,12 @@ states.loop_body_old = [ /** rules for data rows inside test/task definition */ states.test_cases = [ + RULE_ELLIPSIS, RULE_TAGS, RULE_SETTING_KEYWORD, r( /([\|\s]*\s*)(\[\s*)(documentation|timeout)(\s*\])/i, - ['bracket', 'builtin', 'builtin', 'builtin'], + ['bracket', 'meta', 'meta', 'meta'], { sol: true } ), RULE_START_LOOP_OLD, @@ -402,13 +405,13 @@ states.test_cases = [ /** rules for inside of an invoked keyword instance */ states.keyword_invocation = [ r(/(?=\s*$)/, null, { pop: true }), + r(/(\\|\.\.\.) +/, 'bracket', { pop: true }), RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, r(/#.*$/, 'comment', { pop: true }), r(/( \| | +)/, 'bracket', { pop: true }), r(/ ?=( +)/, 'operator'), - r(/(\\|[\.]{3}) +/, 'bracket', { pop: true }), r(/ /, null), r(KEYWORD_WORD_BEFORE_VAR, 'keyword'), r(KEYWORD_WORD_BEFORE_SEP, 'keyword', { pop: true }), From d939dc0c901b09224c2e110ec7e3b885f42a1409 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 24 Jan 2019 21:04:25 -0500 Subject: [PATCH 05/74] more tab work --- .../jupyterlab-robotframework/src/mode.ts | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 83d6a1b..38c1770 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -125,10 +125,14 @@ const RULE_TAGS = r( ); /** rule for special case of applying tags at the suite level */ -const RULE_SUITE_TAGS = r(/(force tags|default tags)( +)/i, ['meta', null], { - push: 'tags', - sol: true -}); +const RULE_SUITE_TAGS = r( + /(force tags|default tags)(\t+| +)/i, + ['meta', null], + { + push: 'tags', + sol: true + } +); /** rule for special case of applying tags at the suite level (with pipes) */ const RULE_SUITE_TAGS_PIPE = r( /(\| +)(force tags|default tags)( *\|?)/i, @@ -145,7 +149,7 @@ const RULE_SETTING_KEYWORD = r( /** rule for bracketed settings of keyword/test/task that include a keyword */ const RULE_SUITE_SETTING_KEYWORD = r( - /(suite setup|suite teardown|test setup|test teardown|test template|task setup|task teardown|task template)(\t| +)/i, + /(suite setup|suite teardown|test setup|test teardown|test template|task setup|task teardown|task template)(\t+| +)/i, ['meta', null], { push: 'keyword_invocation', sol: true } ); @@ -157,7 +161,7 @@ const RULE_SUITE_SETTING_KEYWORD_PIPE = r( { push: 'keyword_invocation', sol: true } ); -const RULE_SETTING_LIBRARY = r(/(library)(\t| +)/i, ['meta', null], { +const RULE_SETTING_LIBRARY = r(/(library)(\t+| +)/i, ['meta', null], { push: 'library', sol: true }); @@ -411,7 +415,7 @@ states.keyword_invocation = [ RULE_VAR_END, r(/#.*$/, 'comment', { pop: true }), r(/( \| | +)/, 'bracket', { pop: true }), - r(/ ?=( +)/, 'operator'), + r(/( ?)(=)(\t+| +)/, [null, 'operator', null]), r(/ /, null), r(KEYWORD_WORD_BEFORE_VAR, 'keyword'), r(KEYWORD_WORD_BEFORE_SEP, 'keyword', { pop: true }), From 8cd4a3ba4e2935eb03604bd25f8a42220bdc069e Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 25 Jan 2019 23:49:30 -0500 Subject: [PATCH 06/74] move handling of variable end around line break --- .../jupyterlab-robotframework/src/mode.ts | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 38c1770..1b101cf 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -89,11 +89,6 @@ const RULES_TABLE: ISimpleState[] = Object.keys(TABLE_NAMES).map( } ); -/** Pattern to match the start of a variable */ -const VAR_START = /[\$&@%]\{/; -/** Pattern to match the end of a variable */ -const VAR_END = /\}/; - /** Valid python operators */ const VAR_OP = /[*\-+\\%&|=> Date: Sat, 26 Jan 2019 00:51:18 -0500 Subject: [PATCH 07/74] more popping --- src/packages/jupyterlab-robotframework/src/mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 1b101cf..3c0f089 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -413,7 +413,7 @@ states.keyword_invocation = [ r(/( \| | +|\t+)/, 'bracket', { pop: true }), r(/( ?)(=)(\t+| +)/, [null, 'operator', null]), r(/ /, null), - r(KEYWORD_WORD_BEFORE_VAR, 'keyword'), + r(KEYWORD_WORD_BEFORE_VAR, 'keyword', { pop: true }), r(KEYWORD_WORD_BEFORE_SEP, 'keyword', { pop: true }), r(KEYWORD_WORD_BEFORE_WS, 'keyword'), ...base From 02dcf4c9bb419f4136d8dd7a9d7213e9074d4523 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 26 Jan 2019 10:21:10 -0500 Subject: [PATCH 08/74] more typing, catch states/tokens --- .../jupyterlab-robotframework/src/mode.ts | 270 ++++++++++-------- 1 file changed, 152 insertions(+), 118 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 3c0f089..7f79846 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -21,6 +21,49 @@ import 'codemirror/addon/mode/simple'; import * as CodeMirror from 'codemirror'; +/** All the possible states: pushing non-existing states == bad */ +export type TMainState = 'test_cases' | 'keywords' | 'settings' | 'variables'; +export type TState = + | TMainState + | 'double_string' + | 'keyword_def' + | 'keyword_invocation' + | 'library' + | 'loop_body_old' + | 'loop_start_new' + | 'loop_start_old' + | 'single_string' + | 'start' + | 'tags' + | 'variable_index' + | 'variable_property' + | 'variable'; + +/** the tokens we use */ +export enum TT { + V2 = 'variable-2', + BK = 'bracket', + NB = 'number', + ST = 'string', + MT = 'meta', + CM = 'comment', + AT = 'attribute', + AM = 'atom', + OP = 'operator', + SSE = 'string.strong.em', + SS = 'string.strong', + SE = 'string.em', + SH = 'string.header', + KW = 'keyword', + BE = 'builtin.em', + TG = 'tag', + DF = 'def', + HL = 'header.link', + PR = 'property', + PC = 'punctuation', + BI = 'builtin' +} + /** An implementation of the CodeMirror simple mode object @@ -30,13 +73,13 @@ interface ISimpleState { /** The regular expression that matches the token. May be a string or a regex object. When a regex, the ignoreCase flag will be taken into account when matching the token. This regex has to capture groups when the token property is an array. If it captures groups, it must capture all of the string (since JS provides no way to find out where a group matched). */ regex: string | RegExp; /// An optional token style. Multiple styles can be specified by separating them with dots or spaces. When this property holds an array of token styles, the regex for this rule must capture a group for each array item. - token?: string | string[] | null; + token?: TT | TT[] | null; /// When true, this token will only match at the start of the line. (The ^ regexp marker doesn't work as you'd expect in this context because of limitations in JavaScript's RegExp API.) sol?: boolean; /// When a next property is present, the mode will transfer to the state named by the property when the token is encountered. - next?: string; + next?: TState; /// Like next, but instead replacing the current state by the new state, the current state is kept on a stack, and can be returned to with the pop directive. - push?: string; + push?: TState; /// When true, and there is another state on the state stack, will cause the mode to pop that state off the stack and transition to it. pop?: boolean; /// Can be used to embed another mode inside a mode. When present, must hold an object with a spec property that describes the embedded mode, and an optional end end property that specifies the regexp that will end the extent of the mode. When a persistent property is set (and true), the nested mode's state will be preserved between occurrences of the mode. @@ -54,21 +97,19 @@ interface ISimpleState { } /** A string-keyed set of simple state lists */ -export interface IStates { - [key: string]: ISimpleState[]; -} +export type IStates = { [key in TState]: ISimpleState[] }; /** helper function for compactly representing a rule */ function r( regex: RegExp, - token?: string | string[], + token?: TT | TT[], opt?: Partial ): ISimpleState { return { regex, token, ...opt }; } /** Possible Robot Framework table names. Group count is important. */ -const TABLE_NAMES: { [key: string]: RegExp } = { +const TABLE_NAMES: { [key in TMainState]: RegExp } = { keywords: /(\|\s)?(\*+ *)(user keywords?|keywords?)( *\**)/i, settings: /(\|\s)?(\*+ *)(settings?)( *\**)/i, test_cases: /(\|\s)?(\*+ *)(tasks?|test cases?)( *\**)/i, @@ -76,18 +117,12 @@ const TABLE_NAMES: { [key: string]: RegExp } = { }; /** Enumerate the possible rules */ -const RULES_TABLE: ISimpleState[] = Object.keys(TABLE_NAMES).map( - (next: string) => { - return r( - TABLE_NAMES[next], - ['bracket', 'header.link', 'header.link', 'header.link'], - { - next, - sol: true - } - ); - } -); +const RULES_TABLE = Object.keys(TABLE_NAMES).map((next: TMainState) => { + return r(TABLE_NAMES[next], [TT.BK, TT.HL, TT.HL, TT.HL], { + next, + sol: true + }); +}); /** Valid python operators */ const VAR_OP = /[*\-+\\%&|=> = {}; /** base isn't a state. these are the "normal business" that any state might use */ const base = [ ...RULES_TABLE, RULE_VAR_START, RULE_VAR_END, - r(/\|/, 'bracket'), - r(/#.*$/, 'comment'), - r(/\\ +/, 'bracket'), - r(/\\(?=$)/, 'bracket'), - r(/([^\s=]*)(=)/, ['attribute', 'operator']), - r(/_\*.*?\*_/, 'string.strong.em'), - r(/\*.*?\*/, 'string.strong'), - r(/\_.*?\_/, 'string.em'), + r(/\|/, TT.BK), + r(/#.*$/, TT.CM), + r(/\\ +/, TT.BK), + r(/\\(?=$)/, TT.BK), + r(/([^\s=]*)(=)/, [TT.AT, TT.OP]), + r(/_\*.*?\*_/, TT.SSE), + r(/\*.*?\*/, TT.SS), + r(/\_.*?\_/, TT.SE), // this is pretty extreme, but seems to work - r(/[^\s\$]+/, 'string') + r(/[^\s\$]+/, TT.ST) ]; /** the starting state (begining of a file) */ states.start = [ - r(/(%%python)( module )?(.*)?/, ['meta', 'keyword', 'variable'], { + r(/(%%python)( module )?(.*)?/, [TT.MT, TT.KW, TT.V2], { mode: { spec: 'ipython' }, sol: true }), - r(/(%%[^\s]*).*$/, 'meta', { sol: true }), + r(/(%%[^\s]*).*$/, TT.MT, { sol: true }), ...base ]; @@ -210,7 +248,7 @@ states.settings = [ RULE_SETTING_LIBRARY_PIPE, r( /(\|*\s*)(resource|variables|documentation|metadata|test timeout|task timeout)(\s*)/i, - ['bracket', 'meta', null], + [TT.BK, TT.MT, null], { sol: true } ), ...base @@ -218,18 +256,18 @@ states.settings = [ states.library = [ RULE_LINE_ENDS_WITH_VAR, - r(/WITH NAME$/, 'atom', { pop: true }), - r(/WITH NAME/, 'atom'), - r(/[^\}\|\s]*$/, 'string', { pop: true }), + r(/WITH NAME$/, TT.AM, { pop: true }), + r(/WITH NAME/, TT.AM), + r(/[^\}\|\s]*$/, TT.ST, { pop: true }), ...base ]; -const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, 'bracket']); +const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, TT.BK]); /** rule for behavior-driven-development keywords */ const RULE_START_BDD = r( /(\|\s*\|\s*|\s\s+)?(given|when|then|and|but)/i, - ['bracket', 'builtin.em'], + [TT.BK, TT.BE], { push: 'keyword_invocation', sol: true @@ -241,14 +279,14 @@ const RULE_KEY_START = r(/(\t+| +)(?!\.\.\.)/, null, { sol: true }); /** rule for pipe keywords */ -const RULE_KEY_START_PIPE = r(/(\|\s*\|)(\s+)/, ['bracket', null], { +const RULE_KEY_START_PIPE = r(/(\|\s*\|)(\s+)/, [TT.BK, null], { push: 'keyword_invocation', sol: true }); /** rule for for old-style loops (slashes) */ const RULE_START_LOOP_OLD = r( /(\s\|*\s*)(:FOR)(\s\|*\s*)/, - [null, 'atom', null], + [null, TT.AM, null], { push: 'loop_start_old', sol: true @@ -257,7 +295,7 @@ const RULE_START_LOOP_OLD = r( /** rule for for new-style loops (slashes) */ const RULE_START_LOOP_NEW = r( /(\s\|*\s*)(FOR)(\s\|*\s*)/, - [null, 'atom', null], + [null, TT.AM, null], { push: 'loop_start_new', sol: true @@ -266,17 +304,17 @@ const RULE_START_LOOP_NEW = r( /** rules for capturing individual tags */ states.tags = [ - r(/\s\|\s*/, 'bracket'), + r(/\s\|\s*/, TT.BK), r(/^($|\n)/, null, { pop: true }), RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, r(/^\s*(?=$)/, null, { pop: true }), r(/ +/, null), - r(/[^\$&%@]*?(?=( +| \|))/, 'tag'), - r(/[^\$&%@]*?(?=\s*\|?$)/, 'tag', { pop: true }), + r(/[^\$&%@]*?(?=( +| \|))/, TT.TG), + r(/[^\$&%@]*?(?=\s*\|?$)/, TT.TG, { pop: true }), // fall back to single char - r(/[^\$&%@|]/, 'tag') + r(/[^\$&%@|]/, TT.TG) ]; /** need to catch empty white lines pretty explicitly */ @@ -298,7 +336,7 @@ states.keywords = [ RULE_SETTING_KEYWORD, r( /([\|\s]*\s*)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*\|?)/i, - ['bracket', 'meta', 'meta', 'meta', 'bracket'], + [TT.BK, TT.MT, TT.MT, TT.MT, TT.BK], { sol: true } ), r(/(?=[^\s$&%@*|]+)/, null, { sol: true, push: 'keyword_def' }), @@ -318,29 +356,29 @@ const KEYWORD_WORD_BEFORE_WS = /([^\n\$\s*=\|]+?(?= ))/i; states.keyword_def = [ RULE_VAR_START, - r(/\}(?=$)/, 'variable-2'), + r(/\}(?=$)/, TT.V2), RULE_VAR_END, r(/ /, null), - r(KEYWORD_WORD_BEFORE_VAR, 'def'), - r(KEYWORD_WORD_BEFORE_SEP, 'def', { pop: true }), - r(KEYWORD_WORD_BEFORE_WS, 'def'), + r(KEYWORD_WORD_BEFORE_VAR, TT.DF), + r(KEYWORD_WORD_BEFORE_SEP, TT.DF, { pop: true }), + r(KEYWORD_WORD_BEFORE_WS, TT.DF), r(/(?=$)/, null, { sol: true, pop: true }) ]; /** A range as used in for loops */ const RULE_RANGE = r(/([\|\s]*\s*)(IN)( RANGE| ENUMERATE| ZIP)?/, [ null, - 'atom', - 'atom' + TT.AM, + TT.AM ]); states.loop_start_new = [ RULE_RANGE, - r(/[.]{3}/, 'bracket'), + r(/[.]{3}/, TT.BK), RULE_VAR_START, - r(/\}(?=$)/, 'variable-2'), + r(/\}(?=$)/, TT.V2), RULE_VAR_END, - r(/([\|\s]*\s*)(END)/, [null, 'atom'], { sol: true, pop: true }), + r(/([\|\s]*\s*)(END)/, [null, TT.AM], { sol: true, pop: true }), RULE_WS_LINE, ...RULES_KEYWORD_INVOKING, ...base @@ -350,7 +388,7 @@ states.loop_start_old = [ r(/(?=.*)/, null, { sol: true, next: 'loop_body_old' }), RULE_RANGE, RULE_VAR_START, - r(/\}(?=$)/, 'variable-2'), + r(/\}(?=$)/, TT.V2), RULE_VAR_END, ...base ]; @@ -365,8 +403,8 @@ states.loop_body_old = [ ), token: rule.token instanceof Array - ? [null, 'bracket', ...rule.token] - : [null, 'bracket', rule.token] + ? [null, TT.BK, ...rule.token] + : [null, TT.BK, rule.token] }; }), r(/(?=\s+[^\\])/, null, { pop: true, sol: true }), @@ -380,22 +418,18 @@ states.test_cases = [ RULE_SETTING_KEYWORD, r( /([\|\s]*\s*)(\[\s*)(documentation|timeout)(\s*\])/i, - ['bracket', 'meta', 'meta', 'meta'], + [TT.BK, TT.MT, TT.MT, TT.MT], { sol: true } ), RULE_START_LOOP_OLD, RULE_START_LOOP_NEW, - r( - /(\|\s+)([^\s*\|\.][^\|]*?)(\s*)(\|?$)/, - ['bracket', 'string.header', 'bracket'], - { - sol: true - } - ), - r(/(\| +)(.+?)( \| )/, ['bracket', 'string.header', 'bracket'], { + r(/(\|\s+)([^\s*\|\.][^\|]*?)(\s*)(\|?$)/, [TT.BK, TT.SH, TT.BK], { + sol: true + }), + r(/(\| +)(.+?)( \| )/, [TT.BK, TT.SH, TT.BK], { sol: true }), - r(/([^|\s*].+$)/, 'string.header', { sol: true }), + r(/([^|\s*].+$)/, TT.SH, { sol: true }), RULE_WS_LINE, ...RULES_KEYWORD_INVOKING, ...base @@ -404,18 +438,18 @@ states.test_cases = [ /** rules for inside of an invoked keyword instance */ states.keyword_invocation = [ r(/(?=\s*$)/, null, { pop: true }), - r(/(\\|\.\.\.) +/, 'bracket', { pop: true }), + r(/(\\|\.\.\.) +/, TT.BK, { pop: true }), RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, - r(/#.*$/, 'comment', { pop: true }), - r(/( \| | +|\t+)(?=[$@&])/, 'bracket'), - r(/( \| | +|\t+)/, 'bracket', { pop: true }), - r(/( ?)(=)(\t+| +)/, [null, 'operator', null]), + r(/#.*$/, TT.CM, { pop: true }), + r(/( \| | +|\t+)(?=[$@&])/, TT.BK), + r(/( \| | +|\t+)/, TT.BK, { pop: true }), + r(/( ?)(=)(\t+| +)/, [null, TT.OP, null]), r(/ /, null), - r(KEYWORD_WORD_BEFORE_VAR, 'keyword', { pop: true }), - r(KEYWORD_WORD_BEFORE_SEP, 'keyword', { pop: true }), - r(KEYWORD_WORD_BEFORE_WS, 'keyword'), + r(KEYWORD_WORD_BEFORE_VAR, TT.KW, { pop: true }), + r(KEYWORD_WORD_BEFORE_SEP, TT.KW, { pop: true }), + r(KEYWORD_WORD_BEFORE_WS, TT.KW), ...base ]; @@ -425,15 +459,15 @@ states.variables = [...base]; /** rules for inside of a variable reference */ states.variable = [ RULE_VAR_START, - r(VAR_BUILTIN, 'builtin'), + r(VAR_BUILTIN, TT.BI), RULE_NUM, - r(VAR_OP, 'operator'), - r(/\./, 'operator', { push: 'variable_property' }), - r(/\[/, 'bracket', { next: 'variable_index' }), - r(/\}(?=\[)/, 'variable-2'), + r(VAR_OP, TT.OP), + r(/\./, TT.OP, { push: 'variable_property' }), + r(/\[/, TT.BK, { next: 'variable_index' }), + r(/\}(?=\[)/, TT.V2), r(/(?=\}$)/, null, { pop: true }), - r(/\}/, 'variable-2', { pop: true }), - r(/[^\{\}\n]/, 'variable-2') + r(/\}/, TT.V2, { pop: true }), + r(/[^\{\}\n]/, TT.V2) ]; /** rules for extended syntax in a variable reference */ @@ -443,28 +477,28 @@ states.variable_property = [ RULE_NUM, RULE_SINGLE_STRING_START, RULE_DOUBLE_STRING_START, - r(VAR_OP, 'operator'), - r(/\(/, 'bracket'), - r(/\)/, 'bracket', { pop: true }), - r(/([a-z_][a-z_\d]*)(=)/i, ['variable-2', 'operator']), - r(/,/, 'punctuation'), - r(/[^}](?=\})/, 'property', { pop: true }), - r(/(\})(\s*(?=$|\n))/, ['bracket', null], { pop: true }), + r(VAR_OP, TT.OP), + r(/\(/, TT.BK), + r(/\)/, TT.BK, { pop: true }), + r(/([a-z_][a-z_\d]*)(=)/i, [TT.V2, TT.OP]), + r(/,/, TT.PC), + r(/[^}](?=\})/, TT.PR, { pop: true }), + r(/(\})(\s*(?=$|\n))/, [TT.BK, null], { pop: true }), r(/\t*(?=$|\n)/, null, { pop: true }), - r(/[^}]/, 'property') + r(/[^}]/, TT.PR) ]; /** rules for strings with single quotes */ states.single_string = [ - r(/\\'/, 'string'), - r(/'/, 'string', { pop: true }), - r(/./, 'string') + r(/\\'/, TT.ST), + r(/'/, TT.ST, { pop: true }), + r(/./, TT.ST) ]; /** rules for strings with double quotes */ states.double_string = [ - r(/\\"/, 'string'), - r(/"/, 'string', { pop: true }), - r(/./, 'string') + r(/\\"/, TT.ST), + r(/"/, TT.ST, { pop: true }), + r(/./, TT.ST) ]; /** rules for square-bracketed index referencing */ @@ -472,12 +506,12 @@ states.variable_index = [ RULE_VAR_START, RULE_VAR_END, RULE_NUM, - r(/\[/, 'bracket'), - r(/\](?=\])/, 'bracket'), - r(/(\])(\})( ?=?)/, ['bracket', 'variable-2', 'operator'], { pop: true }), - r(/(\])(\[)/, 'bracket'), - r(/\]/, 'bracket', { pop: true }), - r(/[^\]]/, 'string') + r(/\[/, TT.BK), + r(/\](?=\])/, TT.BK), + r(/(\])(\})( ?=?)/, [TT.BK, TT.V2, TT.OP], { pop: true }), + r(/(\])(\[)/, TT.BK), + r(/\]/, TT.BK, { pop: true }), + r(/[^\]]/, TT.ST) ]; /** well-known mime type for robot framework (pygments, etc.) */ From 315ed7cf09ef8ae7640200b701bef68d7d6762b2 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 26 Jan 2019 10:21:36 -0500 Subject: [PATCH 09/74] sorting --- .../jupyterlab-robotframework/src/mode.ts | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 7f79846..b6f8375 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -41,27 +41,27 @@ export type TState = /** the tokens we use */ export enum TT { - V2 = 'variable-2', + AM = 'atom', + AT = 'attribute', + BE = 'builtin.em', + BI = 'builtin', BK = 'bracket', - NB = 'number', - ST = 'string', - MT = 'meta', CM = 'comment', - AT = 'attribute', - AM = 'atom', + DF = 'def', + HL = 'header.link', + KW = 'keyword', + MT = 'meta', + NB = 'number', OP = 'operator', - SSE = 'string.strong.em', - SS = 'string.strong', + PC = 'punctuation', + PR = 'property', SE = 'string.em', SH = 'string.header', - KW = 'keyword', - BE = 'builtin.em', + SS = 'string.strong', + SSE = 'string.strong.em', + ST = 'string', TG = 'tag', - DF = 'def', - HL = 'header.link', - PR = 'property', - PC = 'punctuation', - BI = 'builtin' + V2 = 'variable-2' } /** From ed55542504e94c60cb22771dcf32cf5e219dbc2b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 26 Jan 2019 13:40:39 -0500 Subject: [PATCH 10/74] add token-level testing for highlighting --- anaconda-project.yml | 15 ++++++--- atest/acceptance/02_Robot/02_Highlight.robot | 33 +++++++++++++++++++ .../highlighting/basic/00_test_case.robot | 3 ++ .../highlighting/basic/00_test_case.tokens | 6 ++++ atest/resources/CodeMirror.robot | 14 ++++++++ atest/resources/Elements.robot | 12 +++++++ 6 files changed, 78 insertions(+), 5 deletions(-) create mode 100644 atest/acceptance/02_Robot/02_Highlight.robot create mode 100644 atest/fixtures/highlighting/basic/00_test_case.robot create mode 100644 atest/fixtures/highlighting/basic/00_test_case.tokens create mode 100644 atest/resources/Elements.robot diff --git a/anaconda-project.yml b/anaconda-project.yml index 6c93431..17f520c 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -67,9 +67,13 @@ commands: unix: mkdir -p _testoutput && cd _testoutput && pytest env_spec: test test:robot: - unix: set -eux \ - && cd atest/acceptance \ - && python -m robot -d ../../_testoutput --xunit junit_robot.xml . + unix: |- + set -eux \ + && cd atest/acceptance \ + && python -m robot \ + -d ../../_testoutput \ + --xunit junit_robot.xml \ + . env_spec: test test:release: unix: python -m scripts.release_check ${NEXT_RELEASE} @@ -79,12 +83,13 @@ commands: set -eux \ && python -m scripts.nblint \ && python -m scripts.copyright \ - && python -m robot.tidy -r atest \ + && python -m robot.tidy -r atest/resources \ + && python -m robot.tidy -r atest/acceptance \ && rflint \ --configure TooManyTestSteps:20 \ --configure TooFewKeywordSteps:0 \ --configure LineTooLong:200 \ - atest/**/*.robot \ + atest/{acceptance,resources}/*.robot \ && black --line-length 88 setup.py ./src/irobotframework/ scripts docs \ && flake8 --max-line-length=88 \ && jlpm lint diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot new file mode 100644 index 0000000..2dfb32b --- /dev/null +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -0,0 +1,33 @@ +*** Settings *** +Documentation Highlight Robot Syntax +Suite Setup Make a Highlighting Notebook +Default Tags kernel:robot browser:${BROWSER} feature:highlighting +Resource ../../resources/Lab.robot +Resource ../../resources/Browser.robot +Resource ../../resources/Notebook.robot +Resource ../../resources/LabRobot.robot +Resource ../../resources/CodeMirror.robot +Resource ../../resources/Elements.robot +Library SeleniumLibrary +Library OperatingSystem + +*** Test Cases *** +Robot Syntax is Beautiful + [Documentation] Does CodeMirror syntax highlighting work as expected? + [Template] Robot Syntax Highlighting Should Yield Tokens + basic${/}00_test_case + +*** Keywords *** +Robot Syntax Highlighting Should Yield Tokens + [Arguments] ${example} + ${robot} = Get File ../fixtures/highlighting/${example}.robot + ${tokens} = Get File ../fixtures/highlighting/${example}.tokens + ${tokens} = Evaluate [["cm-{}".format(t) for t in line.strip().split(" ")] for line in """${tokens}""".strip().split("\\n")] + Add a Cell ${robot} + Cell Source Tokens Should Equal ${tokens} + +Make a Highlighting Notebook + [Documentation] Make a notebook for testing syntax highlighting + Open JupyterLab with ${BROWSER} + Set Screenshot Directory ${OUTPUT_DIR}/${BROWSER}/robot/highlighting + Launch a new Robot Framework Notebook diff --git a/atest/fixtures/highlighting/basic/00_test_case.robot b/atest/fixtures/highlighting/basic/00_test_case.robot new file mode 100644 index 0000000..8437eb7 --- /dev/null +++ b/atest/fixtures/highlighting/basic/00_test_case.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +A Test Case + Log Hello World diff --git a/atest/fixtures/highlighting/basic/00_test_case.tokens b/atest/fixtures/highlighting/basic/00_test_case.tokens new file mode 100644 index 0000000..3fbd3f8 --- /dev/null +++ b/atest/fixtures/highlighting/basic/00_test_case.tokens @@ -0,0 +1,6 @@ +header link +string header +keyword +bracket +string +string \ No newline at end of file diff --git a/atest/resources/CodeMirror.robot b/atest/resources/CodeMirror.robot index 2386666..7f828e6 100644 --- a/atest/resources/CodeMirror.robot +++ b/atest/resources/CodeMirror.robot @@ -50,6 +50,20 @@ Cell Source Should Contain ${result} = Get Cell Source Should Contain ${result} ${text} +Cell Source Tokens Should Equal + [Documentation] Whether a cell is highlighted as expected + [Arguments] ${expected_tokens} + ${observed_tokens} = Get Cell Source Tokens + Should Be Equal As Numbers ${observed_tokens.__len__()} ${expected_tokens.__len__()} + FOR ${i} ${el} IN ENUMERATE @{observed_tokens} + Element Should Only Have Classes ${el} ${expected_tokens[${i}]} + END + +Get Cell Source Tokens + [Documentation] Extract the current cell tokens + ${els} = Get WebElements css:${VISIBLE_NOTEBOOK} ${CELL_CSS} .CodeMirror-lines span[class^='cm-'] + [Return] ${els} + Trigger Cell Source Completion [Documentation] Initiate Tab Complete Press Key css:body \\9 diff --git a/atest/resources/Elements.robot b/atest/resources/Elements.robot new file mode 100644 index 0000000..de40a67 --- /dev/null +++ b/atest/resources/Elements.robot @@ -0,0 +1,12 @@ +*** Settings *** +Documentation Keywords for checking things about WebElements +Library SeleniumLibrary + +*** Keywords *** +Element Should Only Have Classes + [Documentation] Does the given element only have the given CSS classes? + [Arguments] ${el} ${expected_classes} + ${raw_classes} = Call Method ${el} get_attribute class + ${observed} = Set Variable ${raw_classes.split(" ")} + ${difference} = Evaluate set(${expected_classes}).symmetric_difference(set(${observed})) + Should Be Empty ${difference} From b7ab9bd3c2213501ea6de79e32b46a175b2a9655 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 00:39:03 -0500 Subject: [PATCH 11/74] pipe fixes --- .../jupyterlab-robotframework/src/mode.ts | 61 +++++++++++++------ 1 file changed, 42 insertions(+), 19 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index b6f8375..a649ce9 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -206,7 +206,7 @@ const RULE_SETTING_LIBRARY_PIPE = r( ); /** rule to escape the final closing bracket of a var at the end of a line */ -const RULE_LINE_ENDS_WITH_VAR = r(/\}(?=$)/, TT.MT, { pop: true }); +const RULE_LINE_ENDS_WITH_VAR = r(/\}\s*(?=$)/, TT.V2, { pop: true }); /** collects the states that we build */ const states: Partial = {}; @@ -279,10 +279,14 @@ const RULE_KEY_START = r(/(\t+| +)(?!\.\.\.)/, null, { sol: true }); /** rule for pipe keywords */ -const RULE_KEY_START_PIPE = r(/(\|\s*\|)(\s+)/, [TT.BK, null], { - push: 'keyword_invocation', - sol: true -}); +const RULE_KEY_START_PIPE = r( + /(\| )(\s*)(|[^\|\s][^\|]*)(\s*)( \|)(\s+)/, + [TT.BK, null, TT.SH, null, TT.BK, null], + { + push: 'keyword_invocation', + sol: true + } +); /** rule for for old-style loops (slashes) */ const RULE_START_LOOP_OLD = r( /(\s\|*\s*)(:FOR)(\s\|*\s*)/, @@ -329,16 +333,25 @@ const RULES_KEYWORD_INVOKING = [ r(/(?=[^\s])/, null, { sol: true, push: 'keyword_invocation' }) ]; +const RULE_SETTING_SIMPLE = r( + /(\t+| +)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*)/i, + [null, TT.MT, TT.MT, TT.MT, null], + { sol: true } +); + +const RULE_SETTING_SIMPLE_PIPE = r( + /(\|)(\s+)([^|*]*)(\s+)(\|)(\s+)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*)(\|?)/i, + [TT.BK, null, TT.SH, null, TT.BK, null, TT.MT, TT.MT, TT.MT, null, TT.BK], + { sol: true } +); + /** rules for data rows inside a keyword table */ states.keywords = [ RULE_ELLIPSIS, RULE_TAGS, RULE_SETTING_KEYWORD, - r( - /([\|\s]*\s*)(\[\s*)(arguments|documentation|return|timeout)(\s*\])(\s*\|?)/i, - [TT.BK, TT.MT, TT.MT, TT.MT, TT.BK], - { sol: true } - ), + RULE_SETTING_SIMPLE, + RULE_SETTING_SIMPLE_PIPE, r(/(?=[^\s$&%@*|]+)/, null, { sol: true, push: 'keyword_def' }), RULE_START_LOOP_OLD, RULE_START_LOOP_NEW, @@ -411,27 +424,37 @@ states.loop_body_old = [ ...base ]; +const RULE_CASE_SETTING_SIMPLE = r( + /(\t+| +)(\[\s*)(documentation|timeout)(\s*\])(\s*)/i, + [null, TT.MT, TT.MT, TT.MT, null], + { sol: true } +); + +const RULE_CASE_SETTING_SIMPLE_PIPE = r( + /(\|)(\s+)([^|*]*)(\s+)(\|)(\s+)(\[\s*)(documentation|timeout)(\s*\])(\s*)(\|?)/i, + [TT.BK, null, TT.SH, null, TT.BK, null, TT.MT, TT.MT, TT.MT, null, TT.BK], + { sol: true } +); + /** rules for data rows inside test/task definition */ states.test_cases = [ + ...RULES_TABLE, RULE_ELLIPSIS, RULE_TAGS, RULE_SETTING_KEYWORD, - r( - /([\|\s]*\s*)(\[\s*)(documentation|timeout)(\s*\])/i, - [TT.BK, TT.MT, TT.MT, TT.MT], - { sol: true } - ), + RULE_CASE_SETTING_SIMPLE, + RULE_CASE_SETTING_SIMPLE_PIPE, RULE_START_LOOP_OLD, RULE_START_LOOP_NEW, + r(/([^|\s*].+?)(?=(\t| +|$))/, TT.SH, { sol: true }), + ...RULES_KEYWORD_INVOKING, r(/(\|\s+)([^\s*\|\.][^\|]*?)(\s*)(\|?$)/, [TT.BK, TT.SH, TT.BK], { sol: true }), - r(/(\| +)(.+?)( \| )/, [TT.BK, TT.SH, TT.BK], { + r(/(\| +)([^\|\s].+?)(\s*)( \| )/, [TT.BK, TT.SH, null, TT.BK], { sol: true }), - r(/([^|\s*].+$)/, TT.SH, { sol: true }), RULE_WS_LINE, - ...RULES_KEYWORD_INVOKING, ...base ]; @@ -465,7 +488,7 @@ states.variable = [ r(/\./, TT.OP, { push: 'variable_property' }), r(/\[/, TT.BK, { next: 'variable_index' }), r(/\}(?=\[)/, TT.V2), - r(/(?=\}$)/, null, { pop: true }), + r(/(?=\}\s*$)/, null, { pop: true }), r(/\}/, TT.V2, { pop: true }), r(/[^\{\}\n]/, TT.V2) ]; From 761ab6f0452f2ab24f94768e2c15e844b3186a9c Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 01:21:06 -0500 Subject: [PATCH 12/74] add robotframework submodule --- .gitmodules | 3 +++ vendor/robotframework | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 vendor/robotframework diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..174f947 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendor/robotframework"] + path = vendor/robotframework + url = https://github.com/robotframework/robotframework.git diff --git a/vendor/robotframework b/vendor/robotframework new file mode 160000 index 0000000..dd185d8 --- /dev/null +++ b/vendor/robotframework @@ -0,0 +1 @@ +Subproject commit dd185d8c3f32ba64dc2394212b3edcd191df416d From 9023027af8009ba40d34aff7fc7b392c740a27b6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 01:28:08 -0500 Subject: [PATCH 13/74] start working on automated testing of RF user guide --- atest/acceptance/02_Robot/02_Highlight.robot | 16 ++-- .../{ => samples}/basic/00_test_case.robot | 0 .../{ => tokens}/basic/00_test_case.tokens | 4 +- atest/resources/CodeMirror.robot | 12 ++- atest/resources/Notebook.robot | 2 +- scripts/__init__.py | 4 +- scripts/rfug.py | 75 +++++++++++++++++++ 7 files changed, 102 insertions(+), 11 deletions(-) rename atest/fixtures/highlighting/{ => samples}/basic/00_test_case.robot (100%) rename atest/fixtures/highlighting/{ => tokens}/basic/00_test_case.tokens (62%) create mode 100644 scripts/rfug.py diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 2dfb32b..af2f520 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -16,18 +16,24 @@ Robot Syntax is Beautiful [Documentation] Does CodeMirror syntax highlighting work as expected? [Template] Robot Syntax Highlighting Should Yield Tokens basic${/}00_test_case + # BEGIN RFUG + # END RFUG *** Keywords *** Robot Syntax Highlighting Should Yield Tokens [Arguments] ${example} - ${robot} = Get File ../fixtures/highlighting/${example}.robot - ${tokens} = Get File ../fixtures/highlighting/${example}.tokens - ${tokens} = Evaluate [["cm-{}".format(t) for t in line.strip().split(" ")] for line in """${tokens}""".strip().split("\\n")] + Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept + ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot Add a Cell ${robot} - Cell Source Tokens Should Equal ${tokens} + ${observed} = Get Cell Source Tokens + ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) + Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} + ${raw} = Get File ..${/}fixtures${/}highlighting${/}tokens${/}${example}.tokens + ${expected} = Evaluate [line.strip().split(" ") for line in """${raw}""".strip().split("\\n")] + Should Be Equal ${observed} ${expected} Make a Highlighting Notebook [Documentation] Make a notebook for testing syntax highlighting Open JupyterLab with ${BROWSER} - Set Screenshot Directory ${OUTPUT_DIR}/${BROWSER}/robot/highlighting + Set Screenshot Directory ${OUTPUT_DIR}${/}${BROWSER}${/}robot${/}highlighting Launch a new Robot Framework Notebook diff --git a/atest/fixtures/highlighting/basic/00_test_case.robot b/atest/fixtures/highlighting/samples/basic/00_test_case.robot similarity index 100% rename from atest/fixtures/highlighting/basic/00_test_case.robot rename to atest/fixtures/highlighting/samples/basic/00_test_case.robot diff --git a/atest/fixtures/highlighting/basic/00_test_case.tokens b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens similarity index 62% rename from atest/fixtures/highlighting/basic/00_test_case.tokens rename to atest/fixtures/highlighting/tokens/basic/00_test_case.tokens index 3fbd3f8..8644800 100644 --- a/atest/fixtures/highlighting/basic/00_test_case.tokens +++ b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens @@ -1,6 +1,6 @@ header link -string header +header string keyword bracket string -string \ No newline at end of file +string diff --git a/atest/resources/CodeMirror.robot b/atest/resources/CodeMirror.robot index 7f828e6..2358f70 100644 --- a/atest/resources/CodeMirror.robot +++ b/atest/resources/CodeMirror.robot @@ -2,6 +2,7 @@ *** Settings *** Documentation JupyterLab Notebook activities Library SeleniumLibrary +Library Collections Resource Lab.robot *** Variables *** @@ -18,7 +19,7 @@ Evaluate Cell CodeMirror Set Cell Source [Documentation] Set the source of a cell [Arguments] ${code} - ${result} = Evaluate Cell CodeMirror setValue(`${code}`) + ${result} = Evaluate Cell CodeMirror setValue(${code.split("\n")}.join("\\n")) [Return] ${result} Append to Cell Source @@ -61,8 +62,15 @@ Cell Source Tokens Should Equal Get Cell Source Tokens [Documentation] Extract the current cell tokens + ${tokens} = Create List ${els} = Get WebElements css:${VISIBLE_NOTEBOOK} ${CELL_CSS} .CodeMirror-lines span[class^='cm-'] - [Return] ${els} + FOR ${el} IN @{els} + ${raw_classes} = Call Method ${el} get_attribute class + ${observed} = Set Variable ${raw_classes.replace("cm-", "").split(" ")} + ${sorted} = Evaluate sorted(${observed}) + Append To List ${tokens} ${sorted} + END + [Return] ${tokens} Trigger Cell Source Completion [Documentation] Initiate Tab Complete diff --git a/atest/resources/Notebook.robot b/atest/resources/Notebook.robot index 03a223c..4df1c5f 100644 --- a/atest/resources/Notebook.robot +++ b/atest/resources/Notebook.robot @@ -16,7 +16,7 @@ Add a Cell [Documentation] Add a cell (probably code) with the given source [Arguments] ${code} Click Element css:${VISIBLE_NOTEBOOK} .jp-NotebookPanel-toolbar .jp-AddIcon - Sleep 0.1s + Wait Until Page Contains Element css:${VISIBLE_NOTEBOOK} ${CELL_CSS} Click Element css:${VISIBLE_NOTEBOOK} ${CELL_CSS} Set Cell Source ${code} diff --git a/scripts/__init__.py b/scripts/__init__.py index 7b4ca8b..3dc09ba 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -9,7 +9,9 @@ SRC = ROOT / "src" SCRIPTS = ROOT / "scripts" DOCS = ROOT / "docs" - +DIST = ROOT / "dist" +VENDOR = ROOT / "vendor" +FIXTURES = ROOT / "atest" / "fixtures" COPYRIGHT_RE = r"Copyright \(c\) (\d{4}(\s-\s\d{4})?) Georgia Tech Research Corporation" diff --git a/scripts/rfug.py b/scripts/rfug.py new file mode 100644 index 0000000..d48ed7c --- /dev/null +++ b/scripts/rfug.py @@ -0,0 +1,75 @@ +import re +import sys +import subprocess + +from lxml import html + +from . import ROOT, VENDOR, FIXTURES + + +ROBOT = VENDOR / "robotframework" +UG = ROBOT / "doc" / "userguide" +UG_DOC = UG / "RobotFrameworkUserGuide.html" + + +def is_robot_src(el): + txt = el.text_content() + if ".. code::" in txt: + return False + return re.findall(r"\*\s*(setting|test case|task|keyword|variable)s?", + el.text_content(), flags=re.I) + + +def build_tree(): + ug = html.parse(str(UG_DOC)) + + els = [el for el in ug.xpath("//*[@class='highlight']") if is_robot_src(el)] + + tree = {} + + for el in els: + pel = el.xpath('preceding::*[self::p]')[-1] + h3 = el.xpath("preceding::*[self::h3]")[-1] + slug = re.sub(r'[^a-z0-9]', '_', + "_".join(pel.text_content().lower().split(" ")[0:6])) + tree.setdefault( + h3.text_content().split('\xa0')[0], {} + ).setdefault( + slug, [] + ).append(el.text_content()) + + return tree + + +def write_fixtures(tree): + robot_lines = [] + + for section, slugs in tree.items(): + section_dir = (FIXTURES / "highlighting" / "samples" / "rfug" / section) + section_dir.mkdir(exist_ok=True, parents=True) + for slug, contents in slugs.items(): + for i, content in enumerate(contents): + out_file = (section_dir / f"{slug}__{i}.robot") + out_file.write_text(content) + robot_lines += [ + str(out_file.relative_to(section_dir.parent.parent)) + .replace(".robot", "").replace("/", "${/}") + ] + + return robot_lines + + +def rfug_fixtures(): + if not ROBOT.exists(): + subprocess.check_call(["git", "submodule", "update", "--init"], cwd=str(ROOT)) + subprocess.check_call(["python", "ug2html.py", "create"], cwd=str(UG)) + + tree = build_tree() + lines = write_fixtures(tree) + print(lines) + + return 0 + + +if __name__ == "__main__": + sys.exit(rfug_fixtures()) From 671458415003245f965136867e7ae93205f9a838 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 12:55:58 -0500 Subject: [PATCH 14/74] mostly working rfug workflow --- atest/acceptance/02_Robot/02_Highlight.robot | 136 ++++++++++++++++++ ...n_the_space_separated_format_two__0.tokens | 47 ++++++ .../one_file_can_contain_both_space__0.tokens | 83 +++++++++++ scripts/rfug.py | 2 +- 4 files changed, 267 insertions(+), 1 deletion(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index af2f520..232f941 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -17,6 +17,142 @@ Robot Syntax is Beautiful [Template] Robot Syntax Highlighting Should Yield Tokens basic${/}00_test_case # BEGIN RFUG + rfug${/}2.1.3${/}in_the_space_separated_format_two__0 + rfug${/}2.1.3${/}one_file_can_contain_both_space__0 + # rfug${/}2.1.3${/}there_is_no_need_to_escape__0 + # rfug${/}2.1.4${/}empty_cells_can_be_escaped_either__0 + # rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__0 + # rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__1 + # rfug${/}2.2.1${/}the_second_column_normally_has_keyword__0 + # rfug${/}2.2.1${/}example_test_case_with_settings___0 + # rfug${/}2.2.2${/}the_test_below_uses_keywords_create__0 + # rfug${/}2.2.2${/}using_default_values_is_illustrated_by__0 + # rfug${/}2.2.2${/}for_example__remove_files_and_join__0 + # rfug${/}2.2.2${/}the_named_argument_syntax_requires_the__0 + # rfug${/}2.2.2${/}the_following_example_demonstrates_using_the__0 + # rfug${/}2.2.2${/}as_the_first_example_of_using__0 + # rfug${/}2.2.2${/}as_the_second_example__let_s_create__0 + # rfug${/}2.2.2${/}as_an_example_of_using_the__0 + # rfug${/}2.2.3${/}by_default_error_messages_are_normal__0 + # rfug${/}2.2.4${/}if_documentation_is_split_into_multiple__0 + # rfug${/}2.2.5${/}tags_are_free_text__but_they__0 + # rfug${/}2.2.6${/}the_easiest_way_to_specify_a__0 + # rfug${/}2.2.7${/}how_a_keyword_accepting_normal_positional__0 + # rfug${/}2.2.7${/}if_a_templated_test_case_has__0 + # rfug${/}2.2.7${/}templates_support_a_variation_of_the_embedded__0 + # rfug${/}2.2.7${/}when_embedded_arguments_are_used_with__0 + # rfug${/}2.2.7${/}if_templates_are_used_with_for__0 + # rfug${/}2.2.8${/}another_style_to_write_test_cases__0 + # rfug${/}2.2.8${/}the_above_example_has_six_separate__0 + # rfug${/}2.2.8${/}one_way_to_write_these_requirements_tests__0 + # rfug${/}2.3.1${/}tasks_are_created_based_on_the__0 + # rfug${/}2.4.2${/}the_main_usage_for_initialization_files__0 + # rfug${/}2.4.3${/}the_documentation_for_a_test_suite__0 + # rfug${/}2.4.4${/}the_name_and_value_for_the__0 + # rfug${/}2.5.1${/}in_those_cases_where_the_library__0 + # rfug${/}2.5.1${/}another_possibility_to_take_a_test__0 + # rfug${/}2.5.2${/}if_the_library_is_a_file___0 + # rfug${/}2.5.3${/}the_basic_syntax_for_specifying_the__0 + # rfug${/}2.5.3${/}possible_arguments_to_the_library_are__0 + # rfug${/}2.6.2${/}the_example_below_illustrates_the_usage__0 + # rfug${/}2.6.2${/}with_these_two_variables_set__we__0 + # rfug${/}2.6.2${/}when_a_variable_is_used_as__0 + # rfug${/}2.6.2${/}it_is_possible_to_use_list__0 + # rfug${/}2.6.2${/}list_variables_can_be_used_only__0 + # rfug${/}2.6.2${/}as_discussed_above__a_variable_containing__0 + # rfug${/}2.6.2${/}it_is_possible_to_use_dictionary__0 + # rfug${/}2.6.2${/}dictionary_variables_cannot_generally_be_used__0 + # rfug${/}2.6.2${/}it_is_possible_to_access_a__0 + # rfug${/}2.6.2${/}list_item_access_supports_also_the__0 + # rfug${/}2.6.2${/}if_a_key_is_a_string___0 + # rfug${/}2.6.2${/}also_nested_list_and_dictionary_structures__0 + # rfug${/}2.6.2${/}environment_variables_set_in_the_operating__0 + # rfug${/}2.6.2${/}when_running_tests_with_jython__it__0 + # rfug${/}2.6.3${/}the_simplest_possible_variable_assignment_is__0 + # rfug${/}2.6.3${/}it_is_also_possible__but_not__0 + # rfug${/}2.6.3${/}if_a_scalar_variable_has_a__0 + # rfug${/}2.6.3${/}creating_list_variables_is_as_easy__0 + # rfug${/}2.6.3${/}dictionary_variables_can_be_created_in__0 + # rfug${/}2.6.3${/}any_value_returned_by_a_keyword__0 + # rfug${/}2.6.3${/}notice_that_although_a_value_is__0 + # rfug${/}2.6.3${/}if_a_keyword_returns_a_list__0 + # rfug${/}2.6.3${/}if_a_keyword_returns_a_list__1 + # rfug${/}2.6.3${/}if_a_keyword_returns_a_dictionary__0 + # rfug${/}2.6.4${/}built_in_variables_related_to_the_operating__0 + # rfug${/}2.6.4${/}the_variable_syntax_can_be_used__0 + # rfug${/}2.6.4${/}it_is_possible_to_create_integers__0 + # rfug${/}2.6.4${/}also_boolean_values_and_python_none__0 + # rfug${/}2.6.4${/}it_is_possible_to_create_spaces__0 + # rfug${/}2.6.4${/}there_is_also_an_empty_list__0 + # rfug${/}2.6.6${/}the_most_common_usages_of_extended__0 + # rfug${/}2.6.6${/}many_standard_python_objects__including_strings__0 + # rfug${/}2.6.6${/}it_is_possible_to_set_attributes__0 + # rfug${/}2.6.6${/}in_the_example_below__do_x__0 + # rfug${/}2.7.1${/}in_many_ways__the_overall_user__0 + # rfug${/}2.7.2${/}user_keywords_can_have_a_documentation__0 + # rfug${/}2.7.3${/}starting_from_robot_framework_2_9__keywords__0 + # rfug${/}2.7.4${/}the_syntax_is_such_that_first__0 + # rfug${/}2.7.4${/}the_syntax_for_default_values_is__0 + # rfug${/}2.7.4${/}when_a_keyword_accepts_several_arguments__0 + # rfug${/}2.7.4${/}sometimes_even_default_values_are_not__0 + # rfug${/}2.7.4${/}the_keywords_in_the_examples_above__0 + # rfug${/}2.7.4${/}user_keywords_can_also_accept_free__0 + # rfug${/}2.7.4${/}starting_from_robot_framework_3_1__user__0 + # rfug${/}2.7.4${/}named_only_arguments_can_be_used_together__0 + # rfug${/}2.7.4${/}when_passing_named_only_arguments_to_keywords___0 + # rfug${/}2.7.4${/}named_only_arguments_can_have_default_values__0 + # rfug${/}2.7.5${/}it_has_always_been_possible_to__0 + # rfug${/}2.7.5${/}when_keywords_with_embedded_arguments_are__0 + # rfug${/}2.7.5${/}a_custom_embedded_argument_regular_expression__0 + # rfug${/}2.7.5${/}whenever_custom_embedded_argument_regular_expressions__0 + # rfug${/}2.7.5${/}the_biggest_benefit_of_having_arguments__0 + # rfug${/}2.7.6${/}user_keywords_can_also_return_several__0 + # rfug${/}2.7.6${/}the_first_example_below_is_functionally__0 + # rfug${/}2.7.7${/}keyword_teardown_works_much_in_the__0 + # rfug${/}2.8.1${/}resource_files_can_use_all_the__0 + # rfug${/}2.8.1${/}both_libdoc_and_ride_use_these__0 + # rfug${/}2.8.2${/}all_test_data_files_can_import__0 + # rfug${/}2.8.2${/}the_variables_in_both_the_examples__0 + # rfug${/}2.8.2${/}if_the_above_yaml_file_is__0 + # rfug${/}2.9.2${/}if_there_is_a_timeout__the__0 + # rfug${/}2.9.2${/}starting_from_robot_framework_3_0__timeout__0 + # rfug${/}2.9.3${/}the_keywords_used_in_the_for__0 + # rfug${/}2.9.3${/}it_is_often_convenient_to_use__0 + # rfug${/}2.9.3${/}for_loop_syntax_was_enhanced_in__0 + # rfug${/}2.9.3${/}having_nested_for_loops_is_not__0 + # rfug${/}2.9.3${/}if_there_are_lot_of_values__0 + # rfug${/}2.9.3${/}it_is_possible_to_use_simple__0 + # rfug${/}2.9.3${/}for_example__the_following_two_test__0 + # rfug${/}2.9.3${/}just_like_with_regular_for_loops___0 + # rfug${/}2.9.3${/}this_may_be_easiest_to_show__0 + # rfug${/}2.9.3${/}exit_for_loop_and_exit_for__0 + # rfug${/}2.9.3${/}continue_for_loop_and_continue_for__0 + # rfug${/}2.9.3${/}for_loops_can_be_excessive_in__0 + # rfug${/}4.1.2${/}the_number_of_arguments_needed_by__0 + # rfug${/}4.1.3${/}the_example_below_illustrates_how_the__0 + # rfug${/}4.1.3${/}it_is_possible_to_expose_a__0 + # rfug${/}4.1.3${/}the_first_example_keyword_above_can__0 + # rfug${/}4.1.3${/}python_supports_methods_accepting_any_number__0 + # rfug${/}4.1.3${/}if_you_are_already_familiar_how__0 + # rfug${/}4.1.3${/}the_following_example_illustrates_how_normal__0 + # rfug${/}4.1.3${/}starting_from_robot_framework_3_1__it__0 + # rfug${/}4.1.3${/}if_no_type_information_is_specified__0 + # rfug${/}4.1.3${/}the_coercion_works_with_the_numeric__0 + # rfug${/}4.1.3${/}library_keywords_can_also_accept_arguments__0 + # rfug${/}4.1.4${/}values_are_returned_using_the_return__0 + # rfug${/}4.1.4${/}keywords_can_also_return_values_so__0 + # rfug${/}4.1.6${/}using_the_named_argument_syntax_with__0 + # rfug${/}4.1.6${/}using_the_free_named_argument_syntax__0 + # rfug${/}4.1.6${/}using_the_named_only_argument_syntax_with__0 + # rfug${/}4.1.9${/}this_approach_is_clearly_better_than__0 + # rfug${/}4.2.2${/}the_remote_library_needs_to_know__0 + # rfug${/}5.1.2${/}possible_variables_in_resource_files_can__0 + # rfug${/}6.3.1${/}when_documenting_test_suites__test_cases__0 + # rfug${/}6.3.1${/}adding_newlines_manually_to_a_long__0 + # rfug${/}6.3.1${/}no_automatic_newline_is_added_if__0 + # rfug${/}6.3.2${/}for_example__the_following_test_suite__0 + # rfug${/}6.4.3${/}keyword_can_also_accept_other_special__0 + # END RFUG *** Keywords *** diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens new file mode 100644 index 0000000..8c46507 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens @@ -0,0 +1,47 @@ +header link +meta +string +string +string +string +string +string +string +string +meta +string +header link +variable-2 +string +string +header link +header string +meta +string +string +keyword +bracket +variable-2 +keyword +keyword +bracket +string +header string +keyword +keyword +keyword +bracket +variable-2 +bracket +string +string +header link +def +def +meta +variable-2 +keyword +keyword +keyword +bracket +variable-2 diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens new file mode 100644 index 0000000..5744c05 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens @@ -0,0 +1,83 @@ +bracket +header link +bracket +bracket +meta +bracket +string +string +string +string +string +string +string +string +bracket +meta +bracket +string +bracket +header link +bracket +bracket +variable-2 +bracket +string +string +bracket +header link +bracket +bracket +bracket +bracket +header string +bracket +meta +bracket +string +string +bracket +bracket +bracket +keyword +bracket +variable-2 +bracket +bracket +bracket +keyword +keyword +bracket +string +bracket +bracket +header string +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket +string +string +bracket +header link +bracket +bracket +bracket +bracket +header string +bracket +meta +bracket +variable-2 +bracket +bracket +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket diff --git a/scripts/rfug.py b/scripts/rfug.py index d48ed7c..c858115 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -66,7 +66,7 @@ def rfug_fixtures(): tree = build_tree() lines = write_fixtures(tree) - print(lines) + print("\n".join(lines)) return 0 From 107c0ed69f668e9c6d8a866e2416939066e0d3ad Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 13:33:41 -0500 Subject: [PATCH 15/74] fix pipe assignment to keyword --- atest/acceptance/02_Robot/02_Highlight.robot | 267 +++++++++--------- .../jupyterlab-robotframework/src/mode.ts | 6 +- 2 files changed, 138 insertions(+), 135 deletions(-) diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 232f941..ceaad45 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -19,140 +19,139 @@ Robot Syntax is Beautiful # BEGIN RFUG rfug${/}2.1.3${/}in_the_space_separated_format_two__0 rfug${/}2.1.3${/}one_file_can_contain_both_space__0 - # rfug${/}2.1.3${/}there_is_no_need_to_escape__0 - # rfug${/}2.1.4${/}empty_cells_can_be_escaped_either__0 - # rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__0 - # rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__1 - # rfug${/}2.2.1${/}the_second_column_normally_has_keyword__0 - # rfug${/}2.2.1${/}example_test_case_with_settings___0 - # rfug${/}2.2.2${/}the_test_below_uses_keywords_create__0 - # rfug${/}2.2.2${/}using_default_values_is_illustrated_by__0 - # rfug${/}2.2.2${/}for_example__remove_files_and_join__0 - # rfug${/}2.2.2${/}the_named_argument_syntax_requires_the__0 - # rfug${/}2.2.2${/}the_following_example_demonstrates_using_the__0 - # rfug${/}2.2.2${/}as_the_first_example_of_using__0 - # rfug${/}2.2.2${/}as_the_second_example__let_s_create__0 - # rfug${/}2.2.2${/}as_an_example_of_using_the__0 - # rfug${/}2.2.3${/}by_default_error_messages_are_normal__0 - # rfug${/}2.2.4${/}if_documentation_is_split_into_multiple__0 - # rfug${/}2.2.5${/}tags_are_free_text__but_they__0 - # rfug${/}2.2.6${/}the_easiest_way_to_specify_a__0 - # rfug${/}2.2.7${/}how_a_keyword_accepting_normal_positional__0 - # rfug${/}2.2.7${/}if_a_templated_test_case_has__0 - # rfug${/}2.2.7${/}templates_support_a_variation_of_the_embedded__0 - # rfug${/}2.2.7${/}when_embedded_arguments_are_used_with__0 - # rfug${/}2.2.7${/}if_templates_are_used_with_for__0 - # rfug${/}2.2.8${/}another_style_to_write_test_cases__0 - # rfug${/}2.2.8${/}the_above_example_has_six_separate__0 - # rfug${/}2.2.8${/}one_way_to_write_these_requirements_tests__0 - # rfug${/}2.3.1${/}tasks_are_created_based_on_the__0 - # rfug${/}2.4.2${/}the_main_usage_for_initialization_files__0 - # rfug${/}2.4.3${/}the_documentation_for_a_test_suite__0 - # rfug${/}2.4.4${/}the_name_and_value_for_the__0 - # rfug${/}2.5.1${/}in_those_cases_where_the_library__0 - # rfug${/}2.5.1${/}another_possibility_to_take_a_test__0 - # rfug${/}2.5.2${/}if_the_library_is_a_file___0 - # rfug${/}2.5.3${/}the_basic_syntax_for_specifying_the__0 - # rfug${/}2.5.3${/}possible_arguments_to_the_library_are__0 - # rfug${/}2.6.2${/}the_example_below_illustrates_the_usage__0 - # rfug${/}2.6.2${/}with_these_two_variables_set__we__0 - # rfug${/}2.6.2${/}when_a_variable_is_used_as__0 - # rfug${/}2.6.2${/}it_is_possible_to_use_list__0 - # rfug${/}2.6.2${/}list_variables_can_be_used_only__0 - # rfug${/}2.6.2${/}as_discussed_above__a_variable_containing__0 - # rfug${/}2.6.2${/}it_is_possible_to_use_dictionary__0 - # rfug${/}2.6.2${/}dictionary_variables_cannot_generally_be_used__0 - # rfug${/}2.6.2${/}it_is_possible_to_access_a__0 - # rfug${/}2.6.2${/}list_item_access_supports_also_the__0 - # rfug${/}2.6.2${/}if_a_key_is_a_string___0 - # rfug${/}2.6.2${/}also_nested_list_and_dictionary_structures__0 - # rfug${/}2.6.2${/}environment_variables_set_in_the_operating__0 - # rfug${/}2.6.2${/}when_running_tests_with_jython__it__0 - # rfug${/}2.6.3${/}the_simplest_possible_variable_assignment_is__0 - # rfug${/}2.6.3${/}it_is_also_possible__but_not__0 - # rfug${/}2.6.3${/}if_a_scalar_variable_has_a__0 - # rfug${/}2.6.3${/}creating_list_variables_is_as_easy__0 - # rfug${/}2.6.3${/}dictionary_variables_can_be_created_in__0 - # rfug${/}2.6.3${/}any_value_returned_by_a_keyword__0 - # rfug${/}2.6.3${/}notice_that_although_a_value_is__0 - # rfug${/}2.6.3${/}if_a_keyword_returns_a_list__0 - # rfug${/}2.6.3${/}if_a_keyword_returns_a_list__1 - # rfug${/}2.6.3${/}if_a_keyword_returns_a_dictionary__0 - # rfug${/}2.6.4${/}built_in_variables_related_to_the_operating__0 - # rfug${/}2.6.4${/}the_variable_syntax_can_be_used__0 - # rfug${/}2.6.4${/}it_is_possible_to_create_integers__0 - # rfug${/}2.6.4${/}also_boolean_values_and_python_none__0 - # rfug${/}2.6.4${/}it_is_possible_to_create_spaces__0 - # rfug${/}2.6.4${/}there_is_also_an_empty_list__0 - # rfug${/}2.6.6${/}the_most_common_usages_of_extended__0 - # rfug${/}2.6.6${/}many_standard_python_objects__including_strings__0 - # rfug${/}2.6.6${/}it_is_possible_to_set_attributes__0 - # rfug${/}2.6.6${/}in_the_example_below__do_x__0 - # rfug${/}2.7.1${/}in_many_ways__the_overall_user__0 - # rfug${/}2.7.2${/}user_keywords_can_have_a_documentation__0 - # rfug${/}2.7.3${/}starting_from_robot_framework_2_9__keywords__0 - # rfug${/}2.7.4${/}the_syntax_is_such_that_first__0 - # rfug${/}2.7.4${/}the_syntax_for_default_values_is__0 - # rfug${/}2.7.4${/}when_a_keyword_accepts_several_arguments__0 - # rfug${/}2.7.4${/}sometimes_even_default_values_are_not__0 - # rfug${/}2.7.4${/}the_keywords_in_the_examples_above__0 - # rfug${/}2.7.4${/}user_keywords_can_also_accept_free__0 - # rfug${/}2.7.4${/}starting_from_robot_framework_3_1__user__0 - # rfug${/}2.7.4${/}named_only_arguments_can_be_used_together__0 - # rfug${/}2.7.4${/}when_passing_named_only_arguments_to_keywords___0 - # rfug${/}2.7.4${/}named_only_arguments_can_have_default_values__0 - # rfug${/}2.7.5${/}it_has_always_been_possible_to__0 - # rfug${/}2.7.5${/}when_keywords_with_embedded_arguments_are__0 - # rfug${/}2.7.5${/}a_custom_embedded_argument_regular_expression__0 - # rfug${/}2.7.5${/}whenever_custom_embedded_argument_regular_expressions__0 - # rfug${/}2.7.5${/}the_biggest_benefit_of_having_arguments__0 - # rfug${/}2.7.6${/}user_keywords_can_also_return_several__0 - # rfug${/}2.7.6${/}the_first_example_below_is_functionally__0 - # rfug${/}2.7.7${/}keyword_teardown_works_much_in_the__0 - # rfug${/}2.8.1${/}resource_files_can_use_all_the__0 - # rfug${/}2.8.1${/}both_libdoc_and_ride_use_these__0 - # rfug${/}2.8.2${/}all_test_data_files_can_import__0 - # rfug${/}2.8.2${/}the_variables_in_both_the_examples__0 - # rfug${/}2.8.2${/}if_the_above_yaml_file_is__0 - # rfug${/}2.9.2${/}if_there_is_a_timeout__the__0 - # rfug${/}2.9.2${/}starting_from_robot_framework_3_0__timeout__0 - # rfug${/}2.9.3${/}the_keywords_used_in_the_for__0 - # rfug${/}2.9.3${/}it_is_often_convenient_to_use__0 - # rfug${/}2.9.3${/}for_loop_syntax_was_enhanced_in__0 - # rfug${/}2.9.3${/}having_nested_for_loops_is_not__0 - # rfug${/}2.9.3${/}if_there_are_lot_of_values__0 - # rfug${/}2.9.3${/}it_is_possible_to_use_simple__0 - # rfug${/}2.9.3${/}for_example__the_following_two_test__0 - # rfug${/}2.9.3${/}just_like_with_regular_for_loops___0 - # rfug${/}2.9.3${/}this_may_be_easiest_to_show__0 - # rfug${/}2.9.3${/}exit_for_loop_and_exit_for__0 - # rfug${/}2.9.3${/}continue_for_loop_and_continue_for__0 - # rfug${/}2.9.3${/}for_loops_can_be_excessive_in__0 - # rfug${/}4.1.2${/}the_number_of_arguments_needed_by__0 - # rfug${/}4.1.3${/}the_example_below_illustrates_how_the__0 - # rfug${/}4.1.3${/}it_is_possible_to_expose_a__0 - # rfug${/}4.1.3${/}the_first_example_keyword_above_can__0 - # rfug${/}4.1.3${/}python_supports_methods_accepting_any_number__0 - # rfug${/}4.1.3${/}if_you_are_already_familiar_how__0 - # rfug${/}4.1.3${/}the_following_example_illustrates_how_normal__0 - # rfug${/}4.1.3${/}starting_from_robot_framework_3_1__it__0 - # rfug${/}4.1.3${/}if_no_type_information_is_specified__0 - # rfug${/}4.1.3${/}the_coercion_works_with_the_numeric__0 - # rfug${/}4.1.3${/}library_keywords_can_also_accept_arguments__0 - # rfug${/}4.1.4${/}values_are_returned_using_the_return__0 - # rfug${/}4.1.4${/}keywords_can_also_return_values_so__0 - # rfug${/}4.1.6${/}using_the_named_argument_syntax_with__0 - # rfug${/}4.1.6${/}using_the_free_named_argument_syntax__0 - # rfug${/}4.1.6${/}using_the_named_only_argument_syntax_with__0 - # rfug${/}4.1.9${/}this_approach_is_clearly_better_than__0 - # rfug${/}4.2.2${/}the_remote_library_needs_to_know__0 - # rfug${/}5.1.2${/}possible_variables_in_resource_files_can__0 - # rfug${/}6.3.1${/}when_documenting_test_suites__test_cases__0 - # rfug${/}6.3.1${/}adding_newlines_manually_to_a_long__0 - # rfug${/}6.3.1${/}no_automatic_newline_is_added_if__0 - # rfug${/}6.3.2${/}for_example__the_following_test_suite__0 - # rfug${/}6.4.3${/}keyword_can_also_accept_other_special__0 - + rfug${/}2.1.3${/}there_is_no_need_to_escape__0 + rfug${/}2.1.4${/}empty_cells_can_be_escaped_either__0 + rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__0 + rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__1 + rfug${/}2.2.1${/}the_second_column_normally_has_keyword__0 + rfug${/}2.2.1${/}example_test_case_with_settings___0 + rfug${/}2.2.2${/}the_test_below_uses_keywords_create__0 + rfug${/}2.2.2${/}using_default_values_is_illustrated_by__0 + rfug${/}2.2.2${/}for_example__remove_files_and_join__0 + rfug${/}2.2.2${/}the_named_argument_syntax_requires_the__0 + rfug${/}2.2.2${/}the_following_example_demonstrates_using_the__0 + rfug${/}2.2.2${/}as_the_first_example_of_using__0 + rfug${/}2.2.2${/}as_the_second_example__let_s_create__0 + rfug${/}2.2.2${/}as_an_example_of_using_the__0 + rfug${/}2.2.3${/}by_default_error_messages_are_normal__0 + rfug${/}2.2.4${/}if_documentation_is_split_into_multiple__0 + rfug${/}2.2.5${/}tags_are_free_text__but_they__0 + rfug${/}2.2.6${/}the_easiest_way_to_specify_a__0 + rfug${/}2.2.7${/}how_a_keyword_accepting_normal_positional__0 + rfug${/}2.2.7${/}if_a_templated_test_case_has__0 + rfug${/}2.2.7${/}templates_support_a_variation_of_the_embedded__0 + rfug${/}2.2.7${/}when_embedded_arguments_are_used_with__0 + rfug${/}2.2.7${/}if_templates_are_used_with_for__0 + rfug${/}2.2.8${/}another_style_to_write_test_cases__0 + rfug${/}2.2.8${/}the_above_example_has_six_separate__0 + rfug${/}2.2.8${/}one_way_to_write_these_requirements_tests__0 + rfug${/}2.3.1${/}tasks_are_created_based_on_the__0 + rfug${/}2.4.2${/}the_main_usage_for_initialization_files__0 + rfug${/}2.4.3${/}the_documentation_for_a_test_suite__0 + rfug${/}2.4.4${/}the_name_and_value_for_the__0 + rfug${/}2.5.1${/}in_those_cases_where_the_library__0 + rfug${/}2.5.1${/}another_possibility_to_take_a_test__0 + rfug${/}2.5.2${/}if_the_library_is_a_file___0 + rfug${/}2.5.3${/}the_basic_syntax_for_specifying_the__0 + rfug${/}2.5.3${/}possible_arguments_to_the_library_are__0 + rfug${/}2.6.2${/}the_example_below_illustrates_the_usage__0 + rfug${/}2.6.2${/}with_these_two_variables_set__we__0 + rfug${/}2.6.2${/}when_a_variable_is_used_as__0 + rfug${/}2.6.2${/}it_is_possible_to_use_list__0 + rfug${/}2.6.2${/}list_variables_can_be_used_only__0 + rfug${/}2.6.2${/}as_discussed_above__a_variable_containing__0 + rfug${/}2.6.2${/}it_is_possible_to_use_dictionary__0 + rfug${/}2.6.2${/}dictionary_variables_cannot_generally_be_used__0 + rfug${/}2.6.2${/}it_is_possible_to_access_a__0 + rfug${/}2.6.2${/}list_item_access_supports_also_the__0 + rfug${/}2.6.2${/}if_a_key_is_a_string___0 + rfug${/}2.6.2${/}also_nested_list_and_dictionary_structures__0 + rfug${/}2.6.2${/}environment_variables_set_in_the_operating__0 + rfug${/}2.6.2${/}when_running_tests_with_jython__it__0 + rfug${/}2.6.3${/}the_simplest_possible_variable_assignment_is__0 + rfug${/}2.6.3${/}it_is_also_possible__but_not__0 + rfug${/}2.6.3${/}if_a_scalar_variable_has_a__0 + rfug${/}2.6.3${/}creating_list_variables_is_as_easy__0 + rfug${/}2.6.3${/}dictionary_variables_can_be_created_in__0 + rfug${/}2.6.3${/}any_value_returned_by_a_keyword__0 + rfug${/}2.6.3${/}notice_that_although_a_value_is__0 + rfug${/}2.6.3${/}if_a_keyword_returns_a_list__0 + rfug${/}2.6.3${/}if_a_keyword_returns_a_list__1 + rfug${/}2.6.3${/}if_a_keyword_returns_a_dictionary__0 + rfug${/}2.6.4${/}built_in_variables_related_to_the_operating__0 + rfug${/}2.6.4${/}the_variable_syntax_can_be_used__0 + rfug${/}2.6.4${/}it_is_possible_to_create_integers__0 + rfug${/}2.6.4${/}also_boolean_values_and_python_none__0 + rfug${/}2.6.4${/}it_is_possible_to_create_spaces__0 + rfug${/}2.6.4${/}there_is_also_an_empty_list__0 + rfug${/}2.6.6${/}the_most_common_usages_of_extended__0 + rfug${/}2.6.6${/}many_standard_python_objects__including_strings__0 + rfug${/}2.6.6${/}it_is_possible_to_set_attributes__0 + rfug${/}2.6.6${/}in_the_example_below__do_x__0 + rfug${/}2.7.1${/}in_many_ways__the_overall_user__0 + rfug${/}2.7.2${/}user_keywords_can_have_a_documentation__0 + rfug${/}2.7.3${/}starting_from_robot_framework_2_9__keywords__0 + rfug${/}2.7.4${/}the_syntax_is_such_that_first__0 + rfug${/}2.7.4${/}the_syntax_for_default_values_is__0 + rfug${/}2.7.4${/}when_a_keyword_accepts_several_arguments__0 + rfug${/}2.7.4${/}sometimes_even_default_values_are_not__0 + rfug${/}2.7.4${/}the_keywords_in_the_examples_above__0 + rfug${/}2.7.4${/}user_keywords_can_also_accept_free__0 + rfug${/}2.7.4${/}starting_from_robot_framework_3_1__user__0 + rfug${/}2.7.4${/}named_only_arguments_can_be_used_together__0 + rfug${/}2.7.4${/}when_passing_named_only_arguments_to_keywords___0 + rfug${/}2.7.4${/}named_only_arguments_can_have_default_values__0 + rfug${/}2.7.5${/}it_has_always_been_possible_to__0 + rfug${/}2.7.5${/}when_keywords_with_embedded_arguments_are__0 + rfug${/}2.7.5${/}a_custom_embedded_argument_regular_expression__0 + rfug${/}2.7.5${/}whenever_custom_embedded_argument_regular_expressions__0 + rfug${/}2.7.5${/}the_biggest_benefit_of_having_arguments__0 + rfug${/}2.7.6${/}user_keywords_can_also_return_several__0 + rfug${/}2.7.6${/}the_first_example_below_is_functionally__0 + rfug${/}2.7.7${/}keyword_teardown_works_much_in_the__0 + rfug${/}2.8.1${/}resource_files_can_use_all_the__0 + rfug${/}2.8.1${/}both_libdoc_and_ride_use_these__0 + rfug${/}2.8.2${/}all_test_data_files_can_import__0 + rfug${/}2.8.2${/}the_variables_in_both_the_examples__0 + rfug${/}2.8.2${/}if_the_above_yaml_file_is__0 + rfug${/}2.9.2${/}if_there_is_a_timeout__the__0 + rfug${/}2.9.2${/}starting_from_robot_framework_3_0__timeout__0 + rfug${/}2.9.3${/}the_keywords_used_in_the_for__0 + rfug${/}2.9.3${/}it_is_often_convenient_to_use__0 + rfug${/}2.9.3${/}for_loop_syntax_was_enhanced_in__0 + rfug${/}2.9.3${/}having_nested_for_loops_is_not__0 + rfug${/}2.9.3${/}if_there_are_lot_of_values__0 + rfug${/}2.9.3${/}it_is_possible_to_use_simple__0 + rfug${/}2.9.3${/}for_example__the_following_two_test__0 + rfug${/}2.9.3${/}just_like_with_regular_for_loops___0 + rfug${/}2.9.3${/}this_may_be_easiest_to_show__0 + rfug${/}2.9.3${/}exit_for_loop_and_exit_for__0 + rfug${/}2.9.3${/}continue_for_loop_and_continue_for__0 + rfug${/}2.9.3${/}for_loops_can_be_excessive_in__0 + rfug${/}4.1.2${/}the_number_of_arguments_needed_by__0 + rfug${/}4.1.3${/}the_example_below_illustrates_how_the__0 + rfug${/}4.1.3${/}it_is_possible_to_expose_a__0 + rfug${/}4.1.3${/}the_first_example_keyword_above_can__0 + rfug${/}4.1.3${/}python_supports_methods_accepting_any_number__0 + rfug${/}4.1.3${/}if_you_are_already_familiar_how__0 + rfug${/}4.1.3${/}the_following_example_illustrates_how_normal__0 + rfug${/}4.1.3${/}starting_from_robot_framework_3_1__it__0 + rfug${/}4.1.3${/}if_no_type_information_is_specified__0 + rfug${/}4.1.3${/}the_coercion_works_with_the_numeric__0 + rfug${/}4.1.3${/}library_keywords_can_also_accept_arguments__0 + rfug${/}4.1.4${/}values_are_returned_using_the_return__0 + rfug${/}4.1.4${/}keywords_can_also_return_values_so__0 + rfug${/}4.1.6${/}using_the_named_argument_syntax_with__0 + rfug${/}4.1.6${/}using_the_free_named_argument_syntax__0 + rfug${/}4.1.6${/}using_the_named_only_argument_syntax_with__0 + rfug${/}4.1.9${/}this_approach_is_clearly_better_than__0 + rfug${/}4.2.2${/}the_remote_library_needs_to_know__0 + rfug${/}5.1.2${/}possible_variables_in_resource_files_can__0 + rfug${/}6.3.1${/}when_documenting_test_suites__test_cases__0 + rfug${/}6.3.1${/}adding_newlines_manually_to_a_long__0 + rfug${/}6.3.1${/}no_automatic_newline_is_added_if__0 + rfug${/}6.3.2${/}for_example__the_following_test_suite__0 + rfug${/}6.4.3${/}keyword_can_also_accept_other_special__0 # END RFUG *** Keywords *** diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index a649ce9..4f4f0a2 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -64,6 +64,10 @@ export enum TT { V2 = 'variable-2' } +// function LINK(token: TT): TT { +// return (token + '.link') as any; +// } + /** An implementation of the CodeMirror simple mode object @@ -460,6 +464,7 @@ states.test_cases = [ /** rules for inside of an invoked keyword instance */ states.keyword_invocation = [ + r(/( ?)(=)(\t+| +|\s+\|)/, [null, TT.OP, null]), r(/(?=\s*$)/, null, { pop: true }), r(/(\\|\.\.\.) +/, TT.BK, { pop: true }), RULE_VAR_START, @@ -468,7 +473,6 @@ states.keyword_invocation = [ r(/#.*$/, TT.CM, { pop: true }), r(/( \| | +|\t+)(?=[$@&])/, TT.BK), r(/( \| | +|\t+)/, TT.BK, { pop: true }), - r(/( ?)(=)(\t+| +)/, [null, TT.OP, null]), r(/ /, null), r(KEYWORD_WORD_BEFORE_VAR, TT.KW, { pop: true }), r(KEYWORD_WORD_BEFORE_SEP, TT.KW, { pop: true }), From 14f7c1821dd035de8cccab91accc7ad002003ac4 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 13:36:57 -0500 Subject: [PATCH 16/74] work on script --- anaconda-project.yml | 12 ++++++++++-- scripts/rfug.py | 28 +++++++++++++++++----------- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index 17f520c..efe028d 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -48,6 +48,9 @@ commands: && cd src/packages/jupyterlab-robotframework \ && mv $(npm pack) ../../../dist/npm/ env_spec: test + build:rfug: + unix: python -m scripts.rfug + env_spec: docs jlpm: description: run the yarn bundled with JupyterLab unix: jlpm @@ -73,6 +76,8 @@ commands: && python -m robot \ -d ../../_testoutput \ --xunit junit_robot.xml \ + --include feature:highlighting \ + -X \ . env_spec: test test:release: @@ -89,9 +94,9 @@ commands: --configure TooManyTestSteps:20 \ --configure TooFewKeywordSteps:0 \ --configure LineTooLong:200 \ - atest/{acceptance,resources}/*.robot \ + -r atest/{acceptance,resources}/*.robot \ && black --line-length 88 setup.py ./src/irobotframework/ scripts docs \ - && flake8 --max-line-length=88 \ + && flake8 --max-line-length=88 scripts src/irobotframework setup.py docs \ && jlpm lint env_spec: test release:pypi: @@ -148,6 +153,9 @@ env_specs: - default packages: - nbsphinx + - lxml - sphinx - sphinx_rtd_theme - sphinx-autobuild + - pip: + - robotframeworklexer diff --git a/scripts/rfug.py b/scripts/rfug.py index c858115..bc4bfe4 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -1,3 +1,6 @@ +# Copyright (c) 2018 Georgia Tech Research Corporation +# Distributed under the terms of the BSD-3-Clause License + import re import sys import subprocess @@ -16,8 +19,11 @@ def is_robot_src(el): txt = el.text_content() if ".. code::" in txt: return False - return re.findall(r"\*\s*(setting|test case|task|keyword|variable)s?", - el.text_content(), flags=re.I) + return re.findall( + r"\*\s*(setting|test case|task|keyword|variable)s?", + el.text_content(), + flags=re.I, + ) def build_tree(): @@ -28,13 +34,12 @@ def build_tree(): tree = {} for el in els: - pel = el.xpath('preceding::*[self::p]')[-1] + pel = el.xpath("preceding::*[self::p]")[-1] h3 = el.xpath("preceding::*[self::h3]")[-1] - slug = re.sub(r'[^a-z0-9]', '_', - "_".join(pel.text_content().lower().split(" ")[0:6])) - tree.setdefault( - h3.text_content().split('\xa0')[0], {} - ).setdefault( + slug = re.sub( + r"[^a-z0-9]", "_", "_".join(pel.text_content().lower().split(" ")[0:6]) + ) + tree.setdefault(h3.text_content().split("\xa0")[0], {}).setdefault( slug, [] ).append(el.text_content()) @@ -45,15 +50,16 @@ def write_fixtures(tree): robot_lines = [] for section, slugs in tree.items(): - section_dir = (FIXTURES / "highlighting" / "samples" / "rfug" / section) + section_dir = FIXTURES / "highlighting" / "samples" / "rfug" / section section_dir.mkdir(exist_ok=True, parents=True) for slug, contents in slugs.items(): for i, content in enumerate(contents): - out_file = (section_dir / f"{slug}__{i}.robot") + out_file = section_dir / f"{slug}__{i}.robot" out_file.write_text(content) robot_lines += [ str(out_file.relative_to(section_dir.parent.parent)) - .replace(".robot", "").replace("/", "${/}") + .replace(".robot", "") + .replace("/", "${/}") ] return robot_lines From 80d9889e1d8c66bd359022794608021eb3b324c6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 13:57:34 -0500 Subject: [PATCH 17/74] more validation --- .../there_is_no_need_to_escape__0.tokens | 31 +++++++ ...ll_the_syntax_discussed_above_is__0.tokens | 93 +++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens new file mode 100644 index 0000000..e2a1a10 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens @@ -0,0 +1,31 @@ +bracket +header link +bracket +bracket +bracket +bracket +bracket +header string +bracket +variable-2 +operator +keyword +keyword +bracket +string +string +string +string +string +string +bracket +bracket +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket +string +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens new file mode 100644 index 0000000..05d4ace --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens @@ -0,0 +1,93 @@ +header link +meta +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +meta +tag +tag +tag +tag +tag +header link +variable-2 +string +string +string +string +string +string +string +string +string +string +string +string +string +header link +header string +bracket +meta +bracket +tag +tag +tag +tag +tag +tag +tag +tag +tag +tag +tag +keyword +keyword +bracket +string +string +string +string +string +string +string +string +string +string +string +string +variable-2 +operator +keyword +keyword +bracket +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string \ No newline at end of file From edd311d913f7d4e2d7e0bc0b11ba486cd444f526 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 14:38:00 -0500 Subject: [PATCH 18/74] fix tag continuation lines --- .../jupyterlab-robotframework/src/mode.ts | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 4f4f0a2..6a2924b 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -64,9 +64,9 @@ export enum TT { V2 = 'variable-2' } -// function LINK(token: TT): TT { -// return (token + '.link') as any; -// } +export function LINK(token: TT): TT { + return (token + '.link') as any; +} /** An implementation of the CodeMirror simple mode object @@ -212,6 +212,8 @@ const RULE_SETTING_LIBRARY_PIPE = r( /** rule to escape the final closing bracket of a var at the end of a line */ const RULE_LINE_ENDS_WITH_VAR = r(/\}\s*(?=$)/, TT.V2, { pop: true }); +const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, TT.BK], { sol: true }); + /** collects the states that we build */ const states: Partial = {}; @@ -220,6 +222,7 @@ const base = [ ...RULES_TABLE, RULE_VAR_START, RULE_VAR_END, + RULE_ELLIPSIS, r(/\|/, TT.BK), r(/#.*$/, TT.CM), r(/\\ +/, TT.BK), @@ -266,8 +269,6 @@ states.library = [ ...base ]; -const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, TT.BK]); - /** rule for behavior-driven-development keywords */ const RULE_START_BDD = r( /(\|\s*\|\s*|\s\s+)?(given|when|then|and|but)/i, @@ -313,14 +314,15 @@ const RULE_START_LOOP_NEW = r( /** rules for capturing individual tags */ states.tags = [ r(/\s\|\s*/, TT.BK), - r(/^($|\n)/, null, { pop: true }), + RULE_ELLIPSIS, + r(/(?!\.\.\.)/, null, { sol: true, pop: true }), RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, - r(/^\s*(?=$)/, null, { pop: true }), + // r(/\s*(?=$)/, null, { pop: true }), r(/ +/, null), r(/[^\$&%@]*?(?=( +| \|))/, TT.TG), - r(/[^\$&%@]*?(?=\s*\|?$)/, TT.TG, { pop: true }), + // r(/[^\$&%@]*?(?=\s*\|?$)/, TT.TG, { pop: true }), // fall back to single char r(/[^\$&%@|]/, TT.TG) ]; From db3166ce26ab98607850f6ffbad8e7b478e2af03 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 14:58:15 -0500 Subject: [PATCH 19/74] more validation --- ...ll_the_syntax_discussed_above_is__1.tokens | 104 ++++++++++++++++++ ...mpty_cells_can_be_escaped_either__0.tokens | 28 +++++ ...example_test_case_with_settings___0.tokens | 15 +++ ...cond_column_normally_has_keyword__0.tokens | 41 +++++++ .../as_an_example_of_using_the__0.tokens | 32 ++++++ .../as_the_first_example_of_using__0.tokens | 22 ++++ ...the_second_example__let_s_create__0.tokens | 32 ++++++ ...r_example__remove_files_and_join__0.tokens | 32 ++++++ 8 files changed, 306 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens new file mode 100644 index 0000000..951d88d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens @@ -0,0 +1,104 @@ +header link +meta +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +string +meta +tag +tag +tag +tag +tag +bracket +tag +tag +tag +tag +header link +variable-2 +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +header link +header string +bracket +meta +bracket +tag +tag +tag +tag +tag +tag +tag +bracket +tag +tag +tag +tag +keyword +keyword +bracket +string +string +string +string +string +string +bracket +string +string +string +string +string +string +variable-2 +operator +keyword +keyword +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens new file mode 100644 index 0000000..d6682f6 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens @@ -0,0 +1,28 @@ +header link +header string +keyword +keyword +bracket +string +string +bracket +header string +keyword +keyword +bracket +string +string +variable-2 +builtin +variable-2 +header string +keyword +keyword +bracket +variable-2 +builtin +variable-2 +bracket +string +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens new file mode 100644 index 0000000..de1aceb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens @@ -0,0 +1,15 @@ +header link +header string +meta +string +string +string +bracket +meta +bracket +tag +tag +keyword +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens new file mode 100644 index 0000000..c719a4f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens @@ -0,0 +1,41 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +bracket +string +keyword +keyword +bracket +string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +keyword +keyword +bracket +string +string +string +string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +bracket +variable-2 +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens new file mode 100644 index 0000000..08f5a39 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens @@ -0,0 +1,32 @@ +header link +header string +keyword +keyword +bracket +string +string +comment +keyword +keyword +bracket +string +attribute +operator +string +comment +header link +def +def +meta +variable-2 +variable-2 +operator +string +keyword +keyword +bracket +string +variable-2 +attribute +operator +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens new file mode 100644 index 0000000..837a3b7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens @@ -0,0 +1,22 @@ +header link +header string +keyword +keyword +bracket +string +string +string +attribute +operator +string +keyword +keyword +bracket +string +string +attribute +operator +string +attribute +operator +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens new file mode 100644 index 0000000..3a556bd --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens @@ -0,0 +1,32 @@ +header link +header string +keyword +keyword +bracket +string +string +attribute +operator +string +keyword +keyword +bracket +string +attribute +operator +string +attribute +operator +variable-2 +header link +def +def +meta +variable-2 +variable-2 +keyword +keyword +bracket +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens new file mode 100644 index 0000000..44cd89e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens @@ -0,0 +1,32 @@ +header link +header string +keyword +keyword +bracket +variable-2 +builtin +variable-2 +keyword +bracket +variable-2 +builtin +variable-2 +keyword +bracket +variable-2 +builtin +variable-2 +keyword +variable-2 +operator +keyword +keyword +bracket +variable-2 +builtin +variable-2 +bracket +string +string +string +string \ No newline at end of file From 81d2a8c0a262b4025d2686f16bb1c726eff79583 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 14:59:47 -0500 Subject: [PATCH 20/74] handle lonely var starters as strings --- src/packages/jupyterlab-robotframework/src/mode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 6a2924b..ffff992 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -232,7 +232,8 @@ const base = [ r(/\*.*?\*/, TT.SS), r(/\_.*?\_/, TT.SE), // this is pretty extreme, but seems to work - r(/[^\s\$]+/, TT.ST) + r(/[^\s\$@%&]+/, TT.ST), + r(/[\$@%&](?!\{)/, TT.ST) ]; /** the starting state (begining of a file) */ From 52113d336a1a1bc4c093a832582a4b1e2ea9052f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 15:13:38 -0500 Subject: [PATCH 21/74] some tag token drift at EOL --- .../rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens index 05d4ace..f72859d 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens @@ -22,6 +22,8 @@ tag tag tag tag +tag +tag header link variable-2 string From d9cf404da83c83518eedef30b225b3584f27eda2 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 15:49:23 -0500 Subject: [PATCH 22/74] more handling around library (with name) --- .../jupyterlab-robotframework/src/mode.ts | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index ffff992..1652fd6 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -213,6 +213,10 @@ const RULE_SETTING_LIBRARY_PIPE = r( const RULE_LINE_ENDS_WITH_VAR = r(/\}\s*(?=$)/, TT.V2, { pop: true }); const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, TT.BK], { sol: true }); +const RULE_NOT_ELLIPSIS_POP = r(/(?!\s*\.\.\.)/, null, { + pop: true, + sol: true +}); /** collects the states that we build */ const states: Partial = {}; @@ -263,10 +267,17 @@ states.settings = [ ]; states.library = [ + RULE_NOT_ELLIPSIS_POP, + RULE_ELLIPSIS, RULE_LINE_ENDS_WITH_VAR, - r(/WITH NAME$/, TT.AM, { pop: true }), - r(/WITH NAME/, TT.AM), - r(/[^\}\|\s]*$/, TT.ST, { pop: true }), + r( + /(WITH NAME)(\t+| +| +\| +)([^\|\s]*)(\s*)(\|?)(\s*)(?=$)/, + [TT.AM, TT.BK, TT.DF, null, TT.BK, null], + { + pop: true + } + ), + // r(/[^\}\|\s]*$/, TT.ST, { pop: true }), ...base ]; @@ -316,7 +327,7 @@ const RULE_START_LOOP_NEW = r( states.tags = [ r(/\s\|\s*/, TT.BK), RULE_ELLIPSIS, - r(/(?!\.\.\.)/, null, { sol: true, pop: true }), + RULE_NOT_ELLIPSIS_POP, RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, From 4de0de3202f77112eef8f36bd81246ec1e4cba8d Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 16:08:16 -0500 Subject: [PATCH 23/74] handle keyword invocation before simple whitespace --- src/packages/jupyterlab-robotframework/src/mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 1652fd6..de1bb4c 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -381,7 +381,7 @@ states.keywords = [ /** a keyword name fragment before an inline variable */ const KEYWORD_WORD_BEFORE_VAR = /([^\s]*?(?=[\$&%@]\{))/i; /** a keyword name fragment before a separator */ -const KEYWORD_WORD_BEFORE_SEP = /[^\s\|]+(?=$|[|]|\t)/; +const KEYWORD_WORD_BEFORE_SEP = /[^\s\|]+(?=$|[|]|\t| +)/; /** a keyword name fragment before a non-separator whitespace character */ const KEYWORD_WORD_BEFORE_WS = /([^\n\$\s*=\|]+?(?= ))/i; From 996d7251f11e1a65e874f0a73cad1876c943a91f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 16:08:24 -0500 Subject: [PATCH 24/74] more validation --- ...g_example_demonstrates_using_the__0.tokens | 51 +++++++++++++++++++ ...med_argument_syntax_requires_the__0.tokens | 20 ++++++++ 2 files changed, 71 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens new file mode 100644 index 0000000..eb753d2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens @@ -0,0 +1,51 @@ +header link +meta +string +attribute +operator +string +attribute +operator +string +header link +header string +keyword +keyword +bracket +string +attribute +operator +variable-2 +attribute +operator +string +keyword +keyword +bracket +attribute +operator +string +keyword +keyword +bracket +attribute +operator +string +attribute +operator +string +header link +def +def +meta +variable-2 +operator +string +variable-2 +operator +keyword +keyword +bracket +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens new file mode 100644 index 0000000..bd267d3 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +bracket +attribute +operator +string +comment +header link +def +def +meta +variable-2 +keyword +keyword +bracket +string +variable-2 +comment \ No newline at end of file From 0eb8a2a755d12cf88ee76f3264e336b839e3694e Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 16:21:01 -0500 Subject: [PATCH 25/74] more validating (some bracket churn) --- ...n_the_space_separated_format_two__0.tokens | 7 +----- ...ll_the_syntax_discussed_above_is__0.tokens | 2 -- ...ll_the_syntax_discussed_above_is__1.tokens | 1 - ...mpty_cells_can_be_escaped_either__0.tokens | 4 --- ...example_test_case_with_settings___0.tokens | 1 - ...cond_column_normally_has_keyword__0.tokens | 5 ---- .../as_an_example_of_using_the__0.tokens | 3 --- .../as_the_first_example_of_using__0.tokens | 2 -- ...the_second_example__let_s_create__0.tokens | 3 --- ...r_example__remove_files_and_join__0.tokens | 11 +++----- ...g_example_demonstrates_using_the__0.tokens | 4 --- ...med_argument_syntax_requires_the__0.tokens | 2 -- ..._test_below_uses_keywords_create__0.tokens | 20 +++++++++++++++ ...default_values_is_illustrated_by__0.tokens | 25 +++++++++++++++++++ 14 files changed, 49 insertions(+), 41 deletions(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens index 8c46507..de84431 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens @@ -20,19 +20,15 @@ meta string string keyword -bracket variable-2 keyword keyword -bracket string header string keyword keyword keyword -bracket variable-2 -bracket string string header link @@ -43,5 +39,4 @@ variable-2 keyword keyword keyword -bracket -variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens index f72859d..2cd0a63 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens @@ -57,7 +57,6 @@ tag tag keyword keyword -bracket string string string @@ -74,7 +73,6 @@ variable-2 operator keyword keyword -bracket string string string diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens index 951d88d..3fc66f8 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens @@ -64,7 +64,6 @@ tag tag keyword keyword -bracket string string string diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens index d6682f6..d3569f1 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens @@ -2,14 +2,12 @@ header link header string keyword keyword -bracket string string bracket header string keyword keyword -bracket string string variable-2 @@ -18,11 +16,9 @@ variable-2 header string keyword keyword -bracket variable-2 builtin variable-2 -bracket string string comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens index de1aceb..2243b1e 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens @@ -10,6 +10,5 @@ bracket tag tag keyword -bracket string string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens index c719a4f..d8a1818 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens @@ -5,11 +5,9 @@ keyword keyword keyword keyword -bracket string keyword keyword -bracket string keyword keyword @@ -21,7 +19,6 @@ keyword header string keyword keyword -bracket string string string @@ -34,8 +31,6 @@ keyword keyword keyword keyword -bracket variable-2 -bracket string string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens index 08f5a39..e9a5572 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens @@ -2,13 +2,11 @@ header link header string keyword keyword -bracket string string comment keyword keyword -bracket string attribute operator @@ -24,7 +22,6 @@ operator string keyword keyword -bracket string variable-2 attribute diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens index 837a3b7..b60cc7e 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens @@ -2,7 +2,6 @@ header link header string keyword keyword -bracket string string string @@ -11,7 +10,6 @@ operator string keyword keyword -bracket string string attribute diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens index 3a556bd..b6c9627 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens @@ -2,7 +2,6 @@ header link header string keyword keyword -bracket string string attribute @@ -10,7 +9,6 @@ operator string keyword keyword -bracket string attribute operator @@ -26,7 +24,6 @@ variable-2 variable-2 keyword keyword -bracket string variable-2 variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens index 44cd89e..4b05617 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens @@ -2,30 +2,25 @@ header link header string keyword keyword -bracket variable-2 builtin variable-2 -keyword -bracket +string variable-2 builtin variable-2 -keyword -bracket +string variable-2 builtin variable-2 -keyword +string variable-2 operator keyword keyword -bracket variable-2 builtin variable-2 -bracket string string string diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens index eb753d2..3b6a566 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens @@ -11,7 +11,6 @@ header link header string keyword keyword -bracket string attribute operator @@ -21,13 +20,11 @@ operator string keyword keyword -bracket attribute operator string keyword keyword -bracket attribute operator string @@ -45,7 +42,6 @@ variable-2 operator keyword keyword -bracket string variable-2 variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens index bd267d3..48c15a7 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens @@ -2,7 +2,6 @@ header link header string keyword keyword -bracket attribute operator string @@ -14,7 +13,6 @@ meta variable-2 keyword keyword -bracket string variable-2 comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens new file mode 100644 index 0000000..f800dc7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +keyword +keyword +variable-2 +builtin +variable-2 +string +variable-2 +builtin +variable-2 +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens new file mode 100644 index 0000000..1ff8b9f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens @@ -0,0 +1,25 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +keyword +keyword +variable-2 +builtin +variable-2 +string +string +string +keyword +keyword +variable-2 +builtin +variable-2 +string +string +string +string \ No newline at end of file From ce93cf97016dea6b34b85dd4afe6f09f2c7ed3ee Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 18:28:09 -0500 Subject: [PATCH 26/74] clean up anaconda-project --- anaconda-project.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index efe028d..05d27b9 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -76,8 +76,6 @@ commands: && python -m robot \ -d ../../_testoutput \ --xunit junit_robot.xml \ - --include feature:highlighting \ - -X \ . env_spec: test test:release: @@ -140,6 +138,7 @@ env_specs: - black - flake8 - geckodriver + - hypothesis - jupyter_kernel_test - pylint - pytest From b6ecd54586f80da99ff4b97aefa265eafa0286bd Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 19:00:26 -0500 Subject: [PATCH 27/74] more validating --- .../tokens/basic/00_test_case.tokens | 1 - ...efault_error_messages_are_normal__0.tokens | 26 ++++++ ...mentation_is_split_into_multiple__0.tokens | 51 ++++++++++++ .../tags_are_free_text__but_they__0.tokens | 83 +++++++++++++++++++ 4 files changed, 160 insertions(+), 1 deletion(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens diff --git a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens index 8644800..4b8f540 100644 --- a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens +++ b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens @@ -1,6 +1,5 @@ header link header string keyword -bracket string string diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens new file mode 100644 index 0000000..1ea9cae --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens @@ -0,0 +1,26 @@ +header link +header string +keyword +string +string +string +string +string +string +header string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +string +string strong +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens new file mode 100644 index 0000000..5ce0eb7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens @@ -0,0 +1,51 @@ +header link +header string +meta +string +string +keyword +keyword +header string +meta +string strong +string +em string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +variable-2 +string +variable-2 +keyword +keyword +header string +meta +string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +bracket +string +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens new file mode 100644 index 0000000..1b21d8d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens @@ -0,0 +1,83 @@ +header link +meta +tag +meta +tag +tag +header link +variable-2 +string +header link +header string +meta +string +string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +string +string +bracket +meta +bracket +tag +tag +keyword +keyword +header string +meta +string +string +string +string +string +string +string +bracket +meta +bracket +tag +variable-2 +keyword +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +keyword +keyword +header string +meta +string +string +string +string +string +string +string +keyword +keyword +string +keyword +keyword +string +string \ No newline at end of file From 16791101c5653274e3306122ba7f8ec70d743eaf Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 19:11:12 -0500 Subject: [PATCH 28/74] more escaping from invocation --- src/packages/jupyterlab-robotframework/src/mode.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index de1bb4c..a1041e1 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -480,6 +480,7 @@ states.test_cases = [ states.keyword_invocation = [ r(/( ?)(=)(\t+| +|\s+\|)/, [null, TT.OP, null]), r(/(?=\s*$)/, null, { pop: true }), + RULE_NOT_ELLIPSIS_POP, r(/(\\|\.\.\.) +/, TT.BK, { pop: true }), RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, From db8533721a31d036522348e3d64eac344fecb9cb Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 20:13:30 -0500 Subject: [PATCH 29/74] lots more validating, some fixes for settings --- .gitignore | 1 + .../the_easiest_way_to_specify_a__0.tokens | 86 +++++++++++++++++++ ...word_accepting_normal_positional__0.tokens | 18 ++++ .../if_a_templated_test_case_has__0.tokens | 24 ++++++ .../if_templates_are_used_with_for__0.tokens | 24 ++++++ ...port_a_variation_of_the_embedded__0.tokens | 56 ++++++++++++ ...embedded_arguments_are_used_with__0.tokens | 52 +++++++++++ ...nother_style_to_write_test_cases__0.tokens | 37 ++++++++ ...o_write_these_requirements_tests__0.tokens | 28 ++++++ ...e_above_example_has_six_separate__0.tokens | 35 ++++++++ .../tasks_are_created_based_on_the__0.tokens | 20 +++++ ...n_usage_for_initialization_files__0.tokens | 26 ++++++ ...e_documentation_for_a_test_suite__0.tokens | 19 ++++ .../the_name_and_value_for_the__0.tokens | 18 ++++ ...other_possibility_to_take_a_test__0.tokens | 12 +++ ...in_those_cases_where_the_library__0.tokens | 11 +++ .../2.5.2/if_the_library_is_a_file___0.tokens | 12 +++ ...ble_arguments_to_the_library_are__0.tokens | 30 +++++++ ..._basic_syntax_for_specifying_the__0.tokens | 11 +++ ...d_list_and_dictionary_structures__0.tokens | 24 ++++++ ...sed_above__a_variable_containing__0.tokens | 12 +++ ...riables_cannot_generally_be_used__0.tokens | 11 +++ ...t_variables_set_in_the_operating__0.tokens | 11 +++ .../2.6.2/if_a_key_is_a_string___0.tokens | 52 +++++++++++ .../it_is_possible_to_access_a__0.tokens | 33 +++++++ ...it_is_possible_to_use_dictionary__0.tokens | 15 ++++ .../it_is_possible_to_use_list__0.tokens | 14 +++ ...st_item_access_supports_also_the__0.tokens | 39 +++++++++ .../jupyterlab-robotframework/src/mode.ts | 6 +- 29 files changed, 734 insertions(+), 3 deletions(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens diff --git a/.gitignore b/.gitignore index 2466a5e..da25510 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ envs/ lib/ node_modules/ Untitled*.ipynb +atest/fixtures/highlighting/samples/rfug/ diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens new file mode 100644 index 0000000..3924f4c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens @@ -0,0 +1,86 @@ +header link +meta +keyword +keyword +string +string +meta +keyword +keyword +header link +header string +meta +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +bracket +keyword +keyword +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +keyword +keyword +bracket +meta +header string +meta +string +string +string +string +string +string +string +string +string +string +string +keyword +keyword +bracket +meta +bracket +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +bracket +variable-2 +keyword +keyword +bracket +meta +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens new file mode 100644 index 0000000..064d1fb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens @@ -0,0 +1,18 @@ +header link +header string +keyword +keyword +string +string +string +string +header string +bracket +meta +bracket +keyword +keyword +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens new file mode 100644 index 0000000..c612589 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens @@ -0,0 +1,24 @@ +header link +meta +keyword +keyword +header link +header string +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens new file mode 100644 index 0000000..0658640 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens @@ -0,0 +1,24 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +atom +variable-2 +atom +variable-2 +variable-2 +bracket +string +string +atom +atom +variable-2 +atom +string +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens new file mode 100644 index 0000000..3b3a1bb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens @@ -0,0 +1,56 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +keyword +string +keyword +keyword +keyword +string +header link +def +def +def +variable-2 +def +def +variable-2 +variable-2 +def +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens new file mode 100644 index 0000000..49017d7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens @@ -0,0 +1,52 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +keyword +string +keyword +keyword +keyword +string +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +bracket +meta +bracket +keyword +variable-2 +keyword +variable-2 +keyword +keyword +keyword +keyword +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens new file mode 100644 index 0000000..a030352 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens @@ -0,0 +1,37 @@ +header link +meta +keyword +keyword +keyword +keyword +keyword +keyword +header link +string +string +header string +string +variable-2 +header string +variable-2 +string +header string +string +string +header string +variable-2 +builtin +variable-2 +variable-2 +header string +variable-2 +variable-2 +builtin +variable-2 +header string +variable-2 +builtin +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens new file mode 100644 index 0000000..37d71cf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens @@ -0,0 +1,28 @@ +header link +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens new file mode 100644 index 0000000..edb0300 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens @@ -0,0 +1,35 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +variable-2 +bracket +string +keyword +string +variable-2 +builtin +variable-2 +bracket +variable-2 +variable-2 +bracket +variable-2 +builtin +variable-2 +variable-2 +builtin +variable-2 +bracket +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens new file mode 100644 index 0000000..6ee67a1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens new file mode 100644 index 0000000..3651741 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens @@ -0,0 +1,26 @@ +header link +meta +string +string +meta +keyword +keyword +variable-2 +meta +tag +meta +string +header link +variable-2 +string +string +header link +def +def +meta +variable-2 +keyword +keyword +variable-2 +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens new file mode 100644 index 0000000..728f696 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens @@ -0,0 +1,19 @@ +header link +meta +string +string +string +string +string +string +string strong +em string +string +bracket +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens new file mode 100644 index 0000000..5ea39a6 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens @@ -0,0 +1,18 @@ +header link +meta +string +string +meta +string +string +string +string +string +string +string strong +string +string +meta +string +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens new file mode 100644 index 0000000..fb7c363 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens @@ -0,0 +1,12 @@ +header link +header string +keyword +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens new file mode 100644 index 0000000..3a12250 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens @@ -0,0 +1,11 @@ +header link +meta +string +meta +string +meta +string +string +string +meta +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens new file mode 100644 index 0000000..f522d80 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens @@ -0,0 +1,12 @@ +header link +meta +string +meta +string +meta +string +string +string +meta +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens new file mode 100644 index 0000000..a59e65a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens @@ -0,0 +1,30 @@ +header link +meta +string +string +string +atom +bracket +def +meta +string +string +string +atom +bracket +def +header link +header string +keyword +keyword +string +string +string +string +keyword +keyword +string +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens new file mode 100644 index 0000000..e49ec2a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens @@ -0,0 +1,11 @@ +header link +meta +string +atom +bracket +def +meta +variable-2 +atom +bracket +def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens new file mode 100644 index 0000000..bbfa444 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +bracket +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +bracket +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens new file mode 100644 index 0000000..541ac10 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens @@ -0,0 +1,12 @@ +header link +header string +keyword +attribute +operator +string +attribute +operator +string +header string +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens new file mode 100644 index 0000000..ac8c1ab --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens @@ -0,0 +1,11 @@ +header link +meta +string +variable-2 +meta +keyword +keyword +variable-2 +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens new file mode 100644 index 0000000..56ccced --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens @@ -0,0 +1,11 @@ +header link +header string +keyword +string +string +variable-2 +keyword +variable-2 +builtin +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens new file mode 100644 index 0000000..5616dfa --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens @@ -0,0 +1,52 @@ +header link +header string +keyword +variable-2 +bracket +string +bracket +variable-2 +bracket +string +bracket +keyword +keyword +keyword +string +variable-2 +bracket +string +bracket +string +header string +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +variable-2 +number +variable-2 +bracket +header string +keyword +variable-2 +operator +property +variable-2 +variable-2 +operator +property +variable-2 +keyword +keyword +keyword +string +variable-2 +operator +property +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens new file mode 100644 index 0000000..47328a5 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens @@ -0,0 +1,33 @@ +header link +header string +keyword +variable-2 +bracket +number +bracket +variable-2 +bracket +number +bracket +keyword +keyword +keyword +string +variable-2 +bracket +number +bracket +string +header string +keyword +variable-2 +bracket +string +number +bracket +header string +keyword +variable-2 +bracket +variable-2 +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens new file mode 100644 index 0000000..c79f9ee --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +variable-2 +attribute +operator +string +keyword +string +variable-2 +variable-2 +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens new file mode 100644 index 0000000..fee4265 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens @@ -0,0 +1,14 @@ +header link +header string +keyword +variable-2 +string +string +keyword +variable-2 +variable-2 +string +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens new file mode 100644 index 0000000..4887578 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens @@ -0,0 +1,39 @@ +header link +header string +keyword +variable-2 +bracket +number +string +bracket +header string +keyword +variable-2 +bracket +string +number +bracket +header string +keyword +variable-2 +bracket +number +string +number +bracket +header string +keyword +variable-2 +bracket +string +number +bracket +keyword +variable-2 +bracket +number +string +number +string +number +bracket \ No newline at end of file diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index a1041e1..82e7a24 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -213,7 +213,7 @@ const RULE_SETTING_LIBRARY_PIPE = r( const RULE_LINE_ENDS_WITH_VAR = r(/\}\s*(?=$)/, TT.V2, { pop: true }); const RULE_ELLIPSIS = r(/(\s*)(\.\.\.)/, [null, TT.BK], { sol: true }); -const RULE_NOT_ELLIPSIS_POP = r(/(?!\s*\.\.\.)/, null, { +const RULE_NOT_ELLIPSIS_POP = r(/(?!\s*(\\|\.\.\.))/, null, { pop: true, sol: true }); @@ -347,8 +347,8 @@ const RULES_KEYWORD_INVOKING = [ RULE_START_BDD, RULE_KEY_START_PIPE, RULE_KEY_START, - r(/\|\s(?=[^\s]*\|)/, null, { sol: true, push: 'keyword_invocation' }), - r(/(?=[^\s])/, null, { sol: true, push: 'keyword_invocation' }) + r(/\|\s(?=[^\s*]*\|)/, null, { sol: true, push: 'keyword_invocation' }), + r(/(?=[^\s*])/, null, { sol: true, push: 'keyword_invocation' }) ]; const RULE_SETTING_SIMPLE = r( From d2d798a7be0567841eda8ab3a844bb85e365ed6f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 20:53:26 -0500 Subject: [PATCH 30/74] comments in tags --- .gitignore | 1 + src/packages/jupyterlab-robotframework/src/mode.ts | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index da25510..d6bebef 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ lib/ node_modules/ Untitled*.ipynb atest/fixtures/highlighting/samples/rfug/ +.hypothesis/ diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 82e7a24..7f6fd85 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -28,6 +28,7 @@ export type TState = | 'double_string' | 'keyword_def' | 'keyword_invocation' + | 'keyword_invocation_no_continue' | 'library' | 'loop_body_old' | 'loop_start_new' @@ -128,6 +129,8 @@ const RULES_TABLE = Object.keys(TABLE_NAMES).map((next: TMainState) => { }); }); +const RULE_COMMENT_POP = r(/#.*$/, TT.CM, { pop: true }); + /** Valid python operators */ const VAR_OP = /[*\-+\\%&|=> Date: Sun, 27 Jan 2019 21:09:34 -0500 Subject: [PATCH 31/74] more validating --- .../list_variables_can_be_used_only__0.tokens | 30 +++++++++++++++++++ ...mple_below_illustrates_the_usage__0.tokens | 15 ++++++++++ .../when_a_variable_is_used_as__0.tokens | 8 +++++ ...en_running_tests_with_jython__it__0.tokens | 14 +++++++++ ...with_these_two_variables_set__we__0.tokens | 22 ++++++++++++++ .../any_value_returned_by_a_keyword__0.tokens | 13 ++++++++ ...eating_list_variables_is_as_easy__0.tokens | 19 ++++++++++++ 7 files changed, 121 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens new file mode 100644 index 0000000..04b6bba --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens @@ -0,0 +1,30 @@ +header link +meta +string +variable-2 +comment +meta +variable-2 +variable-2 +comment +meta +variable-2 +comment +meta +keyword +keyword +variable-2 +comment +meta +variable-2 +bracket +variable-2 +bracket +comment +meta +variable-2 +bracket +comment +meta +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens new file mode 100644 index 0000000..d66c2cb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +string +keyword +string +string +header string +keyword +variable-2 +keyword +variable-2 +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens new file mode 100644 index 0000000..f85ea3e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens @@ -0,0 +1,8 @@ +header link +header string +keyword +string +string +header string +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens new file mode 100644 index 0000000..ef36287 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens @@ -0,0 +1,14 @@ +header link +header string +keyword +variable-2 +operator +property +variable-2 +string +string +string +variable-2 +operator +property +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens new file mode 100644 index 0000000..db78c4b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens @@ -0,0 +1,22 @@ +header link +header string +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +string +string +string +variable-2 +string +keyword +keyword +string +string +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens new file mode 100644 index 0000000..f178c04 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens @@ -0,0 +1,13 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +keyword +string +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens new file mode 100644 index 0000000..3013b34 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens @@ -0,0 +1,19 @@ +header link +variable-2 +string +string +variable-2 +number +variable-2 +variable-2 +string +variable-2 +variable-2 +string +string +string +string +bracket +string +string +string \ No newline at end of file From 074b88b21788fdd56a3eca37be09d0bc0c7491db Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 21:25:32 -0500 Subject: [PATCH 32/74] handle escaped equals in args --- src/packages/jupyterlab-robotframework/src/mode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 7f6fd85..3bd2c2f 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -234,7 +234,7 @@ const base = [ r(/#.*$/, TT.CM), r(/\\ +/, TT.BK), r(/\\(?=$)/, TT.BK), - r(/([^\s=]*)(=)/, [TT.AT, TT.OP]), + r(/(\S*)(=)/, [TT.AT, TT.OP]), r(/_\*.*?\*_/, TT.SSE), r(/\*.*?\*/, TT.SS), r(/\_.*?\_/, TT.SE), From 4e8e704f4bfdb78d6b6e488f7fddf8b70c8fd9fe Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 22:06:28 -0500 Subject: [PATCH 33/74] so validating --- ...nary_variables_can_be_created_in__0.tokens | 52 ++++++++ .../exit_for_loop_and_exit_for__0.tokens | 37 ++++++ ..._example__the_following_two_test__0.tokens | 38 ++++++ .../for_loop_syntax_was_enhanced_in__0.tokens | 17 +++ .../for_loops_can_be_excessive_in__0.tokens | 21 ++++ .../having_nested_for_loops_is_not__0.tokens | 25 ++++ .../if_there_are_lot_of_values__0.tokens | 35 ++++++ .../it_is_often_convenient_to_use__0.tokens | 10 ++ .../it_is_possible_to_use_simple__0.tokens | 102 ++++++++++++++++ ...ust_like_with_regular_for_loops___0.tokens | 32 +++++ .../the_keywords_used_in_the_for__0.tokens | 36 ++++++ .../this_may_be_easiest_to_show__0.tokens | 53 ++++++++ ...he_number_of_arguments_needed_by__0.tokens | 8 ++ ...no_type_information_is_specified__0.tokens | 6 + .../if_you_are_already_familiar_how__0.tokens | 17 +++ .../it_is_possible_to_expose_a__0.tokens | 8 ++ ...ywords_can_also_accept_arguments__0.tokens | 9 ++ ...rts_methods_accepting_any_number__0.tokens | 49 ++++++++ ...ing_from_robot_framework_3_1__it__0.tokens | 15 +++ ..._coercion_works_with_the_numeric__0.tokens | 38 ++++++ ...xample_below_illustrates_how_the__0.tokens | 9 ++ ..._first_example_keyword_above_can__0.tokens | 24 ++++ ...g_example_illustrates_how_normal__0.tokens | 67 +++++++++++ ...ywords_can_also_return_values_so__0.tokens | 89 ++++++++++++++ ...es_are_returned_using_the_return__0.tokens | 25 ++++ ...g_the_free_named_argument_syntax__0.tokens | 66 ++++++++++ ...g_the_named_argument_syntax_with__0.tokens | 62 ++++++++++ ..._named_only_argument_syntax_with__0.tokens | 59 +++++++++ ..._approach_is_clearly_better_than__0.tokens | 17 +++ ...the_remote_library_needs_to_know__0.tokens | 21 ++++ ..._variables_in_resource_files_can__0.tokens | 61 ++++++++++ ...ding_newlines_manually_to_a_long__0.tokens | 29 +++++ ...no_automatic_newline_is_added_if__0.tokens | 40 +++++++ ...umenting_test_suites__test_cases__0.tokens | 18 +++ ...xample__the_following_test_suite__0.tokens | 20 ++++ ...rd_can_also_accept_other_special__0.tokens | 113 ++++++++++++++++++ 36 files changed, 1328 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens new file mode 100644 index 0000000..19e3f24 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens @@ -0,0 +1,52 @@ +header link +variable-2 +number +variable-2 +attribute +operator +string +attribute +operator +string +attribute +operator +string +variable-2 +number +variable-2 +attribute +operator +string +attribute +operator +string +attribute +operator +string +variable-2 +attribute +operator +string +attribute +operator +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +variable-2 +variable-2 +attribute +operator +string +attribute +operator +bracket +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens new file mode 100644 index 0000000..f4115aa --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens @@ -0,0 +1,37 @@ +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +builtin +variable-2 +atom +variable-2 +atom +string +string +keyword +keyword +keyword +string +variable-2 +string +attribute +operator +string +string +string +string +variable-2 +operator +keyword +keyword +variable-2 +atom +keyword +keyword +keyword +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens new file mode 100644 index 0000000..2407c4d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens @@ -0,0 +1,38 @@ +header link +variable-2 +string +string +string +header link +header string +variable-2 +operator +keyword +keyword +string +atom +variable-2 +atom +variable-2 +variable-2 +operator +keyword +variable-2 +string +string +keyword +keyword +variable-2 +variable-2 +atom +header string +atom +variable-2 +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens new file mode 100644 index 0000000..e761d67 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens @@ -0,0 +1,17 @@ +header link +header string +atom +variable-2 +atom +string +string +bracket +keyword +variable-2 +bracket +keyword +string +string +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens new file mode 100644 index 0000000..3650bc1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens @@ -0,0 +1,21 @@ +header link +header string +keyword +keyword +string +string +string +string +string +keyword +keyword +string +string +string +string +keyword +keyword +variable-2 +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens new file mode 100644 index 0000000..6d8167d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens @@ -0,0 +1,25 @@ +header link +def +def +meta +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom +def +def +meta +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens new file mode 100644 index 0000000..e75ebc8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens @@ -0,0 +1,35 @@ +header link +header string +atom +variable-2 +variable-2 +variable-2 +atom +bracket +string +string +string +bracket +string +string +string +bracket +string +string +string +keyword +keyword +keyword +variable-2 +variable-2 +variable-2 +atom +atom +variable-2 +variable-2 +atom +variable-2 +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens new file mode 100644 index 0000000..c35b694 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens @@ -0,0 +1,10 @@ +header link +header string +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens new file mode 100644 index 0000000..7e470d0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens @@ -0,0 +1,102 @@ +header link +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +atom +variable-2 +atom +variable-2 +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens new file mode 100644 index 0000000..67db8a2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens @@ -0,0 +1,32 @@ +header link +header string +atom +variable-2 +variable-2 +variable-2 +atom +bracket +string +string +bracket +string +string +bracket +string +string +keyword +string +variable-2 +string +string +string +string +string +variable-2 +string +string +string +string +variable-2 +string +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens new file mode 100644 index 0000000..752a243 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens @@ -0,0 +1,36 @@ +header link +header string +atom +variable-2 +atom +string +string +keyword +variable-2 +keyword +string +string +atom +keyword +string +string +header string +atom +variable-2 +atom +string +string +variable-2 +number +variable-2 +string +variable-2 +bracket +string +string +string +string +variable-2 +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens new file mode 100644 index 0000000..9bde6a0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens @@ -0,0 +1,53 @@ +header link +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +string +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +atom +header string +atom +variable-2 +variable-2 +atom +variable-2 +variable-2 +keyword +keyword +keyword +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens new file mode 100644 index 0000000..edb95b9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens @@ -0,0 +1,8 @@ +header link +meta +string +string +string +meta +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens new file mode 100644 index 0000000..38c68e9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens @@ -0,0 +1,6 @@ +header link +header string +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens new file mode 100644 index 0000000..c66a3de --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens @@ -0,0 +1,17 @@ +header link +header string +keyword +keyword +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens new file mode 100644 index 0000000..a32243c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens @@ -0,0 +1,8 @@ +header link +header string +keyword +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens new file mode 100644 index 0000000..4401cf4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens @@ -0,0 +1,9 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens new file mode 100644 index 0000000..b264b7f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens @@ -0,0 +1,49 @@ +header link +header string +keyword +keyword +keyword +keyword +string +keyword +keyword +string +string +string +string +string +string +string +string +string +string +keyword +keyword +string +string +keyword +keyword +string +string +string +string +string +string +keyword +keyword +string +keyword +keyword +string +string +string +string +string +keyword +keyword +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens new file mode 100644 index 0000000..5186c7b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens new file mode 100644 index 0000000..1a0c970 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +string +keyword +keyword +string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +string +header string +keyword +keyword +variable-2 +number +variable-2 +keyword +keyword +string +variable-2 +number +variable-2 +comment +keyword +keyword +variable-2 +number +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens new file mode 100644 index 0000000..eeb0dd9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens @@ -0,0 +1,9 @@ +header link +meta +string +header link +header string +keyword +keyword +keyword +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens new file mode 100644 index 0000000..787700d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +keyword +keyword +string +keyword +keyword +string +string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens new file mode 100644 index 0000000..fa10a1e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens @@ -0,0 +1,67 @@ +header link +header string +keyword +keyword +string +string +comment +header string +keyword +keyword +attribute +operator +string +comment +header string +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +keyword +string +string +attribute +operator +string +comment +header string +keyword +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens new file mode 100644 index 0000000..bfe4637 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens @@ -0,0 +1,89 @@ +header link +header string +variable-2 +number +variable-2 +bracket +variable-2 +number +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +number +variable-2 +string +string +keyword +keyword +keyword +variable-2 +number +variable-2 +string +string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +string +variable-2 +number +variable-2 +bracket +variable-2 +number +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +string +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +variable-2 +bracket +number +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens new file mode 100644 index 0000000..91607e0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens @@ -0,0 +1,25 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +string +string +variable-2 +operator +keyword +keyword +string +keyword +keyword +keyword +variable-2 +operator +property +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens new file mode 100644 index 0000000..6b867e4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens @@ -0,0 +1,66 @@ +header link +comment +header string +keyword +comment +header string +keyword +string +comment +keyword +string +string +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens new file mode 100644 index 0000000..2fab2fa --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens @@ -0,0 +1,62 @@ +header link +comment +header string +keyword +string +comment +keyword +string +string +comment +keyword +string +string +string +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +string +attribute +operator +string +comment +keyword +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens new file mode 100644 index 0000000..34615dd --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens @@ -0,0 +1,59 @@ +header link +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens new file mode 100644 index 0000000..0ae8bdc --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens @@ -0,0 +1,17 @@ +header link +meta +string +meta +string +header link +header string +keyword +keyword +string +comment +keyword +keyword +keyword +keyword +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens new file mode 100644 index 0000000..4833d45 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens @@ -0,0 +1,21 @@ +header link +meta +string +string +atom +bracket +def +meta +string +string +atom +bracket +def +meta +string +string +string +string +atom +bracket +def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens b/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens new file mode 100644 index 0000000..c309ea3 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens @@ -0,0 +1,61 @@ +header link +meta +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +string +string +string +string +string +header link +def +def +meta +string +string +keyword +keyword +def +def +meta +variable-2 +meta +string +string +string +string +string strong +string +string +bracket +bracket +string +bracket +bracket +string +string +bracket +string +bracket +bracket +bracket +string +string +bracket +string +bracket +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens new file mode 100644 index 0000000..acb8adf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens @@ -0,0 +1,29 @@ +header link +meta +bracket +string +string +bracket +bracket +string +string +string +string +bracket +string +string +string +meta +string +string +bracket +string +string +string +bracket +string +string +string +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens new file mode 100644 index 0000000..70a7af2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens @@ -0,0 +1,40 @@ +header link +string +string +meta +string +string +string +string +string +string +string +keyword +keyword +string +string +meta +string +string +bracket +string +string +string +string +string +keyword +keyword +string +string +meta +string +string +bracket +string +string +string +bracket +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens new file mode 100644 index 0000000..4ffd30e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens @@ -0,0 +1,18 @@ +header link +meta +string +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens new file mode 100644 index 0000000..d366af8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens @@ -0,0 +1,20 @@ +header link +meta +bracket +string +string +string +string +string +string +bracket +bracket +string +string +string +string +string +bracket +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens new file mode 100644 index 0000000..2d1fd06 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens @@ -0,0 +1,113 @@ +header link +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +number +variable-2 +comment +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +string +comment \ No newline at end of file From d7a868c0468209fe12d75d755cc7212d36e7faf0 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 22:28:23 -0500 Subject: [PATCH 34/74] validate more before doing some special cases --- ...f_a_keyword_returns_a_dictionary__0.tokens | 32 +++++++ .../if_a_keyword_returns_a_list__0.tokens | 17 ++++ .../if_a_keyword_returns_a_list__1.tokens | 30 +++++++ .../if_a_scalar_variable_has_a__0.tokens | 21 +++++ .../it_is_also_possible__but_not__0.tokens | 8 ++ .../notice_that_although_a_value_is__0.tokens | 17 ++++ ..._possible_variable_assignment_is__0.tokens | 9 ++ ...o_boolean_values_and_python_none__0.tokens | 36 ++++++++ ...riables_related_to_the_operating__0.tokens | 34 ++++++++ ...t_is_possible_to_create_integers__0.tokens | 38 +++++++++ .../it_is_possible_to_create_spaces__0.tokens | 68 +++++++++++++++ .../the_variable_syntax_can_be_used__0.tokens | 24 ++++++ .../there_is_also_an_empty_list__0.tokens | 25 ++++++ .../in_the_example_below__do_x__0.tokens | 14 +++ ...it_is_possible_to_set_attributes__0.tokens | 20 +++++ ...ython_objects__including_strings__0.tokens | 44 ++++++++++ ...e_most_common_usages_of_extended__0.tokens | 24 ++++++ .../in_many_ways__the_overall_user__0.tokens | 27 ++++++ ...eywords_can_have_a_documentation__0.tokens | 85 +++++++++++++++++++ 19 files changed, 573 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens new file mode 100644 index 0000000..2da2e1f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens @@ -0,0 +1,32 @@ +header link +header string +variable-2 +operator +keyword +keyword +attribute +operator +string +attribute +operator +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 +keyword +variable-2 +operator +property +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens new file mode 100644 index 0000000..c0a8218 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens @@ -0,0 +1,17 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens new file mode 100644 index 0000000..6cbcb5a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens @@ -0,0 +1,30 @@ +header link +header string +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens new file mode 100644 index 0000000..f6f0306 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens @@ -0,0 +1,21 @@ +header link +variable-2 +string +string +string +string +string +string +string +string +variable-2 +attribute +operator +string +string +string +bracket +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens new file mode 100644 index 0000000..cdd8500 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens @@ -0,0 +1,8 @@ +header link +variable-2 +operator +string +string +variable-2 +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens new file mode 100644 index 0000000..c0a8218 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens @@ -0,0 +1,17 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens new file mode 100644 index 0000000..b820ab4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens @@ -0,0 +1,9 @@ +header link +variable-2 +string +string +variable-2 +string +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens new file mode 100644 index 0000000..21ad5bd --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens @@ -0,0 +1,36 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +comment +keyword +keyword +string +variable-2 +builtin +variable-2 +comment +header string +keyword +keyword +variable-2 +builtin +variable-2 +comment +header string +variable-2 +operator +keyword +keyword +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens new file mode 100644 index 0000000..25b6de2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens @@ -0,0 +1,34 @@ +header link +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +builtin +variable-2 +string +string +string +string +variable-2 +builtin +variable-2 +string +string +string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +builtin +variable-2 +builtin +variable-2 +builtin +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens new file mode 100644 index 0000000..a309302 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens new file mode 100644 index 0000000..c712b43 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens @@ -0,0 +1,68 @@ +header link +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +bracket +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +bracket +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +bracket +header string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +string +string +string +header string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +string +string +bracket +string +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens new file mode 100644 index 0000000..007b983 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +string +string +comment +header string +keyword +string +variable-2 +number +variable-2 +comment +header string +keyword +keyword +variable-2 +number +variable-2 +variable-2 +operator +number +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens new file mode 100644 index 0000000..086079d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens @@ -0,0 +1,25 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +variable-2 +builtin +variable-2 +header string +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens new file mode 100644 index 0000000..85a9f23 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens @@ -0,0 +1,14 @@ +header link +variable-2 +string +variable-2 +string +header link +header string +variable-2 +operator +keyword +keyword +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens new file mode 100644 index 0000000..10a8a7d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens @@ -0,0 +1,20 @@ +header link +header string +variable-2 +operator +property +variable-2 +operator +keyword +keyword +string +string +variable-2 +operator +property +variable-2 +operator +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens new file mode 100644 index 0000000..1ce1ea3 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens @@ -0,0 +1,44 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +keyword +variable-2 +operator +property +bracket +variable-2 +comment +keyword +variable-2 +operator +variable-2 +number +variable-2 +comment +header string +variable-2 +operator +keyword +keyword +variable-2 +operator +number +variable-2 +keyword +variable-2 +operator +variable-2 +number +variable-2 +comment +keyword +variable-2 +operator +property +bracket +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens new file mode 100644 index 0000000..541855a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +variable-2 +operator +property +variable-2 +keyword +keyword +variable-2 +operator +property +bracket +string +bracket +variable-2 +keyword +keyword +variable-2 +bracket +number +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens new file mode 100644 index 0000000..60bdaec --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens @@ -0,0 +1,27 @@ +header link +def +def +def +keyword +keyword +string +keyword +keyword +keyword +string +string +def +def +def +def +meta +variable-2 +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens new file mode 100644 index 0000000..e07efa1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens @@ -0,0 +1,85 @@ +header link +def +def +def +meta +string +string +string +keyword +keyword +def +def +meta +string +string +string +string +string +string +string +bracket +bracket +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +keyword +keyword +def +def +def +def +def +meta +string +string +string +string +string +string +string +string +string +bracket +string +string +string +bracket +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +keyword +keyword \ No newline at end of file From df4affc9b821de1997a407886907aa53e583fa90 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 23:13:13 -0500 Subject: [PATCH 35/74] more validating --- ...y_arguments_can_be_used_together__0.tokens | 23 ++++ ...rguments_can_have_default_values__0.tokens | 46 ++++++++ ...imes_even_default_values_are_not__0.tokens | 45 ++++++++ ...g_from_robot_framework_3_1__user__0.tokens | 20 ++++ ...e_keywords_in_the_examples_above__0.tokens | 49 ++++++++ ...the_syntax_for_default_values_is__0.tokens | 105 ++++++++++++++++++ .../the_syntax_is_such_that_first__0.tokens | 39 +++++++ ...er_keywords_can_also_accept_free__0.tokens | 30 +++++ ...eyword_accepts_several_arguments__0.tokens | 10 ++ 9 files changed, 367 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens new file mode 100644 index 0000000..ca75c75 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens @@ -0,0 +1,23 @@ +header link +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens new file mode 100644 index 0000000..5605f44 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens @@ -0,0 +1,46 @@ +header link +def +def +meta +variable-2 +variable-2 +operator +string +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +operator +string +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +string +variable-2 +number +variable-2 +keyword +keyword +variable-2 +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens new file mode 100644 index 0000000..97696de --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens @@ -0,0 +1,45 @@ +header link +def +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +def +meta +variable-2 +variable-2 +operator +string +variable-2 +keyword +string +variable-2 +keyword +string +variable-2 +keyword +string +atom +variable-2 +atom +variable-2 +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens new file mode 100644 index 0000000..2c1c7a8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens @@ -0,0 +1,20 @@ +header link +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens new file mode 100644 index 0000000..7dbc733 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens @@ -0,0 +1,49 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +string +keyword +keyword +keyword +keyword +string +string +string +string +keyword +keyword +keyword +keyword +string +keyword +keyword +keyword +keyword +string +string +string +string +keyword +keyword +keyword +string +keyword +keyword +keyword +string +string +keyword +keyword +keyword +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens new file mode 100644 index 0000000..b97986b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens @@ -0,0 +1,105 @@ +header link +def +def +def +def +def +meta +variable-2 +operator +string +string +meta +string +string +string +string +string +keyword +string +string +variable-2 +def +def +def +def +meta +variable-2 +number +variable-2 +operator +string +string +variable-2 +number +variable-2 +operator +variable-2 +meta +string +string +string +string +string +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +def +def +def +def +def +def +meta +variable-2 +variable-2 +operator +string +meta +string +string +string +string +string +keyword +string +variable-2 +keyword +string +variable-2 +string +string +string +string +string +meta +variable-2 +variable-2 +operator +variable-2 +variable-2 +operator +variable-2 +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens new file mode 100644 index 0000000..16987ff --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens @@ -0,0 +1,39 @@ +header link +def +def +meta +variable-2 +keyword +string +string +variable-2 +def +def +meta +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens new file mode 100644 index 0000000..20f629b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens @@ -0,0 +1,30 @@ +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +meta +variable-2 +variable-2 +keyword +keyword +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens new file mode 100644 index 0000000..651e8f2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens @@ -0,0 +1,10 @@ +header link +header string +keyword +keyword +keyword +keyword +attribute +operator +string +string \ No newline at end of file From a2a61cbf63ceae8aeddeacd0b5b1f47388262a4b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 23:13:27 -0500 Subject: [PATCH 36/74] handle doc tags --- .../jupyterlab-robotframework/src/mode.ts | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 3bd2c2f..4cc3aec 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -36,6 +36,7 @@ export type TState = | 'single_string' | 'start' | 'tags' + | 'tags_comma' | 'variable_index' | 'variable_property' | 'variable'; @@ -221,6 +222,8 @@ const RULE_NOT_ELLIPSIS_POP = r(/(?!\s*(\\|\.\.\.))/, null, { sol: true }); +const RULE_DOC_TAGS = r(/(Tags:)(\s*)/i, [TT.MT, null], { push: 'tags_comma' }); + /** collects the states that we build */ const states: Partial = {}; @@ -229,6 +232,7 @@ const base = [ ...RULES_TABLE, RULE_VAR_START, RULE_VAR_END, + RULE_DOC_TAGS, RULE_ELLIPSIS, r(/\|/, TT.BK), r(/#.*$/, TT.CM), @@ -326,8 +330,7 @@ const RULE_START_LOOP_NEW = r( } ); -/** rules for capturing individual tags */ -states.tags = [ +const RULES_TAGS_COMMON = [ r(/\s\|\s*/, TT.BK), RULE_COMMENT_POP, RULE_ELLIPSIS, @@ -335,14 +338,26 @@ states.tags = [ RULE_VAR_START, RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, - // r(/\s*(?=$)/, null, { pop: true }), - r(/ +/, null), + r(/ +/, null) +]; + +/** rules for capturing individual tags */ +states.tags = [ + ...RULES_TAGS_COMMON, r(/[^\$&%@]*?(?=( +| \|))/, TT.TG), - // r(/[^\$&%@]*?(?=\s*\|?$)/, TT.TG, { pop: true }), // fall back to single char r(/[^\$&%@|]/, TT.TG) ]; +/** rules for capturing tags inside docs */ +states.tags_comma = [ + ...RULES_TAGS_COMMON, + r(/(,)(\s*)/, [TT.PC, null]), + r(/[^\$&%@,]+(?=,$)/, TT.TG), + // fall back to single char + r(/[^\$&%@|,]/, TT.TG) +]; + /** need to catch empty white lines pretty explicitly */ const RULE_WS_LINE = r(/\s*(?=$)/, null, { sol: true }); From 7889125f547bd3e5598ecb7e3a92dd7e025c7f74 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sun, 27 Jan 2019 23:58:12 -0500 Subject: [PATCH 37/74] remaining samples without lingering issues --- ...om_robot_framework_2_9__keywords__0.tokens | 36 +++++++ .../it_has_always_been_possible_to__0.tokens | 15 +++ ...ords_with_embedded_arguments_are__0.tokens | 38 +++++++ ...ded_argument_regular_expressions__0.tokens | 17 ++++ ...keywords_can_also_return_several__0.tokens | 56 +++++++++++ ...yword_teardown_works_much_in_the__0.tokens | 24 +++++ .../both_libdoc_and_ride_use_these__0.tokens | 59 +++++++++++ .../resource_files_can_use_all_the__0.tokens | 8 ++ .../all_test_data_files_can_import__0.tokens | 14 +++ .../2.8.2/if_the_above_yaml_file_is__0.tokens | 18 ++++ ...e_variables_in_both_the_examples__0.tokens | 53 ++++++++++ .../if_there_is_a_timeout__the__0.tokens | 98 +++++++++++++++++++ ...rom_robot_framework_3_0__timeout__0.tokens | 78 +++++++++++++++ 13 files changed, 514 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens new file mode 100644 index 0000000..ca89a35 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens @@ -0,0 +1,36 @@ +header link +def +def +def +def +def +bracket +meta +bracket +tag +tag +tag +keyword +keyword +def +def +def +def +meta +string +string +string +string +string +string +string +string +bracket +meta +tag +punctuation +tag +punctuation +tag +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens new file mode 100644 index 0000000..568d03b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens @@ -0,0 +1,15 @@ +header link +def +variable-2 +def +def +keyword +keyword +string +string +keyword +keyword +keyword +keyword +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens new file mode 100644 index 0000000..a4b6bdf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header link +def +def +def +variable-2 +def +keyword +keyword +variable-2 +attribute +operator +string +def +def +def +variable-2 +def +def +def +variable-2 +def +keyword +keyword +variable-2 +variable-2 +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens new file mode 100644 index 0000000..dfbb414 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens @@ -0,0 +1,17 @@ +header link +variable-2 +string +header link +header string +keyword +keyword +variable-2 +number +variable-2 +keyword +variable-2 +number +variable-2 +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens new file mode 100644 index 0000000..967277e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens @@ -0,0 +1,56 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +string +keyword +keyword +variable-2 +header string +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +variable-2 +operator +keyword +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +variable-2 +operator +keyword +keyword +keyword +meta +variable-2 +def +def +def +meta +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens new file mode 100644 index 0000000..cdd4658 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens @@ -0,0 +1,24 @@ +header link +def +def +keyword +keyword +bracket +meta +bracket +keyword +string +string +def +def +meta +string +string +string +string +keyword +keyword +bracket +meta +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens new file mode 100644 index 0000000..c563db8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens @@ -0,0 +1,59 @@ +header link +meta +string +string +string +string +meta +string +meta +variable-2 +string +header link +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +header link +def +def +def +meta +string +string +string +string +string +keyword +keyword +variable-2 +variable-2 +keyword +keyword +keyword +string +string +def +def +meta +variable-2 +keyword +keyword +string +variable-2 +def +def +meta +variable-2 +keyword +keyword +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens new file mode 100644 index 0000000..f7a1f0b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens @@ -0,0 +1,8 @@ +header link +meta +string +meta +string +meta +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens new file mode 100644 index 0000000..58f05fb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens @@ -0,0 +1,14 @@ +header link +meta +string +meta +string +meta +variable-2 +string +meta +string +string +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens new file mode 100644 index 0000000..77f0d91 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens @@ -0,0 +1,18 @@ +header link +variable-2 +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +variable-2 +attribute +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens new file mode 100644 index 0000000..11aa943 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens @@ -0,0 +1,53 @@ +header link +variable-2 +string +string +string +variable-2 +string +string +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +variable-2 +number +variable-2 +variable-2 +attribute +operator +variable-2 +number +variable-2 +attribute +operator +variable-2 +number +variable-2 +attribute +operator +variable-2 +number +variable-2 +variable-2 +string +string +variable-2 +attribute +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens new file mode 100644 index 0000000..fe85c9c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens @@ -0,0 +1,98 @@ +header link +meta +string +string +header link +header string +meta +string +string +string +string +string +string +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +meta +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +meta +variable-2 +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +string +string +string +string +string +meta +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +string +string +string +meta +string +keyword +keyword +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens new file mode 100644 index 0000000..4d0cdc1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens @@ -0,0 +1,78 @@ +header link +def +def +meta +string +string +string +string +string +string +string +string +string +string +meta +string +string +string +string +keyword +keyword +keyword +keyword +keyword +def +def +def +meta +variable-2 +meta +string +string +string +string +string +string +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +string +string +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +meta +string +string +string +string +string +string +string +string +string +string +meta +variable-2 +keyword +keyword +variable-2 \ No newline at end of file From dee20ad99a31ac8248e6425084551a79bfaee535 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 14:22:10 -0500 Subject: [PATCH 38/74] add a syntax checking jig --- .../tokens/basic/00_test_case.tokens | 2 +- .../one_file_can_contain_both_space__0.tokens | 2 +- ...gest_benefit_of_having_arguments__0.tokens | 87 +++++++++ atest/tools/SyntaxChecker.ipynb | 173 ++++++++++++++++++ atest/tools/__init__.py | 0 5 files changed, 262 insertions(+), 2 deletions(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens create mode 100644 atest/tools/SyntaxChecker.ipynb create mode 100644 atest/tools/__init__.py diff --git a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens index 4b8f540..3ea06d5 100644 --- a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens +++ b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens @@ -2,4 +2,4 @@ header link header string keyword string -string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens index 5744c05..83ae077 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens @@ -80,4 +80,4 @@ keyword keyword bracket variable-2 -bracket +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens new file mode 100644 index 0000000..d5affa4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens @@ -0,0 +1,87 @@ +header link +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +header link +def +def +variable-2 +def +keyword +keyword +variable-2 +def +def +variable-2 +number +variable-2 +def +variable-2 +number +variable-2 +def +def +variable-2 +number +variable-2 +keyword +keyword +string +keyword +keyword +variable-2 +number +variable-2 +keyword +keyword +operator +def +def +def +variable-2 +variable-2 +def +string +string +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/tools/SyntaxChecker.ipynb b/atest/tools/SyntaxChecker.ipynb new file mode 100644 index 0000000..7c96acc --- /dev/null +++ b/atest/tools/SyntaxChecker.ipynb @@ -0,0 +1,173 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## A Widget for Inspecting Highlighting\n", + "Manually testing syntax highlighting is one approach for catching regressions. This widget will look at a token file created by `Get Cell Source Tokens`, and compare it with a known-good fixture.\n", + "\n", + "If it finds any difference, it will show a link to the sample in question which will pop open a new editor in JupyterLab. If you manually verify the output, you can `Trust` the sample and copy the token file into the expected location.\n", + "\n", + "### So What?\n", + "While this may not be _immediately_ useful to you unless you are writing a syntax highlighter, the pattern is useful for all kinds of automation/testing workflows:\n", + "\n", + "- write a test that generates some structured output\n", + "- compare the output to a known good example (if available)\n", + "- provide a way to incrementally (and interactively!) for a person to improve the fixture data\n", + "- repeat the test until you're done" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import shutil, re, traitlets as T, IPython as I, ipywidgets as W\n", + "from pathlib import Path\n", + "from difflib import context_diff" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "class SyntaxChecker(W.Widget):\n", + " sample_root = T.Instance(Path)\n", + " sample_glob = T.Unicode()\n", + " trusted_root = T.Instance(Path)\n", + " observed_root = T.Instance(Path)\n", + " blacklist = T.Tuple()\n", + "\n", + " samples = T.Dict()\n", + " trusted = T.Dict()\n", + " observed = T.Dict()\n", + " disagree = T.Dict()\n", + " \n", + " def __init__(self, *args, **kwargs):\n", + " super().__init__(*args, **kwargs)\n", + " self._ndlink([\"sample_root\", \"sample_glob\"], \"samples\", self._update_samples)\n", + " self._ndlink([\"observed_root\"], \"observed\", self._update_observed)\n", + " self._ndlink([\"trusted_root\"], \"trusted\", self._update_trusted)\n", + " self._ndlink([\"trusted\", \"observed\"], \"disagree\", self._update_disagree)\n", + " \n", + " def _ndlink(self, src, dest, handler):\n", + " [T.dlink((self, s), (self, dest), handler) for s in src]\n", + " \n", + " def _rel_stem(self, path, root):\n", + " return str(path.relative_to(root))[:-len(path.suffix)]\n", + " \n", + " def _stem_dict(self, root, pattern):\n", + " if root and pattern:\n", + " return {\n", + " self._rel_stem(p, root): p\n", + " for p in root.glob(pattern)\n", + " if all([b not in str(p) for b in self.blacklist])\n", + " }\n", + " else:\n", + " return {}\n", + " \n", + " \n", + " def _update_samples(self, _):\n", + " return self._stem_dict(self.sample_root, self.sample_glob)\n", + " \n", + " def _update_observed(self, _):\n", + " return self._stem_dict(self.observed_root, \"**/*.tokens\")\n", + " \n", + " def _update_trusted(self, _):\n", + " return self._stem_dict(self.trusted_root, \"**/*.tokens\")\n", + " \n", + " def _update_disagree(self, _):\n", + " disagree = {}\n", + " for k, v in self.observed.items():\n", + " observed = v.read_text()\n", + " if k in self.trusted:\n", + " trusted = self.trusted[k].read_text()\n", + " else:\n", + " trusted = \"\"\n", + " if observed != trusted:\n", + " disagree[k] = \"\\n\".join(\n", + " context_diff(observed.split(\"\\n\"), trusted.split(\"\\n\"))\n", + " )\n", + " return disagree\n", + " \n", + " def _disagree_row(self, k, v):\n", + " link = W.Output()\n", + " btn = W.Button(description=\"Trust?\", button_style=\"primary\")\n", + " \n", + " @link.capture()\n", + " def _show():\n", + " I.display.display(I.display.Markdown(\n", + " f\"\"\"[{k}]({self.samples[k]})\"\"\"\n", + " ))\n", + " \n", + " def _click(btn):\n", + " if btn.description == \"Trust?\":\n", + " btn.description = \"Confirm?\"\n", + " btn.button_style = \"warning\"\n", + " elif btn.description == \"Confirm?\":\n", + " observed = self.observed[k]\n", + " trusted = self.trusted_root / observed.relative_to(self.observed_root)\n", + " trusted.parent.mkdir(parents=True, exist_ok=True)\n", + " shutil.copy(observed, trusted)\n", + " btn.description = \"Trusted!\"\n", + " btn.button_style = \"success\"\n", + " \n", + " btn.on_click(_click)\n", + " \n", + " _show()\n", + " return W.HBox([btn, link, \n", + " W.HTML(f\"
{len(v)} changes
{v}
\")\n", + " ])\n", + " \n", + " def show_disagree(self):\n", + " return W.VBox([W.HTML(\"

Untrusted Samples

\")] + [\n", + " self._disagree_row(k, v) for k, v in self.disagree.items()\n", + " ])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "if __name__ == \"__main__\":\n", + " try: del checker\n", + " except: pass\n", + " checker = SyntaxChecker(\n", + " sample_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"samples\",\n", + " sample_glob=\"**/*.robot\",\n", + " trusted_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"tokens\",\n", + " observed_root=Path(\"../..\") / \"_testoutput\" / \"headlessfirefox\" / \"tokens\",\n", + " blacklist=[\"ipynb_checkpoints\"]\n", + " )\n", + " I.display.display(checker.show_disagree())" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.6.7" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/atest/tools/__init__.py b/atest/tools/__init__.py new file mode 100644 index 0000000..e69de29 From 636d2e8cc9d28b593a7a53e13fe882a55c75ce08 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 14:36:39 -0500 Subject: [PATCH 39/74] add hacking environment --- anaconda-project.yml | 12 ++++++++++++ scripts/__init__.py | 1 + scripts/nblint.py | 31 ++++++++++++++++--------------- 3 files changed, 29 insertions(+), 15 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index 05d27b9..8948a08 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -2,6 +2,8 @@ name: irobotframework-dev variables: NEXT_RELEASE: 0.5.0 + EXTENSIONS: > + @jupyter-widgets/jupyterlab-manager commands: atom: @@ -63,6 +65,10 @@ commands: description: rebuild JupyterLab unix: jupyter lab build --dev env_spec: default + lab:ext: + description: install 3rd party extensions + unix: jupyter labextension install $EXTENSIONS --no-build + env_spec: hack ipython: unix: ipython --kernel-name robotframework env_spec: default @@ -158,3 +164,9 @@ env_specs: - sphinx-autobuild - pip: - robotframeworklexer + hack: + inherit_from: + - test + - docs + packages: + - ipywidgets diff --git a/scripts/__init__.py b/scripts/__init__.py index 3dc09ba..aa90707 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -9,6 +9,7 @@ SRC = ROOT / "src" SCRIPTS = ROOT / "scripts" DOCS = ROOT / "docs" +TOOLS = ROOT / "atest" / "tools" DIST = ROOT / "dist" VENDOR = ROOT / "vendor" FIXTURES = ROOT / "atest" / "fixtures" diff --git a/scripts/nblint.py b/scripts/nblint.py index cc11504..7e1d52d 100644 --- a/scripts/nblint.py +++ b/scripts/nblint.py @@ -3,27 +3,28 @@ from nbformat import reads, write, NO_CONVERT -from . import DOCS +from . import DOCS, TOOLS def strip(): """ Remove outputs and execution counts from notebook files, as robot notebooks are _really_ huge and unreproducible. """ - for ipynb_file in DOCS.rglob("*.ipynb"): - nbf = reads(ipynb_file.read_text(), NO_CONVERT) - changed = False - for cell in nbf.cells: - if cell.cell_type == "code": - if cell.outputs: - cell.outputs = [] - changed = True - if cell.execution_count: - cell.execution_count = None - changed = True - if changed: - print(f"remove outputs/execution counts from {ipynb_file}") - write(nbf, str(ipynb_file)) + for root in [DOCS, TOOLS]: + for ipynb_file in root.rglob("*.ipynb"): + nbf = reads(ipynb_file.read_text(), NO_CONVERT) + changed = False + for cell in nbf.cells: + if cell.cell_type == "code": + if cell.outputs: + cell.outputs = [] + changed = True + if cell.execution_count: + cell.execution_count = None + changed = True + if changed: + print(f"remove outputs/execution counts from {ipynb_file}") + write(nbf, str(ipynb_file)) if __name__ == "__main__": From b93293933613ec68a312930fcf3dcc0581395106 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 14:52:08 -0500 Subject: [PATCH 40/74] add special case for operators in base --- src/packages/jupyterlab-robotframework/src/mode.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 4cc3aec..026b802 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -238,7 +238,8 @@ const base = [ r(/#.*$/, TT.CM), r(/\\ +/, TT.BK), r(/\\(?=$)/, TT.BK), - r(/(\S*)(=)/, [TT.AT, TT.OP]), + r(/(=!<>+\-*\/%)*=/, TT.OP), + r(/([^\s=]*)(=)/, [TT.AT, TT.OP]), r(/_\*.*?\*_/, TT.SSE), r(/\*.*?\*/, TT.SS), r(/\_.*?\_/, TT.SE), From 86b70f4b877902aadd79bbb70762e4746f92c092 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 15:07:21 -0500 Subject: [PATCH 41/74] validate --- ...st_example_below_is_functionally__0.tokens | 115 ++++++++++++++++++ ...ntinue_for_loop_and_continue_for__0.tokens | 35 ++++++ .../exit_for_loop_and_exit_for__0.tokens | 1 - 3 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens new file mode 100644 index 0000000..00f5ce1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens @@ -0,0 +1,115 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +string +keyword +keyword +variable-2 +header string +variable-2 +operator +keyword +keyword +string +string +variable-2 +operator +keyword +keyword +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +number +variable-2 +variable-2 +operator +keyword +keyword +string +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +operator +number +variable-2 +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +keyword +string +string +string +string +def +def +meta +variable-2 +variable-2 +variable-2 +operator +keyword +keyword +variable-2 +number +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +keyword +keyword +string +variable-2 +string +operator +string +variable-2 +string +variable-2 +variable-2 +operator +keyword +keyword +variable-2 +operator +variable-2 +number +variable-2 +atom +keyword +keyword +keyword +variable-2 +operator +number +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens new file mode 100644 index 0000000..e1ad6e6 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens @@ -0,0 +1,35 @@ +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +builtin +variable-2 +atom +variable-2 +atom +string +string +string +keyword +keyword +keyword +keyword +string +variable-2 +string +operator +string +variable-2 +operator +keyword +keyword +variable-2 +atom +keyword +keyword +keyword +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens index f4115aa..64fd8c2 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens @@ -18,7 +18,6 @@ keyword string variable-2 string -attribute operator string string From 733d7dc669e3ca5478e9dd800ff5c33dc4c5b105 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 15:52:32 -0500 Subject: [PATCH 42/74] validate --- ...lates_support_a_variation_of_the_embedded__0.tokens | 4 ++-- .../the_biggest_benefit_of_having_arguments__0.tokens | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens index 3b3a1bb..6cf7c53 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens @@ -46,8 +46,8 @@ def def variable-2 variable-2 -def -string +operator +keyword variable-2 keyword keyword diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens index d5affa4..aab9cc9 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens @@ -56,8 +56,8 @@ def variable-2 number variable-2 -def -def +keyword +keyword variable-2 number variable-2 @@ -77,9 +77,9 @@ def def variable-2 variable-2 -def -string -string +operator +keyword +keyword keyword keyword keyword From 443cf359dcce1900e841ea178330f791a6546fd6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 15:54:03 -0500 Subject: [PATCH 43/74] regex handling --- ...dded_argument_regular_expression__0.tokens | 72 +++++++++++++++++++ .../jupyterlab-robotframework/src/mode.ts | 7 +- 2 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens new file mode 100644 index 0000000..dddfbdf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens @@ -0,0 +1,72 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header link +def +def +def +variable-2 +operator +string-2 +variable-2 +def +keyword +keyword +variable-2 +attribute +operator +string +def +def +def +variable-2 +def +def +def +variable-2 +def +keyword +keyword +variable-2 +variable-2 +attribute +operator +string +def +def +variable-2 +operator +link string-2 +variable-2 +keyword +variable-2 +variable-2 +variable-2 +def +def +variable-2 +operator +link string-2 +variable-2 +keyword +variable-2 \ No newline at end of file diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 026b802..304ef52 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -61,6 +61,7 @@ export enum TT { SH = 'string.header', SS = 'string.strong', SSE = 'string.strong.em', + S2 = 'string-2', ST = 'string', TG = 'tag', V2 = 'variable-2' @@ -407,7 +408,7 @@ const KEYWORD_WORD_BEFORE_WS = /([^\n\$\s*=\|]+?(?= ))/i; states.keyword_def = [ RULE_VAR_START, - r(/\}(?=$)/, TT.V2), + RULE_LINE_ENDS_WITH_VAR, RULE_VAR_END, r(/ /, null), r(KEYWORD_WORD_BEFORE_VAR, TT.DF), @@ -528,12 +529,14 @@ states.variable = [ r(VAR_BUILTIN, TT.BI), RULE_NUM, r(VAR_OP, TT.OP), + r(/(:)(.*?[^\\])(?=\}\s*$)/, [TT.OP, TT.S2], { pop: true }), + r(/(:)(.*?[^\\])(?=\})/, [TT.OP, TT.S2]), r(/\./, TT.OP, { push: 'variable_property' }), r(/\[/, TT.BK, { next: 'variable_index' }), r(/\}(?=\[)/, TT.V2), r(/(?=\}\s*$)/, null, { pop: true }), r(/\}/, TT.V2, { pop: true }), - r(/[^\{\}\n]/, TT.V2) + r(/[^\{\}\n:]/, TT.V2) ]; /** rules for extended syntax in a variable reference */ From 22520645349ad19bc18ad9c72b8563f62e08c2c7 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 16:00:46 -0500 Subject: [PATCH 44/74] remove debug link --- .../highlighting/samples/loops/old_style.robot | 18 ++++++++++++++++++ ...edded_argument_regular_expression__0.tokens | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 atest/fixtures/highlighting/samples/loops/old_style.robot diff --git a/atest/fixtures/highlighting/samples/loops/old_style.robot b/atest/fixtures/highlighting/samples/loops/old_style.robot new file mode 100644 index 0000000..c67d3bb --- /dev/null +++ b/atest/fixtures/highlighting/samples/loops/old_style.robot @@ -0,0 +1,18 @@ +*** Keywords *** +This is a ${woo} keyword + Log and it's normal ${var} + +Old Syntax + Log Outside loop +:FOR ${animal} IN cat dog + \ Log ${animal} + \ Log 2nd keyword sds ${asdasda} + \ ${x} = Log ${animal} + Log Outside loop + Log outside + +This is a keyword + Log and it's ${var} normal + +*** Variables *** +${pop} Fooo diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens index dddfbdf..2b4806e 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens @@ -56,7 +56,7 @@ def def variable-2 operator -link string-2 +string-2 variable-2 keyword variable-2 @@ -66,7 +66,7 @@ def def variable-2 operator -link string-2 +string-2 variable-2 keyword variable-2 \ No newline at end of file From 4d4d91b704ad23129f9bc0a0adcb81564b1ccf08 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:26:53 -0500 Subject: [PATCH 45/74] might have finally solved arg frags --- src/packages/jupyterlab-robotframework/src/mode.ts | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 304ef52..6eca1bb 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -239,8 +239,17 @@ const base = [ r(/#.*$/, TT.CM), r(/\\ +/, TT.BK), r(/\\(?=$)/, TT.BK), - r(/(=!<>+\-*\/%)*=/, TT.OP), - r(/([^\s=]*)(=)/, [TT.AT, TT.OP]), + r( + // a non-variable argument fragment before a variable before an equal + /([^\s\$@&%=]((?!\t+|\s+\|\s+| +)([^=]|\\=))*?)(?=[$@&%].*?[^ =\\]=($| |[^=]|\s+\||\t))/, + TT.AT + ), + r( + // a non-variable argument fragment before an equal + /([^\s\$@&%=]((?!\t+|\s+\|\s+| +)([^=]|\\=))*?)(?==($| |[^=]|\s+\||\t))/, + TT.AT + ), + r(/(=!<>+\-*\/%)*==?/, TT.OP), r(/_\*.*?\*_/, TT.SSE), r(/\*.*?\*/, TT.SS), r(/\_.*?\_/, TT.SE), From 03e8e2cfebc23b7a55501c9bd6331892645f3fcd Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:35:19 -0500 Subject: [PATCH 46/74] the last two rfug examples --- ...nary_variables_can_be_created_in__0.tokens | 2 + ...amed_only_arguments_to_keywords___0.tokens | 73 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens index 19e3f24..a9f00fb 100644 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens +++ b/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens @@ -49,4 +49,6 @@ operator string attribute operator +attribute +operator string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens new file mode 100644 index 0000000..3ec0b4b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens @@ -0,0 +1,73 @@ +header link +header string +keyword +keyword +attribute +operator +string +keyword +keyword +string +string +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +keyword +string +attribute +operator +string +attribute +operator +string +attribute +operator +string +keyword +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +attribute +operator +string \ No newline at end of file From b59a2f74c876e50421dab2df7476c029f457714a Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:39:58 -0500 Subject: [PATCH 47/74] some celebratory null state --- atest/tools/SyntaxChecker.ipynb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/atest/tools/SyntaxChecker.ipynb b/atest/tools/SyntaxChecker.ipynb index 7c96acc..088310b 100644 --- a/atest/tools/SyntaxChecker.ipynb +++ b/atest/tools/SyntaxChecker.ipynb @@ -124,9 +124,16 @@ " ])\n", " \n", " def show_disagree(self):\n", - " return W.VBox([W.HTML(\"

Untrusted Samples

\")] + [\n", + " return W.VBox([W.HTML(\"

Untrusted Samples

\")] + ([\n", " self._disagree_row(k, v) for k, v in self.disagree.items()\n", - " ])" + " ] or [W.HTML(\"

Nothing to report!

\")]))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Not sure if this is actually importable yet, but for now gate behind a " ] }, { @@ -145,7 +152,10 @@ " observed_root=Path(\"../..\") / \"_testoutput\" / \"headlessfirefox\" / \"tokens\",\n", " blacklist=[\"ipynb_checkpoints\"]\n", " )\n", - " I.display.display(checker.show_disagree())" + " try: del disagree\n", + " except: pass\n", + " disagree = checker.show_disagree()\n", + " I.display.display(disagree)" ] } ], From 027ff090e9f4bd8d2c3a51ecd27125ba3d94dac9 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:43:51 -0500 Subject: [PATCH 48/74] add loop to test --- atest/acceptance/02_Robot/02_Highlight.robot | 1 + atest/tools/SyntaxChecker.ipynb | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index ceaad45..f8b923a 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -16,6 +16,7 @@ Robot Syntax is Beautiful [Documentation] Does CodeMirror syntax highlighting work as expected? [Template] Robot Syntax Highlighting Should Yield Tokens basic${/}00_test_case + loops${/}old_style # BEGIN RFUG rfug${/}2.1.3${/}in_the_space_separated_format_two__0 rfug${/}2.1.3${/}one_file_can_contain_both_space__0 diff --git a/atest/tools/SyntaxChecker.ipynb b/atest/tools/SyntaxChecker.ipynb index 088310b..5faf413 100644 --- a/atest/tools/SyntaxChecker.ipynb +++ b/atest/tools/SyntaxChecker.ipynb @@ -24,7 +24,7 @@ "metadata": {}, "outputs": [], "source": [ - "import shutil, re, traitlets as T, IPython as I, ipywidgets as W\n", + "import shutil, re, traitlets as T, IPython.display as D, ipywidgets as W\n", "from pathlib import Path\n", "from difflib import context_diff" ] @@ -100,9 +100,7 @@ " \n", " @link.capture()\n", " def _show():\n", - " I.display.display(I.display.Markdown(\n", - " f\"\"\"[{k}]({self.samples[k]})\"\"\"\n", - " ))\n", + " D.display(D.Markdown(f\"[{k}]({self.samples[k]})\"))\n", " \n", " def _click(btn):\n", " if btn.description == \"Trust?\":\n", @@ -155,7 +153,7 @@ " try: del disagree\n", " except: pass\n", " disagree = checker.show_disagree()\n", - " I.display.display(disagree)" + " D.display(disagree)" ] } ], From e22c3b7c9cf6206517c0e0449d83219ce7133dc0 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:47:10 -0500 Subject: [PATCH 49/74] make old style loop nastier --- atest/fixtures/highlighting/samples/loops/old_style.robot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/atest/fixtures/highlighting/samples/loops/old_style.robot b/atest/fixtures/highlighting/samples/loops/old_style.robot index c67d3bb..b7bc6ae 100644 --- a/atest/fixtures/highlighting/samples/loops/old_style.robot +++ b/atest/fixtures/highlighting/samples/loops/old_style.robot @@ -4,12 +4,12 @@ This is a ${woo} keyword Old Syntax Log Outside loop -:FOR ${animal} IN cat dog + :FOR ${i} ${animal} IN ENUMERATE cat dog \ Log ${animal} - \ Log 2nd keyword sds ${asdasda} + \ Log 2nd keyword a ${x.y}[0][${1}] b=${c${d}} another + \ Log something \ ${x} = Log ${animal} Log Outside loop - Log outside This is a keyword Log and it's ${var} normal From a449408aab840988bf4218fbb1041b79437fd3cb Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 22:58:24 -0500 Subject: [PATCH 50/74] add tokens for old style --- .../tokens/loops/old_style.tokens | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/loops/old_style.tokens diff --git a/atest/fixtures/highlighting/tokens/loops/old_style.tokens b/atest/fixtures/highlighting/tokens/loops/old_style.tokens new file mode 100644 index 0000000..45fadd4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/loops/old_style.tokens @@ -0,0 +1,68 @@ +header link +def +def +def +variable-2 +def +keyword +string +string +string +variable-2 +def +def +keyword +string +string +atom +variable-2 +variable-2 +atom +string +string +bracket +keyword +variable-2 +bracket +keyword +string +string +attribute +variable-2 +operator +property +variable-2 +bracket +number +bracket +variable-2 +number +variable-2 +bracket +attribute +operator +variable-2 +string +bracket +keyword +string +bracket +variable-2 +operator +keyword +variable-2 +keyword +string +string +def +def +def +def +keyword +string +string +variable-2 +string +header link +variable-2 +string \ No newline at end of file From a150746d30d1b2f6a14eb3282d8c77b75a864c42 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:26:45 -0500 Subject: [PATCH 51/74] add save to avoid dialogs --- atest/acceptance/02_Robot/02_Highlight.robot | 1 + 1 file changed, 1 insertion(+) diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index f8b923a..300cac2 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -161,6 +161,7 @@ Robot Syntax Highlighting Should Yield Tokens Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot Add a Cell ${robot} + Run Keyword And Ignore Error Click Element ${SAVE} ${observed} = Get Cell Source Tokens ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} From f5262a006baae923cdc9f752b898e4af77296798 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:45:54 -0500 Subject: [PATCH 52/74] intermediate commit before going to hashes --- ...f5086ee5373f9ffd8b38f6f52dfa55d7e2a.tokens | 29 +++++ ...0f9e5097c4df40c280c2cb619bff8766ae1.tokens | 12 ++ ...a5e064aba1491996f897c0b1f7919cf6404.tokens | 39 ++++++ ...ca3f6fdb4daa808894c222fecae0cd27271.tokens | 14 +++ ...01e843f661f7850981bc1b535ccf4c1a8c4.tokens | 15 +++ ...0317867ea54ad3adfe9cf6ab18dd30d0c18.tokens | 24 ++++ ...14a42bc4ee410f8203b8b24dff53f722ee7.tokens | 14 +++ ...5e1928fa3ff6b390bfb059787564e08c139.tokens | 11 ++ ...8048ab6cbc76c0c17aae6deb2de4a202e14.tokens | 56 +++++++++ ...84968f7c255f1b444c5f8d6038964f20df4.tokens | 61 ++++++++++ ...e2f5d7e6680c2988663e098a18b3e07cd08.tokens | 45 +++++++ ...15188b01a8b50e95908f62eb1e71cb2975a.tokens | 29 +++++ ...d03c3b781e0cac0add7ecf98aa9390d2c69.tokens | 30 +++++ ...8087863a9da53e281985d7ef58d2467bda4.tokens | 26 ++++ ...802e9c4912343ce983b8eaa2d10b0099833.tokens | 93 ++++++++++++++ ...4e15f4cc6d92e383e709d2b40e4ddee787b.tokens | 18 +++ ...a637973fae1438d0fce3dcf4792b175cef8.tokens | 38 ++++++ ...b0632e174f69162d8b0fb1d9de784c68e64.tokens | 17 +++ ...fe55cb5ff456a8680c8dfb2656e31a410f1.tokens | 11 ++ ...12fc2363c7cc1c2e5fb594410e0d15b65ac.tokens | 54 ++++++++ ...2c64625c37083c087bfa24d3ae4ccfdc766.tokens | 20 +++ ...fd87689b08217ff180d1a09cfa3dd497e61.tokens | 24 ++++ ...af0a36e894e08a1116125b962ed54ce5ea5.tokens | 38 ++++++ ...6ca2384014a22d05a7d5f988aee5da9c37e.tokens | 15 +++ ...9182c8e755855891a5b00f6fb029a53e61b.tokens | 67 ++++++++++ ...c098a5293f528df5335f8260b77109e65c0.tokens | 98 +++++++++++++++ ...1c4d9d0e77c0a68920ce109b6d8918c26a9.tokens | 17 +++ ...e7dfa1b85d9ab2b19ebe334ecedd3269005.tokens | 56 +++++++++ ...930084a538133e5c7da5ca9597577eb476f.tokens | 23 ++++ ...bfe8bc5fd0775c634c648e21d2e2e1c19b7.tokens | 59 +++++++++ ...52f3be36437dffb02ae39814e88ddfcb7db.tokens | 12 ++ ...cf333f0ac5c2ca76d41c2fd1f4ed71ec34b.tokens | 52 ++++++++ ...761f66dd37d13dd45afc52911b4cb0d125b.tokens | 40 ++++++ ...0db072fcee39904a8ea550857e45054455d.tokens | 72 +++++++++++ ...659715bd81c247a9af0732b1578de94de11.tokens | 20 +++ ...7c0133b7911d606d86a1db43b1a35af9510.tokens | 102 ++++++++++++++++ ...28fba58f841477fdd5a705c421a41146499.tokens | 18 +++ ...95b8cfef399451aeb0c8ef42412f68196fe.tokens | 32 +++++ ...6c6eba6a125af3fea1669785582a5483c2f.tokens | 62 ++++++++++ ...a63793c5ccd1498adc79354f393867b6033.tokens | 25 ++++ ...b1e2eebefb9b24b2a7d79cad73dc6da7f06.tokens | 20 +++ ...ce1cef7e5263b7af553b22b18352347d5b6.tokens | 38 ++++++ ...ae3f580d762d318daf0b57510ad61c26d20.tokens | 17 +++ ...ddf93f618cf87c615fc58dbf602e34ffeae.tokens | 83 +++++++++++++ ...9765a84fa98b334011b4d4c5b28d36e6a13.tokens | 13 ++ ...95dca0139471f81ccda42d75e7e3072153c.tokens | 24 ++++ ...c551926721b15ba4fa8bde029e7cc09a3a1.tokens | 27 ++++ ...546769ad95a636981805f8e0895a3dcc771.tokens | 24 ++++ ...7db90365c4841f75f31ad55b1b31f3ffe8f.tokens | 21 ++++ ...9a50038e591238571e070ed26d6225be0be.tokens | 26 ++++ ...c3da68ca3813d97697b3285fadcd1e285ab.tokens | 17 +++ ...135f9558dacf964ef722d584809ee21b82f.tokens | 8 ++ ...411889f65a731907b0d2938a39382926756.tokens | 19 +++ ...357d651bd2f1fa2cbf995919a977cc1c246.tokens | 86 +++++++++++++ ...1fa91c26661b0cfdfd613b69adb9da5eec3.tokens | 30 +++++ ...92d2ba54b7d211e33b64b9edd0e24b22dad.tokens | 25 ++++ ...23825e5dd9bc4f98ea5a12ecc916f17ed63.tokens | 24 ++++ ...0005c12b38720a1868b2eb49014480ba442.tokens | 25 ++++ ...bf2ad274a858d45cf9f2495c919bea5fbe9.tokens | 105 ++++++++++++++++ ...f6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.tokens | 85 +++++++++++++ ...242c3e37be0e0949b7cbc9222af136d4803.tokens | 6 + ...0eb326ba188aa0e07307336de0ec8024f86.tokens | 11 ++ ...e196fbcd72d45e59c304d3c21c7b7793ea6.tokens | 17 +++ ...dccdc73097fc3f0e7da390d7138d8762dcc.tokens | 87 +++++++++++++ ...9fb3f8e738dd4976798b26c7b67b11cf8ae.tokens | 27 ++++ ...9f77d0f5d50dd4b273a541a89e26b53ee09.tokens | 10 ++ ...9cd21e30e8294c8c32306a3eee4d30e6154.tokens | 29 +++++ ...d6b0eb5bbfec7bf7f18645b7a8d98130c5c.tokens | 46 +++++++ ...76368b9e111bea2da46827196c8bbab19a5.tokens | 18 +++ ...d37a014dee6dfefb4e9a6d17eb58e1de930.tokens | 73 +++++++++++ ...c177fe496ecd6d65048ea77f2b46b4c4c41.tokens | 52 ++++++++ ...5c5c53e3d835d5dad759b8a7898cd00d652.tokens | 24 ++++ ...fe0d5d910e184bdd5e88accaa8ad8b3a15c.tokens | 35 ++++++ ...61b0923a695b03db511ab535d897e2e6264.tokens | 59 +++++++++ ...7b18e8c1ef206285f85350bd248aa5c5ad8.tokens | 44 +++++++ ...d2f7e6cf0d62bd66eeb149ccc3b75876569.tokens | 42 +++++++ ...731eeae497eda7d4907caaf5d8ee1b751b8.tokens | 15 +++ ...c92d59d208e9eb1fa370cd4942849f216fd.tokens | 39 ++++++ ...54efef602300713d10586ae600d8f70a6d3.tokens | 47 +++++++ ...4d944ec8190ada40fb83d5fa7e37f6ce804.tokens | 36 ++++++ ...9733ba4e773ddaf246710a2b797cd56a643.tokens | 14 +++ ...6acd5a17ac3dca15a7c67071de1e6a7b1ba.tokens | 31 +++++ ...15b04470e35fbe2f4b46a3b65606fc01181.tokens | 35 ++++++ ...64c7b48c7338cde927dff2243261ec75ba5.tokens | 38 ++++++ ...ef144c6f9ccf282b648fbf39b57ddffd3f6.tokens | 22 ++++ ...88868e4c74cb32c43dacb4b870eeae8d7c2.tokens | 21 ++++ ...fa6fa379e162f65fa81b9b4d936253fc25a.tokens | 9 ++ ...ef5c4370d11103bce5fe3035279f15ba31e.tokens | 25 ++++ ...74f246c1404b9136e399c8986f2c143a440.tokens | 11 ++ ...bc231e6297ef3c45af189ebbcb4ba8e5126.tokens | 113 +++++++++++++++++ ...1de4e08118de296f4e308e1925e426253fd.tokens | 8 ++ ...3b81464e5f66897b5e1c718da7e23fea283.tokens | 33 +++++ ...4155a899b6c04300976d68699428dbe6ea7.tokens | 20 +++ ...b6f8d9ea7667a6fa851de29a93e131165a9.tokens | 34 ++++++ ...d3d8d904e732b308446e849dd10adfd4fb4.tokens | 28 +++++ ...a76ee92e02b5a6281aa267cf771085f4dae.tokens | 66 ++++++++++ ...4d336f70a16efb32fe55328504fb0524244.tokens | 19 +++ ...4cc6851ad1166665833cfc319a1a423eb21.tokens | 53 ++++++++ ...b42dbc680f0a0b07ba90ee7468a00b3f5a2.tokens | 51 ++++++++ ...96d501297796d01d74337ed6766df7f2974.tokens | 49 ++++++++ ...e2e098f7828b2592df256e412959fbe4f0c.tokens | 20 +++ ...8013e63236fce9b934181dbbf597bd1ba79.tokens | 21 ++++ ...d5530dec6b582024789f7e390dcf46be3b9.tokens | 36 ++++++ ...14635500404fb3a412d4dca2f375f0bd40b.tokens | 15 +++ ...c9548b83dcf52b4e62e46c34e0154562932.tokens | 24 ++++ ...e94534d1ddc852bf5e20df93bb4fb5a44af.tokens | 36 ++++++ ...92a51b97e5198aee8c86bd9486fee742307.tokens | 35 ++++++ ...4727c2d27e1f526b6fa7daaaefca33ddfe1.tokens | 37 ++++++ ...7a5df506b19f0f4a9030850af503d895826.tokens | 14 +++ ...bc30f5ff0e94cabedc07bb37132340ea08b.tokens | 83 +++++++++++++ ...c0eb456ddb927ae6d60617deb63621d59d5.tokens | 10 ++ ...99e18eb3627e688c8ff4422fffaa14076e7.tokens | 20 +++ ...619419e49bbf48f8827ac8a468f9fc49dad.tokens | 9 ++ ...e215b6f5b1570c6199d4af0a1a25acab272.tokens | 36 ++++++ ...a85f4bf8d27ff03ee26269a49f80c08bbe1.tokens | 49 ++++++++ ...427ed39183dfd324bb4563df73013331777.tokens | 53 ++++++++ ...e039c800b57e7ee3b0d614d3e44066593fa.tokens | 68 +++++++++++ ...825cec834ad47b95c6b6a41d45b9085ff47.tokens | 103 ++++++++++++++++ ...91b6cc12fc292279a882819ae9c1e891110.tokens | 14 +++ ...969d8876a3f3e2b81e5ace65dbb8c987ab2.tokens | 24 ++++ ...88400ce107ccc74b64cd9d705e70bba08a5.tokens | 18 +++ ...72aadf53000240df723bc67cacce5b907c5.tokens | 12 ++ ...02edb252786bddeb7658cdd549dfa718b35.tokens | 115 ++++++++++++++++++ ...8b02d875ca3352ee383e83a0f8d69022021.tokens | 78 ++++++++++++ ...17ca8be9b7b52aee4625610ca36d3771466.tokens | 30 +++++ ...7d0f9644ecdb41ddb3f4496f8cfb84e4181.tokens | 32 +++++ ...b5e1306f1be7a58ee85d01842d7d7340e90.tokens | 8 ++ ...56e6a33da5322f547913fda313af562fd9d.tokens | 8 ++ ...386b70d8856cfb01d9e03d4c63647e8d907.tokens | 36 ++++++ ...6342b53ef08e89d9d9d4b61222ec33bdf48.tokens | 17 +++ ...0ebffc9891b463cb53632afffd84ee02704.tokens | 18 +++ ...cc29dcfd5d2ce4523f6193360813cbcb9b8.tokens | 9 ++ ...8df664e7b9417de3adfa564237e159d4ba4.tokens | 30 +++++ ...21e22c0b2e10fb7c8080240ff4dd21db486.tokens | 89 ++++++++++++++ ...cc0e910b3bd36663f80133030c70500d54b.tokens | 8 ++ 135 files changed, 4817 insertions(+) create mode 100644 atest/fixtures/highlighting/tokens/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.tokens b/atest/fixtures/highlighting/tokens/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.tokens new file mode 100644 index 0000000..b6c9627 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.tokens @@ -0,0 +1,29 @@ +header link +header string +keyword +keyword +string +string +attribute +operator +string +keyword +keyword +string +attribute +operator +string +attribute +operator +variable-2 +header link +def +def +meta +variable-2 +variable-2 +keyword +keyword +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.tokens b/atest/fixtures/highlighting/tokens/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.tokens new file mode 100644 index 0000000..541ac10 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.tokens @@ -0,0 +1,12 @@ +header link +header string +keyword +attribute +operator +string +attribute +operator +string +header string +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.tokens b/atest/fixtures/highlighting/tokens/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.tokens new file mode 100644 index 0000000..4887578 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.tokens @@ -0,0 +1,39 @@ +header link +header string +keyword +variable-2 +bracket +number +string +bracket +header string +keyword +variable-2 +bracket +string +number +bracket +header string +keyword +variable-2 +bracket +number +string +number +bracket +header string +keyword +variable-2 +bracket +string +number +bracket +keyword +variable-2 +bracket +number +string +number +string +number +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.tokens b/atest/fixtures/highlighting/tokens/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.tokens new file mode 100644 index 0000000..2243b1e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.tokens @@ -0,0 +1,14 @@ +header link +header string +meta +string +string +string +bracket +meta +bracket +tag +tag +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.tokens b/atest/fixtures/highlighting/tokens/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.tokens new file mode 100644 index 0000000..568d03b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.tokens @@ -0,0 +1,15 @@ +header link +def +variable-2 +def +def +keyword +keyword +string +string +keyword +keyword +keyword +keyword +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.tokens b/atest/fixtures/highlighting/tokens/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.tokens new file mode 100644 index 0000000..bbfa444 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +bracket +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +bracket +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.tokens b/atest/fixtures/highlighting/tokens/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.tokens new file mode 100644 index 0000000..85a9f23 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.tokens @@ -0,0 +1,14 @@ +header link +variable-2 +string +variable-2 +string +header link +header string +variable-2 +operator +keyword +keyword +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.tokens b/atest/fixtures/highlighting/tokens/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.tokens new file mode 100644 index 0000000..3a12250 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.tokens @@ -0,0 +1,11 @@ +header link +meta +string +meta +string +meta +string +string +string +meta +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.tokens b/atest/fixtures/highlighting/tokens/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.tokens new file mode 100644 index 0000000..6cf7c53 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.tokens @@ -0,0 +1,56 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +keyword +string +keyword +keyword +keyword +string +header link +def +def +def +variable-2 +def +def +variable-2 +variable-2 +operator +keyword +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.tokens b/atest/fixtures/highlighting/tokens/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.tokens new file mode 100644 index 0000000..c309ea3 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.tokens @@ -0,0 +1,61 @@ +header link +meta +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +string +string +string +string +string +header link +def +def +meta +string +string +keyword +keyword +def +def +meta +variable-2 +meta +string +string +string +string +string strong +string +string +bracket +bracket +string +bracket +bracket +string +string +bracket +string +bracket +bracket +bracket +string +string +bracket +string +bracket +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.tokens b/atest/fixtures/highlighting/tokens/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.tokens new file mode 100644 index 0000000..97696de --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.tokens @@ -0,0 +1,45 @@ +header link +def +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +def +meta +variable-2 +variable-2 +operator +string +variable-2 +keyword +string +variable-2 +keyword +string +variable-2 +keyword +string +atom +variable-2 +atom +variable-2 +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.tokens b/atest/fixtures/highlighting/tokens/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.tokens new file mode 100644 index 0000000..e9a5572 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.tokens @@ -0,0 +1,29 @@ +header link +header string +keyword +keyword +string +string +comment +keyword +keyword +string +attribute +operator +string +comment +header link +def +def +meta +variable-2 +variable-2 +operator +string +keyword +keyword +string +variable-2 +attribute +operator +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.tokens b/atest/fixtures/highlighting/tokens/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.tokens new file mode 100644 index 0000000..6cbcb5a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.tokens @@ -0,0 +1,30 @@ +header link +header string +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.tokens b/atest/fixtures/highlighting/tokens/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.tokens new file mode 100644 index 0000000..3651741 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.tokens @@ -0,0 +1,26 @@ +header link +meta +string +string +meta +keyword +keyword +variable-2 +meta +tag +meta +string +header link +variable-2 +string +string +header link +def +def +meta +variable-2 +keyword +keyword +variable-2 +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.tokens b/atest/fixtures/highlighting/tokens/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.tokens new file mode 100644 index 0000000..2cd0a63 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.tokens @@ -0,0 +1,93 @@ +header link +meta +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +meta +tag +tag +tag +tag +tag +tag +tag +header link +variable-2 +string +string +string +string +string +string +string +string +string +string +string +string +string +header link +header string +bracket +meta +bracket +tag +tag +tag +tag +tag +tag +tag +tag +tag +tag +tag +keyword +keyword +string +string +string +string +string +string +string +string +string +string +string +string +variable-2 +operator +keyword +keyword +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.tokens b/atest/fixtures/highlighting/tokens/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.tokens new file mode 100644 index 0000000..4ffd30e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.tokens @@ -0,0 +1,18 @@ +header link +meta +string +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.tokens b/atest/fixtures/highlighting/tokens/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.tokens new file mode 100644 index 0000000..a309302 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.tokens b/atest/fixtures/highlighting/tokens/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.tokens new file mode 100644 index 0000000..c66a3de --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.tokens @@ -0,0 +1,17 @@ +header link +header string +keyword +keyword +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.tokens b/atest/fixtures/highlighting/tokens/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.tokens new file mode 100644 index 0000000..ac8c1ab --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.tokens @@ -0,0 +1,11 @@ +header link +meta +string +variable-2 +meta +keyword +keyword +variable-2 +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.tokens b/atest/fixtures/highlighting/tokens/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.tokens new file mode 100644 index 0000000..a9f00fb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.tokens @@ -0,0 +1,54 @@ +header link +variable-2 +number +variable-2 +attribute +operator +string +attribute +operator +string +attribute +operator +string +variable-2 +number +variable-2 +attribute +operator +string +attribute +operator +string +attribute +operator +string +variable-2 +attribute +operator +string +attribute +operator +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +variable-2 +variable-2 +attribute +operator +string +attribute +operator +bracket +operator +string +attribute +operator +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.tokens b/atest/fixtures/highlighting/tokens/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.tokens new file mode 100644 index 0000000..6ee67a1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.tokens b/atest/fixtures/highlighting/tokens/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.tokens new file mode 100644 index 0000000..787700d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +keyword +keyword +string +keyword +keyword +string +string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.tokens b/atest/fixtures/highlighting/tokens/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.tokens new file mode 100644 index 0000000..2407c4d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.tokens @@ -0,0 +1,38 @@ +header link +variable-2 +string +string +string +header link +header string +variable-2 +operator +keyword +keyword +string +atom +variable-2 +atom +variable-2 +variable-2 +operator +keyword +variable-2 +string +string +keyword +keyword +variable-2 +variable-2 +atom +header string +atom +variable-2 +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.tokens b/atest/fixtures/highlighting/tokens/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.tokens new file mode 100644 index 0000000..d66c2cb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +string +keyword +string +string +header string +keyword +variable-2 +keyword +variable-2 +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.tokens b/atest/fixtures/highlighting/tokens/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.tokens new file mode 100644 index 0000000..fa10a1e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.tokens @@ -0,0 +1,67 @@ +header link +header string +keyword +keyword +string +string +comment +header string +keyword +keyword +attribute +operator +string +comment +header string +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +keyword +string +string +attribute +operator +string +comment +header string +keyword +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +keyword +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.tokens b/atest/fixtures/highlighting/tokens/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.tokens new file mode 100644 index 0000000..fe85c9c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.tokens @@ -0,0 +1,98 @@ +header link +meta +string +string +header link +header string +meta +string +string +string +string +string +string +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +meta +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +meta +variable-2 +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +string +string +string +string +string +meta +keyword +keyword +string +header string +meta +string +string +string +string +string +string +string +string +string +string +meta +string +keyword +keyword +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.tokens b/atest/fixtures/highlighting/tokens/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.tokens new file mode 100644 index 0000000..c0a8218 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.tokens @@ -0,0 +1,17 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.tokens b/atest/fixtures/highlighting/tokens/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.tokens new file mode 100644 index 0000000..967277e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.tokens @@ -0,0 +1,56 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +string +keyword +keyword +variable-2 +header string +variable-2 +bracket +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +variable-2 +operator +keyword +keyword +keyword +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +variable-2 +operator +keyword +keyword +keyword +meta +variable-2 +def +def +def +meta +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.tokens b/atest/fixtures/highlighting/tokens/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.tokens new file mode 100644 index 0000000..ca75c75 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.tokens @@ -0,0 +1,23 @@ +header link +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.tokens b/atest/fixtures/highlighting/tokens/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.tokens new file mode 100644 index 0000000..c563db8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.tokens @@ -0,0 +1,59 @@ +header link +meta +string +string +string +string +meta +string +meta +variable-2 +string +header link +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +variable-2 +string +header link +def +def +def +meta +string +string +string +string +string +keyword +keyword +variable-2 +variable-2 +keyword +keyword +keyword +string +string +def +def +meta +variable-2 +keyword +keyword +string +variable-2 +def +def +meta +variable-2 +keyword +keyword +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.tokens b/atest/fixtures/highlighting/tokens/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.tokens new file mode 100644 index 0000000..f522d80 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.tokens @@ -0,0 +1,12 @@ +header link +meta +string +meta +string +meta +string +string +string +meta +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.tokens b/atest/fixtures/highlighting/tokens/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.tokens new file mode 100644 index 0000000..5616dfa --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.tokens @@ -0,0 +1,52 @@ +header link +header string +keyword +variable-2 +bracket +string +bracket +variable-2 +bracket +string +bracket +keyword +keyword +keyword +string +variable-2 +bracket +string +bracket +string +header string +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +variable-2 +number +variable-2 +bracket +header string +keyword +variable-2 +operator +property +variable-2 +variable-2 +operator +property +variable-2 +keyword +keyword +keyword +string +variable-2 +operator +property +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.tokens b/atest/fixtures/highlighting/tokens/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.tokens new file mode 100644 index 0000000..70a7af2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.tokens @@ -0,0 +1,40 @@ +header link +string +string +meta +string +string +string +string +string +string +string +keyword +keyword +string +string +meta +string +string +bracket +string +string +string +string +string +keyword +keyword +string +string +meta +string +string +bracket +string +string +string +bracket +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.tokens b/atest/fixtures/highlighting/tokens/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.tokens new file mode 100644 index 0000000..2b4806e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.tokens @@ -0,0 +1,72 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header link +def +def +def +variable-2 +operator +string-2 +variable-2 +def +keyword +keyword +variable-2 +attribute +operator +string +def +def +def +variable-2 +def +def +def +variable-2 +def +keyword +keyword +variable-2 +variable-2 +attribute +operator +string +def +def +variable-2 +operator +string-2 +variable-2 +keyword +variable-2 +variable-2 +variable-2 +def +def +variable-2 +operator +string-2 +variable-2 +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.tokens b/atest/fixtures/highlighting/tokens/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.tokens new file mode 100644 index 0000000..d366af8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.tokens @@ -0,0 +1,20 @@ +header link +meta +bracket +string +string +string +string +string +string +bracket +bracket +string +string +string +string +string +bracket +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.tokens b/atest/fixtures/highlighting/tokens/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.tokens new file mode 100644 index 0000000..7e470d0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.tokens @@ -0,0 +1,102 @@ +header link +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +atom +variable-2 +atom +variable-2 +string +string +keyword +variable-2 +atom +header string +meta +string +string +string +string +string +string +string +atom +variable-2 +atom +string +string +string +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.tokens b/atest/fixtures/highlighting/tokens/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.tokens new file mode 100644 index 0000000..064d1fb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.tokens @@ -0,0 +1,18 @@ +header link +header string +keyword +keyword +string +string +string +string +header string +bracket +meta +bracket +keyword +keyword +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.tokens b/atest/fixtures/highlighting/tokens/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.tokens new file mode 100644 index 0000000..67db8a2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.tokens @@ -0,0 +1,32 @@ +header link +header string +atom +variable-2 +variable-2 +variable-2 +atom +bracket +string +string +bracket +string +string +bracket +string +string +keyword +string +variable-2 +string +string +string +string +string +variable-2 +string +string +string +string +variable-2 +string +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.tokens b/atest/fixtures/highlighting/tokens/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.tokens new file mode 100644 index 0000000..2fab2fa --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.tokens @@ -0,0 +1,62 @@ +header link +comment +header string +keyword +string +comment +keyword +string +string +comment +keyword +string +string +string +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +string +attribute +operator +string +comment +keyword +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.tokens b/atest/fixtures/highlighting/tokens/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.tokens new file mode 100644 index 0000000..91607e0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.tokens @@ -0,0 +1,25 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +string +string +variable-2 +operator +keyword +keyword +string +keyword +keyword +keyword +variable-2 +operator +property +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.tokens b/atest/fixtures/highlighting/tokens/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.tokens new file mode 100644 index 0000000..10a8a7d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.tokens @@ -0,0 +1,20 @@ +header link +header string +variable-2 +operator +property +variable-2 +operator +keyword +keyword +string +string +variable-2 +operator +property +variable-2 +operator +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.tokens b/atest/fixtures/highlighting/tokens/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.tokens new file mode 100644 index 0000000..1a0c970 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +string +keyword +keyword +string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +string +header string +keyword +keyword +variable-2 +number +variable-2 +keyword +keyword +string +variable-2 +number +variable-2 +comment +keyword +keyword +variable-2 +number +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.tokens b/atest/fixtures/highlighting/tokens/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.tokens new file mode 100644 index 0000000..dfbb414 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.tokens @@ -0,0 +1,17 @@ +header link +variable-2 +string +header link +header string +keyword +keyword +variable-2 +number +variable-2 +keyword +variable-2 +number +variable-2 +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.tokens b/atest/fixtures/highlighting/tokens/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.tokens new file mode 100644 index 0000000..1b21d8d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.tokens @@ -0,0 +1,83 @@ +header link +meta +tag +meta +tag +tag +header link +variable-2 +string +header link +header string +meta +string +string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +string +string +bracket +meta +bracket +tag +tag +keyword +keyword +header string +meta +string +string +string +string +string +string +string +bracket +meta +bracket +tag +variable-2 +keyword +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +keyword +keyword +header string +meta +string +string +string +string +string +string +string +keyword +keyword +string +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.tokens b/atest/fixtures/highlighting/tokens/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.tokens new file mode 100644 index 0000000..f178c04 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.tokens @@ -0,0 +1,13 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +keyword +string +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.tokens b/atest/fixtures/highlighting/tokens/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.tokens new file mode 100644 index 0000000..0658640 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.tokens @@ -0,0 +1,24 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +atom +variable-2 +atom +variable-2 +variable-2 +bracket +string +string +atom +atom +variable-2 +atom +string +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.tokens b/atest/fixtures/highlighting/tokens/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.tokens new file mode 100644 index 0000000..4b05617 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.tokens @@ -0,0 +1,27 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +variable-2 +builtin +variable-2 +string +variable-2 +builtin +variable-2 +string +variable-2 +operator +keyword +keyword +variable-2 +builtin +variable-2 +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.tokens b/atest/fixtures/highlighting/tokens/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.tokens new file mode 100644 index 0000000..007b983 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +string +string +comment +header string +keyword +string +variable-2 +number +variable-2 +comment +header string +keyword +keyword +variable-2 +number +variable-2 +variable-2 +operator +number +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.tokens b/atest/fixtures/highlighting/tokens/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.tokens new file mode 100644 index 0000000..3650bc1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.tokens @@ -0,0 +1,21 @@ +header link +header string +keyword +keyword +string +string +string +string +string +keyword +keyword +string +string +string +string +keyword +keyword +variable-2 +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.tokens b/atest/fixtures/highlighting/tokens/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.tokens new file mode 100644 index 0000000..1ea9cae --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.tokens @@ -0,0 +1,26 @@ +header link +header string +keyword +string +string +string +string +string +string +header string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +string +string strong +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.tokens b/atest/fixtures/highlighting/tokens/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.tokens new file mode 100644 index 0000000..c0a8218 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.tokens @@ -0,0 +1,17 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +string +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.tokens b/atest/fixtures/highlighting/tokens/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.tokens new file mode 100644 index 0000000..a32243c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.tokens @@ -0,0 +1,8 @@ +header link +header string +keyword +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.tokens b/atest/fixtures/highlighting/tokens/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.tokens new file mode 100644 index 0000000..3013b34 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.tokens @@ -0,0 +1,19 @@ +header link +variable-2 +string +string +variable-2 +number +variable-2 +variable-2 +string +variable-2 +variable-2 +string +string +string +string +bracket +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.tokens b/atest/fixtures/highlighting/tokens/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.tokens new file mode 100644 index 0000000..3924f4c --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.tokens @@ -0,0 +1,86 @@ +header link +meta +keyword +keyword +string +string +meta +keyword +keyword +header link +header string +meta +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +bracket +keyword +keyword +string +string +keyword +keyword +header string +meta +string +string +string +string +string +string +keyword +keyword +bracket +meta +header string +meta +string +string +string +string +string +string +string +string +string +string +string +keyword +keyword +bracket +meta +bracket +keyword +header string +meta +string +string +string +string +string +string +bracket +meta +bracket +variable-2 +keyword +keyword +bracket +meta +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.tokens b/atest/fixtures/highlighting/tokens/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.tokens new file mode 100644 index 0000000..20f629b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.tokens @@ -0,0 +1,30 @@ +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +meta +variable-2 +variable-2 +keyword +keyword +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.tokens b/atest/fixtures/highlighting/tokens/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.tokens new file mode 100644 index 0000000..1ff8b9f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.tokens @@ -0,0 +1,25 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +keyword +keyword +variable-2 +builtin +variable-2 +string +string +string +keyword +keyword +variable-2 +builtin +variable-2 +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.tokens b/atest/fixtures/highlighting/tokens/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.tokens new file mode 100644 index 0000000..541855a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +variable-2 +operator +property +variable-2 +keyword +keyword +variable-2 +operator +property +bracket +string +bracket +variable-2 +keyword +keyword +variable-2 +bracket +number +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.tokens b/atest/fixtures/highlighting/tokens/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.tokens new file mode 100644 index 0000000..6d8167d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.tokens @@ -0,0 +1,25 @@ +header link +def +def +meta +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom +def +def +meta +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.tokens b/atest/fixtures/highlighting/tokens/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.tokens new file mode 100644 index 0000000..b97986b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.tokens @@ -0,0 +1,105 @@ +header link +def +def +def +def +def +meta +variable-2 +operator +string +string +meta +string +string +string +string +string +keyword +string +string +variable-2 +def +def +def +def +meta +variable-2 +number +variable-2 +operator +string +string +variable-2 +number +variable-2 +operator +variable-2 +meta +string +string +string +string +string +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +def +def +def +def +def +def +meta +variable-2 +variable-2 +operator +string +meta +string +string +string +string +string +keyword +string +variable-2 +keyword +string +variable-2 +string +string +string +string +string +meta +variable-2 +variable-2 +operator +variable-2 +variable-2 +operator +variable-2 +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.tokens b/atest/fixtures/highlighting/tokens/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.tokens new file mode 100644 index 0000000..e07efa1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.tokens @@ -0,0 +1,85 @@ +header link +def +def +def +meta +string +string +string +keyword +keyword +def +def +meta +string +string +string +string +string +string +string +bracket +bracket +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +keyword +keyword +def +def +def +def +def +meta +string +string +string +string +string +string +string +string +string +bracket +string +string +string +bracket +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.tokens b/atest/fixtures/highlighting/tokens/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.tokens new file mode 100644 index 0000000..38c68e9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.tokens @@ -0,0 +1,6 @@ +header link +header string +keyword +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.tokens b/atest/fixtures/highlighting/tokens/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.tokens new file mode 100644 index 0000000..e49ec2a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.tokens @@ -0,0 +1,11 @@ +header link +meta +string +atom +bracket +def +meta +variable-2 +atom +bracket +def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.tokens b/atest/fixtures/highlighting/tokens/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.tokens new file mode 100644 index 0000000..e761d67 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.tokens @@ -0,0 +1,17 @@ +header link +header string +atom +variable-2 +atom +string +string +bracket +keyword +variable-2 +bracket +keyword +string +string +keyword +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.tokens b/atest/fixtures/highlighting/tokens/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.tokens new file mode 100644 index 0000000..aab9cc9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.tokens @@ -0,0 +1,87 @@ +header link +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +header link +def +def +variable-2 +def +keyword +keyword +variable-2 +def +def +variable-2 +number +variable-2 +def +variable-2 +number +variable-2 +keyword +keyword +variable-2 +number +variable-2 +keyword +keyword +string +keyword +keyword +variable-2 +number +variable-2 +keyword +keyword +operator +def +def +def +variable-2 +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.tokens b/atest/fixtures/highlighting/tokens/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.tokens new file mode 100644 index 0000000..60bdaec --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.tokens @@ -0,0 +1,27 @@ +header link +def +def +def +keyword +keyword +string +keyword +keyword +keyword +string +string +def +def +def +def +meta +variable-2 +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.tokens b/atest/fixtures/highlighting/tokens/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.tokens new file mode 100644 index 0000000..c35b694 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.tokens @@ -0,0 +1,10 @@ +header link +header string +atom +variable-2 +atom +variable-2 +keyword +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.tokens b/atest/fixtures/highlighting/tokens/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.tokens new file mode 100644 index 0000000..acb8adf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.tokens @@ -0,0 +1,29 @@ +header link +meta +bracket +string +string +bracket +bracket +string +string +string +string +bracket +string +string +string +meta +string +string +bracket +string +string +string +bracket +string +string +string +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.tokens b/atest/fixtures/highlighting/tokens/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.tokens new file mode 100644 index 0000000..5605f44 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.tokens @@ -0,0 +1,46 @@ +header link +def +def +meta +variable-2 +variable-2 +operator +string +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +operator +string +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +string +variable-2 +number +variable-2 +keyword +keyword +variable-2 +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.tokens b/atest/fixtures/highlighting/tokens/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.tokens new file mode 100644 index 0000000..77f0d91 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.tokens @@ -0,0 +1,18 @@ +header link +variable-2 +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +variable-2 +attribute +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.tokens b/atest/fixtures/highlighting/tokens/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.tokens new file mode 100644 index 0000000..3ec0b4b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.tokens @@ -0,0 +1,73 @@ +header link +header string +keyword +keyword +attribute +operator +string +keyword +keyword +string +string +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +string +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +keyword +keyword +keyword +string +attribute +operator +string +attribute +operator +string +attribute +operator +string +keyword +keyword +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.tokens b/atest/fixtures/highlighting/tokens/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.tokens new file mode 100644 index 0000000..49017d7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.tokens @@ -0,0 +1,52 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +keyword +string +keyword +keyword +keyword +string +header string +bracket +meta +bracket +keyword +keyword +keyword +variable-2 +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +bracket +meta +bracket +keyword +variable-2 +keyword +variable-2 +keyword +keyword +keyword +keyword +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.tokens b/atest/fixtures/highlighting/tokens/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.tokens new file mode 100644 index 0000000..d3569f1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.tokens @@ -0,0 +1,24 @@ +header link +header string +keyword +keyword +string +string +bracket +header string +keyword +keyword +string +string +variable-2 +builtin +variable-2 +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.tokens b/atest/fixtures/highlighting/tokens/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.tokens new file mode 100644 index 0000000..e1ad6e6 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.tokens @@ -0,0 +1,35 @@ +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +builtin +variable-2 +atom +variable-2 +atom +string +string +string +keyword +keyword +keyword +keyword +string +variable-2 +string +operator +string +variable-2 +operator +keyword +keyword +variable-2 +atom +keyword +keyword +keyword +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.tokens b/atest/fixtures/highlighting/tokens/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.tokens new file mode 100644 index 0000000..34615dd --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.tokens @@ -0,0 +1,59 @@ +header link +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.tokens b/atest/fixtures/highlighting/tokens/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.tokens new file mode 100644 index 0000000..1ce1ea3 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.tokens @@ -0,0 +1,44 @@ +header link +header string +variable-2 +operator +keyword +keyword +string +keyword +variable-2 +operator +property +bracket +variable-2 +comment +keyword +variable-2 +operator +variable-2 +number +variable-2 +comment +header string +variable-2 +operator +keyword +keyword +variable-2 +operator +number +variable-2 +keyword +variable-2 +operator +variable-2 +number +variable-2 +comment +keyword +variable-2 +operator +property +bracket +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.tokens b/atest/fixtures/highlighting/tokens/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.tokens new file mode 100644 index 0000000..de84431 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.tokens @@ -0,0 +1,42 @@ +header link +meta +string +string +string +string +string +string +string +string +meta +string +header link +variable-2 +string +string +header link +header string +meta +string +string +keyword +variable-2 +keyword +keyword +string +header string +keyword +keyword +keyword +variable-2 +string +string +header link +def +def +meta +variable-2 +keyword +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.tokens b/atest/fixtures/highlighting/tokens/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.tokens new file mode 100644 index 0000000..c79f9ee --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +variable-2 +attribute +operator +string +keyword +string +variable-2 +variable-2 +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.tokens b/atest/fixtures/highlighting/tokens/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.tokens new file mode 100644 index 0000000..16987ff --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.tokens @@ -0,0 +1,39 @@ +header link +def +def +meta +variable-2 +keyword +string +string +variable-2 +def +def +meta +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 +keyword +string +string +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.tokens b/atest/fixtures/highlighting/tokens/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.tokens new file mode 100644 index 0000000..3b6a566 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.tokens @@ -0,0 +1,47 @@ +header link +meta +string +attribute +operator +string +attribute +operator +string +header link +header string +keyword +keyword +string +attribute +operator +variable-2 +attribute +operator +string +keyword +keyword +attribute +operator +string +keyword +keyword +attribute +operator +string +attribute +operator +string +header link +def +def +meta +variable-2 +operator +string +variable-2 +operator +keyword +keyword +string +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.tokens b/atest/fixtures/highlighting/tokens/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.tokens new file mode 100644 index 0000000..64fd8c2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.tokens @@ -0,0 +1,36 @@ +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +builtin +variable-2 +atom +variable-2 +atom +string +string +keyword +keyword +keyword +string +variable-2 +string +operator +string +string +string +string +variable-2 +operator +keyword +keyword +variable-2 +atom +keyword +keyword +keyword +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.tokens b/atest/fixtures/highlighting/tokens/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.tokens new file mode 100644 index 0000000..ef36287 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.tokens @@ -0,0 +1,14 @@ +header link +header string +keyword +variable-2 +operator +property +variable-2 +string +string +string +variable-2 +operator +property +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.tokens b/atest/fixtures/highlighting/tokens/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.tokens new file mode 100644 index 0000000..e2a1a10 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.tokens @@ -0,0 +1,31 @@ +bracket +header link +bracket +bracket +bracket +bracket +bracket +header string +bracket +variable-2 +operator +keyword +keyword +bracket +string +string +string +string +string +string +bracket +bracket +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket +string +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.tokens b/atest/fixtures/highlighting/tokens/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.tokens new file mode 100644 index 0000000..e75ebc8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.tokens @@ -0,0 +1,35 @@ +header link +header string +atom +variable-2 +variable-2 +variable-2 +atom +bracket +string +string +string +bracket +string +string +string +bracket +string +string +string +keyword +keyword +keyword +variable-2 +variable-2 +variable-2 +atom +atom +variable-2 +variable-2 +atom +variable-2 +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.tokens b/atest/fixtures/highlighting/tokens/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.tokens new file mode 100644 index 0000000..a4b6bdf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.tokens @@ -0,0 +1,38 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header link +def +def +def +variable-2 +def +keyword +keyword +variable-2 +attribute +operator +string +def +def +def +variable-2 +def +def +def +variable-2 +def +keyword +keyword +variable-2 +variable-2 +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.tokens b/atest/fixtures/highlighting/tokens/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.tokens new file mode 100644 index 0000000..db78c4b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.tokens @@ -0,0 +1,22 @@ +header link +header string +keyword +keyword +variable-2 +keyword +keyword +variable-2 +keyword +keyword +string +string +string +variable-2 +string +keyword +keyword +string +string +string +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.tokens b/atest/fixtures/highlighting/tokens/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.tokens new file mode 100644 index 0000000..4833d45 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.tokens @@ -0,0 +1,21 @@ +header link +meta +string +string +atom +bracket +def +meta +string +string +atom +bracket +def +meta +string +string +string +string +atom +bracket +def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.tokens b/atest/fixtures/highlighting/tokens/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.tokens new file mode 100644 index 0000000..eeb0dd9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.tokens @@ -0,0 +1,9 @@ +header link +meta +string +header link +header string +keyword +keyword +keyword +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.tokens b/atest/fixtures/highlighting/tokens/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.tokens new file mode 100644 index 0000000..086079d --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.tokens @@ -0,0 +1,25 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +variable-2 +builtin +variable-2 +header string +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.tokens b/atest/fixtures/highlighting/tokens/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.tokens new file mode 100644 index 0000000..56ccced --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.tokens @@ -0,0 +1,11 @@ +header link +header string +keyword +string +string +variable-2 +keyword +variable-2 +builtin +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.tokens b/atest/fixtures/highlighting/tokens/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.tokens new file mode 100644 index 0000000..2d1fd06 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.tokens @@ -0,0 +1,113 @@ +header link +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +number +variable-2 +comment +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.tokens b/atest/fixtures/highlighting/tokens/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.tokens new file mode 100644 index 0000000..f85ea3e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.tokens @@ -0,0 +1,8 @@ +header link +header string +keyword +string +string +header string +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.tokens b/atest/fixtures/highlighting/tokens/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.tokens new file mode 100644 index 0000000..47328a5 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.tokens @@ -0,0 +1,33 @@ +header link +header string +keyword +variable-2 +bracket +number +bracket +variable-2 +bracket +number +bracket +keyword +keyword +keyword +string +variable-2 +bracket +number +bracket +string +header string +keyword +variable-2 +bracket +string +number +bracket +header string +keyword +variable-2 +bracket +variable-2 +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.tokens b/atest/fixtures/highlighting/tokens/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.tokens new file mode 100644 index 0000000..f800dc7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +string +keyword +keyword +variable-2 +builtin +variable-2 +string +variable-2 +builtin +variable-2 +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.tokens b/atest/fixtures/highlighting/tokens/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.tokens new file mode 100644 index 0000000..25b6de2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.tokens @@ -0,0 +1,34 @@ +header link +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +builtin +variable-2 +string +string +string +string +variable-2 +builtin +variable-2 +string +string +string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +builtin +variable-2 +builtin +variable-2 +builtin +variable-2 +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.tokens b/atest/fixtures/highlighting/tokens/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.tokens new file mode 100644 index 0000000..37d71cf --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.tokens @@ -0,0 +1,28 @@ +header link +header string +bracket +builtin em +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +bracket +builtin em +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.tokens b/atest/fixtures/highlighting/tokens/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.tokens new file mode 100644 index 0000000..6b867e4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.tokens @@ -0,0 +1,66 @@ +header link +comment +header string +keyword +comment +header string +keyword +string +comment +keyword +string +string +comment +header string +keyword +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +string +attribute +operator +string +comment +keyword +string +attribute +operator +string +attribute +operator +string +comment +header string +keyword +attribute +operator +string +attribute +operator +string +comment +keyword +attribute +operator +string +attribute +operator +string +attribute +operator +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.tokens b/atest/fixtures/highlighting/tokens/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.tokens new file mode 100644 index 0000000..728f696 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.tokens @@ -0,0 +1,19 @@ +header link +meta +string +string +string +string +string +string +string strong +em string +string +bracket +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.tokens b/atest/fixtures/highlighting/tokens/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.tokens new file mode 100644 index 0000000..9bde6a0 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.tokens @@ -0,0 +1,53 @@ +header link +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +string +header link +header string +variable-2 +operator +keyword +keyword +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +keyword +keyword +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +variable-2 +bracket +atom +header string +atom +variable-2 +variable-2 +atom +variable-2 +variable-2 +keyword +keyword +keyword +keyword +variable-2 +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.tokens b/atest/fixtures/highlighting/tokens/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.tokens new file mode 100644 index 0000000..5ce0eb7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.tokens @@ -0,0 +1,51 @@ +header link +header string +meta +string +string +keyword +keyword +header string +meta +string strong +string +em string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +variable-2 +string +variable-2 +keyword +keyword +header string +meta +string +string +string +string +string +string +string +keyword +keyword +header string +meta +string +string +string +bracket +string +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.tokens b/atest/fixtures/highlighting/tokens/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.tokens new file mode 100644 index 0000000..b264b7f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.tokens @@ -0,0 +1,49 @@ +header link +header string +keyword +keyword +keyword +keyword +string +keyword +keyword +string +string +string +string +string +string +string +string +string +string +keyword +keyword +string +string +keyword +keyword +string +string +string +string +string +string +keyword +keyword +string +keyword +keyword +string +string +string +string +string +keyword +keyword +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.tokens b/atest/fixtures/highlighting/tokens/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.tokens new file mode 100644 index 0000000..b60cc7e --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.tokens @@ -0,0 +1,20 @@ +header link +header string +keyword +keyword +string +string +string +attribute +operator +string +keyword +keyword +string +string +attribute +operator +string +attribute +operator +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.tokens b/atest/fixtures/highlighting/tokens/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.tokens new file mode 100644 index 0000000..f6f0306 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.tokens @@ -0,0 +1,21 @@ +header link +variable-2 +string +string +string +string +string +string +string +string +variable-2 +attribute +operator +string +string +string +bracket +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.tokens b/atest/fixtures/highlighting/tokens/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.tokens new file mode 100644 index 0000000..21ad5bd --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.tokens @@ -0,0 +1,36 @@ +header link +header string +keyword +keyword +variable-2 +builtin +variable-2 +comment +keyword +keyword +string +variable-2 +builtin +variable-2 +comment +header string +keyword +keyword +variable-2 +builtin +variable-2 +comment +header string +variable-2 +operator +keyword +keyword +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.tokens b/atest/fixtures/highlighting/tokens/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.tokens new file mode 100644 index 0000000..5186c7b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.tokens @@ -0,0 +1,15 @@ +header link +header string +keyword +keyword +string +string +string +keyword +keyword +string +string +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.tokens b/atest/fixtures/highlighting/tokens/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.tokens new file mode 100644 index 0000000..cdd4658 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.tokens @@ -0,0 +1,24 @@ +header link +def +def +keyword +keyword +bracket +meta +bracket +keyword +string +string +def +def +meta +string +string +string +string +keyword +keyword +bracket +meta +bracket +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.tokens b/atest/fixtures/highlighting/tokens/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.tokens new file mode 100644 index 0000000..d8a1818 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.tokens @@ -0,0 +1,36 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +string +keyword +keyword +string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +header string +keyword +keyword +string +string +string +string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.tokens b/atest/fixtures/highlighting/tokens/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.tokens new file mode 100644 index 0000000..edb0300 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.tokens @@ -0,0 +1,35 @@ +header link +header string +bracket +meta +bracket +keyword +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +variable-2 +bracket +string +keyword +string +variable-2 +builtin +variable-2 +bracket +variable-2 +variable-2 +bracket +variable-2 +builtin +variable-2 +variable-2 +builtin +variable-2 +bracket +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.tokens b/atest/fixtures/highlighting/tokens/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.tokens new file mode 100644 index 0000000..a030352 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.tokens @@ -0,0 +1,37 @@ +header link +meta +keyword +keyword +keyword +keyword +keyword +keyword +header link +string +string +header string +string +variable-2 +header string +variable-2 +string +header string +string +string +header string +variable-2 +builtin +variable-2 +variable-2 +header string +variable-2 +variable-2 +builtin +variable-2 +header string +variable-2 +builtin +variable-2 +variable-2 +builtin +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.tokens b/atest/fixtures/highlighting/tokens/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.tokens new file mode 100644 index 0000000..fee4265 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.tokens @@ -0,0 +1,14 @@ +header link +header string +keyword +variable-2 +string +string +keyword +variable-2 +variable-2 +string +keyword +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.tokens b/atest/fixtures/highlighting/tokens/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.tokens new file mode 100644 index 0000000..83ae077 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.tokens @@ -0,0 +1,83 @@ +bracket +header link +bracket +bracket +meta +bracket +string +string +string +string +string +string +string +string +bracket +meta +bracket +string +bracket +header link +bracket +bracket +variable-2 +bracket +string +string +bracket +header link +bracket +bracket +bracket +bracket +header string +bracket +meta +bracket +string +string +bracket +bracket +bracket +keyword +bracket +variable-2 +bracket +bracket +bracket +keyword +keyword +bracket +string +bracket +bracket +header string +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket +string +string +bracket +header link +bracket +bracket +bracket +bracket +header string +bracket +meta +bracket +variable-2 +bracket +bracket +bracket +keyword +keyword +keyword +bracket +variable-2 +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.tokens b/atest/fixtures/highlighting/tokens/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.tokens new file mode 100644 index 0000000..651e8f2 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.tokens @@ -0,0 +1,10 @@ +header link +header string +keyword +keyword +keyword +keyword +attribute +operator +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.tokens b/atest/fixtures/highlighting/tokens/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.tokens new file mode 100644 index 0000000..2c1c7a8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.tokens @@ -0,0 +1,20 @@ +header link +def +def +meta +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 +def +def +meta +variable-2 +variable-2 +variable-2 +keyword +keyword +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.tokens b/atest/fixtures/highlighting/tokens/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.tokens new file mode 100644 index 0000000..b820ab4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.tokens @@ -0,0 +1,9 @@ +header link +variable-2 +string +string +variable-2 +string +variable-2 +variable-2 +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.tokens b/atest/fixtures/highlighting/tokens/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.tokens new file mode 100644 index 0000000..752a243 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.tokens @@ -0,0 +1,36 @@ +header link +header string +atom +variable-2 +atom +string +string +keyword +variable-2 +keyword +string +string +atom +keyword +string +string +header string +atom +variable-2 +atom +string +string +variable-2 +number +variable-2 +string +variable-2 +bracket +string +string +string +string +variable-2 +keyword +variable-2 +atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.tokens b/atest/fixtures/highlighting/tokens/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.tokens new file mode 100644 index 0000000..7dbc733 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.tokens @@ -0,0 +1,49 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword +keyword +string +keyword +keyword +keyword +keyword +string +string +string +string +keyword +keyword +keyword +keyword +string +keyword +keyword +keyword +keyword +string +string +string +string +keyword +keyword +keyword +string +keyword +keyword +keyword +string +string +keyword +keyword +keyword +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.tokens b/atest/fixtures/highlighting/tokens/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.tokens new file mode 100644 index 0000000..11aa943 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.tokens @@ -0,0 +1,53 @@ +header link +variable-2 +string +string +string +variable-2 +string +string +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +string +string +string +string +variable-2 +variable-2 +number +variable-2 +variable-2 +variable-2 +number +variable-2 +variable-2 +attribute +operator +variable-2 +number +variable-2 +attribute +operator +variable-2 +number +variable-2 +attribute +operator +variable-2 +number +variable-2 +variable-2 +string +string +variable-2 +attribute +operator +string +attribute +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.tokens b/atest/fixtures/highlighting/tokens/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.tokens new file mode 100644 index 0000000..c712b43 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.tokens @@ -0,0 +1,68 @@ +header link +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +bracket +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +bracket +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +bracket +header string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +string +string +string +header string +keyword +keyword +keyword +string +variable-2 +builtin +variable-2 +operator +variable-2 +number +variable-2 +string +string +bracket +string +header string +keyword +keyword +keyword +variable-2 +builtin +variable-2 +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.tokens b/atest/fixtures/highlighting/tokens/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.tokens new file mode 100644 index 0000000..3fc66f8 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.tokens @@ -0,0 +1,103 @@ +header link +meta +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string +string +meta +tag +tag +tag +tag +tag +bracket +tag +tag +tag +tag +header link +variable-2 +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +header link +header string +bracket +meta +bracket +tag +tag +tag +tag +tag +tag +tag +bracket +tag +tag +tag +tag +keyword +keyword +string +string +string +string +string +string +bracket +string +string +string +string +string +string +variable-2 +operator +keyword +keyword +bracket +string +string +string +string +string +string +string +string +string +bracket +string +string +string +string +string +string +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.tokens b/atest/fixtures/highlighting/tokens/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.tokens new file mode 100644 index 0000000..58f05fb --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.tokens @@ -0,0 +1,14 @@ +header link +meta +string +meta +string +meta +variable-2 +string +meta +string +string +variable-2 +number +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.tokens b/atest/fixtures/highlighting/tokens/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.tokens new file mode 100644 index 0000000..c612589 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.tokens @@ -0,0 +1,24 @@ +header link +meta +keyword +keyword +header link +header string +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword +string +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.tokens b/atest/fixtures/highlighting/tokens/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.tokens new file mode 100644 index 0000000..48c15a7 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.tokens @@ -0,0 +1,18 @@ +header link +header string +keyword +keyword +attribute +operator +string +comment +header link +def +def +meta +variable-2 +keyword +keyword +string +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.tokens b/atest/fixtures/highlighting/tokens/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.tokens new file mode 100644 index 0000000..fb7c363 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.tokens @@ -0,0 +1,12 @@ +header link +header string +keyword +keyword +keyword +keyword +string +string +string +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.tokens b/atest/fixtures/highlighting/tokens/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.tokens new file mode 100644 index 0000000..00f5ce1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.tokens @@ -0,0 +1,115 @@ +header link +header string +variable-2 +operator +keyword +keyword +keyword +string +keyword +keyword +variable-2 +header string +variable-2 +operator +keyword +keyword +string +string +variable-2 +operator +keyword +keyword +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +number +variable-2 +variable-2 +operator +keyword +keyword +string +string +variable-2 +keyword +keyword +keyword +variable-2 +variable-2 +operator +number +variable-2 +header link +def +def +def +meta +variable-2 +keyword +keyword +variable-2 +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +keyword +string +string +string +string +def +def +meta +variable-2 +variable-2 +variable-2 +operator +keyword +keyword +variable-2 +number +variable-2 +atom +variable-2 +atom +variable-2 +keyword +keyword +keyword +keyword +string +variable-2 +string +operator +string +variable-2 +string +variable-2 +variable-2 +operator +keyword +keyword +variable-2 +operator +variable-2 +number +variable-2 +atom +keyword +keyword +keyword +variable-2 +operator +number +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.tokens b/atest/fixtures/highlighting/tokens/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.tokens new file mode 100644 index 0000000..4d0cdc1 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.tokens @@ -0,0 +1,78 @@ +header link +def +def +meta +string +string +string +string +string +string +string +string +string +string +meta +string +string +string +string +keyword +keyword +keyword +keyword +keyword +def +def +def +meta +variable-2 +meta +string +string +string +string +string +string +string +string +string +string +string +string +meta +string +string +string +string +string +string +string +string +string +keyword +keyword +variable-2 +def +def +def +def +meta +variable-2 +variable-2 +meta +string +string +string +string +string +string +string +string +string +string +meta +variable-2 +keyword +keyword +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.tokens b/atest/fixtures/highlighting/tokens/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.tokens new file mode 100644 index 0000000..04b6bba --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.tokens @@ -0,0 +1,30 @@ +header link +meta +string +variable-2 +comment +meta +variable-2 +variable-2 +comment +meta +variable-2 +comment +meta +keyword +keyword +variable-2 +comment +meta +variable-2 +bracket +variable-2 +bracket +comment +meta +variable-2 +bracket +comment +meta +variable-2 +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.tokens b/atest/fixtures/highlighting/tokens/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.tokens new file mode 100644 index 0000000..2da2e1f --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.tokens @@ -0,0 +1,32 @@ +header link +header string +variable-2 +operator +keyword +keyword +attribute +operator +string +attribute +operator +variable-2 +number +variable-2 +variable-2 +number +variable-2 +operator +string +keyword +keyword +keyword +variable-2 +string +keyword +keyword +variable-2 +keyword +variable-2 +operator +property +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.tokens b/atest/fixtures/highlighting/tokens/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.tokens new file mode 100644 index 0000000..cdd8500 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.tokens @@ -0,0 +1,8 @@ +header link +variable-2 +operator +string +string +variable-2 +operator +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.tokens b/atest/fixtures/highlighting/tokens/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.tokens new file mode 100644 index 0000000..edb95b9 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.tokens @@ -0,0 +1,8 @@ +header link +meta +string +string +string +meta +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.tokens b/atest/fixtures/highlighting/tokens/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.tokens new file mode 100644 index 0000000..ca89a35 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.tokens @@ -0,0 +1,36 @@ +header link +def +def +def +def +def +bracket +meta +bracket +tag +tag +tag +keyword +keyword +def +def +def +def +meta +string +string +string +string +string +string +string +string +bracket +meta +tag +punctuation +tag +punctuation +tag +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.tokens b/atest/fixtures/highlighting/tokens/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.tokens new file mode 100644 index 0000000..0ae8bdc --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.tokens @@ -0,0 +1,17 @@ +header link +meta +string +meta +string +header link +header string +keyword +keyword +string +comment +keyword +keyword +keyword +keyword +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.tokens b/atest/fixtures/highlighting/tokens/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.tokens new file mode 100644 index 0000000..5ea39a6 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.tokens @@ -0,0 +1,18 @@ +header link +meta +string +string +meta +string +string +string +string +string +string +string strong +string +string +meta +string +string +variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.tokens b/atest/fixtures/highlighting/tokens/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.tokens new file mode 100644 index 0000000..4401cf4 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.tokens @@ -0,0 +1,9 @@ +header link +header string +keyword +keyword +keyword +keyword +keyword +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.tokens b/atest/fixtures/highlighting/tokens/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.tokens new file mode 100644 index 0000000..a59e65a --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.tokens @@ -0,0 +1,30 @@ +header link +meta +string +string +string +atom +bracket +def +meta +string +string +string +atom +bracket +def +header link +header string +keyword +keyword +string +string +string +string +keyword +keyword +string +string +string +keyword +keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.tokens b/atest/fixtures/highlighting/tokens/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.tokens new file mode 100644 index 0000000..bfe4637 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.tokens @@ -0,0 +1,89 @@ +header link +header string +variable-2 +number +variable-2 +bracket +variable-2 +number +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +number +variable-2 +string +string +keyword +keyword +keyword +variable-2 +number +variable-2 +string +string +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +string +string +variable-2 +number +variable-2 +bracket +variable-2 +number +variable-2 +bracket +variable-2 +operator +keyword +keyword +keyword +keyword +keyword +keyword +variable-2 +number +variable-2 +variable-2 +number +variable-2 +string +string +keyword +keyword +keyword +variable-2 +bracket +number +bracket +variable-2 +bracket +number +bracket +string +string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.tokens b/atest/fixtures/highlighting/tokens/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.tokens new file mode 100644 index 0000000..f7a1f0b --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.tokens @@ -0,0 +1,8 @@ +header link +meta +string +meta +string +meta +variable-2 +string \ No newline at end of file From 3d6c588edbd17be0bfd68218702c6f68edbc9c21 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:48:43 -0500 Subject: [PATCH 53/74] actually commit rfug examples --- .gitignore | 1 - ...4f5086ee5373f9ffd8b38f6f52dfa55d7e2a.robot | 9 ++++ ...00f9e5097c4df40c280c2cb619bff8766ae1.robot | 6 +++ ...da5e064aba1491996f897c0b1f7919cf6404.robot | 13 +++++ ...7ca3f6fdb4daa808894c222fecae0cd27271.robot | 5 ++ ...301e843f661f7850981bc1b535ccf4c1a8c4.robot | 4 ++ ...00317867ea54ad3adfe9cf6ab18dd30d0c18.robot | 4 ++ ...c14a42bc4ee410f8203b8b24dff53f722ee7.robot | 8 +++ ...c5e1928fa3ff6b390bfb059787564e08c139.robot | 5 ++ ...a8048ab6cbc76c0c17aae6deb2de4a202e14.robot | 14 ++++++ ...484968f7c255f1b444c5f8d6038964f20df4.robot | 17 +++++++ ...ce2f5d7e6680c2988663e098a18b3e07cd08.robot | 17 +++++++ ...e15188b01a8b50e95908f62eb1e71cb2975a.robot | 9 ++++ ...5d03c3b781e0cac0add7ecf98aa9390d2c69.robot | 6 +++ ...28087863a9da53e281985d7ef58d2467bda4.robot | 14 ++++++ ...8802e9c4912343ce983b8eaa2d10b0099833.robot | 12 +++++ ...14e15f4cc6d92e383e709d2b40e4ddee787b.robot | 3 ++ ...4a637973fae1438d0fce3dcf4792b175cef8.robot | 6 +++ ...3b0632e174f69162d8b0fb1d9de784c68e64.robot | 4 ++ ...dfe55cb5ff456a8680c8dfb2656e31a410f1.robot | 3 ++ ...in_the_space_separated_format_two__0.robot | 20 ++++++++ .../one_file_can_contain_both_space__0.robot | 16 ++++++ .../2.1.3/there_is_no_need_to_escape__0.robot | 3 ++ ...all_the_syntax_discussed_above_is__0.robot | 12 +++++ ...all_the_syntax_discussed_above_is__1.robot | 19 +++++++ ...empty_cells_can_be_escaped_either__0.robot | 7 +++ .../example_test_case_with_settings___0.robot | 5 ++ ...econd_column_normally_has_keyword__0.robot | 12 +++++ .../2.2.2/as_an_example_of_using_the__0.robot | 9 ++++ .../as_the_first_example_of_using__0.robot | 4 ++ ..._the_second_example__let_s_create__0.robot | 9 ++++ ...or_example__remove_files_and_join__0.robot | 4 ++ ...ng_example_demonstrates_using_the__0.robot | 13 +++++ ...amed_argument_syntax_requires_the__0.robot | 8 +++ ...e_test_below_uses_keywords_create__0.robot | 5 ++ ..._default_values_is_illustrated_by__0.robot | 5 ++ ...default_error_messages_are_normal__0.robot | 7 +++ ...umentation_is_split_into_multiple__0.robot | 21 ++++++++ .../tags_are_free_text__but_they__0.robot | 31 ++++++++++++ .../the_easiest_way_to_specify_a__0.robot | 29 +++++++++++ ...yword_accepting_normal_positional__0.robot | 7 +++ .../if_a_templated_test_case_has__0.robot | 8 +++ .../if_templates_are_used_with_for__0.robot | 9 ++++ ...pport_a_variation_of_the_embedded__0.robot | 14 ++++++ ..._embedded_arguments_are_used_with__0.robot | 14 ++++++ ...another_style_to_write_test_cases__0.robot | 10 ++++ ...to_write_these_requirements_tests__0.robot | 6 +++ ...he_above_example_has_six_separate__0.robot | 9 ++++ .../tasks_are_created_based_on_the__0.robot | 6 +++ ...in_usage_for_initialization_files__0.robot | 14 ++++++ ...he_documentation_for_a_test_suite__0.robot | 3 ++ .../2.4.4/the_name_and_value_for_the__0.robot | 4 ++ ...nother_possibility_to_take_a_test__0.robot | 5 ++ .../in_those_cases_where_the_library__0.robot | 5 ++ .../2.5.2/if_the_library_is_a_file___0.robot | 5 ++ ...ible_arguments_to_the_library_are__0.robot | 9 ++++ ...e_basic_syntax_for_specifying_the__0.robot | 3 ++ ...ed_list_and_dictionary_structures__0.robot | 4 ++ ...ssed_above__a_variable_containing__0.robot | 6 +++ ...ariables_cannot_generally_be_used__0.robot | 3 ++ ...nt_variables_set_in_the_operating__0.robot | 4 ++ .../rfug/2.6.2/if_a_key_is_a_string___0.robot | 11 +++++ .../2.6.2/it_is_possible_to_access_a__0.robot | 10 ++++ .../it_is_possible_to_use_dictionary__0.robot | 5 ++ .../2.6.2/it_is_possible_to_use_list__0.robot | 5 ++ ...ist_item_access_supports_also_the__0.robot | 13 +++++ .../list_variables_can_be_used_only__0.robot | 8 +++ ...ample_below_illustrates_the_usage__0.robot | 8 +++ .../2.6.2/when_a_variable_is_used_as__0.robot | 6 +++ ...hen_running_tests_with_jython__it__0.robot | 3 ++ .../with_these_two_variables_set__we__0.robot | 6 +++ .../any_value_returned_by_a_keyword__0.robot | 4 ++ ...reating_list_variables_is_as_easy__0.robot | 6 +++ ...onary_variables_can_be_created_in__0.robot | 6 +++ ...if_a_keyword_returns_a_dictionary__0.robot | 6 +++ .../if_a_keyword_returns_a_list__0.robot | 5 ++ .../if_a_keyword_returns_a_list__1.robot | 6 +++ .../2.6.3/if_a_scalar_variable_has_a__0.robot | 4 ++ .../it_is_also_possible__but_not__0.robot | 3 ++ .../notice_that_although_a_value_is__0.robot | 5 ++ ...t_possible_variable_assignment_is__0.robot | 4 ++ ...so_boolean_values_and_python_none__0.robot | 11 +++++ ...ariables_related_to_the_operating__0.robot | 4 ++ ...it_is_possible_to_create_integers__0.robot | 6 +++ .../it_is_possible_to_create_spaces__0.robot | 18 +++++++ .../the_variable_syntax_can_be_used__0.robot | 9 ++++ .../there_is_also_an_empty_list__0.robot | 8 +++ .../2.6.6/in_the_example_below__do_x__0.robot | 8 +++ .../it_is_possible_to_set_attributes__0.robot | 4 ++ ...python_objects__including_strings__0.robot | 10 ++++ ...he_most_common_usages_of_extended__0.robot | 5 ++ .../in_many_ways__the_overall_user__0.robot | 9 ++++ ...keywords_can_have_a_documentation__0.robot | 20 ++++++++ ...rom_robot_framework_2_9__keywords__0.robot | 9 ++++ ...ly_arguments_can_be_used_together__0.robot | 8 +++ ...arguments_can_have_default_values__0.robot | 8 +++ ...times_even_default_values_are_not__0.robot | 17 +++++++ ...ng_from_robot_framework_3_1__user__0.robot | 8 +++ ...he_keywords_in_the_examples_above__0.robot | 10 ++++ .../the_syntax_for_default_values_is__0.robot | 22 +++++++++ .../the_syntax_is_such_that_first__0.robot | 10 ++++ ...ser_keywords_can_also_accept_free__0.robot | 12 +++++ ...keyword_accepts_several_arguments__0.robot | 3 ++ ...named_only_arguments_to_keywords___0.robot | 10 ++++ ...edded_argument_regular_expression__0.robot | 20 ++++++++ .../it_has_always_been_possible_to__0.robot | 4 ++ ...ggest_benefit_of_having_arguments__0.robot | 24 +++++++++ ...words_with_embedded_arguments_are__0.robot | 11 +++++ ...dded_argument_regular_expressions__0.robot | 7 +++ ...rst_example_below_is_functionally__0.robot | 28 +++++++++++ ..._keywords_can_also_return_several__0.robot | 19 +++++++ ...eyword_teardown_works_much_in_the__0.robot | 9 ++++ .../both_libdoc_and_ride_use_these__0.robot | 24 +++++++++ .../resource_files_can_use_all_the__0.robot | 4 ++ .../all_test_data_files_can_import__0.robot | 5 ++ .../2.8.2/if_the_above_yaml_file_is__0.robot | 5 ++ ...he_variables_in_both_the_examples__0.robot | 9 ++++ .../2.9.2/if_there_is_a_timeout__the__0.robot | 32 ++++++++++++ ...from_robot_framework_3_0__timeout__0.robot | 18 +++++++ ...ontinue_for_loop_and_continue_for__0.robot | 8 +++ .../2.9.3/exit_for_loop_and_exit_for__0.robot | 8 +++ ...r_example__the_following_two_test__0.robot | 15 ++++++ .../for_loop_syntax_was_enhanced_in__0.robot | 6 +++ .../for_loops_can_be_excessive_in__0.robot | 5 ++ .../having_nested_for_loops_is_not__0.robot | 12 +++++ .../2.9.3/if_there_are_lot_of_values__0.robot | 11 +++++ .../it_is_often_convenient_to_use__0.robot | 5 ++ .../it_is_possible_to_use_simple__0.robot | 36 ++++++++++++++ ...just_like_with_regular_for_loops___0.robot | 8 +++ .../the_keywords_used_in_the_for__0.robot | 13 +++++ .../this_may_be_easiest_to_show__0.robot | 15 ++++++ ...912fc2363c7cc1c2e5fb594410e0d15b65ac.robot | 6 +++ ...c2c64625c37083c087bfa24d3ae4ccfdc766.robot | 6 +++ ...bfd87689b08217ff180d1a09cfa3dd497e61.robot | 7 +++ ...2af0a36e894e08a1116125b962ed54ce5ea5.robot | 15 ++++++ ...56ca2384014a22d05a7d5f988aee5da9c37e.robot | 8 +++ ...c9182c8e755855891a5b00f6fb029a53e61b.robot | 17 +++++++ ...1c098a5293f528df5335f8260b77109e65c0.robot | 32 ++++++++++++ ...11c4d9d0e77c0a68920ce109b6d8918c26a9.robot | 5 ++ ...fe7dfa1b85d9ab2b19ebe334ecedd3269005.robot | 19 +++++++ ...d930084a538133e5c7da5ca9597577eb476f.robot | 8 +++ ...2bfe8bc5fd0775c634c648e21d2e2e1c19b7.robot | 24 +++++++++ ...952f3be36437dffb02ae39814e88ddfcb7db.robot | 5 ++ ...acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.robot | 11 +++++ ...6761f66dd37d13dd45afc52911b4cb0d125b.robot | 15 ++++++ ...b0db072fcee39904a8ea550857e45054455d.robot | 20 ++++++++ ...4659715bd81c247a9af0732b1578de94de11.robot | 6 +++ ...c7c0133b7911d606d86a1db43b1a35af9510.robot | 36 ++++++++++++++ ...a28fba58f841477fdd5a705c421a41146499.robot | 7 +++ ...f95b8cfef399451aeb0c8ef42412f68196fe.robot | 8 +++ ...66c6eba6a125af3fea1669785582a5483c2f.robot | 17 +++++++ ...4a63793c5ccd1498adc79354f393867b6033.robot | 6 +++ ...the_number_of_arguments_needed_by__0.robot | 3 ++ ..._no_type_information_is_specified__0.robot | 3 ++ .../if_you_are_already_familiar_how__0.robot | 4 ++ .../4.1.3/it_is_possible_to_expose_a__0.robot | 3 ++ ...eywords_can_also_accept_arguments__0.robot | 3 ++ ...orts_methods_accepting_any_number__0.robot | 10 ++++ ...ting_from_robot_framework_3_1__it__0.robot | 4 ++ ...e_coercion_works_with_the_numeric__0.robot | 11 +++++ ...example_below_illustrates_how_the__0.robot | 7 +++ ...e_first_example_keyword_above_can__0.robot | 7 +++ ...ng_example_illustrates_how_normal__0.robot | 17 +++++++ ...eywords_can_also_return_values_so__0.robot | 11 +++++ ...ues_are_returned_using_the_return__0.robot | 6 +++ ...ng_the_free_named_argument_syntax__0.robot | 19 +++++++ ...ng_the_named_argument_syntax_with__0.robot | 17 +++++++ ...e_named_only_argument_syntax_with__0.robot | 15 ++++++ ...s_approach_is_clearly_better_than__0.robot | 8 +++ .../the_remote_library_needs_to_know__0.robot | 4 ++ ...fb1e2eebefb9b24b2a7d79cad73dc6da7f06.robot | 4 ++ ...6ce1cef7e5263b7af553b22b18352347d5b6.robot | 11 +++++ ...aae3f580d762d318daf0b57510ad61c26d20.robot | 7 +++ ...6ddf93f618cf87c615fc58dbf602e34ffeae.robot | 31 ++++++++++++ ...99765a84fa98b334011b4d4c5b28d36e6a13.robot | 4 ++ ...095dca0139471f81ccda42d75e7e3072153c.robot | 9 ++++ ...6c551926721b15ba4fa8bde029e7cc09a3a1.robot | 4 ++ ...1546769ad95a636981805f8e0895a3dcc771.robot | 9 ++++ ...07db90365c4841f75f31ad55b1b31f3ffe8f.robot | 5 ++ ...e_variables_in_resource_files_can__0.robot | 17 +++++++ ...a9a50038e591238571e070ed26d6225be0be.robot | 7 +++ ...cc3da68ca3813d97697b3285fadcd1e285ab.robot | 5 ++ ...7135f9558dacf964ef722d584809ee21b82f.robot | 3 ++ ...2411889f65a731907b0d2938a39382926756.robot | 6 +++ ...0357d651bd2f1fa2cbf995919a977cc1c246.robot | 29 +++++++++++ ...41fa91c26661b0cfdfd613b69adb9da5eec3.robot | 12 +++++ ...d92d2ba54b7d211e33b64b9edd0e24b22dad.robot | 5 ++ ...123825e5dd9bc4f98ea5a12ecc916f17ed63.robot | 5 ++ ...80005c12b38720a1868b2eb49014480ba442.robot | 12 +++++ ...3bf2ad274a858d45cf9f2495c919bea5fbe9.robot | 22 +++++++++ ...af6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.robot | 20 ++++++++ ...dding_newlines_manually_to_a_long__0.robot | 10 ++++ .../no_automatic_newline_is_added_if__0.robot | 15 ++++++ ...cumenting_test_suites__test_cases__0.robot | 3 ++ ...example__the_following_test_suite__0.robot | 6 +++ ...ord_can_also_accept_other_special__0.robot | 13 +++++ ...6242c3e37be0e0949b7cbc9222af136d4803.robot | 3 ++ ...d0eb326ba188aa0e07307336de0ec8024f86.robot | 3 ++ ...0e196fbcd72d45e59c304d3c21c7b7793ea6.robot | 6 +++ ...3dccdc73097fc3f0e7da390d7138d8762dcc.robot | 24 +++++++++ ...39fb3f8e738dd4976798b26c7b67b11cf8ae.robot | 9 ++++ ...29f77d0f5d50dd4b273a541a89e26b53ee09.robot | 5 ++ ...29cd21e30e8294c8c32306a3eee4d30e6154.robot | 10 ++++ ...4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.robot | 8 +++ ...a76368b9e111bea2da46827196c8bbab19a5.robot | 5 ++ ...2d37a014dee6dfefb4e9a6d17eb58e1de930.robot | 10 ++++ ...0c177fe496ecd6d65048ea77f2b46b4c4c41.robot | 14 ++++++ ...d5c5c53e3d835d5dad759b8a7898cd00d652.robot | 7 +++ ...9fe0d5d910e184bdd5e88accaa8ad8b3a15c.robot | 8 +++ ...e61b0923a695b03db511ab535d897e2e6264.robot | 15 ++++++ ...27b18e8c1ef206285f85350bd248aa5c5ad8.robot | 10 ++++ ...ed2f7e6cf0d62bd66eeb149ccc3b75876569.robot | 20 ++++++++ ...a731eeae497eda7d4907caaf5d8ee1b751b8.robot | 5 ++ ...7c92d59d208e9eb1fa370cd4942849f216fd.robot | 10 ++++ ...854efef602300713d10586ae600d8f70a6d3.robot | 13 +++++ ...d4d944ec8190ada40fb83d5fa7e37f6ce804.robot | 8 +++ ...49733ba4e773ddaf246710a2b797cd56a643.robot | 3 ++ ...f6acd5a17ac3dca15a7c67071de1e6a7b1ba.robot | 3 ++ ...115b04470e35fbe2f4b46a3b65606fc01181.robot | 11 +++++ ...764c7b48c7338cde927dff2243261ec75ba5.robot | 11 +++++ ...6ef144c6f9ccf282b648fbf39b57ddffd3f6.robot | 6 +++ ...388868e4c74cb32c43dacb4b870eeae8d7c2.robot | 4 ++ ...1fa6fa379e162f65fa81b9b4d936253fc25a.robot | 7 +++ ...2ef5c4370d11103bce5fe3035279f15ba31e.robot | 8 +++ ...474f246c1404b9136e399c8986f2c143a440.robot | 4 ++ ...7bc231e6297ef3c45af189ebbcb4ba8e5126.robot | 13 +++++ ...31de4e08118de296f4e308e1925e426253fd.robot | 6 +++ ...23b81464e5f66897b5e1c718da7e23fea283.robot | 10 ++++ ...34155a899b6c04300976d68699428dbe6ea7.robot | 5 ++ ...9b6f8d9ea7667a6fa851de29a93e131165a9.robot | 4 ++ ...1d3d8d904e732b308446e849dd10adfd4fb4.robot | 6 +++ ...2a76ee92e02b5a6281aa267cf771085f4dae.robot | 19 +++++++ ...a4d336f70a16efb32fe55328504fb0524244.robot | 3 ++ ...f4cc6851ad1166665833cfc319a1a423eb21.robot | 15 ++++++ ...8b42dbc680f0a0b07ba90ee7468a00b3f5a2.robot | 21 ++++++++ ...b96d501297796d01d74337ed6766df7f2974.robot | 10 ++++ ...ce2e098f7828b2592df256e412959fbe4f0c.robot | 4 ++ ...b8013e63236fce9b934181dbbf597bd1ba79.robot | 4 ++ ...2d5530dec6b582024789f7e390dcf46be3b9.robot | 11 +++++ ...114635500404fb3a412d4dca2f375f0bd40b.robot | 4 ++ ...5c9548b83dcf52b4e62e46c34e0154562932.robot | 9 ++++ ...de94534d1ddc852bf5e20df93bb4fb5a44af.robot | 12 +++++ ...792a51b97e5198aee8c86bd9486fee742307.robot | 9 ++++ ...54727c2d27e1f526b6fa7daaaefca33ddfe1.robot | 10 ++++ ...97a5df506b19f0f4a9030850af503d895826.robot | 5 ++ ...5bc30f5ff0e94cabedc07bb37132340ea08b.robot | 16 ++++++ ...3c0eb456ddb927ae6d60617deb63621d59d5.robot | 3 ++ ...e99e18eb3627e688c8ff4422fffaa14076e7.robot | 8 +++ ...1619419e49bbf48f8827ac8a468f9fc49dad.robot | 4 ++ ...4e215b6f5b1570c6199d4af0a1a25acab272.robot | 13 +++++ ...7a85f4bf8d27ff03ee26269a49f80c08bbe1.robot | 10 ++++ ...b427ed39183dfd324bb4563df73013331777.robot | 9 ++++ ...de039c800b57e7ee3b0d614d3e44066593fa.robot | 18 +++++++ ...2825cec834ad47b95c6b6a41d45b9085ff47.robot | 19 +++++++ ...e91b6cc12fc292279a882819ae9c1e891110.robot | 5 ++ ...5969d8876a3f3e2b81e5ace65dbb8c987ab2.robot | 8 +++ ...c88400ce107ccc74b64cd9d705e70bba08a5.robot | 8 +++ ...772aadf53000240df723bc67cacce5b907c5.robot | 5 ++ ...302edb252786bddeb7658cdd549dfa718b35.robot | 28 +++++++++++ ...08b02d875ca3352ee383e83a0f8d69022021.robot | 18 +++++++ ...217ca8be9b7b52aee4625610ca36d3771466.robot | 8 +++ ...47d0f9644ecdb41ddb3f4496f8cfb84e4181.robot | 6 +++ ...3b5e1306f1be7a58ee85d01842d7d7340e90.robot | 3 ++ ...256e6a33da5322f547913fda313af562fd9d.robot | 3 ++ ...b386b70d8856cfb01d9e03d4c63647e8d907.robot | 9 ++++ ...a6342b53ef08e89d9d9d4b61222ec33bdf48.robot | 8 +++ ...20ebffc9891b463cb53632afffd84ee02704.robot | 4 ++ ...dcc29dcfd5d2ce4523f6193360813cbcb9b8.robot | 3 ++ ...b8df664e7b9417de3adfa564237e159d4ba4.robot | 9 ++++ ...c21e22c0b2e10fb7c8080240ff4dd21db486.robot | 11 +++++ ...dcc0e910b3bd36663f80133030c70500d54b.robot | 4 ++ scripts/rfug.py | 49 +++++++------------ 272 files changed, 2652 insertions(+), 32 deletions(-) create mode 100644 atest/fixtures/highlighting/samples/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.robot diff --git a/.gitignore b/.gitignore index d6bebef..ad0feaf 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,4 @@ envs/ lib/ node_modules/ Untitled*.ipynb -atest/fixtures/highlighting/samples/rfug/ .hypothesis/ diff --git a/atest/fixtures/highlighting/samples/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.robot b/atest/fixtures/highlighting/samples/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.robot new file mode 100644 index 0000000..62b9c5a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Free Named Arguments + Run Program arg1 arg2 cwd=/home/user + Run Program argument shell=True env=${ENVIRON} + +*** Keywords *** +Run Program + [Arguments] @{args} &{config} + Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.robot b/atest/fixtures/highlighting/samples/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.robot new file mode 100644 index 0000000..4cfc0e0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Constants + Login name=robot password=secret + +Dict Variable + Login &{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.robot b/atest/fixtures/highlighting/samples/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.robot new file mode 100644 index 0000000..d14a92a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404.robot @@ -0,0 +1,13 @@ +*** Test Cases *** +Start index + Keyword ${LIST}[1:] + +End index + Keyword ${LIST}[:4] + +Start and end + Keyword ${LIST}[2:-1] + +Step + Keyword ${LIST}[::2] + Keyword ${LIST}[2:-1:2] diff --git a/atest/fixtures/highlighting/samples/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.robot b/atest/fixtures/highlighting/samples/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.robot new file mode 100644 index 0000000..3f08424 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Test With Settings + [Documentation] Another dummy test + [Tags] dummy owner-johndoe + Log Hello, world! diff --git a/atest/fixtures/highlighting/samples/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.robot b/atest/fixtures/highlighting/samples/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.robot new file mode 100644 index 0000000..4d67a1d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4.robot @@ -0,0 +1,4 @@ +*** Keywords *** +Select ${animal} from list + Open Page Pet Selection + Select Item From List animal_list ${animal} diff --git a/atest/fixtures/highlighting/samples/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.robot b/atest/fixtures/highlighting/samples/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.robot new file mode 100644 index 0000000..50df14e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Nested item access + Should Be Equal ${DATA}[0][name] Robot + Should Be Equal ${DATA}[1][id] ${2} diff --git a/atest/fixtures/highlighting/samples/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.robot b/atest/fixtures/highlighting/samples/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.robot new file mode 100644 index 0000000..4552b58 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7.robot @@ -0,0 +1,8 @@ +*** Variables *** +${JOHN HOME} /home/john +${JANE HOME} /home/jane + +*** Test Cases *** +Example + ${name} = Get Name + Do X ${${name} HOME} diff --git a/atest/fixtures/highlighting/samples/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.robot b/atest/fixtures/highlighting/samples/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.robot new file mode 100644 index 0000000..c46df9d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139.robot @@ -0,0 +1,5 @@ +*** Settings *** +Library OperatingSystem +Library my.package.TestLibrary +Library MyLibrary arg1 arg2 +Library ${LIBRARY} diff --git a/atest/fixtures/highlighting/samples/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.robot b/atest/fixtures/highlighting/samples/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.robot new file mode 100644 index 0000000..1022a5a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14.robot @@ -0,0 +1,14 @@ +*** Test Cases *** +Normal test case with embedded arguments + The result of 1 + 1 should be 2 + The result of 1 + 2 should be 3 + +Template with embedded arguments + [Template] The result of ${calculation} should be ${expected} + 1 + 1 2 + 1 + 2 3 + +*** Keywords *** +The result of ${calculation} should be ${expected} + ${result} = Calculate ${calculation} + Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.robot b/atest/fixtures/highlighting/samples/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.robot new file mode 100644 index 0000000..5abb052 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4.robot @@ -0,0 +1,17 @@ +*** Settings *** +Documentation Resource file for demo purposes. +... This resource is only used in an example and it doesn't do anything useful. + +*** Keywords *** +My Keyword + [Documentation] Does nothing + No Operation + +Your Keyword + [Arguments] ${arg} + [Documentation] Takes one argument and *does nothing* with it. + ... + ... Examples: + ... | Your Keyword | xxx | + ... | Your Keyword | yyy | + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.robot b/atest/fixtures/highlighting/samples/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.robot new file mode 100644 index 0000000..219f576 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08.robot @@ -0,0 +1,17 @@ +*** Keywords *** +Any Number Of Arguments + [Arguments] @{varargs} + Log Many @{varargs} + +One Or More Arguments + [Arguments] ${required} @{rest} + Log Many ${required} @{rest} + +Required, Default, Varargs + [Arguments] ${req} ${opt}=42 @{others} + Log Required: ${req} + Log Optional: ${opt} + Log Others: + FOR ${item} IN @{others} + Log ${item} + END diff --git a/atest/fixtures/highlighting/samples/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.robot b/atest/fixtures/highlighting/samples/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.robot new file mode 100644 index 0000000..7f37bbf --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Named-only Arguments + Run Program arg1 arg2 # 'shell' is False (default) + Run Program argument shell=True # 'shell' is True + +*** Keywords *** +Run Program + [Arguments] @{args} ${shell}=False + Run Process program.py @{args} shell=${shell} diff --git a/atest/fixtures/highlighting/samples/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.robot b/atest/fixtures/highlighting/samples/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.robot new file mode 100644 index 0000000..c134728 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Assign multiple + ${a} ${b} ${c} = Get Three + ${first} @{rest} = Get Three + @{before} ${last} = Get Three + ${begin} @{middle} ${end} = Get Three diff --git a/atest/fixtures/highlighting/samples/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.robot b/atest/fixtures/highlighting/samples/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.robot new file mode 100644 index 0000000..334f1fc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4.robot @@ -0,0 +1,14 @@ +*** Settings *** +Documentation Example suite +Suite Setup Do Something ${MESSAGE} +Force Tags example +Library SomeLibrary + +*** Variables *** +${MESSAGE} Hello, world! + +*** Keywords *** +Do Something + [Arguments] ${args} + Some Keyword ${arg} + Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.robot b/atest/fixtures/highlighting/samples/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.robot new file mode 100644 index 0000000..2d3aa43 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833.robot @@ -0,0 +1,12 @@ +*** Settings *** +Documentation This is documentation for this test suite.\nThis kind of documentation can often be get quite long... +Default Tags default tag 1 default tag 2 default tag 3 default tag 4 default tag 5 + +*** Variable *** +@{LIST} this list is quite long and items in it could also be long + +*** Test Cases *** +Example + [Tags] you probably do not have this many tags in real life + Do X first argument second argument third argument fourth argument fifth argument sixth argument + ${var} = Get X first argument passed to this keyword is pretty long second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.robot b/atest/fixtures/highlighting/samples/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.robot new file mode 100644 index 0000000..c86cc73 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b.robot @@ -0,0 +1,3 @@ +*** Settings *** +Documentation First line.\n\nSecond paragraph. This time\nwith multiple lines. +Metadata Example list - first item\n- second item\n- third diff --git a/atest/fixtures/highlighting/samples/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.robot b/atest/fixtures/highlighting/samples/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.robot new file mode 100644 index 0000000..d2ed99a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + Should Be Equal ${0b1011} ${11} + Should Be Equal ${0o10} ${8} + Should Be Equal ${0xff} ${255} + Should Be Equal ${0B1010} ${0XA} diff --git a/atest/fixtures/highlighting/samples/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.robot b/atest/fixtures/highlighting/samples/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.robot new file mode 100644 index 0000000..4d3c5b7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Keyword Arguments + Example Keyword hello=world # Logs 'hello world'. + Example Keyword foo=1 bar=42 # Logs 'foo 1' and 'bar 42'. diff --git a/atest/fixtures/highlighting/samples/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.robot b/atest/fixtures/highlighting/samples/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.robot new file mode 100644 index 0000000..2191e7f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library ExampleLibrary &{LIB ARGS} +Suite Setup Some Keyword &{KW ARGS} named=arg diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot new file mode 100644 index 0000000..876686b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot @@ -0,0 +1,20 @@ +*** Settings *** +Documentation Example using the space separated plain text format. +Library OperatingSystem + +*** Variables *** +${MESSAGE} Hello, world! + +*** Test Cases *** +My Test + [Documentation] Example test + Log ${MESSAGE} + My Keyword /tmp + +Another Test + Should Be Equal ${MESSAGE} Hello, world! + +*** Keywords *** +My Keyword + [Arguments] ${path} + Directory Should Exist ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot new file mode 100644 index 0000000..2552109 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot @@ -0,0 +1,16 @@ +| *** Settings *** | +| Documentation | Example using the pipe separated plain text format. +| Library | OperatingSystem + +| *** Variables *** | +| ${MESSAGE} | Hello, world! + +| *** Test Cases *** | | | +| My Test | [Documentation] | Example test | +| | Log | ${MESSAGE} | +| | My Keyword | /tmp | +| Another Test | Should Be Equal | ${MESSAGE} | Hello, world! + +| *** Keywords *** | | | +| My Keyword | [Arguments] | ${path} | +| | Directory Should Exist | ${path} | diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot new file mode 100644 index 0000000..ef7d991 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot @@ -0,0 +1,3 @@ +| *** Test Cases *** | | | | +| Escaping Pipe | ${file count} = | Execute Command | ls -1 *.txt \| wc -l | +| | Should Be Equal | ${file count} | 42 | diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot new file mode 100644 index 0000000..2d3aa43 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot @@ -0,0 +1,12 @@ +*** Settings *** +Documentation This is documentation for this test suite.\nThis kind of documentation can often be get quite long... +Default Tags default tag 1 default tag 2 default tag 3 default tag 4 default tag 5 + +*** Variable *** +@{LIST} this list is quite long and items in it could also be long + +*** Test Cases *** +Example + [Tags] you probably do not have this many tags in real life + Do X first argument second argument third argument fourth argument fifth argument sixth argument + ${var} = Get X first argument passed to this keyword is pretty long second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot new file mode 100644 index 0000000..6d921a7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot @@ -0,0 +1,19 @@ +*** Settings *** +Documentation This is documentation for this test suite. +... This kind of documentation can often be get quite long... +Default Tags default tag 1 default tag 2 default tag 3 +... default tag 4 default tag 5 + +*** Variable *** +@{LIST} this list is quite long and +... items in it could also be long + +*** Test Cases *** +Example + [Tags] you probably do not have this many + ... tags in real life + Do X first argument second argument third argument + ... fourth argument fifth argument sixth argument + ${var} = Get X + ... first argument passed to this keyword is pretty long + ... second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot new file mode 100644 index 0000000..5ffaa58 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Using backslash + Do Something first arg \ +Using ${EMPTY} + Do Something first arg ${EMPTY} +Non-trailing empty + Do Something ${EMPTY} second arg # Escaping needed in space separated format diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot new file mode 100644 index 0000000..3f08424 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Test With Settings + [Documentation] Another dummy test + [Tags] dummy owner-johndoe + Log Hello, world! diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot new file mode 100644 index 0000000..a0d0dfe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot @@ -0,0 +1,12 @@ +*** Test Cases *** +Valid Login + Open Login Page + Input Username demo + Input Password mode + Submit Credentials + Welcome Page Should Be Open + +Setting Variables + Do Something first argument second argument + ${value} = Get Some Value + Should Be Equal ${value} Expected value diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot new file mode 100644 index 0000000..7f37bbf --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Named-only Arguments + Run Program arg1 arg2 # 'shell' is False (default) + Run Program argument shell=True # 'shell' is True + +*** Keywords *** +Run Program + [Arguments] @{args} ${shell}=False + Run Process program.py @{args} shell=${shell} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot new file mode 100644 index 0000000..41b14f7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Free Named Arguments + Run Process program.py arg1 arg2 cwd=/home/user + Run Process program.py argument shell=True env=${ENVIRON} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot new file mode 100644 index 0000000..62b9c5a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Free Named Arguments + Run Program arg1 arg2 cwd=/home/user + Run Program argument shell=True env=${ENVIRON} + +*** Keywords *** +Run Program + [Arguments] @{args} &{config} + Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot new file mode 100644 index 0000000..7ff4e6a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Remove Files ${TEMPDIR}/f1.txt ${TEMPDIR}/f2.txt ${TEMPDIR}/f3.txt + @{paths} = Join Paths ${TEMPDIR} f1.txt f2.txt f3.txt f4.txt diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot new file mode 100644 index 0000000..36456dd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot @@ -0,0 +1,13 @@ +*** Settings *** +Library Telnet prompt=$ default_log_level=DEBUG + +*** Test Cases *** +Example + Open connection 10.0.0.42 port=${PORT} alias=example + List files options=-lh + List files path=/tmp options=-l + +*** Keywords *** +List files + [Arguments] ${path}=. ${options}= + Execute command ls ${options} ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot new file mode 100644 index 0000000..b642d00 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Example + Run Program shell=True # This will not come as a named argument to Run Process + +*** Keywords *** +Run Program + [Arguments] @{args} + Run Process program.py @{args} # Named arguments are not recognized from inside @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot new file mode 100644 index 0000000..795fa49 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Create Directory ${TEMPDIR}/stuff + Copy File ${CURDIR}/file.txt ${TEMPDIR}/stuff + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot new file mode 100644 index 0000000..61e1517 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Create File ${TEMPDIR}/empty.txt + Create File ${TEMPDIR}/utf-8.txt Hyvä esimerkki + Create File ${TEMPDIR}/iso-8859-1.txt Hyvä esimerkki ISO-8859-1 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot new file mode 100644 index 0000000..f910749 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Normal Error + Fail This is a rather boring example... + +HTML Error + ${number} = Get Number + Should Be Equal ${number} 42 *HTML* Number is not my MAGIC number. diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot new file mode 100644 index 0000000..769d61a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot @@ -0,0 +1,21 @@ +*** Test Cases *** +Simple + [Documentation] Simple documentation + No Operation + +Formatting + [Documentation] *This is bold*, _this is italic_ and here is a link: http://robotframework.org + No Operation + +Variables + [Documentation] Executed at ${HOST} by ${USER} + No Operation + +Splitting + [Documentation] This documentation is split into multiple columns + No Operation + +Many lines + [Documentation] Here we have + ... an automatic newline + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot new file mode 100644 index 0000000..874ec94 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot @@ -0,0 +1,31 @@ +*** Settings *** +Force Tags req-42 +Default Tags owner-john smoke + +*** Variables *** +${HOST} 10.0.1.42 + +*** Test Cases *** +No own tags + [Documentation] This test has tags owner-john, smoke and req-42. + No Operation + +With own tags + [Documentation] This test has tags not_ready, owner-mrx and req-42. + [Tags] owner-mrx not_ready + No Operation + +Own tags with variables + [Documentation] This test has tags host-10.0.1.42 and req-42. + [Tags] host-${HOST} + No Operation + +Empty own tags + [Documentation] This test has only tag req-42. + [Tags] + No Operation + +Set Tags and Remove Tags Keywords + [Documentation] This test has tags mytag and owner-john. + Set Tags mytag + Remove Tags smoke req-* diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot new file mode 100644 index 0000000..8aaf1e5 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot @@ -0,0 +1,29 @@ +*** Settings *** +Test Setup Open Application App A +Test Teardown Close Application + +*** Test Cases *** +Default values + [Documentation] Setup and teardown from setting table + Do Something + +Overridden setup + [Documentation] Own setup, teardown from setting table + [Setup] Open Application App B + Do Something + +No teardown + [Documentation] Default setup, no teardown at all + Do Something + [Teardown] + +No teardown 2 + [Documentation] Setup and teardown can be disabled also with special value NONE + Do Something + [Teardown] NONE + +Using variables + [Documentation] Setup and teardown specified using variables + [Setup] ${SETUP} + Do Something + [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot new file mode 100644 index 0000000..a5c0c49 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot @@ -0,0 +1,7 @@ +*** Test Cases ** +Normal test case + Example keyword first argument second argument + +Templated test case + [Template] Example keyword + first argument second argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot new file mode 100644 index 0000000..6fe06af --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot @@ -0,0 +1,8 @@ +*** Settings *** +Test Template Example keyword + +*** Test Cases *** +Templated test case + first round 1 first round 2 + second round 1 second round 2 + third round 1 third round 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot new file mode 100644 index 0000000..249599b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Template and for + [Template] Example keyword + FOR ${item} IN @{ITEMS} + ${item} 2nd arg + END + FOR ${index} IN RANGE 42 + 1st arg ${index} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot new file mode 100644 index 0000000..1022a5a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot @@ -0,0 +1,14 @@ +*** Test Cases *** +Normal test case with embedded arguments + The result of 1 + 1 should be 2 + The result of 1 + 2 should be 3 + +Template with embedded arguments + [Template] The result of ${calculation} should be ${expected} + 1 + 1 2 + 1 + 2 3 + +*** Keywords *** +The result of ${calculation} should be ${expected} + ${result} = Calculate ${calculation} + Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot new file mode 100644 index 0000000..fecdc55 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot @@ -0,0 +1,14 @@ +*** Test Cases *** +Different argument names + [Template] The result of ${foo} should be ${bar} + 1 + 1 2 + 1 + 2 3 + +Only some arguments + [Template] The result of ${calculation} should be 3 + 1 + 2 + 4 - 1 + +New arguments + [Template] The ${meaning} of ${life} should be 42 + result 21 * 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot new file mode 100644 index 0000000..6f396f8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot @@ -0,0 +1,10 @@ +*** Settings *** +Test Template Login with invalid credentials should fail + +*** Test Cases *** USERNAME PASSWORD +Invalid User Name invalid ${VALID PASSWORD} +Invalid Password ${VALID USER} invalid +Invalid User Name and Password invalid invalid +Empty User Name ${EMPTY} ${VALID PASSWORD} +Empty Password ${VALID USER} ${EMPTY} +Empty User Name and Password ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot new file mode 100644 index 0000000..feba0e0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Valid Login + Given login page is open + When valid username and password are inserted + and credentials are submitted + Then welcome page should be open diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot new file mode 100644 index 0000000..043e9df --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Invalid Password + [Template] Login with invalid credentials should fail + invalid ${VALID PASSWORD} + ${VALID USER} invalid + invalid whatever + ${EMPTY} ${VALID PASSWORD} + ${VALID USER} ${EMPTY} + ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot new file mode 100644 index 0000000..a4b65fe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot @@ -0,0 +1,6 @@ +*** Tasks *** +Process invoice + Read information from PDF + Validate information + Submit information to backend system + Validate information is visible in web UI diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot new file mode 100644 index 0000000..334f1fc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot @@ -0,0 +1,14 @@ +*** Settings *** +Documentation Example suite +Suite Setup Do Something ${MESSAGE} +Force Tags example +Library SomeLibrary + +*** Variables *** +${MESSAGE} Hello, world! + +*** Keywords *** +Do Something + [Arguments] ${args} + Some Keyword ${arg} + Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot new file mode 100644 index 0000000..4dc16a2 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot @@ -0,0 +1,3 @@ +*** Settings *** +Documentation An example test suite documentation with *some* _formatting_. +... See test documentation for more documentation examples. diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot new file mode 100644 index 0000000..c0964f6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot @@ -0,0 +1,4 @@ +*** Settings *** +Metadata Version 2.0 +Metadata More Info For more information about *Robot Framework* see http://robotframework.org +Metadata Executed At ${HOST} diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot new file mode 100644 index 0000000..dc4e750 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Do Something + Import Library MyLibrary arg1 arg2 + KW From MyLibrary diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot new file mode 100644 index 0000000..c46df9d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot @@ -0,0 +1,5 @@ +*** Settings *** +Library OperatingSystem +Library my.package.TestLibrary +Library MyLibrary arg1 arg2 +Library ${LIBRARY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot new file mode 100644 index 0000000..c4bc529 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot @@ -0,0 +1,5 @@ +*** Settings *** +Library PythonLibrary.py +Library /absolute/path/JavaLibrary.java +Library relative/path/PythonDirLib/ possible arguments +Library ${RESOURCES}/Example.class diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot new file mode 100644 index 0000000..9c5ee99 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot @@ -0,0 +1,9 @@ +*** Settings *** +Library SomeLibrary localhost 1234 WITH NAME LocalLib +Library SomeLibrary server.domain 8080 WITH NAME RemoteLib + +*** Test Cases *** +My Test + LocalLib.Some Keyword some arg second arg + RemoteLib.Some Keyword another arg whatever + LocalLib.Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot new file mode 100644 index 0000000..0c52017 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library com.company.TestLib WITH NAME TestLib +Library ${LIBRARY} WITH NAME MyName diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot new file mode 100644 index 0000000..50df14e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Nested item access + Should Be Equal ${DATA}[0][name] Robot + Should Be Equal ${DATA}[1][id] ${2} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot new file mode 100644 index 0000000..4cfc0e0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Constants + Login name=robot password=secret + +Dict Variable + Login &{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot new file mode 100644 index 0000000..2191e7f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library ExampleLibrary &{LIB ARGS} +Suite Setup Some Keyword &{KW ARGS} named=arg diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot new file mode 100644 index 0000000..887dc52 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Environment variables + Log Current user: %{USER} + Run %{JAVA_HOME}${/}javac diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot new file mode 100644 index 0000000..482df07 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Dictionary variable item + Login ${USER}[name] ${USER}[password] + Title Should Be Welcome ${USER}[name]! + +Key defined as variable + Log Many ${DICT}[${KEY}] ${DICT}[${42}] + +Attribute access + Login ${USER.name} ${USER.password} + Title Should Be Welcome ${USER.name}! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot new file mode 100644 index 0000000..4130213 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +List variable item + Login ${USER}[0] ${USER}[1] + Title Should Be Welcome ${USER}[0]! + +Negative index + Log ${LIST}[-1] + +Index defined as variable + Log ${LIST}[${INDEX}] diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot new file mode 100644 index 0000000..143f2fe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Keyword &{DICT} named=arg + Keyword positional @{LIST} &{DICT} + Keyword &{DICT} &{ANOTHER} &{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot new file mode 100644 index 0000000..1ad414e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Keyword @{LIST} more args + Keyword ${SCALAR} @{LIST} constant + Keyword @{LIST} @{ANOTHER} @{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot new file mode 100644 index 0000000..d14a92a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot @@ -0,0 +1,13 @@ +*** Test Cases *** +Start index + Keyword ${LIST}[1:] + +End index + Keyword ${LIST}[:4] + +Start and end + Keyword ${LIST}[2:-1] + +Step + Keyword ${LIST}[::2] + Keyword ${LIST}[2:-1:2] diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot new file mode 100644 index 0000000..b6c9615 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot @@ -0,0 +1,8 @@ +*** Settings *** +Library ExampleLibrary @{LIB ARGS} # This works +Library ${LIBRARY} @{LIB ARGS} # This works +Library @{LIBRARY AND ARGS} # This does not work +Suite Setup Some Keyword @{KW ARGS} # This works +Suite Setup ${KEYWORD} @{KW ARGS} # This works +Suite Setup @{KEYWORD AND ARGS} # This does not work +Default Tags @{TAGS} # This works diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot new file mode 100644 index 0000000..cc46b37 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Constants + Log Hello + Log Hello, world!! + +Variables + Log ${GREET} + Log ${GREET}, ${NAME}!! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot new file mode 100644 index 0000000..790d583 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Constants + Login robot secret + +List Variable + Login @{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot new file mode 100644 index 0000000..7ab2ac1 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +System properties + Log %{user.name} running tests on %{os.name} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot new file mode 100644 index 0000000..42fd43f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Objects + KW 1 ${STR} + KW 2 ${OBJ} + KW 3 I said "${STR}" + KW 4 You said "${OBJ}" diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot new file mode 100644 index 0000000..d9575ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Returning + ${x} = Get X an argument + Log We got ${x}! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot new file mode 100644 index 0000000..b295d72 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot @@ -0,0 +1,6 @@ +*** Variables *** +@{NAMES} Matti Teppo +@{NAMES2} @{NAMES} Seppo +@{NOTHING} +@{MANY} one two three four +... five six seven diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot new file mode 100644 index 0000000..e863f66 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot @@ -0,0 +1,6 @@ +*** Variables *** +&{USER 1} name=Matti address=xxx phone=123 +&{USER 2} name=Teppo address=yyy phone=456 +&{MANY} first=1 second=${2} ${3}=third +&{EVEN MORE} &{MANY} first=override empty= +... =empty key\=here=value diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot new file mode 100644 index 0000000..af0a20b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + &{dict} = Create Dictionary first=1 second=${2} ${3}=third + Length Should Be ${dict} 3 + Do Something &{dict} + Log ${dict.first} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot new file mode 100644 index 0000000..2149832 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + @{list} = Create List first second third + Length Should Be ${list} 3 + Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot new file mode 100644 index 0000000..c134728 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Assign multiple + ${a} ${b} ${c} = Get Three + ${first} @{rest} = Get Three + @{before} ${last} = Get Three + ${begin} @{middle} ${end} = Get Three diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot new file mode 100644 index 0000000..f1a8b5f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot @@ -0,0 +1,4 @@ +*** Variables *** +${EXAMPLE} This value is joined together with a space +${MULTILINE} SEPARATOR=\n First line +... Second line Third line diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot new file mode 100644 index 0000000..9ebb321 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot @@ -0,0 +1,3 @@ +*** Variables *** +${NAME} = Robot Framework +${VERSION} = 2.0 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot new file mode 100644 index 0000000..7f5d106 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + ${list} = Create List first second third + Length Should Be ${list} 3 + Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot new file mode 100644 index 0000000..8933b8e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot @@ -0,0 +1,4 @@ +*** Variables *** +${NAME} Robot Framework +${VERSION} 2.0 +${ROBOT} ${NAME} ${VERSION} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot new file mode 100644 index 0000000..95b9f4b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Boolean + Set Status ${true} # Set Status gets Boolean true as an argument + Create Y something ${false} # Create Y gets a string and Boolean false + +None + Do XYZ ${None} # Do XYZ gets Python None as an argument + +Null + ${ret} = Get Value arg # Checking that Get Value returns Java null + Should Be Equal ${ret} ${null} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot new file mode 100644 index 0000000..ade66ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Create Binary File ${CURDIR}${/}input.data Some text here${\n}on two lines + Set Environment Variable CLASSPATH ${TEMPDIR}${:}${CURDIR}${/}foo.jar diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot new file mode 100644 index 0000000..d2ed99a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + Should Be Equal ${0b1011} ${11} + Should Be Equal ${0o10} ${8} + Should Be Equal ${0xff} ${255} + Should Be Equal ${0B1010} ${0XA} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot new file mode 100644 index 0000000..600a455 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot @@ -0,0 +1,18 @@ +*** Test Cases *** +One space + Should Be Equal ${SPACE} \ \ + +Four spaces + Should Be Equal ${SPACE * 4} \ \ \ \ \ + +Ten spaces + Should Be Equal ${SPACE * 10} \ \ \ \ \ \ \ \ \ \ \ + +Quoted space + Should Be Equal "${SPACE}" " " + +Quoted spaces + Should Be Equal "${SPACE * 2}" " \ " + +Empty + Should Be Equal ${EMPTY} \ diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot new file mode 100644 index 0000000..e507416 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Example 1A + Connect example.com 80 # Connect gets two strings as arguments + +Example 1B + Connect example.com ${80} # Connect gets a string and an integer + +Example 2 + Do X ${3.14} ${-1e-4} # Do X gets floating point numbers 3.14 and -0.0001 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot new file mode 100644 index 0000000..4557165 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Template + [Template] Some keyword + @{EMPTY} + +Override + Set Global Variable @{LIST} @{EMPTY} + Set Suite Variable &{DICT} &{EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot new file mode 100644 index 0000000..4552b58 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot @@ -0,0 +1,8 @@ +*** Variables *** +${JOHN HOME} /home/john +${JANE HOME} /home/jane + +*** Test Cases *** +Example + ${name} = Get Name + Do X ${${name} HOME} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot new file mode 100644 index 0000000..09d240a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + ${OBJECT.name} = Set Variable New name + ${OBJECT.new_attr} = Set Variable New attribute diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot new file mode 100644 index 0000000..6c6badc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +String + ${string} = Set Variable abc + Log ${string.upper()} # Logs 'ABC' + Log ${string * 2} # Logs 'abcabc' + +Number + ${number} = Set Variable ${-2} + Log ${number * 10} # Logs -20 + Log ${number.__abs__()} # Logs 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot new file mode 100644 index 0000000..453d2f1 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + KW 1 ${OBJECT.name} + KW 2 ${OBJECT.eat('Cucumber')} + KW 3 ${DICTIONARY[2]} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot new file mode 100644 index 0000000..81e8ae8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot @@ -0,0 +1,9 @@ +*** Keywords *** +Open Login Page + Open Browser http://host/login.html + Title Should Be Login Page + +Title Should Start With + [Arguments] ${expected} + ${title} = Get Title + Should Start With ${title} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot new file mode 100644 index 0000000..65a4098 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot @@ -0,0 +1,20 @@ +*** Keywords *** +One line documentation + [Documentation] One line documentation. + No Operation + +Multiline documentation + [Documentation] The first line creates the short doc. + ... + ... This is the body of the documentation. + ... It is not shown in Libdoc outputs but only + ... the short doc is shown in logs. + No Operation + +Short documentation in multiple lines + [Documentation] If the short doc gets longer, it can span + ... multiple physical lines. + ... + ... The body is separated from the short doc with + ... an empty line. + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot new file mode 100644 index 0000000..e92215e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot @@ -0,0 +1,9 @@ +*** Keywords *** +Settings tags using separate setting + [Tags] my fine tags + No Operation + +Settings tags using documentation + [Documentation] I have documentation. And my documentation has tags. + ... Tags: my, fine, tags + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot new file mode 100644 index 0000000..bc8d480 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Positional + [Arguments] ${positional} @{} ${named} + Log Many ${positional} ${named} + +With Free Named + [Arguments] @{varargs} ${named only} &{free named} + Log Many @{varargs} ${named only} &{free named} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot new file mode 100644 index 0000000..d7ad7d3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Default + [Arguments] @{} ${named}=default + Log Many ${named} + +With And Without Defaults + [Arguments] @{} ${optional}=default ${mandatory} ${mandatory 2} ${optional 2}=default 2 ${mandatory 3} + Log Many ${optional} ${mandatory} ${mandatory 2} ${optional 2} ${mandatory 3} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot new file mode 100644 index 0000000..219f576 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot @@ -0,0 +1,17 @@ +*** Keywords *** +Any Number Of Arguments + [Arguments] @{varargs} + Log Many @{varargs} + +One Or More Arguments + [Arguments] ${required} @{rest} + Log Many ${required} @{rest} + +Required, Default, Varargs + [Arguments] ${req} ${opt}=42 @{others} + Log Required: ${req} + Log Optional: ${opt} + Log Others: + FOR ${item} IN @{others} + Log ${item} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot new file mode 100644 index 0000000..66d6dce --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Varargs + [Arguments] @{varargs} ${named} + Log Many @{varargs} ${named} + +Without Varargs + [Arguments] @{} ${first} ${second} + Log Many ${first} ${second} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot new file mode 100644 index 0000000..e221233 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Varargs with user keywords + Any Number Of Arguments + Any Number Of Arguments arg + Any Number Of Arguments arg1 arg2 arg3 arg4 + One Or More Arguments required + One Or More Arguments arg1 arg2 arg3 arg4 + Required, Default, Varargs required + Required, Default, Varargs required optional + Required, Default, Varargs arg1 arg2 arg3 arg4 arg5 diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot new file mode 100644 index 0000000..5957045 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot @@ -0,0 +1,22 @@ +*** Keywords *** +One Argument With Default Value + [Arguments] ${arg}=default value + [Documentation] This keyword takes 0-1 arguments + Log Got argument ${arg} + +Two Arguments With Defaults + [Arguments] ${arg1}=default 1 ${arg2}=${VARIABLE} + [Documentation] This keyword takes 0-2 arguments + Log 1st argument ${arg1} + Log 2nd argument ${arg2} + +One Required And One With Default + [Arguments] ${required} ${optional}=default + [Documentation] This keyword takes 1-2 arguments + Log Required: ${required} + Log Optional: ${optional} + + Default Based On Earlier Argument + [Arguments] ${a} ${b}=${a} ${c}=${a} and ${b} + Should Be Equal ${a} ${b} + Should Be Equal ${c} ${a} and ${b} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot new file mode 100644 index 0000000..1537c6d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot @@ -0,0 +1,10 @@ +*** Keywords *** +One Argument + [Arguments] ${arg_name} + Log Got argument ${arg_name} + +Three Arguments + [Arguments] ${arg1} ${arg2} ${arg3} + Log 1st argument: ${arg1} + Log 2nd argument: ${arg2} + Log 3rd argument: ${arg3} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot new file mode 100644 index 0000000..4043bad --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot @@ -0,0 +1,12 @@ +*** Keywords *** +Free Named Only + [Arguments] &{named} + Log Many &{named} + +Positional And Free Named + [Arguments] ${required} &{extra} + Log Many ${required} &{extra} + +Run Program + [Arguments] @{args} &{config} + Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot new file mode 100644 index 0000000..06a7171 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +Example + Two Arguments With Defaults arg2=new value diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot new file mode 100644 index 0000000..898b3f6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Example + With Varargs named=value + With Varargs positional second positional named=foobar + Without Varargs first=1 second=2 + Without Varargs second=toka first=eka + With Positional foo named=bar + With Positional named=2 positional=1 + With Free Named positional named only=value x=1 y=2 + With Free Named foo=a bar=b named only=c quux=d diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot new file mode 100644 index 0000000..619bec7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot @@ -0,0 +1,20 @@ +*** Test Cases *** +Example + I execute "ls" + I execute "ls" with "-lh" + I type 1 + 2 + I type 53 - 11 + Today is 2011-06-27 + +*** Keywords *** +I execute "${cmd:[^"]+}" + Run Process ${cmd} shell=True + +I execute "${cmd}" with "${opts}" + Run Process ${cmd} ${opts} shell=True + +I type ${a:\d+} ${operator:[+-]} ${b:\d+} + Calculate ${a} ${operator} ${b} + +Today is ${date:\d{4\}-\d{2\}-\d{2\}} + Log ${date} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot new file mode 100644 index 0000000..4d67a1d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot @@ -0,0 +1,4 @@ +*** Keywords *** +Select ${animal} from list + Open Page Pet Selection + Select Item From List animal_list ${animal} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot new file mode 100644 index 0000000..4c4241b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot @@ -0,0 +1,24 @@ +*** Test Cases *** +Add two numbers + Given I have Calculator open + When I add 2 and 40 + Then result should be 42 + +Add negative numbers + Given I have Calculator open + When I add 1 and -2 + Then result should be -1 + +*** Keywords *** +I have ${program} open + Start Program ${program} + +I add ${number 1} and ${number 2} + Input Number ${number 1} + Push Button + + Input Number ${number 2} + Push Button = + +Result should be ${expected} + ${result} = Get Result + Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot new file mode 100644 index 0000000..801eafd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Example + I execute "ls" + I execute "ls" with "-lh" + +*** Keywords *** +I execute "${cmd}" + Run Process ${cmd} shell=True + +I execute "${cmd}" with "${opts}" + Run Process ${cmd} ${opts} shell=True diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot new file mode 100644 index 0000000..cca0a9d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot @@ -0,0 +1,7 @@ +*** Variables *** +${DATE} 2011-06-27 + +*** Test Cases *** +Example + I type ${1} + ${2} + Today is ${DATE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot new file mode 100644 index 0000000..0ad50da --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot @@ -0,0 +1,28 @@ +*** Test Cases *** +One Return Value + ${ret} = Return One Value argument + Some Keyword ${ret} + +Advanced + @{list} = Create List foo baz + ${index} = Find Index baz @{list} + Should Be Equal ${index} ${1} + ${index} = Find Index non existing @{list} + Should Be Equal ${index} ${-1} + +*** Keywords *** +Return One Value + [Arguments] ${arg} + Do Something ${arg} + ${value} = Get Some Value + Return From Keyword ${value} + Fail This is not executed + +Find Index + [Arguments] ${element} @{items} + ${index} = Set Variable ${0} + FOR ${item} IN @{items} + Return From Keyword If '${item}' == '${element}' ${index} + ${index} = Set Variable ${index + 1} + END + Return From Keyword ${-1} # Could also use [Return] diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot new file mode 100644 index 0000000..a35d2c5 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot @@ -0,0 +1,19 @@ +*** Test Cases *** +One Return Value + ${ret} = Return One Value argument + Some Keyword ${ret} + +Multiple Values + ${a} ${b} ${c} = Return Three Values + @{list} = Return Three Values + ${scalar} @{rest} = Return Three Values + +*** Keywords *** +Return One Value + [Arguments] ${arg} + Do Something ${arg} + ${value} = Get Some Value + [Return] ${value} + +Return Three Values + [Return] foo bar zap diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot new file mode 100644 index 0000000..68e0fa9 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot @@ -0,0 +1,9 @@ +*** Keywords *** +With Teardown + Do Something + [Teardown] Log keyword teardown + +Using variables + [Documentation] Teardown given as variable + Do Something + [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot new file mode 100644 index 0000000..4bd8924 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot @@ -0,0 +1,24 @@ +*** Settings *** +Documentation An example resource file +Library SeleniumLibrary +Resource ${RESOURCES}/common.resource + +*** Variables *** +${HOST} localhost:7272 +${LOGIN URL} http://${HOST}/ +${WELCOME URL} http://${HOST}/welcome.html +${BROWSER} Firefox + +*** Keywords *** +Open Login Page + [Documentation] Opens browser to login page + Open Browser ${LOGIN URL} ${BROWSER} + Title Should Be Login Page + +Input Name + [Arguments] ${name} + Input Text username_field ${name} + +Input Password + [Arguments] ${password} + Input Text password_field ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot new file mode 100644 index 0000000..b749f93 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot @@ -0,0 +1,4 @@ +*** Settings *** +Resource example.resource +Resource ../data/resources.robot +Resource ${RESOURCES}/common.resource diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot new file mode 100644 index 0000000..7cc82ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot @@ -0,0 +1,5 @@ +*** Settings *** +Variables myvariables.py +Variables ../data/variables.py +Variables ${RESOURCES}/common.py +Variables taking_arguments.py arg1 ${ARG2} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot new file mode 100644 index 0000000..14603ae --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot @@ -0,0 +1,5 @@ +*** Variables *** +${STRING} Hello, world! +${INTEGER} ${42} +@{LIST} one two +&{DICT} one=yksi two=kaksi diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot new file mode 100644 index 0000000..f59ef2d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot @@ -0,0 +1,9 @@ +*** Variables *** +${VARIABLE} An example string +${ANOTHER VARIABLE} This is pretty easy! +${INTEGER} ${42} +@{STRINGS} one two kolme four +@{NUMBERS} ${1} ${INTEGER} ${3.14} +&{MAPPING} one=${1} two=${2} three=${3} +@{ANIMALS} cat dog +&{FINNISH} cat=kissa dog=koira diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot new file mode 100644 index 0000000..381f3eb --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot @@ -0,0 +1,32 @@ +*** Settings *** +Test Timeout 2 minutes + +*** Test Cases *** +Default Timeout + [Documentation] Timeout from the Setting table is used + Some Keyword argument + +Override + [Documentation] Override default, use 10 seconds timeout + [Timeout] 10 + Some Keyword argument + +Custom Message + [Documentation] Override default and use custom message + [Timeout] 1min 10s This is my custom error + Some Keyword argument + +Variables + [Documentation] It is possible to use variables too + [Timeout] ${TIMEOUT} + Some Keyword argument + +No Timeout + [Documentation] Empty timeout means no timeout even when Test Timeout has been used + [Timeout] + Some Keyword argument + +No Timeout 2 + [Documentation] Disabling timeout with NONE works too and is more explicit. + [Timeout] NONE + Some Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot new file mode 100644 index 0000000..fc430cc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot @@ -0,0 +1,18 @@ +*** Keywords *** +Timed Keyword + [Documentation] Set only the timeout value and not the custom message. + [Timeout] 1 minute 42 seconds + Do Something + Do Something Else + +Wrapper With Timeout + [Arguments] @{args} + [Documentation] This keyword is a wrapper that adds a timeout to another keyword. + [Timeout] 2 minutes Original Keyword didn't finish in 2 minutes + Original Keyword @{args} + +Wrapper With Customizable Timeout + [Arguments] ${timeout} @{args} + [Documentation] Same as the above but timeout given as an argument. + [Timeout] ${timeout} + Original Keyword @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot new file mode 100644 index 0000000..b50bfe8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Continue Example + ${text} = Set Variable ${EMPTY} + FOR ${var} IN one two three + Continue For Loop If '${var}' == 'two' + ${text} = Set Variable ${text}${var} + END + Should Be Equal ${text} onethree diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot new file mode 100644 index 0000000..eb58b66 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Exit Example + ${text} = Set Variable ${EMPTY} + FOR ${var} IN one two + Run Keyword If '${var}' == 'two' Exit For Loop + ${text} = Set Variable ${text}${var} + END + Should Be Equal ${text} one diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot new file mode 100644 index 0000000..66a8f8f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot @@ -0,0 +1,15 @@ +*** Variables *** +@{LIST} a b c + +*** Test Cases *** +Manage index manually + ${index} = Set Variable -1 + FOR ${item} IN @{LIST} + ${index} = Evaluate ${index} + 1 + My Keyword ${index} ${item} + END + +For-in-enumerate + FOR ${index} ${item} IN ENUMERATE @{LIST} + My Keyword ${index} ${item} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot new file mode 100644 index 0000000..c721b74 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + :FOR ${animal} IN cat dog + \ Log ${animal} + \ Log 2nd keyword + Log Outside loop diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot new file mode 100644 index 0000000..555c70d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Repeat Keyword 5 Some Keyword arg1 arg2 + Repeat Keyword 42 times My Keyword + Repeat Keyword ${var} Another Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot new file mode 100644 index 0000000..0b83ab2 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot @@ -0,0 +1,12 @@ +*** Keywords *** +Handle Table + [Arguments] @{table} + FOR ${row} IN @{table} + Handle Row @{row} + END + +Handle Row + [Arguments] @{row} + FOR ${cell} IN @{row} + Handle Cell ${cell} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot new file mode 100644 index 0000000..1b36ec7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Three loop variables + FOR ${index} ${english} ${finnish} IN + ... 1 cat kissa + ... 2 dog koira + ... 3 horse hevonen + Add to dictionary ${english} ${finnish} ${index} + END + FOR ${name} ${id} IN @{EMPLOYERS} + Create ${name} ${id} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot new file mode 100644 index 0000000..ecfb9b0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + FOR ${element} IN @{ELEMENTS} + Start Element ${element} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot new file mode 100644 index 0000000..1bc73cd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot @@ -0,0 +1,36 @@ +*** Test Cases *** +Only upper limit + [Documentation] Loops over values from 0 to 9 + FOR ${index} IN RANGE 10 + Log ${index} + END + +Start and end + [Documentation] Loops over values from 1 to 10 + FOR ${index} IN RANGE 1 11 + Log ${index} + END + +Also step given + [Documentation] Loops over values 5, 15, and 25 + FOR ${index} IN RANGE 5 26 10 + Log ${index} + END + +Negative step + [Documentation] Loops over values 13, 3, and -7 + FOR ${index} IN RANGE 13 -13 -10 + Log ${index} + END + +Arithmetic + [Documentation] Arithmetic with variable + FOR ${index} IN RANGE ${var} + 1 + Log ${index} + END + +Float parameters + [Documentation] Loops over values 3.14, 4.34, and 5.54 + FOR ${index} IN RANGE 3.14 6.09 1.2 + Log ${index} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot new file mode 100644 index 0000000..f5777d3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot @@ -0,0 +1,8 @@ +*** Test Case *** +For-in-enumerate with two values per iteration + FOR ${index} ${en} ${fi} IN ENUMERATE + ... cat kissa + ... dog koira + ... horse hevonen + Log "${en}" in English is "${fi}" in Finnish (index: ${index}) + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot new file mode 100644 index 0000000..728c39f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot @@ -0,0 +1,13 @@ +*** Test Cases *** +Example + FOR ${animal} IN cat dog + Log ${animal} + Log 2nd keyword + END + Log Outside loop + +Second Example + FOR ${var} IN one two ${3} four ${five} + ... kuusi 7 eight nine ${last} + Log ${var} + END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot new file mode 100644 index 0000000..d5c3f0c --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot @@ -0,0 +1,15 @@ +*** Variables *** +@{NUMBERS} ${1} ${2} ${5} +@{NAMES} one two five + +*** Test Cases *** +Iterate over two lists manually + ${length}= Get Length ${NUMBERS} + FOR ${idx} IN RANGE ${length} + Number Should Be Named ${NUMBERS}[${idx}] ${NAMES}[${idx}] + END + +For-in-zip + FOR ${number} ${name} IN ZIP ${NUMBERS} ${NAMES} + Number Should Be Named ${number} ${name} + END diff --git a/atest/fixtures/highlighting/samples/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.robot b/atest/fixtures/highlighting/samples/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.robot new file mode 100644 index 0000000..e863f66 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac.robot @@ -0,0 +1,6 @@ +*** Variables *** +&{USER 1} name=Matti address=xxx phone=123 +&{USER 2} name=Teppo address=yyy phone=456 +&{MANY} first=1 second=${2} ${3}=third +&{EVEN MORE} &{MANY} first=override empty= +... =empty key\=here=value diff --git a/atest/fixtures/highlighting/samples/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.robot b/atest/fixtures/highlighting/samples/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.robot new file mode 100644 index 0000000..a4b65fe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766.robot @@ -0,0 +1,6 @@ +*** Tasks *** +Process invoice + Read information from PDF + Validate information + Submit information to backend system + Validate information is visible in web UI diff --git a/atest/fixtures/highlighting/samples/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.robot b/atest/fixtures/highlighting/samples/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.robot new file mode 100644 index 0000000..45f74d0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Defaults + One Default + One Default argument + Multiple Defaults required arg + Multiple Defaults required arg optional + Multiple Defaults required arg optional 1 optional 2 diff --git a/atest/fixtures/highlighting/samples/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.robot b/atest/fixtures/highlighting/samples/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.robot new file mode 100644 index 0000000..66a8f8f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5.robot @@ -0,0 +1,15 @@ +*** Variables *** +@{LIST} a b c + +*** Test Cases *** +Manage index manually + ${index} = Set Variable -1 + FOR ${item} IN @{LIST} + ${index} = Evaluate ${index} + 1 + My Keyword ${index} ${item} + END + +For-in-enumerate + FOR ${index} ${item} IN ENUMERATE @{LIST} + My Keyword ${index} ${item} + END diff --git a/atest/fixtures/highlighting/samples/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.robot b/atest/fixtures/highlighting/samples/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.robot new file mode 100644 index 0000000..cc46b37 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Constants + Log Hello + Log Hello, world!! + +Variables + Log ${GREET} + Log ${GREET}, ${NAME}!! diff --git a/atest/fixtures/highlighting/samples/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.robot b/atest/fixtures/highlighting/samples/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.robot new file mode 100644 index 0000000..4a3d233 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b.robot @@ -0,0 +1,17 @@ +*** Test Cases *** +Positional + Various Args hello world # Logs 'arg: hello' and 'vararg: world'. + +Named + Various Args arg=value # Logs 'arg: value'. + +Kwargs + Various Args a=1 b=2 c=3 # Logs 'kwarg: a 1', 'kwarg: b 2' and 'kwarg: c 3'. + Various Args c=3 a=1 b=2 # Same as above. Order does not matter. + +Positional and kwargs + Various Args 1 2 kw=3 # Logs 'arg: 1', 'vararg: 2' and 'kwarg: kw 3'. + +Named and kwargs + Various Args arg=value hello=world # Logs 'arg: value' and 'kwarg: hello world'. + Various Args hello=world arg=value # Same as above. Order does not matter. diff --git a/atest/fixtures/highlighting/samples/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.robot b/atest/fixtures/highlighting/samples/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.robot new file mode 100644 index 0000000..381f3eb --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0.robot @@ -0,0 +1,32 @@ +*** Settings *** +Test Timeout 2 minutes + +*** Test Cases *** +Default Timeout + [Documentation] Timeout from the Setting table is used + Some Keyword argument + +Override + [Documentation] Override default, use 10 seconds timeout + [Timeout] 10 + Some Keyword argument + +Custom Message + [Documentation] Override default and use custom message + [Timeout] 1min 10s This is my custom error + Some Keyword argument + +Variables + [Documentation] It is possible to use variables too + [Timeout] ${TIMEOUT} + Some Keyword argument + +No Timeout + [Documentation] Empty timeout means no timeout even when Test Timeout has been used + [Timeout] + Some Keyword argument + +No Timeout 2 + [Documentation] Disabling timeout with NONE works too and is more explicit. + [Timeout] NONE + Some Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.robot b/atest/fixtures/highlighting/samples/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.robot new file mode 100644 index 0000000..2149832 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + @{list} = Create List first second third + Length Should Be ${list} 3 + Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.robot b/atest/fixtures/highlighting/samples/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.robot new file mode 100644 index 0000000..a35d2c5 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005.robot @@ -0,0 +1,19 @@ +*** Test Cases *** +One Return Value + ${ret} = Return One Value argument + Some Keyword ${ret} + +Multiple Values + ${a} ${b} ${c} = Return Three Values + @{list} = Return Three Values + ${scalar} @{rest} = Return Three Values + +*** Keywords *** +Return One Value + [Arguments] ${arg} + Do Something ${arg} + ${value} = Get Some Value + [Return] ${value} + +Return Three Values + [Return] foo bar zap diff --git a/atest/fixtures/highlighting/samples/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.robot b/atest/fixtures/highlighting/samples/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.robot new file mode 100644 index 0000000..bc8d480 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Positional + [Arguments] ${positional} @{} ${named} + Log Many ${positional} ${named} + +With Free Named + [Arguments] @{varargs} ${named only} &{free named} + Log Many @{varargs} ${named only} &{free named} diff --git a/atest/fixtures/highlighting/samples/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.robot b/atest/fixtures/highlighting/samples/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.robot new file mode 100644 index 0000000..4bd8924 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7.robot @@ -0,0 +1,24 @@ +*** Settings *** +Documentation An example resource file +Library SeleniumLibrary +Resource ${RESOURCES}/common.resource + +*** Variables *** +${HOST} localhost:7272 +${LOGIN URL} http://${HOST}/ +${WELCOME URL} http://${HOST}/welcome.html +${BROWSER} Firefox + +*** Keywords *** +Open Login Page + [Documentation] Opens browser to login page + Open Browser ${LOGIN URL} ${BROWSER} + Title Should Be Login Page + +Input Name + [Arguments] ${name} + Input Text username_field ${name} + +Input Password + [Arguments] ${password} + Input Text password_field ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.robot b/atest/fixtures/highlighting/samples/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.robot new file mode 100644 index 0000000..c4bc529 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db.robot @@ -0,0 +1,5 @@ +*** Settings *** +Library PythonLibrary.py +Library /absolute/path/JavaLibrary.java +Library relative/path/PythonDirLib/ possible arguments +Library ${RESOURCES}/Example.class diff --git a/atest/fixtures/highlighting/samples/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.robot b/atest/fixtures/highlighting/samples/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.robot new file mode 100644 index 0000000..482df07 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Dictionary variable item + Login ${USER}[name] ${USER}[password] + Title Should Be Welcome ${USER}[name]! + +Key defined as variable + Log Many ${DICT}[${KEY}] ${DICT}[${42}] + +Attribute access + Login ${USER.name} ${USER.password} + Title Should Be Welcome ${USER.name}! diff --git a/atest/fixtures/highlighting/samples/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.robot b/atest/fixtures/highlighting/samples/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.robot new file mode 100644 index 0000000..7825b43 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b.robot @@ -0,0 +1,15 @@ +*** Test Cases *** + Example 1 + [Documentation] First line\n Second line in multiple parts + No Operation + + Example 2 + [Documentation] First line + ... Second line in multiple parts + No Operation + + Example 3 + [Documentation] First line\n + ... Second line in\ + ... multiple parts + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.robot b/atest/fixtures/highlighting/samples/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.robot new file mode 100644 index 0000000..619bec7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d.robot @@ -0,0 +1,20 @@ +*** Test Cases *** +Example + I execute "ls" + I execute "ls" with "-lh" + I type 1 + 2 + I type 53 - 11 + Today is 2011-06-27 + +*** Keywords *** +I execute "${cmd:[^"]+}" + Run Process ${cmd} shell=True + +I execute "${cmd}" with "${opts}" + Run Process ${cmd} ${opts} shell=True + +I type ${a:\d+} ${operator:[+-]} ${b:\d+} + Calculate ${a} ${operator} ${b} + +Today is ${date:\d{4\}-\d{2\}-\d{2\}} + Log ${date} diff --git a/atest/fixtures/highlighting/samples/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.robot b/atest/fixtures/highlighting/samples/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.robot new file mode 100644 index 0000000..6d4d053 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11.robot @@ -0,0 +1,6 @@ +*** Settings *** +Documentation +... First paragraph has only one line. +... +... Second paragraph, this time created +... with multiple lines. diff --git a/atest/fixtures/highlighting/samples/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.robot b/atest/fixtures/highlighting/samples/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.robot new file mode 100644 index 0000000..1bc73cd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510.robot @@ -0,0 +1,36 @@ +*** Test Cases *** +Only upper limit + [Documentation] Loops over values from 0 to 9 + FOR ${index} IN RANGE 10 + Log ${index} + END + +Start and end + [Documentation] Loops over values from 1 to 10 + FOR ${index} IN RANGE 1 11 + Log ${index} + END + +Also step given + [Documentation] Loops over values 5, 15, and 25 + FOR ${index} IN RANGE 5 26 10 + Log ${index} + END + +Negative step + [Documentation] Loops over values 13, 3, and -7 + FOR ${index} IN RANGE 13 -13 -10 + Log ${index} + END + +Arithmetic + [Documentation] Arithmetic with variable + FOR ${index} IN RANGE ${var} + 1 + Log ${index} + END + +Float parameters + [Documentation] Loops over values 3.14, 4.34, and 5.54 + FOR ${index} IN RANGE 3.14 6.09 1.2 + Log ${index} + END diff --git a/atest/fixtures/highlighting/samples/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.robot b/atest/fixtures/highlighting/samples/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.robot new file mode 100644 index 0000000..a5c0c49 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499.robot @@ -0,0 +1,7 @@ +*** Test Cases ** +Normal test case + Example keyword first argument second argument + +Templated test case + [Template] Example keyword + first argument second argument diff --git a/atest/fixtures/highlighting/samples/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.robot b/atest/fixtures/highlighting/samples/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.robot new file mode 100644 index 0000000..f5777d3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe.robot @@ -0,0 +1,8 @@ +*** Test Case *** +For-in-enumerate with two values per iteration + FOR ${index} ${en} ${fi} IN ENUMERATE + ... cat kissa + ... dog koira + ... horse hevonen + Log "${en}" in English is "${fi}" in Finnish (index: ${index}) + END diff --git a/atest/fixtures/highlighting/samples/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.robot b/atest/fixtures/highlighting/samples/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.robot new file mode 100644 index 0000000..004bcb0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f.robot @@ -0,0 +1,17 @@ +*** Test Cases *** # args # args, kwargs +Positional only + Dynamic x # [x] # [x], {} + Dynamic x y # [x, y] # [x, y], {} + Dynamic x y z # [x, y, z] # [x, y, z], {} + +Named only + Dynamic a=x # [x] # [], {a: x} + Dynamic c=z a=x b=y # [x, y, z] # [], {a: x, b: y, c: z} + +Positional and named + Dynamic x b=y # [x, y] # [x], {b: y} + Dynamic x y c=z # [x, y, z] # [x, y], {c: z} + Dynamic x b=y c=z # [x, y, z] # [x], {y: b, c: z} + +Intermediate missing + Dynamic x c=z # [x, d1, z] # [x], {c: z} diff --git a/atest/fixtures/highlighting/samples/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.robot b/atest/fixtures/highlighting/samples/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.robot new file mode 100644 index 0000000..23ca2c3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Returning one value + ${string} = Return String + Should Be Equal ${string} Hello, world! + ${object} = Return Object Robot + Should Be Equal ${object.name} Robot diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot new file mode 100644 index 0000000..41f7f28 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library MyLibrary 10.0.0.1 8080 +Library AnotherLib ${VAR} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot new file mode 100644 index 0000000..cd9d8ed --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +Example + Example Keyword 42 False diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot new file mode 100644 index 0000000..4d3c5b7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Keyword Arguments + Example Keyword hello=world # Logs 'hello world'. + Example Keyword foo=1 bar=42 # Logs 'foo 1' and 'bar 42'. diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot new file mode 100644 index 0000000..59d827d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +My Test + Login Via User Panel ${username} ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot new file mode 100644 index 0000000..fd62865 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +My Test + Add 7 copies of coffee to cart diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot new file mode 100644 index 0000000..d9f2483 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Varargs + Any Arguments + Any Arguments argument + Any Arguments arg 1 arg 2 arg 3 arg 4 arg 5 + One Required required arg + One Required required arg another arg yet another + Also Defaults required + Also Defaults required these two have defaults + Also Defaults 1 2 3 4 5 6 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot new file mode 100644 index 0000000..91f1bf4 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Sort Words Foo bar baZ + Sort Words Foo bar baZ case_sensitive=True diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot new file mode 100644 index 0000000..5117faa --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Coercion + Double Argument 3.14 + Double Argument 2e16 + Compatible Types Hello, world! 1234 + Compatible Types Hi again! -10 true + +No Coercion + Double Argument ${3.14} + Conflicting Types 1 ${2} # must use variables + Conflicting Types ${1} 2 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot new file mode 100644 index 0000000..4488354 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot @@ -0,0 +1,7 @@ +*** Settings *** +Library MyLibrary + +*** Test Cases *** +My Test + Do Nothing + Hello world diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot new file mode 100644 index 0000000..45f74d0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Defaults + One Default + One Default argument + Multiple Defaults required arg + Multiple Defaults required arg optional + Multiple Defaults required arg optional 1 optional 2 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot new file mode 100644 index 0000000..4a3d233 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot @@ -0,0 +1,17 @@ +*** Test Cases *** +Positional + Various Args hello world # Logs 'arg: hello' and 'vararg: world'. + +Named + Various Args arg=value # Logs 'arg: value'. + +Kwargs + Various Args a=1 b=2 c=3 # Logs 'kwarg: a 1', 'kwarg: b 2' and 'kwarg: c 3'. + Various Args c=3 a=1 b=2 # Same as above. Order does not matter. + +Positional and kwargs + Various Args 1 2 kw=3 # Logs 'arg: 1', 'vararg: 2' and 'kwarg: kw 3'. + +Named and kwargs + Various Args arg=value hello=world # Logs 'arg: value' and 'kwarg: hello world'. + Various Args hello=world arg=value # Same as above. Order does not matter. diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot new file mode 100644 index 0000000..1631a06 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Returning multiple values + ${var1} ${var2} = Return Two Values + Should Be Equal ${var1} first value + Should Be Equal ${var2} second value + @{list} = Return Two Values + Should Be Equal @{list}[0] first value + Should Be Equal @{list}[1] second value + ${s1} ${s2} @{li} = Return Multiple Values + Should Be Equal ${s1} ${s2} a list + Should Be Equal @{li}[0] @{li}[1] of strings diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot new file mode 100644 index 0000000..23ca2c3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Returning one value + ${string} = Return String + Should Be Equal ${string} Hello, world! + ${object} = Return Object Robot + Should Be Equal ${object.name} Robot diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot new file mode 100644 index 0000000..c314033 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot @@ -0,0 +1,19 @@ +*** Test Cases *** # args, kwargs +No arguments + Dynamic # [], {} + +Positional only + Dynamic x # [x], {} + Dynamic x y # [x, y], {} + +Free named only + Dynamic x=1 # [], {x: 1} + Dynamic x=1 y=2 z=3 # [], {x: 1, y: 2, z: 3} + +Free named with positional + Dynamic x y=2 # [x], {y: 2} + Dynamic x y=2 z=3 # [x], {y: 2, z: 3} + +Free named with normal named + Dynamic a=1 x=1 # [], {a: 1, x: 1} + Dynamic b=2 x=1 a=1 # [], {a: 1, b: 2, x: 1} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot new file mode 100644 index 0000000..004bcb0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot @@ -0,0 +1,17 @@ +*** Test Cases *** # args # args, kwargs +Positional only + Dynamic x # [x] # [x], {} + Dynamic x y # [x, y] # [x, y], {} + Dynamic x y z # [x, y, z] # [x, y, z], {} + +Named only + Dynamic a=x # [x] # [], {a: x} + Dynamic c=z a=x b=y # [x, y, z] # [], {a: x, b: y, c: z} + +Positional and named + Dynamic x b=y # [x, y] # [x], {b: y} + Dynamic x y c=z # [x, y, z] # [x, y], {c: z} + Dynamic x b=y c=z # [x, y, z] # [x], {y: b, c: z} + +Intermediate missing + Dynamic x c=z # [x, d1, z] # [x], {c: z} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot new file mode 100644 index 0000000..b8702a6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot @@ -0,0 +1,15 @@ +*** Test Cases *** # args, kwargs +Named-only only + Dynamic named=value # [], {named: value} + Dynamic named=value named2=2 # [], {named: value, named2: 2} + +Named-only with positional and varargs + Dynamic argument named=xxx # [argument], {named: xxx} + Dynamic a1 a2 named=3 # [a1, a2], {named: 3} + +Named-only with normal named + Dynamic named=foo positional=bar # [], {positional: bar, named: foo} + +Named-only with free named + Dynamic named=value foo=bar # [], {named: value, foo=bar} + Dynamic named2=2 third=3 named=1 # [], {named: 1, named2: 2, third: 3} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot new file mode 100644 index 0000000..ef10df4 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot @@ -0,0 +1,8 @@ +*** Settings *** +Library SeleniumLibrary +Library SeLibExtensions + +*** Test Cases *** +Example + Open Browser http://example # SeleniumLibrary + Title Should Start With Example # SeLibExtensions diff --git a/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot b/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot new file mode 100644 index 0000000..eba778a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot @@ -0,0 +1,4 @@ +*** Settings *** +Library Remote http://127.0.0.1:8270 WITH NAME Example1 +Library Remote http://example.com:8080/ WITH NAME Example2 +Library Remote http://10.0.0.2/example 1 minute WITH NAME Example3 diff --git a/atest/fixtures/highlighting/samples/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.robot b/atest/fixtures/highlighting/samples/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.robot new file mode 100644 index 0000000..09d240a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + ${OBJECT.name} = Set Variable New name + ${OBJECT.new_attr} = Set Variable New attribute diff --git a/atest/fixtures/highlighting/samples/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.robot b/atest/fixtures/highlighting/samples/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.robot new file mode 100644 index 0000000..5117faa --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Coercion + Double Argument 3.14 + Double Argument 2e16 + Compatible Types Hello, world! 1234 + Compatible Types Hi again! -10 true + +No Coercion + Double Argument ${3.14} + Conflicting Types 1 ${2} # must use variables + Conflicting Types ${1} 2 diff --git a/atest/fixtures/highlighting/samples/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.robot b/atest/fixtures/highlighting/samples/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.robot new file mode 100644 index 0000000..cca0a9d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20.robot @@ -0,0 +1,7 @@ +*** Variables *** +${DATE} 2011-06-27 + +*** Test Cases *** +Example + I type ${1} + ${2} + Today is ${DATE} diff --git a/atest/fixtures/highlighting/samples/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.robot b/atest/fixtures/highlighting/samples/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.robot new file mode 100644 index 0000000..874ec94 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae.robot @@ -0,0 +1,31 @@ +*** Settings *** +Force Tags req-42 +Default Tags owner-john smoke + +*** Variables *** +${HOST} 10.0.1.42 + +*** Test Cases *** +No own tags + [Documentation] This test has tags owner-john, smoke and req-42. + No Operation + +With own tags + [Documentation] This test has tags not_ready, owner-mrx and req-42. + [Tags] owner-mrx not_ready + No Operation + +Own tags with variables + [Documentation] This test has tags host-10.0.1.42 and req-42. + [Tags] host-${HOST} + No Operation + +Empty own tags + [Documentation] This test has only tag req-42. + [Tags] + No Operation + +Set Tags and Remove Tags Keywords + [Documentation] This test has tags mytag and owner-john. + Set Tags mytag + Remove Tags smoke req-* diff --git a/atest/fixtures/highlighting/samples/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.robot b/atest/fixtures/highlighting/samples/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.robot new file mode 100644 index 0000000..d9575ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Returning + ${x} = Get X an argument + Log We got ${x}! diff --git a/atest/fixtures/highlighting/samples/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.robot b/atest/fixtures/highlighting/samples/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.robot new file mode 100644 index 0000000..249599b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Template and for + [Template] Example keyword + FOR ${item} IN @{ITEMS} + ${item} 2nd arg + END + FOR ${index} IN RANGE 42 + 1st arg ${index} + END diff --git a/atest/fixtures/highlighting/samples/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.robot b/atest/fixtures/highlighting/samples/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.robot new file mode 100644 index 0000000..7ff4e6a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Remove Files ${TEMPDIR}/f1.txt ${TEMPDIR}/f2.txt ${TEMPDIR}/f3.txt + @{paths} = Join Paths ${TEMPDIR} f1.txt f2.txt f3.txt f4.txt diff --git a/atest/fixtures/highlighting/samples/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.robot b/atest/fixtures/highlighting/samples/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.robot new file mode 100644 index 0000000..e507416 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Example 1A + Connect example.com 80 # Connect gets two strings as arguments + +Example 1B + Connect example.com ${80} # Connect gets a string and an integer + +Example 2 + Do X ${3.14} ${-1e-4} # Do X gets floating point numbers 3.14 and -0.0001 diff --git a/atest/fixtures/highlighting/samples/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.robot b/atest/fixtures/highlighting/samples/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.robot new file mode 100644 index 0000000..555c70d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Repeat Keyword 5 Some Keyword arg1 arg2 + Repeat Keyword 42 times My Keyword + Repeat Keyword ${var} Another Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot b/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot new file mode 100644 index 0000000..5abb052 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot @@ -0,0 +1,17 @@ +*** Settings *** +Documentation Resource file for demo purposes. +... This resource is only used in an example and it doesn't do anything useful. + +*** Keywords *** +My Keyword + [Documentation] Does nothing + No Operation + +Your Keyword + [Arguments] ${arg} + [Documentation] Takes one argument and *does nothing* with it. + ... + ... Examples: + ... | Your Keyword | xxx | + ... | Your Keyword | yyy | + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.robot b/atest/fixtures/highlighting/samples/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.robot new file mode 100644 index 0000000..f910749 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Normal Error + Fail This is a rather boring example... + +HTML Error + ${number} = Get Number + Should Be Equal ${number} 42 *HTML* Number is not my MAGIC number. diff --git a/atest/fixtures/highlighting/samples/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.robot b/atest/fixtures/highlighting/samples/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.robot new file mode 100644 index 0000000..7f5d106 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + ${list} = Create List first second third + Length Should Be ${list} 3 + Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.robot b/atest/fixtures/highlighting/samples/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.robot new file mode 100644 index 0000000..59d827d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +My Test + Login Via User Panel ${username} ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.robot b/atest/fixtures/highlighting/samples/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.robot new file mode 100644 index 0000000..b295d72 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756.robot @@ -0,0 +1,6 @@ +*** Variables *** +@{NAMES} Matti Teppo +@{NAMES2} @{NAMES} Seppo +@{NOTHING} +@{MANY} one two three four +... five six seven diff --git a/atest/fixtures/highlighting/samples/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.robot b/atest/fixtures/highlighting/samples/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.robot new file mode 100644 index 0000000..8aaf1e5 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246.robot @@ -0,0 +1,29 @@ +*** Settings *** +Test Setup Open Application App A +Test Teardown Close Application + +*** Test Cases *** +Default values + [Documentation] Setup and teardown from setting table + Do Something + +Overridden setup + [Documentation] Own setup, teardown from setting table + [Setup] Open Application App B + Do Something + +No teardown + [Documentation] Default setup, no teardown at all + Do Something + [Teardown] + +No teardown 2 + [Documentation] Setup and teardown can be disabled also with special value NONE + Do Something + [Teardown] NONE + +Using variables + [Documentation] Setup and teardown specified using variables + [Setup] ${SETUP} + Do Something + [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.robot b/atest/fixtures/highlighting/samples/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.robot new file mode 100644 index 0000000..4043bad --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3.robot @@ -0,0 +1,12 @@ +*** Keywords *** +Free Named Only + [Arguments] &{named} + Log Many &{named} + +Positional And Free Named + [Arguments] ${required} &{extra} + Log Many ${required} &{extra} + +Run Program + [Arguments] @{args} &{config} + Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.robot b/atest/fixtures/highlighting/samples/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.robot new file mode 100644 index 0000000..61e1517 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Create File ${TEMPDIR}/empty.txt + Create File ${TEMPDIR}/utf-8.txt Hyvä esimerkki + Create File ${TEMPDIR}/iso-8859-1.txt Hyvä esimerkki ISO-8859-1 diff --git a/atest/fixtures/highlighting/samples/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.robot b/atest/fixtures/highlighting/samples/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.robot new file mode 100644 index 0000000..453d2f1 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + KW 1 ${OBJECT.name} + KW 2 ${OBJECT.eat('Cucumber')} + KW 3 ${DICTIONARY[2]} diff --git a/atest/fixtures/highlighting/samples/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.robot b/atest/fixtures/highlighting/samples/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.robot new file mode 100644 index 0000000..0b83ab2 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442.robot @@ -0,0 +1,12 @@ +*** Keywords *** +Handle Table + [Arguments] @{table} + FOR ${row} IN @{table} + Handle Row @{row} + END + +Handle Row + [Arguments] @{row} + FOR ${cell} IN @{row} + Handle Cell ${cell} + END diff --git a/atest/fixtures/highlighting/samples/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.robot b/atest/fixtures/highlighting/samples/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.robot new file mode 100644 index 0000000..5957045 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9.robot @@ -0,0 +1,22 @@ +*** Keywords *** +One Argument With Default Value + [Arguments] ${arg}=default value + [Documentation] This keyword takes 0-1 arguments + Log Got argument ${arg} + +Two Arguments With Defaults + [Arguments] ${arg1}=default 1 ${arg2}=${VARIABLE} + [Documentation] This keyword takes 0-2 arguments + Log 1st argument ${arg1} + Log 2nd argument ${arg2} + +One Required And One With Default + [Arguments] ${required} ${optional}=default + [Documentation] This keyword takes 1-2 arguments + Log Required: ${required} + Log Optional: ${optional} + + Default Based On Earlier Argument + [Arguments] ${a} ${b}=${a} ${c}=${a} and ${b} + Should Be Equal ${a} ${b} + Should Be Equal ${c} ${a} and ${b} diff --git a/atest/fixtures/highlighting/samples/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.robot b/atest/fixtures/highlighting/samples/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.robot new file mode 100644 index 0000000..65a4098 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4.robot @@ -0,0 +1,20 @@ +*** Keywords *** +One line documentation + [Documentation] One line documentation. + No Operation + +Multiline documentation + [Documentation] The first line creates the short doc. + ... + ... This is the body of the documentation. + ... It is not shown in Libdoc outputs but only + ... the short doc is shown in logs. + No Operation + +Short documentation in multiple lines + [Documentation] If the short doc gets longer, it can span + ... multiple physical lines. + ... + ... The body is separated from the short doc with + ... an empty line. + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot new file mode 100644 index 0000000..8b0f29e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot @@ -0,0 +1,10 @@ +*** Settings *** +Documentation +... First line. +... +... Second paragraph. This time +... with multiple lines. +Metadata Example list +... - first item +... - second item +... - third diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot new file mode 100644 index 0000000..7825b43 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot @@ -0,0 +1,15 @@ +*** Test Cases *** + Example 1 + [Documentation] First line\n Second line in multiple parts + No Operation + + Example 2 + [Documentation] First line + ... Second line in multiple parts + No Operation + + Example 3 + [Documentation] First line\n + ... Second line in\ + ... multiple parts + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot new file mode 100644 index 0000000..c86cc73 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot @@ -0,0 +1,3 @@ +*** Settings *** +Documentation First line.\n\nSecond paragraph. This time\nwith multiple lines. +Metadata Example list - first item\n- second item\n- third diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot new file mode 100644 index 0000000..6d4d053 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot @@ -0,0 +1,6 @@ +*** Settings *** +Documentation +... First paragraph has only one line. +... +... Second paragraph, this time created +... with multiple lines. diff --git a/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot b/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot new file mode 100644 index 0000000..5d046db --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot @@ -0,0 +1,13 @@ +*** Keywords *** +True examples + Should Be Equal ${x} ${y} Custom error values=True # Strings are generally true. + Should Be Equal ${x} ${y} Custom error values=yes # Same as the above. + Should Be Equal ${x} ${y} Custom error values=${TRUE} # Python `True` is true. + Should Be Equal ${x} ${y} Custom error values=${42} # Numbers other than 0 are true. + +False examples + Should Be Equal ${x} ${y} Custom error values=False # String `false` is false. + Should Be Equal ${x} ${y} Custom error values=no # Also string `no` is false. + Should Be Equal ${x} ${y} Custom error values=${EMPTY} # Empty string is false. + Should Be Equal ${x} ${y} Custom error values=${FALSE} # Python `False` is false. + Should Be Equal ${x} ${y} Custom error values=no values # Special false string in this context. diff --git a/atest/fixtures/highlighting/samples/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.robot b/atest/fixtures/highlighting/samples/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.robot new file mode 100644 index 0000000..cd9d8ed --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +Example + Example Keyword 42 False diff --git a/atest/fixtures/highlighting/samples/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.robot b/atest/fixtures/highlighting/samples/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.robot new file mode 100644 index 0000000..0c52017 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library com.company.TestLib WITH NAME TestLib +Library ${LIBRARY} WITH NAME MyName diff --git a/atest/fixtures/highlighting/samples/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.robot b/atest/fixtures/highlighting/samples/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.robot new file mode 100644 index 0000000..c721b74 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + :FOR ${animal} IN cat dog + \ Log ${animal} + \ Log 2nd keyword + Log Outside loop diff --git a/atest/fixtures/highlighting/samples/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.robot b/atest/fixtures/highlighting/samples/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.robot new file mode 100644 index 0000000..4c4241b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc.robot @@ -0,0 +1,24 @@ +*** Test Cases *** +Add two numbers + Given I have Calculator open + When I add 2 and 40 + Then result should be 42 + +Add negative numbers + Given I have Calculator open + When I add 1 and -2 + Then result should be -1 + +*** Keywords *** +I have ${program} open + Start Program ${program} + +I add ${number 1} and ${number 2} + Input Number ${number 1} + Push Button + + Input Number ${number 2} + Push Button = + +Result should be ${expected} + ${result} = Get Result + Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.robot b/atest/fixtures/highlighting/samples/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.robot new file mode 100644 index 0000000..81e8ae8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae.robot @@ -0,0 +1,9 @@ +*** Keywords *** +Open Login Page + Open Browser http://host/login.html + Title Should Be Login Page + +Title Should Start With + [Arguments] ${expected} + ${title} = Get Title + Should Start With ${title} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.robot b/atest/fixtures/highlighting/samples/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.robot new file mode 100644 index 0000000..ecfb9b0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + FOR ${element} IN @{ELEMENTS} + Start Element ${element} + END diff --git a/atest/fixtures/highlighting/samples/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.robot b/atest/fixtures/highlighting/samples/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.robot new file mode 100644 index 0000000..8b0f29e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154.robot @@ -0,0 +1,10 @@ +*** Settings *** +Documentation +... First line. +... +... Second paragraph. This time +... with multiple lines. +Metadata Example list +... - first item +... - second item +... - third diff --git a/atest/fixtures/highlighting/samples/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.robot b/atest/fixtures/highlighting/samples/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.robot new file mode 100644 index 0000000..d7ad7d3 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Default + [Arguments] @{} ${named}=default + Log Many ${named} + +With And Without Defaults + [Arguments] @{} ${optional}=default ${mandatory} ${mandatory 2} ${optional 2}=default 2 ${mandatory 3} + Log Many ${optional} ${mandatory} ${mandatory 2} ${optional 2} ${mandatory 3} diff --git a/atest/fixtures/highlighting/samples/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.robot b/atest/fixtures/highlighting/samples/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.robot new file mode 100644 index 0000000..14603ae --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5.robot @@ -0,0 +1,5 @@ +*** Variables *** +${STRING} Hello, world! +${INTEGER} ${42} +@{LIST} one two +&{DICT} one=yksi two=kaksi diff --git a/atest/fixtures/highlighting/samples/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.robot b/atest/fixtures/highlighting/samples/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.robot new file mode 100644 index 0000000..898b3f6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Example + With Varargs named=value + With Varargs positional second positional named=foobar + Without Varargs first=1 second=2 + Without Varargs second=toka first=eka + With Positional foo named=bar + With Positional named=2 positional=1 + With Free Named positional named only=value x=1 y=2 + With Free Named foo=a bar=b named only=c quux=d diff --git a/atest/fixtures/highlighting/samples/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.robot b/atest/fixtures/highlighting/samples/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.robot new file mode 100644 index 0000000..fecdc55 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41.robot @@ -0,0 +1,14 @@ +*** Test Cases *** +Different argument names + [Template] The result of ${foo} should be ${bar} + 1 + 1 2 + 1 + 2 3 + +Only some arguments + [Template] The result of ${calculation} should be 3 + 1 + 2 + 4 - 1 + +New arguments + [Template] The ${meaning} of ${life} should be 42 + result 21 * 2 diff --git a/atest/fixtures/highlighting/samples/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.robot b/atest/fixtures/highlighting/samples/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.robot new file mode 100644 index 0000000..5ffaa58 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652.robot @@ -0,0 +1,7 @@ +*** Test Cases *** +Using backslash + Do Something first arg \ +Using ${EMPTY} + Do Something first arg ${EMPTY} +Non-trailing empty + Do Something ${EMPTY} second arg # Escaping needed in space separated format diff --git a/atest/fixtures/highlighting/samples/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.robot b/atest/fixtures/highlighting/samples/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.robot new file mode 100644 index 0000000..b50bfe8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Continue Example + ${text} = Set Variable ${EMPTY} + FOR ${var} IN one two three + Continue For Loop If '${var}' == 'two' + ${text} = Set Variable ${text}${var} + END + Should Be Equal ${text} onethree diff --git a/atest/fixtures/highlighting/samples/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.robot b/atest/fixtures/highlighting/samples/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.robot new file mode 100644 index 0000000..b8702a6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264.robot @@ -0,0 +1,15 @@ +*** Test Cases *** # args, kwargs +Named-only only + Dynamic named=value # [], {named: value} + Dynamic named=value named2=2 # [], {named: value, named2: 2} + +Named-only with positional and varargs + Dynamic argument named=xxx # [argument], {named: xxx} + Dynamic a1 a2 named=3 # [a1, a2], {named: 3} + +Named-only with normal named + Dynamic named=foo positional=bar # [], {positional: bar, named: foo} + +Named-only with free named + Dynamic named=value foo=bar # [], {named: value, foo=bar} + Dynamic named2=2 third=3 named=1 # [], {named: 1, named2: 2, third: 3} diff --git a/atest/fixtures/highlighting/samples/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.robot b/atest/fixtures/highlighting/samples/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.robot new file mode 100644 index 0000000..6c6badc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +String + ${string} = Set Variable abc + Log ${string.upper()} # Logs 'ABC' + Log ${string * 2} # Logs 'abcabc' + +Number + ${number} = Set Variable ${-2} + Log ${number * 10} # Logs -20 + Log ${number.__abs__()} # Logs 2 diff --git a/atest/fixtures/highlighting/samples/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.robot b/atest/fixtures/highlighting/samples/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.robot new file mode 100644 index 0000000..876686b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569.robot @@ -0,0 +1,20 @@ +*** Settings *** +Documentation Example using the space separated plain text format. +Library OperatingSystem + +*** Variables *** +${MESSAGE} Hello, world! + +*** Test Cases *** +My Test + [Documentation] Example test + Log ${MESSAGE} + My Keyword /tmp + +Another Test + Should Be Equal ${MESSAGE} Hello, world! + +*** Keywords *** +My Keyword + [Arguments] ${path} + Directory Should Exist ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.robot b/atest/fixtures/highlighting/samples/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.robot new file mode 100644 index 0000000..143f2fe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Keyword &{DICT} named=arg + Keyword positional @{LIST} &{DICT} + Keyword &{DICT} &{ANOTHER} &{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.robot b/atest/fixtures/highlighting/samples/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.robot new file mode 100644 index 0000000..1537c6d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd.robot @@ -0,0 +1,10 @@ +*** Keywords *** +One Argument + [Arguments] ${arg_name} + Log Got argument ${arg_name} + +Three Arguments + [Arguments] ${arg1} ${arg2} ${arg3} + Log 1st argument: ${arg1} + Log 2nd argument: ${arg2} + Log 3rd argument: ${arg3} diff --git a/atest/fixtures/highlighting/samples/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.robot b/atest/fixtures/highlighting/samples/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.robot new file mode 100644 index 0000000..36456dd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3.robot @@ -0,0 +1,13 @@ +*** Settings *** +Library Telnet prompt=$ default_log_level=DEBUG + +*** Test Cases *** +Example + Open connection 10.0.0.42 port=${PORT} alias=example + List files options=-lh + List files path=/tmp options=-l + +*** Keywords *** +List files + [Arguments] ${path}=. ${options}= + Execute command ls ${options} ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.robot b/atest/fixtures/highlighting/samples/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.robot new file mode 100644 index 0000000..eb58b66 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Exit Example + ${text} = Set Variable ${EMPTY} + FOR ${var} IN one two + Run Keyword If '${var}' == 'two' Exit For Loop + ${text} = Set Variable ${text}${var} + END + Should Be Equal ${text} one diff --git a/atest/fixtures/highlighting/samples/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.robot b/atest/fixtures/highlighting/samples/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.robot new file mode 100644 index 0000000..7ab2ac1 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +System properties + Log %{user.name} running tests on %{os.name} diff --git a/atest/fixtures/highlighting/samples/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.robot b/atest/fixtures/highlighting/samples/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.robot new file mode 100644 index 0000000..ef7d991 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba.robot @@ -0,0 +1,3 @@ +| *** Test Cases *** | | | | +| Escaping Pipe | ${file count} = | Execute Command | ls -1 *.txt \| wc -l | +| | Should Be Equal | ${file count} | 42 | diff --git a/atest/fixtures/highlighting/samples/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.robot b/atest/fixtures/highlighting/samples/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.robot new file mode 100644 index 0000000..1b36ec7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Three loop variables + FOR ${index} ${english} ${finnish} IN + ... 1 cat kissa + ... 2 dog koira + ... 3 horse hevonen + Add to dictionary ${english} ${finnish} ${index} + END + FOR ${name} ${id} IN @{EMPLOYERS} + Create ${name} ${id} + END diff --git a/atest/fixtures/highlighting/samples/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.robot b/atest/fixtures/highlighting/samples/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.robot new file mode 100644 index 0000000..801eafd --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Example + I execute "ls" + I execute "ls" with "-lh" + +*** Keywords *** +I execute "${cmd}" + Run Process ${cmd} shell=True + +I execute "${cmd}" with "${opts}" + Run Process ${cmd} ${opts} shell=True diff --git a/atest/fixtures/highlighting/samples/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.robot b/atest/fixtures/highlighting/samples/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.robot new file mode 100644 index 0000000..42fd43f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Objects + KW 1 ${STR} + KW 2 ${OBJ} + KW 3 I said "${STR}" + KW 4 You said "${OBJ}" diff --git a/atest/fixtures/highlighting/samples/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.robot b/atest/fixtures/highlighting/samples/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.robot new file mode 100644 index 0000000..eba778a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2.robot @@ -0,0 +1,4 @@ +*** Settings *** +Library Remote http://127.0.0.1:8270 WITH NAME Example1 +Library Remote http://example.com:8080/ WITH NAME Example2 +Library Remote http://10.0.0.2/example 1 minute WITH NAME Example3 diff --git a/atest/fixtures/highlighting/samples/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.robot b/atest/fixtures/highlighting/samples/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.robot new file mode 100644 index 0000000..4488354 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a.robot @@ -0,0 +1,7 @@ +*** Settings *** +Library MyLibrary + +*** Test Cases *** +My Test + Do Nothing + Hello world diff --git a/atest/fixtures/highlighting/samples/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.robot b/atest/fixtures/highlighting/samples/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.robot new file mode 100644 index 0000000..4557165 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Template + [Template] Some keyword + @{EMPTY} + +Override + Set Global Variable @{LIST} @{EMPTY} + Set Suite Variable &{DICT} &{EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.robot b/atest/fixtures/highlighting/samples/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.robot new file mode 100644 index 0000000..887dc52 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Environment variables + Log Current user: %{USER} + Run %{JAVA_HOME}${/}javac diff --git a/atest/fixtures/highlighting/samples/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.robot b/atest/fixtures/highlighting/samples/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.robot new file mode 100644 index 0000000..5d046db --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126.robot @@ -0,0 +1,13 @@ +*** Keywords *** +True examples + Should Be Equal ${x} ${y} Custom error values=True # Strings are generally true. + Should Be Equal ${x} ${y} Custom error values=yes # Same as the above. + Should Be Equal ${x} ${y} Custom error values=${TRUE} # Python `True` is true. + Should Be Equal ${x} ${y} Custom error values=${42} # Numbers other than 0 are true. + +False examples + Should Be Equal ${x} ${y} Custom error values=False # String `false` is false. + Should Be Equal ${x} ${y} Custom error values=no # Also string `no` is false. + Should Be Equal ${x} ${y} Custom error values=${EMPTY} # Empty string is false. + Should Be Equal ${x} ${y} Custom error values=${FALSE} # Python `False` is false. + Should Be Equal ${x} ${y} Custom error values=no values # Special false string in this context. diff --git a/atest/fixtures/highlighting/samples/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.robot b/atest/fixtures/highlighting/samples/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.robot new file mode 100644 index 0000000..790d583 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Constants + Login robot secret + +List Variable + Login @{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.robot b/atest/fixtures/highlighting/samples/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.robot new file mode 100644 index 0000000..4130213 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +List variable item + Login ${USER}[0] ${USER}[1] + Title Should Be Welcome ${USER}[0]! + +Negative index + Log ${LIST}[-1] + +Index defined as variable + Log ${LIST}[${INDEX}] diff --git a/atest/fixtures/highlighting/samples/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.robot b/atest/fixtures/highlighting/samples/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.robot new file mode 100644 index 0000000..795fa49 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Create Directory ${TEMPDIR}/stuff + Copy File ${CURDIR}/file.txt ${TEMPDIR}/stuff + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.robot b/atest/fixtures/highlighting/samples/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.robot new file mode 100644 index 0000000..ade66ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Create Binary File ${CURDIR}${/}input.data Some text here${\n}on two lines + Set Environment Variable CLASSPATH ${TEMPDIR}${:}${CURDIR}${/}foo.jar diff --git a/atest/fixtures/highlighting/samples/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.robot b/atest/fixtures/highlighting/samples/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.robot new file mode 100644 index 0000000..feba0e0 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Valid Login + Given login page is open + When valid username and password are inserted + and credentials are submitted + Then welcome page should be open diff --git a/atest/fixtures/highlighting/samples/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.robot b/atest/fixtures/highlighting/samples/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.robot new file mode 100644 index 0000000..c314033 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae.robot @@ -0,0 +1,19 @@ +*** Test Cases *** # args, kwargs +No arguments + Dynamic # [], {} + +Positional only + Dynamic x # [x], {} + Dynamic x y # [x, y], {} + +Free named only + Dynamic x=1 # [], {x: 1} + Dynamic x=1 y=2 z=3 # [], {x: 1, y: 2, z: 3} + +Free named with positional + Dynamic x y=2 # [x], {y: 2} + Dynamic x y=2 z=3 # [x], {y: 2, z: 3} + +Free named with normal named + Dynamic a=1 x=1 # [], {a: 1, x: 1} + Dynamic b=2 x=1 a=1 # [], {a: 1, b: 2, x: 1} diff --git a/atest/fixtures/highlighting/samples/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.robot b/atest/fixtures/highlighting/samples/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.robot new file mode 100644 index 0000000..4dc16a2 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244.robot @@ -0,0 +1,3 @@ +*** Settings *** +Documentation An example test suite documentation with *some* _formatting_. +... See test documentation for more documentation examples. diff --git a/atest/fixtures/highlighting/samples/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.robot b/atest/fixtures/highlighting/samples/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.robot new file mode 100644 index 0000000..d5c3f0c --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21.robot @@ -0,0 +1,15 @@ +*** Variables *** +@{NUMBERS} ${1} ${2} ${5} +@{NAMES} one two five + +*** Test Cases *** +Iterate over two lists manually + ${length}= Get Length ${NUMBERS} + FOR ${idx} IN RANGE ${length} + Number Should Be Named ${NUMBERS}[${idx}] ${NAMES}[${idx}] + END + +For-in-zip + FOR ${number} ${name} IN ZIP ${NUMBERS} ${NAMES} + Number Should Be Named ${number} ${name} + END diff --git a/atest/fixtures/highlighting/samples/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.robot b/atest/fixtures/highlighting/samples/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.robot new file mode 100644 index 0000000..769d61a --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2.robot @@ -0,0 +1,21 @@ +*** Test Cases *** +Simple + [Documentation] Simple documentation + No Operation + +Formatting + [Documentation] *This is bold*, _this is italic_ and here is a link: http://robotframework.org + No Operation + +Variables + [Documentation] Executed at ${HOST} by ${USER} + No Operation + +Splitting + [Documentation] This documentation is split into multiple columns + No Operation + +Many lines + [Documentation] Here we have + ... an automatic newline + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.robot b/atest/fixtures/highlighting/samples/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.robot new file mode 100644 index 0000000..d9f2483 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Varargs + Any Arguments + Any Arguments argument + Any Arguments arg 1 arg 2 arg 3 arg 4 arg 5 + One Required required arg + One Required required arg another arg yet another + Also Defaults required + Also Defaults required these two have defaults + Also Defaults 1 2 3 4 5 6 diff --git a/atest/fixtures/highlighting/samples/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.robot b/atest/fixtures/highlighting/samples/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.robot new file mode 100644 index 0000000..41b14f7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Free Named Arguments + Run Process program.py arg1 arg2 cwd=/home/user + Run Process program.py argument shell=True env=${ENVIRON} diff --git a/atest/fixtures/highlighting/samples/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.robot b/atest/fixtures/highlighting/samples/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.robot new file mode 100644 index 0000000..f1a8b5f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79.robot @@ -0,0 +1,4 @@ +*** Variables *** +${EXAMPLE} This value is joined together with a space +${MULTILINE} SEPARATOR=\n First line +... Second line Third line diff --git a/atest/fixtures/highlighting/samples/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.robot b/atest/fixtures/highlighting/samples/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.robot new file mode 100644 index 0000000..95b9f4b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Boolean + Set Status ${true} # Set Status gets Boolean true as an argument + Create Y something ${false} # Create Y gets a string and Boolean false + +None + Do XYZ ${None} # Do XYZ gets Python None as an argument + +Null + ${ret} = Get Value arg # Checking that Get Value returns Java null + Should Be Equal ${ret} ${null} diff --git a/atest/fixtures/highlighting/samples/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.robot b/atest/fixtures/highlighting/samples/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.robot new file mode 100644 index 0000000..91f1bf4 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b.robot @@ -0,0 +1,4 @@ +*** Test Cases *** +Example + Sort Words Foo bar baZ + Sort Words Foo bar baZ case_sensitive=True diff --git a/atest/fixtures/highlighting/samples/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.robot b/atest/fixtures/highlighting/samples/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.robot new file mode 100644 index 0000000..68e0fa9 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932.robot @@ -0,0 +1,9 @@ +*** Keywords *** +With Teardown + Do Something + [Teardown] Log keyword teardown + +Using variables + [Documentation] Teardown given as variable + Do Something + [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.robot b/atest/fixtures/highlighting/samples/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.robot new file mode 100644 index 0000000..a0d0dfe --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af.robot @@ -0,0 +1,12 @@ +*** Test Cases *** +Valid Login + Open Login Page + Input Username demo + Input Password mode + Submit Credentials + Welcome Page Should Be Open + +Setting Variables + Do Something first argument second argument + ${value} = Get Some Value + Should Be Equal ${value} Expected value diff --git a/atest/fixtures/highlighting/samples/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.robot b/atest/fixtures/highlighting/samples/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.robot new file mode 100644 index 0000000..043e9df --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307.robot @@ -0,0 +1,9 @@ +*** Test Cases *** +Invalid Password + [Template] Login with invalid credentials should fail + invalid ${VALID PASSWORD} + ${VALID USER} invalid + invalid whatever + ${EMPTY} ${VALID PASSWORD} + ${VALID USER} ${EMPTY} + ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.robot b/atest/fixtures/highlighting/samples/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.robot new file mode 100644 index 0000000..6f396f8 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1.robot @@ -0,0 +1,10 @@ +*** Settings *** +Test Template Login with invalid credentials should fail + +*** Test Cases *** USERNAME PASSWORD +Invalid User Name invalid ${VALID PASSWORD} +Invalid Password ${VALID USER} invalid +Invalid User Name and Password invalid invalid +Empty User Name ${EMPTY} ${VALID PASSWORD} +Empty Password ${VALID USER} ${EMPTY} +Empty User Name and Password ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.robot b/atest/fixtures/highlighting/samples/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.robot new file mode 100644 index 0000000..1ad414e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Keyword @{LIST} more args + Keyword ${SCALAR} @{LIST} constant + Keyword @{LIST} @{ANOTHER} @{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.robot b/atest/fixtures/highlighting/samples/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.robot new file mode 100644 index 0000000..2552109 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b.robot @@ -0,0 +1,16 @@ +| *** Settings *** | +| Documentation | Example using the pipe separated plain text format. +| Library | OperatingSystem + +| *** Variables *** | +| ${MESSAGE} | Hello, world! + +| *** Test Cases *** | | | +| My Test | [Documentation] | Example test | +| | Log | ${MESSAGE} | +| | My Keyword | /tmp | +| Another Test | Should Be Equal | ${MESSAGE} | Hello, world! + +| *** Keywords *** | | | +| My Keyword | [Arguments] | ${path} | +| | Directory Should Exist | ${path} | diff --git a/atest/fixtures/highlighting/samples/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.robot b/atest/fixtures/highlighting/samples/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.robot new file mode 100644 index 0000000..06a7171 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +Example + Two Arguments With Defaults arg2=new value diff --git a/atest/fixtures/highlighting/samples/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.robot b/atest/fixtures/highlighting/samples/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.robot new file mode 100644 index 0000000..66d6dce --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7.robot @@ -0,0 +1,8 @@ +*** Keywords *** +With Varargs + [Arguments] @{varargs} ${named} + Log Many @{varargs} ${named} + +Without Varargs + [Arguments] @{} ${first} ${second} + Log Many ${first} ${second} diff --git a/atest/fixtures/highlighting/samples/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.robot b/atest/fixtures/highlighting/samples/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.robot new file mode 100644 index 0000000..8933b8e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad.robot @@ -0,0 +1,4 @@ +*** Variables *** +${NAME} Robot Framework +${VERSION} 2.0 +${ROBOT} ${NAME} ${VERSION} diff --git a/atest/fixtures/highlighting/samples/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.robot b/atest/fixtures/highlighting/samples/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.robot new file mode 100644 index 0000000..728c39f --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272.robot @@ -0,0 +1,13 @@ +*** Test Cases *** +Example + FOR ${animal} IN cat dog + Log ${animal} + Log 2nd keyword + END + Log Outside loop + +Second Example + FOR ${var} IN one two ${3} four ${five} + ... kuusi 7 eight nine ${last} + Log ${var} + END diff --git a/atest/fixtures/highlighting/samples/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.robot b/atest/fixtures/highlighting/samples/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.robot new file mode 100644 index 0000000..e221233 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1.robot @@ -0,0 +1,10 @@ +*** Test Cases *** +Varargs with user keywords + Any Number Of Arguments + Any Number Of Arguments arg + Any Number Of Arguments arg1 arg2 arg3 arg4 + One Or More Arguments required + One Or More Arguments arg1 arg2 arg3 arg4 + Required, Default, Varargs required + Required, Default, Varargs required optional + Required, Default, Varargs arg1 arg2 arg3 arg4 arg5 diff --git a/atest/fixtures/highlighting/samples/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.robot b/atest/fixtures/highlighting/samples/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.robot new file mode 100644 index 0000000..f59ef2d --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777.robot @@ -0,0 +1,9 @@ +*** Variables *** +${VARIABLE} An example string +${ANOTHER VARIABLE} This is pretty easy! +${INTEGER} ${42} +@{STRINGS} one two kolme four +@{NUMBERS} ${1} ${INTEGER} ${3.14} +&{MAPPING} one=${1} two=${2} three=${3} +@{ANIMALS} cat dog +&{FINNISH} cat=kissa dog=koira diff --git a/atest/fixtures/highlighting/samples/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.robot b/atest/fixtures/highlighting/samples/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.robot new file mode 100644 index 0000000..600a455 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa.robot @@ -0,0 +1,18 @@ +*** Test Cases *** +One space + Should Be Equal ${SPACE} \ \ + +Four spaces + Should Be Equal ${SPACE * 4} \ \ \ \ \ + +Ten spaces + Should Be Equal ${SPACE * 10} \ \ \ \ \ \ \ \ \ \ \ + +Quoted space + Should Be Equal "${SPACE}" " " + +Quoted spaces + Should Be Equal "${SPACE * 2}" " \ " + +Empty + Should Be Equal ${EMPTY} \ diff --git a/atest/fixtures/highlighting/samples/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.robot b/atest/fixtures/highlighting/samples/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.robot new file mode 100644 index 0000000..6d921a7 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47.robot @@ -0,0 +1,19 @@ +*** Settings *** +Documentation This is documentation for this test suite. +... This kind of documentation can often be get quite long... +Default Tags default tag 1 default tag 2 default tag 3 +... default tag 4 default tag 5 + +*** Variable *** +@{LIST} this list is quite long and +... items in it could also be long + +*** Test Cases *** +Example + [Tags] you probably do not have this many + ... tags in real life + Do X first argument second argument third argument + ... fourth argument fifth argument sixth argument + ${var} = Get X + ... first argument passed to this keyword is pretty long + ... second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.robot b/atest/fixtures/highlighting/samples/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.robot new file mode 100644 index 0000000..7cc82ab --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110.robot @@ -0,0 +1,5 @@ +*** Settings *** +Variables myvariables.py +Variables ../data/variables.py +Variables ${RESOURCES}/common.py +Variables taking_arguments.py arg1 ${ARG2} diff --git a/atest/fixtures/highlighting/samples/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.robot b/atest/fixtures/highlighting/samples/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.robot new file mode 100644 index 0000000..6fe06af --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2.robot @@ -0,0 +1,8 @@ +*** Settings *** +Test Template Example keyword + +*** Test Cases *** +Templated test case + first round 1 first round 2 + second round 1 second round 2 + third round 1 third round 2 diff --git a/atest/fixtures/highlighting/samples/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.robot b/atest/fixtures/highlighting/samples/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.robot new file mode 100644 index 0000000..b642d00 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5.robot @@ -0,0 +1,8 @@ +*** Test Cases *** +Example + Run Program shell=True # This will not come as a named argument to Run Process + +*** Keywords *** +Run Program + [Arguments] @{args} + Run Process program.py @{args} # Named arguments are not recognized from inside @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.robot b/atest/fixtures/highlighting/samples/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.robot new file mode 100644 index 0000000..dc4e750 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5.robot @@ -0,0 +1,5 @@ +*** Test Cases *** +Example + Do Something + Import Library MyLibrary arg1 arg2 + KW From MyLibrary diff --git a/atest/fixtures/highlighting/samples/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.robot b/atest/fixtures/highlighting/samples/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.robot new file mode 100644 index 0000000..0ad50da --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35.robot @@ -0,0 +1,28 @@ +*** Test Cases *** +One Return Value + ${ret} = Return One Value argument + Some Keyword ${ret} + +Advanced + @{list} = Create List foo baz + ${index} = Find Index baz @{list} + Should Be Equal ${index} ${1} + ${index} = Find Index non existing @{list} + Should Be Equal ${index} ${-1} + +*** Keywords *** +Return One Value + [Arguments] ${arg} + Do Something ${arg} + ${value} = Get Some Value + Return From Keyword ${value} + Fail This is not executed + +Find Index + [Arguments] ${element} @{items} + ${index} = Set Variable ${0} + FOR ${item} IN @{items} + Return From Keyword If '${item}' == '${element}' ${index} + ${index} = Set Variable ${index + 1} + END + Return From Keyword ${-1} # Could also use [Return] diff --git a/atest/fixtures/highlighting/samples/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.robot b/atest/fixtures/highlighting/samples/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.robot new file mode 100644 index 0000000..fc430cc --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021.robot @@ -0,0 +1,18 @@ +*** Keywords *** +Timed Keyword + [Documentation] Set only the timeout value and not the custom message. + [Timeout] 1 minute 42 seconds + Do Something + Do Something Else + +Wrapper With Timeout + [Arguments] @{args} + [Documentation] This keyword is a wrapper that adds a timeout to another keyword. + [Timeout] 2 minutes Original Keyword didn't finish in 2 minutes + Original Keyword @{args} + +Wrapper With Customizable Timeout + [Arguments] ${timeout} @{args} + [Documentation] Same as the above but timeout given as an argument. + [Timeout] ${timeout} + Original Keyword @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.robot b/atest/fixtures/highlighting/samples/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.robot new file mode 100644 index 0000000..b6c9615 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466.robot @@ -0,0 +1,8 @@ +*** Settings *** +Library ExampleLibrary @{LIB ARGS} # This works +Library ${LIBRARY} @{LIB ARGS} # This works +Library @{LIBRARY AND ARGS} # This does not work +Suite Setup Some Keyword @{KW ARGS} # This works +Suite Setup ${KEYWORD} @{KW ARGS} # This works +Suite Setup @{KEYWORD AND ARGS} # This does not work +Default Tags @{TAGS} # This works diff --git a/atest/fixtures/highlighting/samples/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.robot b/atest/fixtures/highlighting/samples/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.robot new file mode 100644 index 0000000..af0a20b --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181.robot @@ -0,0 +1,6 @@ +*** Test Cases *** +Example + &{dict} = Create Dictionary first=1 second=${2} ${3}=third + Length Should Be ${dict} 3 + Do Something &{dict} + Log ${dict.first} diff --git a/atest/fixtures/highlighting/samples/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.robot b/atest/fixtures/highlighting/samples/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.robot new file mode 100644 index 0000000..9ebb321 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90.robot @@ -0,0 +1,3 @@ +*** Variables *** +${NAME} = Robot Framework +${VERSION} = 2.0 diff --git a/atest/fixtures/highlighting/samples/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.robot b/atest/fixtures/highlighting/samples/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.robot new file mode 100644 index 0000000..41f7f28 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d.robot @@ -0,0 +1,3 @@ +*** Settings *** +Library MyLibrary 10.0.0.1 8080 +Library AnotherLib ${VAR} diff --git a/atest/fixtures/highlighting/samples/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.robot b/atest/fixtures/highlighting/samples/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.robot new file mode 100644 index 0000000..e92215e --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907.robot @@ -0,0 +1,9 @@ +*** Keywords *** +Settings tags using separate setting + [Tags] my fine tags + No Operation + +Settings tags using documentation + [Documentation] I have documentation. And my documentation has tags. + ... Tags: my, fine, tags + No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.robot b/atest/fixtures/highlighting/samples/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.robot new file mode 100644 index 0000000..ef10df4 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48.robot @@ -0,0 +1,8 @@ +*** Settings *** +Library SeleniumLibrary +Library SeLibExtensions + +*** Test Cases *** +Example + Open Browser http://example # SeleniumLibrary + Title Should Start With Example # SeLibExtensions diff --git a/atest/fixtures/highlighting/samples/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.robot b/atest/fixtures/highlighting/samples/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.robot new file mode 100644 index 0000000..c0964f6 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704.robot @@ -0,0 +1,4 @@ +*** Settings *** +Metadata Version 2.0 +Metadata More Info For more information about *Robot Framework* see http://robotframework.org +Metadata Executed At ${HOST} diff --git a/atest/fixtures/highlighting/samples/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.robot b/atest/fixtures/highlighting/samples/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.robot new file mode 100644 index 0000000..fd62865 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +My Test + Add 7 copies of coffee to cart diff --git a/atest/fixtures/highlighting/samples/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.robot b/atest/fixtures/highlighting/samples/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.robot new file mode 100644 index 0000000..9c5ee99 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4.robot @@ -0,0 +1,9 @@ +*** Settings *** +Library SomeLibrary localhost 1234 WITH NAME LocalLib +Library SomeLibrary server.domain 8080 WITH NAME RemoteLib + +*** Test Cases *** +My Test + LocalLib.Some Keyword some arg second arg + RemoteLib.Some Keyword another arg whatever + LocalLib.Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.robot b/atest/fixtures/highlighting/samples/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.robot new file mode 100644 index 0000000..1631a06 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486.robot @@ -0,0 +1,11 @@ +*** Test Cases *** +Returning multiple values + ${var1} ${var2} = Return Two Values + Should Be Equal ${var1} first value + Should Be Equal ${var2} second value + @{list} = Return Two Values + Should Be Equal @{list}[0] first value + Should Be Equal @{list}[1] second value + ${s1} ${s2} @{li} = Return Multiple Values + Should Be Equal ${s1} ${s2} a list + Should Be Equal @{li}[0] @{li}[1] of strings diff --git a/atest/fixtures/highlighting/samples/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.robot b/atest/fixtures/highlighting/samples/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.robot new file mode 100644 index 0000000..b749f93 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b.robot @@ -0,0 +1,4 @@ +*** Settings *** +Resource example.resource +Resource ../data/resources.robot +Resource ${RESOURCES}/common.resource diff --git a/scripts/rfug.py b/scripts/rfug.py index bc4bfe4..0f33ff7 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -4,6 +4,7 @@ import re import sys import subprocess +from hashlib import sha256 from lxml import html @@ -26,41 +27,27 @@ def is_robot_src(el): ) -def build_tree(): +def build_hashes(): ug = html.parse(str(UG_DOC)) - els = [el for el in ug.xpath("//*[@class='highlight']") if is_robot_src(el)] + return { + sha256(el.text_content().encode("utf-8")).hexdigest(): el.text_content() + for el in + [el for el in ug.xpath("//*[@class='highlight']") if is_robot_src(el)] + } - tree = {} - for el in els: - pel = el.xpath("preceding::*[self::p]")[-1] - h3 = el.xpath("preceding::*[self::h3]")[-1] - slug = re.sub( - r"[^a-z0-9]", "_", "_".join(pel.text_content().lower().split(" ")[0:6]) - ) - tree.setdefault(h3.text_content().split("\xa0")[0], {}).setdefault( - slug, [] - ).append(el.text_content()) - - return tree - - -def write_fixtures(tree): +def write_fixtures(hashes): robot_lines = [] - for section, slugs in tree.items(): - section_dir = FIXTURES / "highlighting" / "samples" / "rfug" / section - section_dir.mkdir(exist_ok=True, parents=True) - for slug, contents in slugs.items(): - for i, content in enumerate(contents): - out_file = section_dir / f"{slug}__{i}.robot" - out_file.write_text(content) - robot_lines += [ - str(out_file.relative_to(section_dir.parent.parent)) - .replace(".robot", "") - .replace("/", "${/}") - ] + for sha, txt in sorted(hashes.items()): + out_file = FIXTURES / "highlighting" / "samples" / "rfug" / f"{sha}.robot" + out_file.write_text(txt) + robot_lines += [ + str(out_file.relative_to(out_file.parent.parent)) + .replace(".robot", "") + .replace("/", "${/}") + ] return robot_lines @@ -70,8 +57,8 @@ def rfug_fixtures(): subprocess.check_call(["git", "submodule", "update", "--init"], cwd=str(ROOT)) subprocess.check_call(["python", "ug2html.py", "create"], cwd=str(UG)) - tree = build_tree() - lines = write_fixtures(tree) + hashes = build_hashes() + lines = write_fixtures(hashes) print("\n".join(lines)) return 0 From 7f7cbba17e8cf16d9859432ac58ee854cf74f5b5 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:49:46 -0500 Subject: [PATCH 54/74] remove named directories --- ...in_the_space_separated_format_two__0.robot | 20 ----------- .../one_file_can_contain_both_space__0.robot | 16 --------- .../2.1.3/there_is_no_need_to_escape__0.robot | 3 -- ...all_the_syntax_discussed_above_is__0.robot | 12 ------- ...all_the_syntax_discussed_above_is__1.robot | 19 ---------- ...empty_cells_can_be_escaped_either__0.robot | 7 ---- .../example_test_case_with_settings___0.robot | 5 --- ...econd_column_normally_has_keyword__0.robot | 12 ------- .../2.2.2/as_an_example_of_using_the__0.robot | 9 ----- .../as_the_first_example_of_using__0.robot | 4 --- ..._the_second_example__let_s_create__0.robot | 9 ----- ...or_example__remove_files_and_join__0.robot | 4 --- ...ng_example_demonstrates_using_the__0.robot | 13 ------- ...amed_argument_syntax_requires_the__0.robot | 8 ----- ...e_test_below_uses_keywords_create__0.robot | 5 --- ..._default_values_is_illustrated_by__0.robot | 5 --- ...default_error_messages_are_normal__0.robot | 7 ---- ...umentation_is_split_into_multiple__0.robot | 21 ----------- .../tags_are_free_text__but_they__0.robot | 31 ---------------- .../the_easiest_way_to_specify_a__0.robot | 29 --------------- ...yword_accepting_normal_positional__0.robot | 7 ---- .../if_a_templated_test_case_has__0.robot | 8 ----- .../if_templates_are_used_with_for__0.robot | 9 ----- ...pport_a_variation_of_the_embedded__0.robot | 14 -------- ..._embedded_arguments_are_used_with__0.robot | 14 -------- ...another_style_to_write_test_cases__0.robot | 10 ------ ...to_write_these_requirements_tests__0.robot | 6 ---- ...he_above_example_has_six_separate__0.robot | 9 ----- .../tasks_are_created_based_on_the__0.robot | 6 ---- ...in_usage_for_initialization_files__0.robot | 14 -------- ...he_documentation_for_a_test_suite__0.robot | 3 -- .../2.4.4/the_name_and_value_for_the__0.robot | 4 --- ...nother_possibility_to_take_a_test__0.robot | 5 --- .../in_those_cases_where_the_library__0.robot | 5 --- .../2.5.2/if_the_library_is_a_file___0.robot | 5 --- ...ible_arguments_to_the_library_are__0.robot | 9 ----- ...e_basic_syntax_for_specifying_the__0.robot | 3 -- ...ed_list_and_dictionary_structures__0.robot | 4 --- ...ssed_above__a_variable_containing__0.robot | 6 ---- ...ariables_cannot_generally_be_used__0.robot | 3 -- ...nt_variables_set_in_the_operating__0.robot | 4 --- .../rfug/2.6.2/if_a_key_is_a_string___0.robot | 11 ------ .../2.6.2/it_is_possible_to_access_a__0.robot | 10 ------ .../it_is_possible_to_use_dictionary__0.robot | 5 --- .../2.6.2/it_is_possible_to_use_list__0.robot | 5 --- ...ist_item_access_supports_also_the__0.robot | 13 ------- .../list_variables_can_be_used_only__0.robot | 8 ----- ...ample_below_illustrates_the_usage__0.robot | 8 ----- .../2.6.2/when_a_variable_is_used_as__0.robot | 6 ---- ...hen_running_tests_with_jython__it__0.robot | 3 -- .../with_these_two_variables_set__we__0.robot | 6 ---- .../any_value_returned_by_a_keyword__0.robot | 4 --- ...reating_list_variables_is_as_easy__0.robot | 6 ---- ...onary_variables_can_be_created_in__0.robot | 6 ---- ...if_a_keyword_returns_a_dictionary__0.robot | 6 ---- .../if_a_keyword_returns_a_list__0.robot | 5 --- .../if_a_keyword_returns_a_list__1.robot | 6 ---- .../2.6.3/if_a_scalar_variable_has_a__0.robot | 4 --- .../it_is_also_possible__but_not__0.robot | 3 -- .../notice_that_although_a_value_is__0.robot | 5 --- ...t_possible_variable_assignment_is__0.robot | 4 --- ...so_boolean_values_and_python_none__0.robot | 11 ------ ...ariables_related_to_the_operating__0.robot | 4 --- ...it_is_possible_to_create_integers__0.robot | 6 ---- .../it_is_possible_to_create_spaces__0.robot | 18 ---------- .../the_variable_syntax_can_be_used__0.robot | 9 ----- .../there_is_also_an_empty_list__0.robot | 8 ----- .../2.6.6/in_the_example_below__do_x__0.robot | 8 ----- .../it_is_possible_to_set_attributes__0.robot | 4 --- ...python_objects__including_strings__0.robot | 10 ------ ...he_most_common_usages_of_extended__0.robot | 5 --- .../in_many_ways__the_overall_user__0.robot | 9 ----- ...keywords_can_have_a_documentation__0.robot | 20 ----------- ...rom_robot_framework_2_9__keywords__0.robot | 9 ----- ...ly_arguments_can_be_used_together__0.robot | 8 ----- ...arguments_can_have_default_values__0.robot | 8 ----- ...times_even_default_values_are_not__0.robot | 17 --------- ...ng_from_robot_framework_3_1__user__0.robot | 8 ----- ...he_keywords_in_the_examples_above__0.robot | 10 ------ .../the_syntax_for_default_values_is__0.robot | 22 ------------ .../the_syntax_is_such_that_first__0.robot | 10 ------ ...ser_keywords_can_also_accept_free__0.robot | 12 ------- ...keyword_accepts_several_arguments__0.robot | 3 -- ...named_only_arguments_to_keywords___0.robot | 10 ------ ...edded_argument_regular_expression__0.robot | 20 ----------- .../it_has_always_been_possible_to__0.robot | 4 --- ...ggest_benefit_of_having_arguments__0.robot | 24 ------------- ...words_with_embedded_arguments_are__0.robot | 11 ------ ...dded_argument_regular_expressions__0.robot | 7 ---- ...rst_example_below_is_functionally__0.robot | 28 --------------- ..._keywords_can_also_return_several__0.robot | 19 ---------- ...eyword_teardown_works_much_in_the__0.robot | 9 ----- .../both_libdoc_and_ride_use_these__0.robot | 24 ------------- .../resource_files_can_use_all_the__0.robot | 4 --- .../all_test_data_files_can_import__0.robot | 5 --- .../2.8.2/if_the_above_yaml_file_is__0.robot | 5 --- ...he_variables_in_both_the_examples__0.robot | 9 ----- .../2.9.2/if_there_is_a_timeout__the__0.robot | 32 ----------------- ...from_robot_framework_3_0__timeout__0.robot | 18 ---------- ...ontinue_for_loop_and_continue_for__0.robot | 8 ----- .../2.9.3/exit_for_loop_and_exit_for__0.robot | 8 ----- ...r_example__the_following_two_test__0.robot | 15 -------- .../for_loop_syntax_was_enhanced_in__0.robot | 6 ---- .../for_loops_can_be_excessive_in__0.robot | 5 --- .../having_nested_for_loops_is_not__0.robot | 12 ------- .../2.9.3/if_there_are_lot_of_values__0.robot | 11 ------ .../it_is_often_convenient_to_use__0.robot | 5 --- .../it_is_possible_to_use_simple__0.robot | 36 ------------------- ...just_like_with_regular_for_loops___0.robot | 8 ----- .../the_keywords_used_in_the_for__0.robot | 13 ------- .../this_may_be_easiest_to_show__0.robot | 15 -------- ...the_number_of_arguments_needed_by__0.robot | 3 -- ..._no_type_information_is_specified__0.robot | 3 -- .../if_you_are_already_familiar_how__0.robot | 4 --- .../4.1.3/it_is_possible_to_expose_a__0.robot | 3 -- ...eywords_can_also_accept_arguments__0.robot | 3 -- ...orts_methods_accepting_any_number__0.robot | 10 ------ ...ting_from_robot_framework_3_1__it__0.robot | 4 --- ...e_coercion_works_with_the_numeric__0.robot | 11 ------ ...example_below_illustrates_how_the__0.robot | 7 ---- ...e_first_example_keyword_above_can__0.robot | 7 ---- ...ng_example_illustrates_how_normal__0.robot | 17 --------- ...eywords_can_also_return_values_so__0.robot | 11 ------ ...ues_are_returned_using_the_return__0.robot | 6 ---- ...ng_the_free_named_argument_syntax__0.robot | 19 ---------- ...ng_the_named_argument_syntax_with__0.robot | 17 --------- ...e_named_only_argument_syntax_with__0.robot | 15 -------- ...s_approach_is_clearly_better_than__0.robot | 8 ----- .../the_remote_library_needs_to_know__0.robot | 4 --- ...e_variables_in_resource_files_can__0.robot | 17 --------- ...dding_newlines_manually_to_a_long__0.robot | 10 ------ .../no_automatic_newline_is_added_if__0.robot | 15 -------- ...cumenting_test_suites__test_cases__0.robot | 3 -- ...example__the_following_test_suite__0.robot | 6 ---- ...ord_can_also_accept_other_special__0.robot | 13 ------- 135 files changed, 1317 deletions(-) delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot delete mode 100644 atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot deleted file mode 100644 index 876686b..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.3/in_the_space_separated_format_two__0.robot +++ /dev/null @@ -1,20 +0,0 @@ -*** Settings *** -Documentation Example using the space separated plain text format. -Library OperatingSystem - -*** Variables *** -${MESSAGE} Hello, world! - -*** Test Cases *** -My Test - [Documentation] Example test - Log ${MESSAGE} - My Keyword /tmp - -Another Test - Should Be Equal ${MESSAGE} Hello, world! - -*** Keywords *** -My Keyword - [Arguments] ${path} - Directory Should Exist ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot deleted file mode 100644 index 2552109..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.3/one_file_can_contain_both_space__0.robot +++ /dev/null @@ -1,16 +0,0 @@ -| *** Settings *** | -| Documentation | Example using the pipe separated plain text format. -| Library | OperatingSystem - -| *** Variables *** | -| ${MESSAGE} | Hello, world! - -| *** Test Cases *** | | | -| My Test | [Documentation] | Example test | -| | Log | ${MESSAGE} | -| | My Keyword | /tmp | -| Another Test | Should Be Equal | ${MESSAGE} | Hello, world! - -| *** Keywords *** | | | -| My Keyword | [Arguments] | ${path} | -| | Directory Should Exist | ${path} | diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot deleted file mode 100644 index ef7d991..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.3/there_is_no_need_to_escape__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -| *** Test Cases *** | | | | -| Escaping Pipe | ${file count} = | Execute Command | ls -1 *.txt \| wc -l | -| | Should Be Equal | ${file count} | 42 | diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot deleted file mode 100644 index 2d3aa43..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__0.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Settings *** -Documentation This is documentation for this test suite.\nThis kind of documentation can often be get quite long... -Default Tags default tag 1 default tag 2 default tag 3 default tag 4 default tag 5 - -*** Variable *** -@{LIST} this list is quite long and items in it could also be long - -*** Test Cases *** -Example - [Tags] you probably do not have this many tags in real life - Do X first argument second argument third argument fourth argument fifth argument sixth argument - ${var} = Get X first argument passed to this keyword is pretty long second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot deleted file mode 100644 index 6d921a7..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.4/all_the_syntax_discussed_above_is__1.robot +++ /dev/null @@ -1,19 +0,0 @@ -*** Settings *** -Documentation This is documentation for this test suite. -... This kind of documentation can often be get quite long... -Default Tags default tag 1 default tag 2 default tag 3 -... default tag 4 default tag 5 - -*** Variable *** -@{LIST} this list is quite long and -... items in it could also be long - -*** Test Cases *** -Example - [Tags] you probably do not have this many - ... tags in real life - Do X first argument second argument third argument - ... fourth argument fifth argument sixth argument - ${var} = Get X - ... first argument passed to this keyword is pretty long - ... second argument passed to this keyword is long too diff --git a/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot b/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot deleted file mode 100644 index 5ffaa58..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.1.4/empty_cells_can_be_escaped_either__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Test Cases *** -Using backslash - Do Something first arg \ -Using ${EMPTY} - Do Something first arg ${EMPTY} -Non-trailing empty - Do Something ${EMPTY} second arg # Escaping needed in space separated format diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot deleted file mode 100644 index 3f08424..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.1/example_test_case_with_settings___0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Test With Settings - [Documentation] Another dummy test - [Tags] dummy owner-johndoe - Log Hello, world! diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot deleted file mode 100644 index a0d0dfe..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.1/the_second_column_normally_has_keyword__0.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Test Cases *** -Valid Login - Open Login Page - Input Username demo - Input Password mode - Submit Credentials - Welcome Page Should Be Open - -Setting Variables - Do Something first argument second argument - ${value} = Get Some Value - Should Be Equal ${value} Expected value diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot deleted file mode 100644 index 7f37bbf..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_an_example_of_using_the__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Test Cases *** -Named-only Arguments - Run Program arg1 arg2 # 'shell' is False (default) - Run Program argument shell=True # 'shell' is True - -*** Keywords *** -Run Program - [Arguments] @{args} ${shell}=False - Run Process program.py @{args} shell=${shell} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot deleted file mode 100644 index 41b14f7..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_first_example_of_using__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Free Named Arguments - Run Process program.py arg1 arg2 cwd=/home/user - Run Process program.py argument shell=True env=${ENVIRON} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot deleted file mode 100644 index 62b9c5a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/as_the_second_example__let_s_create__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Test Cases *** -Free Named Arguments - Run Program arg1 arg2 cwd=/home/user - Run Program argument shell=True env=${ENVIRON} - -*** Keywords *** -Run Program - [Arguments] @{args} &{config} - Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot deleted file mode 100644 index 7ff4e6a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/for_example__remove_files_and_join__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Example - Remove Files ${TEMPDIR}/f1.txt ${TEMPDIR}/f2.txt ${TEMPDIR}/f3.txt - @{paths} = Join Paths ${TEMPDIR} f1.txt f2.txt f3.txt f4.txt diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot deleted file mode 100644 index 36456dd..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_following_example_demonstrates_using_the__0.robot +++ /dev/null @@ -1,13 +0,0 @@ -*** Settings *** -Library Telnet prompt=$ default_log_level=DEBUG - -*** Test Cases *** -Example - Open connection 10.0.0.42 port=${PORT} alias=example - List files options=-lh - List files path=/tmp options=-l - -*** Keywords *** -List files - [Arguments] ${path}=. ${options}= - Execute command ls ${options} ${path} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot deleted file mode 100644 index b642d00..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_named_argument_syntax_requires_the__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Cases *** -Example - Run Program shell=True # This will not come as a named argument to Run Process - -*** Keywords *** -Run Program - [Arguments] @{args} - Run Process program.py @{args} # Named arguments are not recognized from inside @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot deleted file mode 100644 index 795fa49..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/the_test_below_uses_keywords_create__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Create Directory ${TEMPDIR}/stuff - Copy File ${CURDIR}/file.txt ${TEMPDIR}/stuff - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot deleted file mode 100644 index 61e1517..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.2/using_default_values_is_illustrated_by__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Create File ${TEMPDIR}/empty.txt - Create File ${TEMPDIR}/utf-8.txt Hyvä esimerkki - Create File ${TEMPDIR}/iso-8859-1.txt Hyvä esimerkki ISO-8859-1 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot deleted file mode 100644 index f910749..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.3/by_default_error_messages_are_normal__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Test Cases *** -Normal Error - Fail This is a rather boring example... - -HTML Error - ${number} = Get Number - Should Be Equal ${number} 42 *HTML* Number is not my MAGIC number. diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot deleted file mode 100644 index 769d61a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.4/if_documentation_is_split_into_multiple__0.robot +++ /dev/null @@ -1,21 +0,0 @@ -*** Test Cases *** -Simple - [Documentation] Simple documentation - No Operation - -Formatting - [Documentation] *This is bold*, _this is italic_ and here is a link: http://robotframework.org - No Operation - -Variables - [Documentation] Executed at ${HOST} by ${USER} - No Operation - -Splitting - [Documentation] This documentation is split into multiple columns - No Operation - -Many lines - [Documentation] Here we have - ... an automatic newline - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot deleted file mode 100644 index 874ec94..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.5/tags_are_free_text__but_they__0.robot +++ /dev/null @@ -1,31 +0,0 @@ -*** Settings *** -Force Tags req-42 -Default Tags owner-john smoke - -*** Variables *** -${HOST} 10.0.1.42 - -*** Test Cases *** -No own tags - [Documentation] This test has tags owner-john, smoke and req-42. - No Operation - -With own tags - [Documentation] This test has tags not_ready, owner-mrx and req-42. - [Tags] owner-mrx not_ready - No Operation - -Own tags with variables - [Documentation] This test has tags host-10.0.1.42 and req-42. - [Tags] host-${HOST} - No Operation - -Empty own tags - [Documentation] This test has only tag req-42. - [Tags] - No Operation - -Set Tags and Remove Tags Keywords - [Documentation] This test has tags mytag and owner-john. - Set Tags mytag - Remove Tags smoke req-* diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot deleted file mode 100644 index 8aaf1e5..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.6/the_easiest_way_to_specify_a__0.robot +++ /dev/null @@ -1,29 +0,0 @@ -*** Settings *** -Test Setup Open Application App A -Test Teardown Close Application - -*** Test Cases *** -Default values - [Documentation] Setup and teardown from setting table - Do Something - -Overridden setup - [Documentation] Own setup, teardown from setting table - [Setup] Open Application App B - Do Something - -No teardown - [Documentation] Default setup, no teardown at all - Do Something - [Teardown] - -No teardown 2 - [Documentation] Setup and teardown can be disabled also with special value NONE - Do Something - [Teardown] NONE - -Using variables - [Documentation] Setup and teardown specified using variables - [Setup] ${SETUP} - Do Something - [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot deleted file mode 100644 index a5c0c49..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Test Cases ** -Normal test case - Example keyword first argument second argument - -Templated test case - [Template] Example keyword - first argument second argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot deleted file mode 100644 index 6fe06af..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_a_templated_test_case_has__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Settings *** -Test Template Example keyword - -*** Test Cases *** -Templated test case - first round 1 first round 2 - second round 1 second round 2 - third round 1 third round 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot deleted file mode 100644 index 249599b..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.7/if_templates_are_used_with_for__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Test Cases *** -Template and for - [Template] Example keyword - FOR ${item} IN @{ITEMS} - ${item} 2nd arg - END - FOR ${index} IN RANGE 42 - 1st arg ${index} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot deleted file mode 100644 index 1022a5a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Test Cases *** -Normal test case with embedded arguments - The result of 1 + 1 should be 2 - The result of 1 + 2 should be 3 - -Template with embedded arguments - [Template] The result of ${calculation} should be ${expected} - 1 + 1 2 - 1 + 2 3 - -*** Keywords *** -The result of ${calculation} should be ${expected} - ${result} = Calculate ${calculation} - Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot deleted file mode 100644 index fecdc55..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.7/when_embedded_arguments_are_used_with__0.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Test Cases *** -Different argument names - [Template] The result of ${foo} should be ${bar} - 1 + 1 2 - 1 + 2 3 - -Only some arguments - [Template] The result of ${calculation} should be 3 - 1 + 2 - 4 - 1 - -New arguments - [Template] The ${meaning} of ${life} should be 42 - result 21 * 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot deleted file mode 100644 index 6f396f8..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.8/another_style_to_write_test_cases__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Settings *** -Test Template Login with invalid credentials should fail - -*** Test Cases *** USERNAME PASSWORD -Invalid User Name invalid ${VALID PASSWORD} -Invalid Password ${VALID USER} invalid -Invalid User Name and Password invalid invalid -Empty User Name ${EMPTY} ${VALID PASSWORD} -Empty Password ${VALID USER} ${EMPTY} -Empty User Name and Password ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot deleted file mode 100644 index feba0e0..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Valid Login - Given login page is open - When valid username and password are inserted - and credentials are submitted - Then welcome page should be open diff --git a/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot b/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot deleted file mode 100644 index 043e9df..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.2.8/the_above_example_has_six_separate__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Test Cases *** -Invalid Password - [Template] Login with invalid credentials should fail - invalid ${VALID PASSWORD} - ${VALID USER} invalid - invalid whatever - ${EMPTY} ${VALID PASSWORD} - ${VALID USER} ${EMPTY} - ${EMPTY} ${EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot deleted file mode 100644 index a4b65fe..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.3.1/tasks_are_created_based_on_the__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Tasks *** -Process invoice - Read information from PDF - Validate information - Submit information to backend system - Validate information is visible in web UI diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot deleted file mode 100644 index 334f1fc..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.4.2/the_main_usage_for_initialization_files__0.robot +++ /dev/null @@ -1,14 +0,0 @@ -*** Settings *** -Documentation Example suite -Suite Setup Do Something ${MESSAGE} -Force Tags example -Library SomeLibrary - -*** Variables *** -${MESSAGE} Hello, world! - -*** Keywords *** -Do Something - [Arguments] ${args} - Some Keyword ${arg} - Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot deleted file mode 100644 index 4dc16a2..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.4.3/the_documentation_for_a_test_suite__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Settings *** -Documentation An example test suite documentation with *some* _formatting_. -... See test documentation for more documentation examples. diff --git a/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot deleted file mode 100644 index c0964f6..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.4.4/the_name_and_value_for_the__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Settings *** -Metadata Version 2.0 -Metadata More Info For more information about *Robot Framework* see http://robotframework.org -Metadata Executed At ${HOST} diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot deleted file mode 100644 index dc4e750..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.5.1/another_possibility_to_take_a_test__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Do Something - Import Library MyLibrary arg1 arg2 - KW From MyLibrary diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot deleted file mode 100644 index c46df9d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.5.1/in_those_cases_where_the_library__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Settings *** -Library OperatingSystem -Library my.package.TestLibrary -Library MyLibrary arg1 arg2 -Library ${LIBRARY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot deleted file mode 100644 index c4bc529..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.5.2/if_the_library_is_a_file___0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Settings *** -Library PythonLibrary.py -Library /absolute/path/JavaLibrary.java -Library relative/path/PythonDirLib/ possible arguments -Library ${RESOURCES}/Example.class diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot deleted file mode 100644 index 9c5ee99..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.5.3/possible_arguments_to_the_library_are__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Settings *** -Library SomeLibrary localhost 1234 WITH NAME LocalLib -Library SomeLibrary server.domain 8080 WITH NAME RemoteLib - -*** Test Cases *** -My Test - LocalLib.Some Keyword some arg second arg - RemoteLib.Some Keyword another arg whatever - LocalLib.Another Keyword diff --git a/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot deleted file mode 100644 index 0c52017..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Settings *** -Library com.company.TestLib WITH NAME TestLib -Library ${LIBRARY} WITH NAME MyName diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot deleted file mode 100644 index 50df14e..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Nested item access - Should Be Equal ${DATA}[0][name] Robot - Should Be Equal ${DATA}[1][id] ${2} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot deleted file mode 100644 index 4cfc0e0..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/as_discussed_above__a_variable_containing__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Constants - Login name=robot password=secret - -Dict Variable - Login &{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot deleted file mode 100644 index 2191e7f..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Settings *** -Library ExampleLibrary &{LIB ARGS} -Suite Setup Some Keyword &{KW ARGS} named=arg diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot deleted file mode 100644 index 887dc52..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/environment_variables_set_in_the_operating__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Environment variables - Log Current user: %{USER} - Run %{JAVA_HOME}${/}javac diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot deleted file mode 100644 index 482df07..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/if_a_key_is_a_string___0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Dictionary variable item - Login ${USER}[name] ${USER}[password] - Title Should Be Welcome ${USER}[name]! - -Key defined as variable - Log Many ${DICT}[${KEY}] ${DICT}[${42}] - -Attribute access - Login ${USER.name} ${USER.password} - Title Should Be Welcome ${USER.name}! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot deleted file mode 100644 index 4130213..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_access_a__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Test Cases *** -List variable item - Login ${USER}[0] ${USER}[1] - Title Should Be Welcome ${USER}[0]! - -Negative index - Log ${LIST}[-1] - -Index defined as variable - Log ${LIST}[${INDEX}] diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot deleted file mode 100644 index 143f2fe..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_dictionary__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Keyword &{DICT} named=arg - Keyword positional @{LIST} &{DICT} - Keyword &{DICT} &{ANOTHER} &{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot deleted file mode 100644 index 1ad414e..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/it_is_possible_to_use_list__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Keyword @{LIST} more args - Keyword ${SCALAR} @{LIST} constant - Keyword @{LIST} @{ANOTHER} @{ONE MORE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot deleted file mode 100644 index d14a92a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_item_access_supports_also_the__0.robot +++ /dev/null @@ -1,13 +0,0 @@ -*** Test Cases *** -Start index - Keyword ${LIST}[1:] - -End index - Keyword ${LIST}[:4] - -Start and end - Keyword ${LIST}[2:-1] - -Step - Keyword ${LIST}[::2] - Keyword ${LIST}[2:-1:2] diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot deleted file mode 100644 index b6c9615..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/list_variables_can_be_used_only__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Settings *** -Library ExampleLibrary @{LIB ARGS} # This works -Library ${LIBRARY} @{LIB ARGS} # This works -Library @{LIBRARY AND ARGS} # This does not work -Suite Setup Some Keyword @{KW ARGS} # This works -Suite Setup ${KEYWORD} @{KW ARGS} # This works -Suite Setup @{KEYWORD AND ARGS} # This does not work -Default Tags @{TAGS} # This works diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot deleted file mode 100644 index cc46b37..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/the_example_below_illustrates_the_usage__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Cases *** -Constants - Log Hello - Log Hello, world!! - -Variables - Log ${GREET} - Log ${GREET}, ${NAME}!! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot deleted file mode 100644 index 790d583..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_a_variable_is_used_as__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Constants - Login robot secret - -List Variable - Login @{USER} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot deleted file mode 100644 index 7ab2ac1..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/when_running_tests_with_jython__it__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Test Cases *** -System properties - Log %{user.name} running tests on %{os.name} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot deleted file mode 100644 index 42fd43f..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.2/with_these_two_variables_set__we__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Objects - KW 1 ${STR} - KW 2 ${OBJ} - KW 3 I said "${STR}" - KW 4 You said "${OBJ}" diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot deleted file mode 100644 index d9575ab..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/any_value_returned_by_a_keyword__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Returning - ${x} = Get X an argument - Log We got ${x}! diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot deleted file mode 100644 index b295d72..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/creating_list_variables_is_as_easy__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Variables *** -@{NAMES} Matti Teppo -@{NAMES2} @{NAMES} Seppo -@{NOTHING} -@{MANY} one two three four -... five six seven diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot deleted file mode 100644 index e863f66..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/dictionary_variables_can_be_created_in__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Variables *** -&{USER 1} name=Matti address=xxx phone=123 -&{USER 2} name=Teppo address=yyy phone=456 -&{MANY} first=1 second=${2} ${3}=third -&{EVEN MORE} &{MANY} first=override empty= -... =empty key\=here=value diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot deleted file mode 100644 index af0a20b..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Example - &{dict} = Create Dictionary first=1 second=${2} ${3}=third - Length Should Be ${dict} 3 - Do Something &{dict} - Log ${dict.first} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot deleted file mode 100644 index 2149832..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - @{list} = Create List first second third - Length Should Be ${list} 3 - Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot deleted file mode 100644 index c134728..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_keyword_returns_a_list__1.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Assign multiple - ${a} ${b} ${c} = Get Three - ${first} @{rest} = Get Three - @{before} ${last} = Get Three - ${begin} @{middle} ${end} = Get Three diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot deleted file mode 100644 index f1a8b5f..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/if_a_scalar_variable_has_a__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Variables *** -${EXAMPLE} This value is joined together with a space -${MULTILINE} SEPARATOR=\n First line -... Second line Third line diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot deleted file mode 100644 index 9ebb321..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/it_is_also_possible__but_not__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Variables *** -${NAME} = Robot Framework -${VERSION} = 2.0 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot deleted file mode 100644 index 7f5d106..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/notice_that_although_a_value_is__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - ${list} = Create List first second third - Length Should Be ${list} 3 - Log Many @{list} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot deleted file mode 100644 index 8933b8e..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Variables *** -${NAME} Robot Framework -${VERSION} 2.0 -${ROBOT} ${NAME} ${VERSION} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot deleted file mode 100644 index 95b9f4b..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/also_boolean_values_and_python_none__0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Boolean - Set Status ${true} # Set Status gets Boolean true as an argument - Create Y something ${false} # Create Y gets a string and Boolean false - -None - Do XYZ ${None} # Do XYZ gets Python None as an argument - -Null - ${ret} = Get Value arg # Checking that Get Value returns Java null - Should Be Equal ${ret} ${null} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot deleted file mode 100644 index ade66ab..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/built_in_variables_related_to_the_operating__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Example - Create Binary File ${CURDIR}${/}input.data Some text here${\n}on two lines - Set Environment Variable CLASSPATH ${TEMPDIR}${:}${CURDIR}${/}foo.jar diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot deleted file mode 100644 index d2ed99a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_integers__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Example - Should Be Equal ${0b1011} ${11} - Should Be Equal ${0o10} ${8} - Should Be Equal ${0xff} ${255} - Should Be Equal ${0B1010} ${0XA} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot deleted file mode 100644 index 600a455..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/it_is_possible_to_create_spaces__0.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Test Cases *** -One space - Should Be Equal ${SPACE} \ \ - -Four spaces - Should Be Equal ${SPACE * 4} \ \ \ \ \ - -Ten spaces - Should Be Equal ${SPACE * 10} \ \ \ \ \ \ \ \ \ \ \ - -Quoted space - Should Be Equal "${SPACE}" " " - -Quoted spaces - Should Be Equal "${SPACE * 2}" " \ " - -Empty - Should Be Equal ${EMPTY} \ diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot deleted file mode 100644 index e507416..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/the_variable_syntax_can_be_used__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Test Cases *** -Example 1A - Connect example.com 80 # Connect gets two strings as arguments - -Example 1B - Connect example.com ${80} # Connect gets a string and an integer - -Example 2 - Do X ${3.14} ${-1e-4} # Do X gets floating point numbers 3.14 and -0.0001 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot deleted file mode 100644 index 4557165..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.4/there_is_also_an_empty_list__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Cases *** -Template - [Template] Some keyword - @{EMPTY} - -Override - Set Global Variable @{LIST} @{EMPTY} - Set Suite Variable &{DICT} &{EMPTY} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot deleted file mode 100644 index 4552b58..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.6/in_the_example_below__do_x__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Variables *** -${JOHN HOME} /home/john -${JANE HOME} /home/jane - -*** Test Cases *** -Example - ${name} = Get Name - Do X ${${name} HOME} diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot deleted file mode 100644 index 09d240a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.6/it_is_possible_to_set_attributes__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Example - ${OBJECT.name} = Set Variable New name - ${OBJECT.new_attr} = Set Variable New attribute diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot deleted file mode 100644 index 6c6badc..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.6/many_standard_python_objects__including_strings__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Test Cases *** -String - ${string} = Set Variable abc - Log ${string.upper()} # Logs 'ABC' - Log ${string * 2} # Logs 'abcabc' - -Number - ${number} = Set Variable ${-2} - Log ${number * 10} # Logs -20 - Log ${number.__abs__()} # Logs 2 diff --git a/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot b/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot deleted file mode 100644 index 453d2f1..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.6.6/the_most_common_usages_of_extended__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - KW 1 ${OBJECT.name} - KW 2 ${OBJECT.eat('Cucumber')} - KW 3 ${DICTIONARY[2]} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot deleted file mode 100644 index 81e8ae8..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.1/in_many_ways__the_overall_user__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Keywords *** -Open Login Page - Open Browser http://host/login.html - Title Should Be Login Page - -Title Should Start With - [Arguments] ${expected} - ${title} = Get Title - Should Start With ${title} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot deleted file mode 100644 index 65a4098..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.2/user_keywords_can_have_a_documentation__0.robot +++ /dev/null @@ -1,20 +0,0 @@ -*** Keywords *** -One line documentation - [Documentation] One line documentation. - No Operation - -Multiline documentation - [Documentation] The first line creates the short doc. - ... - ... This is the body of the documentation. - ... It is not shown in Libdoc outputs but only - ... the short doc is shown in logs. - No Operation - -Short documentation in multiple lines - [Documentation] If the short doc gets longer, it can span - ... multiple physical lines. - ... - ... The body is separated from the short doc with - ... an empty line. - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot deleted file mode 100644 index e92215e..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Keywords *** -Settings tags using separate setting - [Tags] my fine tags - No Operation - -Settings tags using documentation - [Documentation] I have documentation. And my documentation has tags. - ... Tags: my, fine, tags - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot deleted file mode 100644 index bc8d480..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_be_used_together__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Keywords *** -With Positional - [Arguments] ${positional} @{} ${named} - Log Many ${positional} ${named} - -With Free Named - [Arguments] @{varargs} ${named only} &{free named} - Log Many @{varargs} ${named only} &{free named} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot deleted file mode 100644 index d7ad7d3..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/named_only_arguments_can_have_default_values__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Keywords *** -With Default - [Arguments] @{} ${named}=default - Log Many ${named} - -With And Without Defaults - [Arguments] @{} ${optional}=default ${mandatory} ${mandatory 2} ${optional 2}=default 2 ${mandatory 3} - Log Many ${optional} ${mandatory} ${mandatory 2} ${optional 2} ${mandatory 3} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot deleted file mode 100644 index 219f576..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/sometimes_even_default_values_are_not__0.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Keywords *** -Any Number Of Arguments - [Arguments] @{varargs} - Log Many @{varargs} - -One Or More Arguments - [Arguments] ${required} @{rest} - Log Many ${required} @{rest} - -Required, Default, Varargs - [Arguments] ${req} ${opt}=42 @{others} - Log Required: ${req} - Log Optional: ${opt} - Log Others: - FOR ${item} IN @{others} - Log ${item} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot deleted file mode 100644 index 66d6dce..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Keywords *** -With Varargs - [Arguments] @{varargs} ${named} - Log Many @{varargs} ${named} - -Without Varargs - [Arguments] @{} ${first} ${second} - Log Many ${first} ${second} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot deleted file mode 100644 index e221233..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_keywords_in_the_examples_above__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Test Cases *** -Varargs with user keywords - Any Number Of Arguments - Any Number Of Arguments arg - Any Number Of Arguments arg1 arg2 arg3 arg4 - One Or More Arguments required - One Or More Arguments arg1 arg2 arg3 arg4 - Required, Default, Varargs required - Required, Default, Varargs required optional - Required, Default, Varargs arg1 arg2 arg3 arg4 arg5 diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot deleted file mode 100644 index 5957045..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_for_default_values_is__0.robot +++ /dev/null @@ -1,22 +0,0 @@ -*** Keywords *** -One Argument With Default Value - [Arguments] ${arg}=default value - [Documentation] This keyword takes 0-1 arguments - Log Got argument ${arg} - -Two Arguments With Defaults - [Arguments] ${arg1}=default 1 ${arg2}=${VARIABLE} - [Documentation] This keyword takes 0-2 arguments - Log 1st argument ${arg1} - Log 2nd argument ${arg2} - -One Required And One With Default - [Arguments] ${required} ${optional}=default - [Documentation] This keyword takes 1-2 arguments - Log Required: ${required} - Log Optional: ${optional} - - Default Based On Earlier Argument - [Arguments] ${a} ${b}=${a} ${c}=${a} and ${b} - Should Be Equal ${a} ${b} - Should Be Equal ${c} ${a} and ${b} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot deleted file mode 100644 index 1537c6d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/the_syntax_is_such_that_first__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Keywords *** -One Argument - [Arguments] ${arg_name} - Log Got argument ${arg_name} - -Three Arguments - [Arguments] ${arg1} ${arg2} ${arg3} - Log 1st argument: ${arg1} - Log 2nd argument: ${arg2} - Log 3rd argument: ${arg3} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot deleted file mode 100644 index 4043bad..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/user_keywords_can_also_accept_free__0.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Keywords *** -Free Named Only - [Arguments] &{named} - Log Many &{named} - -Positional And Free Named - [Arguments] ${required} &{extra} - Log Many ${required} &{extra} - -Run Program - [Arguments] @{args} &{config} - Run Process program.py @{args} &{config} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot deleted file mode 100644 index 06a7171..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Test Cases *** -Example - Two Arguments With Defaults arg2=new value diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot deleted file mode 100644 index 898b3f6..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Test Cases *** -Example - With Varargs named=value - With Varargs positional second positional named=foobar - Without Varargs first=1 second=2 - Without Varargs second=toka first=eka - With Positional foo named=bar - With Positional named=2 positional=1 - With Free Named positional named only=value x=1 y=2 - With Free Named foo=a bar=b named only=c quux=d diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot deleted file mode 100644 index 619bec7..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.robot +++ /dev/null @@ -1,20 +0,0 @@ -*** Test Cases *** -Example - I execute "ls" - I execute "ls" with "-lh" - I type 1 + 2 - I type 53 - 11 - Today is 2011-06-27 - -*** Keywords *** -I execute "${cmd:[^"]+}" - Run Process ${cmd} shell=True - -I execute "${cmd}" with "${opts}" - Run Process ${cmd} ${opts} shell=True - -I type ${a:\d+} ${operator:[+-]} ${b:\d+} - Calculate ${a} ${operator} ${b} - -Today is ${date:\d{4\}-\d{2\}-\d{2\}} - Log ${date} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot deleted file mode 100644 index 4d67a1d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.5/it_has_always_been_possible_to__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Keywords *** -Select ${animal} from list - Open Page Pet Selection - Select Item From List animal_list ${animal} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot deleted file mode 100644 index 4c4241b..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.robot +++ /dev/null @@ -1,24 +0,0 @@ -*** Test Cases *** -Add two numbers - Given I have Calculator open - When I add 2 and 40 - Then result should be 42 - -Add negative numbers - Given I have Calculator open - When I add 1 and -2 - Then result should be -1 - -*** Keywords *** -I have ${program} open - Start Program ${program} - -I add ${number 1} and ${number 2} - Input Number ${number 1} - Push Button + - Input Number ${number 2} - Push Button = - -Result should be ${expected} - ${result} = Get Result - Should Be Equal ${result} ${expected} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot deleted file mode 100644 index 801eafd..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Example - I execute "ls" - I execute "ls" with "-lh" - -*** Keywords *** -I execute "${cmd}" - Run Process ${cmd} shell=True - -I execute "${cmd}" with "${opts}" - Run Process ${cmd} ${opts} shell=True diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot deleted file mode 100644 index cca0a9d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Variables *** -${DATE} 2011-06-27 - -*** Test Cases *** -Example - I type ${1} + ${2} - Today is ${DATE} diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot deleted file mode 100644 index 0ad50da..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.6/the_first_example_below_is_functionally__0.robot +++ /dev/null @@ -1,28 +0,0 @@ -*** Test Cases *** -One Return Value - ${ret} = Return One Value argument - Some Keyword ${ret} - -Advanced - @{list} = Create List foo baz - ${index} = Find Index baz @{list} - Should Be Equal ${index} ${1} - ${index} = Find Index non existing @{list} - Should Be Equal ${index} ${-1} - -*** Keywords *** -Return One Value - [Arguments] ${arg} - Do Something ${arg} - ${value} = Get Some Value - Return From Keyword ${value} - Fail This is not executed - -Find Index - [Arguments] ${element} @{items} - ${index} = Set Variable ${0} - FOR ${item} IN @{items} - Return From Keyword If '${item}' == '${element}' ${index} - ${index} = Set Variable ${index + 1} - END - Return From Keyword ${-1} # Could also use [Return] diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot deleted file mode 100644 index a35d2c5..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.6/user_keywords_can_also_return_several__0.robot +++ /dev/null @@ -1,19 +0,0 @@ -*** Test Cases *** -One Return Value - ${ret} = Return One Value argument - Some Keyword ${ret} - -Multiple Values - ${a} ${b} ${c} = Return Three Values - @{list} = Return Three Values - ${scalar} @{rest} = Return Three Values - -*** Keywords *** -Return One Value - [Arguments] ${arg} - Do Something ${arg} - ${value} = Get Some Value - [Return] ${value} - -Return Three Values - [Return] foo bar zap diff --git a/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot deleted file mode 100644 index 68e0fa9..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.7.7/keyword_teardown_works_much_in_the__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Keywords *** -With Teardown - Do Something - [Teardown] Log keyword teardown - -Using variables - [Documentation] Teardown given as variable - Do Something - [Teardown] ${TEARDOWN} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot deleted file mode 100644 index 4bd8924..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.8.1/both_libdoc_and_ride_use_these__0.robot +++ /dev/null @@ -1,24 +0,0 @@ -*** Settings *** -Documentation An example resource file -Library SeleniumLibrary -Resource ${RESOURCES}/common.resource - -*** Variables *** -${HOST} localhost:7272 -${LOGIN URL} http://${HOST}/ -${WELCOME URL} http://${HOST}/welcome.html -${BROWSER} Firefox - -*** Keywords *** -Open Login Page - [Documentation] Opens browser to login page - Open Browser ${LOGIN URL} ${BROWSER} - Title Should Be Login Page - -Input Name - [Arguments] ${name} - Input Text username_field ${name} - -Input Password - [Arguments] ${password} - Input Text password_field ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot deleted file mode 100644 index b749f93..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.8.1/resource_files_can_use_all_the__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Settings *** -Resource example.resource -Resource ../data/resources.robot -Resource ${RESOURCES}/common.resource diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot deleted file mode 100644 index 7cc82ab..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.8.2/all_test_data_files_can_import__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Settings *** -Variables myvariables.py -Variables ../data/variables.py -Variables ${RESOURCES}/common.py -Variables taking_arguments.py arg1 ${ARG2} diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot deleted file mode 100644 index 14603ae..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.8.2/if_the_above_yaml_file_is__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Variables *** -${STRING} Hello, world! -${INTEGER} ${42} -@{LIST} one two -&{DICT} one=yksi two=kaksi diff --git a/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot b/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot deleted file mode 100644 index f59ef2d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.8.2/the_variables_in_both_the_examples__0.robot +++ /dev/null @@ -1,9 +0,0 @@ -*** Variables *** -${VARIABLE} An example string -${ANOTHER VARIABLE} This is pretty easy! -${INTEGER} ${42} -@{STRINGS} one two kolme four -@{NUMBERS} ${1} ${INTEGER} ${3.14} -&{MAPPING} one=${1} two=${2} three=${3} -@{ANIMALS} cat dog -&{FINNISH} cat=kissa dog=koira diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot deleted file mode 100644 index 381f3eb..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.2/if_there_is_a_timeout__the__0.robot +++ /dev/null @@ -1,32 +0,0 @@ -*** Settings *** -Test Timeout 2 minutes - -*** Test Cases *** -Default Timeout - [Documentation] Timeout from the Setting table is used - Some Keyword argument - -Override - [Documentation] Override default, use 10 seconds timeout - [Timeout] 10 - Some Keyword argument - -Custom Message - [Documentation] Override default and use custom message - [Timeout] 1min 10s This is my custom error - Some Keyword argument - -Variables - [Documentation] It is possible to use variables too - [Timeout] ${TIMEOUT} - Some Keyword argument - -No Timeout - [Documentation] Empty timeout means no timeout even when Test Timeout has been used - [Timeout] - Some Keyword argument - -No Timeout 2 - [Documentation] Disabling timeout with NONE works too and is more explicit. - [Timeout] NONE - Some Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot deleted file mode 100644 index fc430cc..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.robot +++ /dev/null @@ -1,18 +0,0 @@ -*** Keywords *** -Timed Keyword - [Documentation] Set only the timeout value and not the custom message. - [Timeout] 1 minute 42 seconds - Do Something - Do Something Else - -Wrapper With Timeout - [Arguments] @{args} - [Documentation] This keyword is a wrapper that adds a timeout to another keyword. - [Timeout] 2 minutes Original Keyword didn't finish in 2 minutes - Original Keyword @{args} - -Wrapper With Customizable Timeout - [Arguments] ${timeout} @{args} - [Documentation] Same as the above but timeout given as an argument. - [Timeout] ${timeout} - Original Keyword @{args} diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot deleted file mode 100644 index b50bfe8..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/continue_for_loop_and_continue_for__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Cases *** -Continue Example - ${text} = Set Variable ${EMPTY} - FOR ${var} IN one two three - Continue For Loop If '${var}' == 'two' - ${text} = Set Variable ${text}${var} - END - Should Be Equal ${text} onethree diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot deleted file mode 100644 index eb58b66..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/exit_for_loop_and_exit_for__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Cases *** -Exit Example - ${text} = Set Variable ${EMPTY} - FOR ${var} IN one two - Run Keyword If '${var}' == 'two' Exit For Loop - ${text} = Set Variable ${text}${var} - END - Should Be Equal ${text} one diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot deleted file mode 100644 index 66a8f8f..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_example__the_following_two_test__0.robot +++ /dev/null @@ -1,15 +0,0 @@ -*** Variables *** -@{LIST} a b c - -*** Test Cases *** -Manage index manually - ${index} = Set Variable -1 - FOR ${item} IN @{LIST} - ${index} = Evaluate ${index} + 1 - My Keyword ${index} ${item} - END - -For-in-enumerate - FOR ${index} ${item} IN ENUMERATE @{LIST} - My Keyword ${index} ${item} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot deleted file mode 100644 index c721b74..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Example - :FOR ${animal} IN cat dog - \ Log ${animal} - \ Log 2nd keyword - Log Outside loop diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot deleted file mode 100644 index 555c70d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/for_loops_can_be_excessive_in__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - Repeat Keyword 5 Some Keyword arg1 arg2 - Repeat Keyword 42 times My Keyword - Repeat Keyword ${var} Another Keyword argument diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot deleted file mode 100644 index 0b83ab2..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/having_nested_for_loops_is_not__0.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Keywords *** -Handle Table - [Arguments] @{table} - FOR ${row} IN @{table} - Handle Row @{row} - END - -Handle Row - [Arguments] @{row} - FOR ${cell} IN @{row} - Handle Cell ${cell} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot deleted file mode 100644 index 1b36ec7..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/if_there_are_lot_of_values__0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Three loop variables - FOR ${index} ${english} ${finnish} IN - ... 1 cat kissa - ... 2 dog koira - ... 3 horse hevonen - Add to dictionary ${english} ${finnish} ${index} - END - FOR ${name} ${id} IN @{EMPLOYERS} - Create ${name} ${id} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot deleted file mode 100644 index ecfb9b0..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_often_convenient_to_use__0.robot +++ /dev/null @@ -1,5 +0,0 @@ -*** Test Cases *** -Example - FOR ${element} IN @{ELEMENTS} - Start Element ${element} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot deleted file mode 100644 index 1bc73cd..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/it_is_possible_to_use_simple__0.robot +++ /dev/null @@ -1,36 +0,0 @@ -*** Test Cases *** -Only upper limit - [Documentation] Loops over values from 0 to 9 - FOR ${index} IN RANGE 10 - Log ${index} - END - -Start and end - [Documentation] Loops over values from 1 to 10 - FOR ${index} IN RANGE 1 11 - Log ${index} - END - -Also step given - [Documentation] Loops over values 5, 15, and 25 - FOR ${index} IN RANGE 5 26 10 - Log ${index} - END - -Negative step - [Documentation] Loops over values 13, 3, and -7 - FOR ${index} IN RANGE 13 -13 -10 - Log ${index} - END - -Arithmetic - [Documentation] Arithmetic with variable - FOR ${index} IN RANGE ${var} + 1 - Log ${index} - END - -Float parameters - [Documentation] Loops over values 3.14, 4.34, and 5.54 - FOR ${index} IN RANGE 3.14 6.09 1.2 - Log ${index} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot deleted file mode 100644 index f5777d3..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/just_like_with_regular_for_loops___0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Test Case *** -For-in-enumerate with two values per iteration - FOR ${index} ${en} ${fi} IN ENUMERATE - ... cat kissa - ... dog koira - ... horse hevonen - Log "${en}" in English is "${fi}" in Finnish (index: ${index}) - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot deleted file mode 100644 index 728c39f..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/the_keywords_used_in_the_for__0.robot +++ /dev/null @@ -1,13 +0,0 @@ -*** Test Cases *** -Example - FOR ${animal} IN cat dog - Log ${animal} - Log 2nd keyword - END - Log Outside loop - -Second Example - FOR ${var} IN one two ${3} four ${five} - ... kuusi 7 eight nine ${last} - Log ${var} - END diff --git a/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot b/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot deleted file mode 100644 index d5c3f0c..0000000 --- a/atest/fixtures/highlighting/samples/rfug/2.9.3/this_may_be_easiest_to_show__0.robot +++ /dev/null @@ -1,15 +0,0 @@ -*** Variables *** -@{NUMBERS} ${1} ${2} ${5} -@{NAMES} one two five - -*** Test Cases *** -Iterate over two lists manually - ${length}= Get Length ${NUMBERS} - FOR ${idx} IN RANGE ${length} - Number Should Be Named ${NUMBERS}[${idx}] ${NAMES}[${idx}] - END - -For-in-zip - FOR ${number} ${name} IN ZIP ${NUMBERS} ${NAMES} - Number Should Be Named ${number} ${name} - END diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot deleted file mode 100644 index 41f7f28..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.2/the_number_of_arguments_needed_by__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Settings *** -Library MyLibrary 10.0.0.1 8080 -Library AnotherLib ${VAR} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot deleted file mode 100644 index cd9d8ed..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_no_type_information_is_specified__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Test Cases *** -Example - Example Keyword 42 False diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot deleted file mode 100644 index 4d3c5b7..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/if_you_are_already_familiar_how__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Keyword Arguments - Example Keyword hello=world # Logs 'hello world'. - Example Keyword foo=1 bar=42 # Logs 'foo 1' and 'bar 42'. diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot deleted file mode 100644 index 59d827d..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/it_is_possible_to_expose_a__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Test Cases *** -My Test - Login Via User Panel ${username} ${password} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot deleted file mode 100644 index fd62865..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Test Cases *** -My Test - Add 7 copies of coffee to cart diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot deleted file mode 100644 index d9f2483..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/python_supports_methods_accepting_any_number__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Test Cases *** -Varargs - Any Arguments - Any Arguments argument - Any Arguments arg 1 arg 2 arg 3 arg 4 arg 5 - One Required required arg - One Required required arg another arg yet another - Also Defaults required - Also Defaults required these two have defaults - Also Defaults 1 2 3 4 5 6 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot deleted file mode 100644 index 91f1bf4..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Test Cases *** -Example - Sort Words Foo bar baZ - Sort Words Foo bar baZ case_sensitive=True diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot deleted file mode 100644 index 5117faa..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_coercion_works_with_the_numeric__0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Coercion - Double Argument 3.14 - Double Argument 2e16 - Compatible Types Hello, world! 1234 - Compatible Types Hi again! -10 true - -No Coercion - Double Argument ${3.14} - Conflicting Types 1 ${2} # must use variables - Conflicting Types ${1} 2 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot deleted file mode 100644 index 4488354..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_example_below_illustrates_how_the__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Settings *** -Library MyLibrary - -*** Test Cases *** -My Test - Do Nothing - Hello world diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot deleted file mode 100644 index 45f74d0..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_first_example_keyword_above_can__0.robot +++ /dev/null @@ -1,7 +0,0 @@ -*** Test Cases *** -Defaults - One Default - One Default argument - Multiple Defaults required arg - Multiple Defaults required arg optional - Multiple Defaults required arg optional 1 optional 2 diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot deleted file mode 100644 index 4a3d233..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.3/the_following_example_illustrates_how_normal__0.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Test Cases *** -Positional - Various Args hello world # Logs 'arg: hello' and 'vararg: world'. - -Named - Various Args arg=value # Logs 'arg: value'. - -Kwargs - Various Args a=1 b=2 c=3 # Logs 'kwarg: a 1', 'kwarg: b 2' and 'kwarg: c 3'. - Various Args c=3 a=1 b=2 # Same as above. Order does not matter. - -Positional and kwargs - Various Args 1 2 kw=3 # Logs 'arg: 1', 'vararg: 2' and 'kwarg: kw 3'. - -Named and kwargs - Various Args arg=value hello=world # Logs 'arg: value' and 'kwarg: hello world'. - Various Args hello=world arg=value # Same as above. Order does not matter. diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot deleted file mode 100644 index 1631a06..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.4/keywords_can_also_return_values_so__0.robot +++ /dev/null @@ -1,11 +0,0 @@ -*** Test Cases *** -Returning multiple values - ${var1} ${var2} = Return Two Values - Should Be Equal ${var1} first value - Should Be Equal ${var2} second value - @{list} = Return Two Values - Should Be Equal @{list}[0] first value - Should Be Equal @{list}[1] second value - ${s1} ${s2} @{li} = Return Multiple Values - Should Be Equal ${s1} ${s2} a list - Should Be Equal @{li}[0] @{li}[1] of strings diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot deleted file mode 100644 index 23ca2c3..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.4/values_are_returned_using_the_return__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Test Cases *** -Returning one value - ${string} = Return String - Should Be Equal ${string} Hello, world! - ${object} = Return Object Robot - Should Be Equal ${object.name} Robot diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot deleted file mode 100644 index c314033..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_free_named_argument_syntax__0.robot +++ /dev/null @@ -1,19 +0,0 @@ -*** Test Cases *** # args, kwargs -No arguments - Dynamic # [], {} - -Positional only - Dynamic x # [x], {} - Dynamic x y # [x, y], {} - -Free named only - Dynamic x=1 # [], {x: 1} - Dynamic x=1 y=2 z=3 # [], {x: 1, y: 2, z: 3} - -Free named with positional - Dynamic x y=2 # [x], {y: 2} - Dynamic x y=2 z=3 # [x], {y: 2, z: 3} - -Free named with normal named - Dynamic a=1 x=1 # [], {a: 1, x: 1} - Dynamic b=2 x=1 a=1 # [], {a: 1, b: 2, x: 1} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot deleted file mode 100644 index 004bcb0..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_argument_syntax_with__0.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Test Cases *** # args # args, kwargs -Positional only - Dynamic x # [x] # [x], {} - Dynamic x y # [x, y] # [x, y], {} - Dynamic x y z # [x, y, z] # [x, y, z], {} - -Named only - Dynamic a=x # [x] # [], {a: x} - Dynamic c=z a=x b=y # [x, y, z] # [], {a: x, b: y, c: z} - -Positional and named - Dynamic x b=y # [x, y] # [x], {b: y} - Dynamic x y c=z # [x, y, z] # [x, y], {c: z} - Dynamic x b=y c=z # [x, y, z] # [x], {y: b, c: z} - -Intermediate missing - Dynamic x c=z # [x, d1, z] # [x], {c: z} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot deleted file mode 100644 index b8702a6..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.robot +++ /dev/null @@ -1,15 +0,0 @@ -*** Test Cases *** # args, kwargs -Named-only only - Dynamic named=value # [], {named: value} - Dynamic named=value named2=2 # [], {named: value, named2: 2} - -Named-only with positional and varargs - Dynamic argument named=xxx # [argument], {named: xxx} - Dynamic a1 a2 named=3 # [a1, a2], {named: 3} - -Named-only with normal named - Dynamic named=foo positional=bar # [], {positional: bar, named: foo} - -Named-only with free named - Dynamic named=value foo=bar # [], {named: value, foo=bar} - Dynamic named2=2 third=3 named=1 # [], {named: 1, named2: 2, third: 3} diff --git a/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot b/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot deleted file mode 100644 index ef10df4..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.1.9/this_approach_is_clearly_better_than__0.robot +++ /dev/null @@ -1,8 +0,0 @@ -*** Settings *** -Library SeleniumLibrary -Library SeLibExtensions - -*** Test Cases *** -Example - Open Browser http://example # SeleniumLibrary - Title Should Start With Example # SeLibExtensions diff --git a/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot b/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot deleted file mode 100644 index eba778a..0000000 --- a/atest/fixtures/highlighting/samples/rfug/4.2.2/the_remote_library_needs_to_know__0.robot +++ /dev/null @@ -1,4 +0,0 @@ -*** Settings *** -Library Remote http://127.0.0.1:8270 WITH NAME Example1 -Library Remote http://example.com:8080/ WITH NAME Example2 -Library Remote http://10.0.0.2/example 1 minute WITH NAME Example3 diff --git a/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot b/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot deleted file mode 100644 index 5abb052..0000000 --- a/atest/fixtures/highlighting/samples/rfug/5.1.2/possible_variables_in_resource_files_can__0.robot +++ /dev/null @@ -1,17 +0,0 @@ -*** Settings *** -Documentation Resource file for demo purposes. -... This resource is only used in an example and it doesn't do anything useful. - -*** Keywords *** -My Keyword - [Documentation] Does nothing - No Operation - -Your Keyword - [Arguments] ${arg} - [Documentation] Takes one argument and *does nothing* with it. - ... - ... Examples: - ... | Your Keyword | xxx | - ... | Your Keyword | yyy | - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot deleted file mode 100644 index 8b0f29e..0000000 --- a/atest/fixtures/highlighting/samples/rfug/6.3.1/adding_newlines_manually_to_a_long__0.robot +++ /dev/null @@ -1,10 +0,0 @@ -*** Settings *** -Documentation -... First line. -... -... Second paragraph. This time -... with multiple lines. -Metadata Example list -... - first item -... - second item -... - third diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot deleted file mode 100644 index 7825b43..0000000 --- a/atest/fixtures/highlighting/samples/rfug/6.3.1/no_automatic_newline_is_added_if__0.robot +++ /dev/null @@ -1,15 +0,0 @@ -*** Test Cases *** - Example 1 - [Documentation] First line\n Second line in multiple parts - No Operation - - Example 2 - [Documentation] First line - ... Second line in multiple parts - No Operation - - Example 3 - [Documentation] First line\n - ... Second line in\ - ... multiple parts - No Operation diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot deleted file mode 100644 index c86cc73..0000000 --- a/atest/fixtures/highlighting/samples/rfug/6.3.1/when_documenting_test_suites__test_cases__0.robot +++ /dev/null @@ -1,3 +0,0 @@ -*** Settings *** -Documentation First line.\n\nSecond paragraph. This time\nwith multiple lines. -Metadata Example list - first item\n- second item\n- third diff --git a/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot b/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot deleted file mode 100644 index 6d4d053..0000000 --- a/atest/fixtures/highlighting/samples/rfug/6.3.2/for_example__the_following_test_suite__0.robot +++ /dev/null @@ -1,6 +0,0 @@ -*** Settings *** -Documentation -... First paragraph has only one line. -... -... Second paragraph, this time created -... with multiple lines. diff --git a/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot b/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot deleted file mode 100644 index 5d046db..0000000 --- a/atest/fixtures/highlighting/samples/rfug/6.4.3/keyword_can_also_accept_other_special__0.robot +++ /dev/null @@ -1,13 +0,0 @@ -*** Keywords *** -True examples - Should Be Equal ${x} ${y} Custom error values=True # Strings are generally true. - Should Be Equal ${x} ${y} Custom error values=yes # Same as the above. - Should Be Equal ${x} ${y} Custom error values=${TRUE} # Python `True` is true. - Should Be Equal ${x} ${y} Custom error values=${42} # Numbers other than 0 are true. - -False examples - Should Be Equal ${x} ${y} Custom error values=False # String `false` is false. - Should Be Equal ${x} ${y} Custom error values=no # Also string `no` is false. - Should Be Equal ${x} ${y} Custom error values=${EMPTY} # Empty string is false. - Should Be Equal ${x} ${y} Custom error values=${FALSE} # Python `False` is false. - Should Be Equal ${x} ${y} Custom error values=no values # Special false string in this context. From 7f6bfb1145b528663d254c327fddee3883b85cfb Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:51:15 -0500 Subject: [PATCH 55/74] update test with hashes --- atest/acceptance/02_Robot/02_Highlight.robot | 270 +++++++++---------- 1 file changed, 135 insertions(+), 135 deletions(-) diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 300cac2..15ee4e0 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -18,141 +18,141 @@ Robot Syntax is Beautiful basic${/}00_test_case loops${/}old_style # BEGIN RFUG - rfug${/}2.1.3${/}in_the_space_separated_format_two__0 - rfug${/}2.1.3${/}one_file_can_contain_both_space__0 - rfug${/}2.1.3${/}there_is_no_need_to_escape__0 - rfug${/}2.1.4${/}empty_cells_can_be_escaped_either__0 - rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__0 - rfug${/}2.1.4${/}all_the_syntax_discussed_above_is__1 - rfug${/}2.2.1${/}the_second_column_normally_has_keyword__0 - rfug${/}2.2.1${/}example_test_case_with_settings___0 - rfug${/}2.2.2${/}the_test_below_uses_keywords_create__0 - rfug${/}2.2.2${/}using_default_values_is_illustrated_by__0 - rfug${/}2.2.2${/}for_example__remove_files_and_join__0 - rfug${/}2.2.2${/}the_named_argument_syntax_requires_the__0 - rfug${/}2.2.2${/}the_following_example_demonstrates_using_the__0 - rfug${/}2.2.2${/}as_the_first_example_of_using__0 - rfug${/}2.2.2${/}as_the_second_example__let_s_create__0 - rfug${/}2.2.2${/}as_an_example_of_using_the__0 - rfug${/}2.2.3${/}by_default_error_messages_are_normal__0 - rfug${/}2.2.4${/}if_documentation_is_split_into_multiple__0 - rfug${/}2.2.5${/}tags_are_free_text__but_they__0 - rfug${/}2.2.6${/}the_easiest_way_to_specify_a__0 - rfug${/}2.2.7${/}how_a_keyword_accepting_normal_positional__0 - rfug${/}2.2.7${/}if_a_templated_test_case_has__0 - rfug${/}2.2.7${/}templates_support_a_variation_of_the_embedded__0 - rfug${/}2.2.7${/}when_embedded_arguments_are_used_with__0 - rfug${/}2.2.7${/}if_templates_are_used_with_for__0 - rfug${/}2.2.8${/}another_style_to_write_test_cases__0 - rfug${/}2.2.8${/}the_above_example_has_six_separate__0 - rfug${/}2.2.8${/}one_way_to_write_these_requirements_tests__0 - rfug${/}2.3.1${/}tasks_are_created_based_on_the__0 - rfug${/}2.4.2${/}the_main_usage_for_initialization_files__0 - rfug${/}2.4.3${/}the_documentation_for_a_test_suite__0 - rfug${/}2.4.4${/}the_name_and_value_for_the__0 - rfug${/}2.5.1${/}in_those_cases_where_the_library__0 - rfug${/}2.5.1${/}another_possibility_to_take_a_test__0 - rfug${/}2.5.2${/}if_the_library_is_a_file___0 - rfug${/}2.5.3${/}the_basic_syntax_for_specifying_the__0 - rfug${/}2.5.3${/}possible_arguments_to_the_library_are__0 - rfug${/}2.6.2${/}the_example_below_illustrates_the_usage__0 - rfug${/}2.6.2${/}with_these_two_variables_set__we__0 - rfug${/}2.6.2${/}when_a_variable_is_used_as__0 - rfug${/}2.6.2${/}it_is_possible_to_use_list__0 - rfug${/}2.6.2${/}list_variables_can_be_used_only__0 - rfug${/}2.6.2${/}as_discussed_above__a_variable_containing__0 - rfug${/}2.6.2${/}it_is_possible_to_use_dictionary__0 - rfug${/}2.6.2${/}dictionary_variables_cannot_generally_be_used__0 - rfug${/}2.6.2${/}it_is_possible_to_access_a__0 - rfug${/}2.6.2${/}list_item_access_supports_also_the__0 - rfug${/}2.6.2${/}if_a_key_is_a_string___0 - rfug${/}2.6.2${/}also_nested_list_and_dictionary_structures__0 - rfug${/}2.6.2${/}environment_variables_set_in_the_operating__0 - rfug${/}2.6.2${/}when_running_tests_with_jython__it__0 - rfug${/}2.6.3${/}the_simplest_possible_variable_assignment_is__0 - rfug${/}2.6.3${/}it_is_also_possible__but_not__0 - rfug${/}2.6.3${/}if_a_scalar_variable_has_a__0 - rfug${/}2.6.3${/}creating_list_variables_is_as_easy__0 - rfug${/}2.6.3${/}dictionary_variables_can_be_created_in__0 - rfug${/}2.6.3${/}any_value_returned_by_a_keyword__0 - rfug${/}2.6.3${/}notice_that_although_a_value_is__0 - rfug${/}2.6.3${/}if_a_keyword_returns_a_list__0 - rfug${/}2.6.3${/}if_a_keyword_returns_a_list__1 - rfug${/}2.6.3${/}if_a_keyword_returns_a_dictionary__0 - rfug${/}2.6.4${/}built_in_variables_related_to_the_operating__0 - rfug${/}2.6.4${/}the_variable_syntax_can_be_used__0 - rfug${/}2.6.4${/}it_is_possible_to_create_integers__0 - rfug${/}2.6.4${/}also_boolean_values_and_python_none__0 - rfug${/}2.6.4${/}it_is_possible_to_create_spaces__0 - rfug${/}2.6.4${/}there_is_also_an_empty_list__0 - rfug${/}2.6.6${/}the_most_common_usages_of_extended__0 - rfug${/}2.6.6${/}many_standard_python_objects__including_strings__0 - rfug${/}2.6.6${/}it_is_possible_to_set_attributes__0 - rfug${/}2.6.6${/}in_the_example_below__do_x__0 - rfug${/}2.7.1${/}in_many_ways__the_overall_user__0 - rfug${/}2.7.2${/}user_keywords_can_have_a_documentation__0 - rfug${/}2.7.3${/}starting_from_robot_framework_2_9__keywords__0 - rfug${/}2.7.4${/}the_syntax_is_such_that_first__0 - rfug${/}2.7.4${/}the_syntax_for_default_values_is__0 - rfug${/}2.7.4${/}when_a_keyword_accepts_several_arguments__0 - rfug${/}2.7.4${/}sometimes_even_default_values_are_not__0 - rfug${/}2.7.4${/}the_keywords_in_the_examples_above__0 - rfug${/}2.7.4${/}user_keywords_can_also_accept_free__0 - rfug${/}2.7.4${/}starting_from_robot_framework_3_1__user__0 - rfug${/}2.7.4${/}named_only_arguments_can_be_used_together__0 - rfug${/}2.7.4${/}when_passing_named_only_arguments_to_keywords___0 - rfug${/}2.7.4${/}named_only_arguments_can_have_default_values__0 - rfug${/}2.7.5${/}it_has_always_been_possible_to__0 - rfug${/}2.7.5${/}when_keywords_with_embedded_arguments_are__0 - rfug${/}2.7.5${/}a_custom_embedded_argument_regular_expression__0 - rfug${/}2.7.5${/}whenever_custom_embedded_argument_regular_expressions__0 - rfug${/}2.7.5${/}the_biggest_benefit_of_having_arguments__0 - rfug${/}2.7.6${/}user_keywords_can_also_return_several__0 - rfug${/}2.7.6${/}the_first_example_below_is_functionally__0 - rfug${/}2.7.7${/}keyword_teardown_works_much_in_the__0 - rfug${/}2.8.1${/}resource_files_can_use_all_the__0 - rfug${/}2.8.1${/}both_libdoc_and_ride_use_these__0 - rfug${/}2.8.2${/}all_test_data_files_can_import__0 - rfug${/}2.8.2${/}the_variables_in_both_the_examples__0 - rfug${/}2.8.2${/}if_the_above_yaml_file_is__0 - rfug${/}2.9.2${/}if_there_is_a_timeout__the__0 - rfug${/}2.9.2${/}starting_from_robot_framework_3_0__timeout__0 - rfug${/}2.9.3${/}the_keywords_used_in_the_for__0 - rfug${/}2.9.3${/}it_is_often_convenient_to_use__0 - rfug${/}2.9.3${/}for_loop_syntax_was_enhanced_in__0 - rfug${/}2.9.3${/}having_nested_for_loops_is_not__0 - rfug${/}2.9.3${/}if_there_are_lot_of_values__0 - rfug${/}2.9.3${/}it_is_possible_to_use_simple__0 - rfug${/}2.9.3${/}for_example__the_following_two_test__0 - rfug${/}2.9.3${/}just_like_with_regular_for_loops___0 - rfug${/}2.9.3${/}this_may_be_easiest_to_show__0 - rfug${/}2.9.3${/}exit_for_loop_and_exit_for__0 - rfug${/}2.9.3${/}continue_for_loop_and_continue_for__0 - rfug${/}2.9.3${/}for_loops_can_be_excessive_in__0 - rfug${/}4.1.2${/}the_number_of_arguments_needed_by__0 - rfug${/}4.1.3${/}the_example_below_illustrates_how_the__0 - rfug${/}4.1.3${/}it_is_possible_to_expose_a__0 - rfug${/}4.1.3${/}the_first_example_keyword_above_can__0 - rfug${/}4.1.3${/}python_supports_methods_accepting_any_number__0 - rfug${/}4.1.3${/}if_you_are_already_familiar_how__0 - rfug${/}4.1.3${/}the_following_example_illustrates_how_normal__0 - rfug${/}4.1.3${/}starting_from_robot_framework_3_1__it__0 - rfug${/}4.1.3${/}if_no_type_information_is_specified__0 - rfug${/}4.1.3${/}the_coercion_works_with_the_numeric__0 - rfug${/}4.1.3${/}library_keywords_can_also_accept_arguments__0 - rfug${/}4.1.4${/}values_are_returned_using_the_return__0 - rfug${/}4.1.4${/}keywords_can_also_return_values_so__0 - rfug${/}4.1.6${/}using_the_named_argument_syntax_with__0 - rfug${/}4.1.6${/}using_the_free_named_argument_syntax__0 - rfug${/}4.1.6${/}using_the_named_only_argument_syntax_with__0 - rfug${/}4.1.9${/}this_approach_is_clearly_better_than__0 - rfug${/}4.2.2${/}the_remote_library_needs_to_know__0 - rfug${/}5.1.2${/}possible_variables_in_resource_files_can__0 - rfug${/}6.3.1${/}when_documenting_test_suites__test_cases__0 - rfug${/}6.3.1${/}adding_newlines_manually_to_a_long__0 - rfug${/}6.3.1${/}no_automatic_newline_is_added_if__0 - rfug${/}6.3.2${/}for_example__the_following_test_suite__0 - rfug${/}6.4.3${/}keyword_can_also_accept_other_special__0 + rfug${/}0121d11dce72f3f16f8d2f274d534f5086ee5373f9ffd8b38f6f52dfa55d7e2a + rfug${/}02373c48f779c78c85002af6741b00f9e5097c4df40c280c2cb619bff8766ae1 + rfug${/}04923f3ba2cf4a5c0e4f07bf5422da5e064aba1491996f897c0b1f7919cf6404 + rfug${/}0592b828e07e0283a522ac9829ba7ca3f6fdb4daa808894c222fecae0cd27271 + rfug${/}05d4af64db1a38b98851b62f82a9301e843f661f7850981bc1b535ccf4c1a8c4 + rfug${/}05f5d8372d56c856d474cc82abdc00317867ea54ad3adfe9cf6ab18dd30d0c18 + rfug${/}06b24460be2e6ff2ada5c7550b03c14a42bc4ee410f8203b8b24dff53f722ee7 + rfug${/}08ef901bb6046ea0e59b3135401bc5e1928fa3ff6b390bfb059787564e08c139 + rfug${/}092e8d511af68be2a0a286be12b9a8048ab6cbc76c0c17aae6deb2de4a202e14 + rfug${/}0a97471622cafaedc59fd034eb0c484968f7c255f1b444c5f8d6038964f20df4 + rfug${/}0aab0d1fa74549494ee3e3c84ddece2f5d7e6680c2988663e098a18b3e07cd08 + rfug${/}0b24694ed1b1f98493b33555347be15188b01a8b50e95908f62eb1e71cb2975a + rfug${/}1086595c60f3ffa2007ec24cb12a5d03c3b781e0cac0add7ecf98aa9390d2c69 + rfug${/}10e560062d3cc3a4936b9d0feb6628087863a9da53e281985d7ef58d2467bda4 + rfug${/}12bc8b58d19da54d10464c7107a68802e9c4912343ce983b8eaa2d10b0099833 + rfug${/}153a7e6614945b59ba4e59d9edc514e15f4cc6d92e383e709d2b40e4ddee787b + rfug${/}1741f94ea882100c7f6b2b0b496b4a637973fae1438d0fce3dcf4792b175cef8 + rfug${/}1e8269dbd5a257712003467240e33b0632e174f69162d8b0fb1d9de784c68e64 + rfug${/}1e8353f856ca260e56f3050614e1dfe55cb5ff456a8680c8dfb2656e31a410f1 + rfug${/}20048739e7b3b3c944c35d0bc955912fc2363c7cc1c2e5fb594410e0d15b65ac + rfug${/}20cd40ec5b88bbf6580d05322f9ec2c64625c37083c087bfa24d3ae4ccfdc766 + rfug${/}20df04918baac64af57717b43e0fbfd87689b08217ff180d1a09cfa3dd497e61 + rfug${/}20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5 + rfug${/}212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e + rfug${/}22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b + rfug${/}2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0 + rfug${/}2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9 + rfug${/}2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005 + rfug${/}30d47f677d803f0d674302e9f409d930084a538133e5c7da5ca9597577eb476f + rfug${/}341d95770204f76464bcb48e9d022bfe8bc5fd0775c634c648e21d2e2e1c19b7 + rfug${/}34f6accdeebdb7202794c428a23b952f3be36437dffb02ae39814e88ddfcb7db + rfug${/}388c8b54ac98242cee4261f62fe4acf333f0ac5c2ca76d41c2fd1f4ed71ec34b + rfug${/}39cad635de20b26a82df7d01b53e6761f66dd37d13dd45afc52911b4cb0d125b + rfug${/}3aa3b4570c5ba1f80ca037585fd9b0db072fcee39904a8ea550857e45054455d + rfug${/}3d958a4ca736e539b8bf1ef949794659715bd81c247a9af0732b1578de94de11 + rfug${/}3d98df5a260675e328661d653b10c7c0133b7911d606d86a1db43b1a35af9510 + rfug${/}3e277a8346d48ea215024a486ec6a28fba58f841477fdd5a705c421a41146499 + rfug${/}3ef696c06c63d42d883007555bd6f95b8cfef399451aeb0c8ef42412f68196fe + rfug${/}3f284550c09f030f37c5284ed13866c6eba6a125af3fea1669785582a5483c2f + rfug${/}3fdda1941e3f557e77c05a7b9ec84a63793c5ccd1498adc79354f393867b6033 + rfug${/}40f103e15e7a7b5e38ce23e4e0effb1e2eebefb9b24b2a7d79cad73dc6da7f06 + rfug${/}410f7fe6d9038d2bbf5eff3053746ce1cef7e5263b7af553b22b18352347d5b6 + rfug${/}415e28bbab0b25f38eabc1ffc962aae3f580d762d318daf0b57510ad61c26d20 + rfug${/}4368bf6ece431c9f4d56798eef916ddf93f618cf87c615fc58dbf602e34ffeae + rfug${/}44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13 + rfug${/}452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c + rfug${/}479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1 + rfug${/}47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771 + rfug${/}48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f + rfug${/}506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be + rfug${/}52c8af8fbc6b184fea278fcadd1ecc3da68ca3813d97697b3285fadcd1e285ab + rfug${/}532d35971d640d9a253b47ec29d37135f9558dacf964ef722d584809ee21b82f + rfug${/}5655e1ae7dfd07ca9cb840e674152411889f65a731907b0d2938a39382926756 + rfug${/}57586d2261c92768d9d83a4f84d60357d651bd2f1fa2cbf995919a977cc1c246 + rfug${/}57d4fe4bb026e3aab2349f18ead841fa91c26661b0cfdfd613b69adb9da5eec3 + rfug${/}591c36a3075dba9bff1249e2b03cd92d2ba54b7d211e33b64b9edd0e24b22dad + rfug${/}59faa878a8acd1c86dbc79a2cab7123825e5dd9bc4f98ea5a12ecc916f17ed63 + rfug${/}5ba768e3c479734e43c46e286ae480005c12b38720a1868b2eb49014480ba442 + rfug${/}5cdf1e7a7c1e1180764138c8d8633bf2ad274a858d45cf9f2495c919bea5fbe9 + rfug${/}5e73f2bdd7cd6d43b7a87137f25aaf6b6d4bef7bd67c109cbe5aa1ab28dbe6a4 + rfug${/}6170e7b26b1017b12aa66b5bc52a6242c3e37be0e0949b7cbc9222af136d4803 + rfug${/}618adedfd1b83f5d45e078051c01d0eb326ba188aa0e07307336de0ec8024f86 + rfug${/}6416c19caa21082fbf17a041f1dd0e196fbcd72d45e59c304d3c21c7b7793ea6 + rfug${/}651255edafb18fa80c1e4d4b54c33dccdc73097fc3f0e7da390d7138d8762dcc + rfug${/}653727e6079338350455d797c46d39fb3f8e738dd4976798b26c7b67b11cf8ae + rfug${/}6d8e9584fa383b2234ad4f0041a029f77d0f5d50dd4b273a541a89e26b53ee09 + rfug${/}6ddd7ceacb679de1a36841fe680929cd21e30e8294c8c32306a3eee4d30e6154 + rfug${/}6e8906a5f2ec1b630a50364e313f4d6b0eb5bbfec7bf7f18645b7a8d98130c5c + rfug${/}6fc94101dabf8ec05d36020547f1a76368b9e111bea2da46827196c8bbab19a5 + rfug${/}73296a9999631a485bd1df7926822d37a014dee6dfefb4e9a6d17eb58e1de930 + rfug${/}75a1e5fde354d71dca9a0bd0d90a0c177fe496ecd6d65048ea77f2b46b4c4c41 + rfug${/}766f42a8c689f4a3dc55c9ba7cb7d5c5c53e3d835d5dad759b8a7898cd00d652 + rfug${/}7ba3bd3e76ec30280f3b93616f7a9fe0d5d910e184bdd5e88accaa8ad8b3a15c + rfug${/}7bf46b6d5812b6dd32ef9a4ebab7e61b0923a695b03db511ab535d897e2e6264 + rfug${/}7e9e17a259aec72a2990467109c927b18e8c1ef206285f85350bd248aa5c5ad8 + rfug${/}7f7aff82879c76d0b98191118153ed2f7e6cf0d62bd66eeb149ccc3b75876569 + rfug${/}874704917cf5c4d3b0fef54dd73aa731eeae497eda7d4907caaf5d8ee1b751b8 + rfug${/}8975555ee765d3df3e42871ae70b7c92d59d208e9eb1fa370cd4942849f216fd + rfug${/}8bd3cf1fa009f5d9e1c27f0f382a854efef602300713d10586ae600d8f70a6d3 + rfug${/}8bfe7b77d86188c23a880b441804d4d944ec8190ada40fb83d5fa7e37f6ce804 + rfug${/}8df77959c3c808ed3102f5c6c1fa49733ba4e773ddaf246710a2b797cd56a643 + rfug${/}8e5140e8a3f637e0a4df37a4141af6acd5a17ac3dca15a7c67071de1e6a7b1ba + rfug${/}8fe96d3d4aec5eca5394e8e93118115b04470e35fbe2f4b46a3b65606fc01181 + rfug${/}90546ad3f03c6d9dd4c49becff6a764c7b48c7338cde927dff2243261ec75ba5 + rfug${/}90bd912803b584e17e849080fd626ef144c6f9ccf282b648fbf39b57ddffd3f6 + rfug${/}92ba7ffda8428e1761be331c36ee388868e4c74cb32c43dacb4b870eeae8d7c2 + rfug${/}93ae646bc6372e44bb81813d04d11fa6fa379e162f65fa81b9b4d936253fc25a + rfug${/}9646aff3c29735e7d4190f239ad82ef5c4370d11103bce5fe3035279f15ba31e + rfug${/}97c08e4a04df19c3fda2bfcabb91474f246c1404b9136e399c8986f2c143a440 + rfug${/}99a7515409d3919e877a32ad408a7bc231e6297ef3c45af189ebbcb4ba8e5126 + rfug${/}a66ddf2a13c2108d30af91be420d31de4e08118de296f4e308e1925e426253fd + rfug${/}a7596ec70c45490a4e819caf159823b81464e5f66897b5e1c718da7e23fea283 + rfug${/}a7d7bfca50cfe793ef63c8cea2b534155a899b6c04300976d68699428dbe6ea7 + rfug${/}a8115e316cc8dd5035c950f19a019b6f8d9ea7667a6fa851de29a93e131165a9 + rfug${/}aa22ae088af21b643640b58dec621d3d8d904e732b308446e849dd10adfd4fb4 + rfug${/}ab223eb46e8e9ad93b3510d6ec1c2a76ee92e02b5a6281aa267cf771085f4dae + rfug${/}b2ca9fedc1748d10b0ef401a0dfea4d336f70a16efb32fe55328504fb0524244 + rfug${/}b87d695c51ccc4f21e5820860bcbf4cc6851ad1166665833cfc319a1a423eb21 + rfug${/}ba8686e4f09bc3b721279260eb268b42dbc680f0a0b07ba90ee7468a00b3f5a2 + rfug${/}bac9ffc20adf5c49fe2c1a0c093ab96d501297796d01d74337ed6766df7f2974 + rfug${/}bb93c8b4e9dffbad90ad5667eee7ce2e098f7828b2592df256e412959fbe4f0c + rfug${/}c039ae1f15e242142ec0e88508deb8013e63236fce9b934181dbbf597bd1ba79 + rfug${/}c1b0768d04cb2ffd9c8357fffa052d5530dec6b582024789f7e390dcf46be3b9 + rfug${/}c201a52dc79270dcd0d55c528965114635500404fb3a412d4dca2f375f0bd40b + rfug${/}c330fbac99b018d17cf3df78f09d5c9548b83dcf52b4e62e46c34e0154562932 + rfug${/}c64b7d09f132dd7c2a9826fbeaf0de94534d1ddc852bf5e20df93bb4fb5a44af + rfug${/}c74568d0a997b544bbad4342b930792a51b97e5198aee8c86bd9486fee742307 + rfug${/}c8c6ff813ce931a654305197bf0a54727c2d27e1f526b6fa7daaaefca33ddfe1 + rfug${/}c9b783d88d1e8ad70f8b8547822c97a5df506b19f0f4a9030850af503d895826 + rfug${/}c9e69339713700f43dee457a6e155bc30f5ff0e94cabedc07bb37132340ea08b + rfug${/}cdc160e6f7e6916c58517f42a2213c0eb456ddb927ae6d60617deb63621d59d5 + rfug${/}cfac0bd38202344652998d8e761fe99e18eb3627e688c8ff4422fffaa14076e7 + rfug${/}cfbda18f03128c58940300219c051619419e49bbf48f8827ac8a468f9fc49dad + rfug${/}d0b81911ad9aea4ae30bfc46af694e215b6f5b1570c6199d4af0a1a25acab272 + rfug${/}d6a0f25ab7382e810dd5d16a46617a85f4bf8d27ff03ee26269a49f80c08bbe1 + rfug${/}d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777 + rfug${/}d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa + rfug${/}da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47 + rfug${/}dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110 + rfug${/}defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2 + rfug${/}e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5 + rfug${/}e0e51f49a26794416e8e4678fcaf772aadf53000240df723bc67cacce5b907c5 + rfug${/}e121bcdf1a93f06906551fc8231b302edb252786bddeb7658cdd549dfa718b35 + rfug${/}e34d205a920479f6e448b166b8ce08b02d875ca3352ee383e83a0f8d69022021 + rfug${/}e387cc44e663e66585d3aac555ad217ca8be9b7b52aee4625610ca36d3771466 + rfug${/}e63e1c99aa2717cc02f5713c5fa947d0f9644ecdb41ddb3f4496f8cfb84e4181 + rfug${/}e8bad102a86a8bfadf5ad8c218003b5e1306f1be7a58ee85d01842d7d7340e90 + rfug${/}e9469b86da7278b6235341d43d41256e6a33da5322f547913fda313af562fd9d + rfug${/}eb476d0680d3f6b723a44707c19fb386b70d8856cfb01d9e03d4c63647e8d907 + rfug${/}ef92fc6d23046942bc803c50cb1ca6342b53ef08e89d9d9d4b61222ec33bdf48 + rfug${/}f11d6a7668d70b777258aa16146520ebffc9891b463cb53632afffd84ee02704 + rfug${/}f39b39b3cd3c439b7588bb415577dcc29dcfd5d2ce4523f6193360813cbcb9b8 + rfug${/}fa420f6bccf5d261b63e20c73d18b8df664e7b9417de3adfa564237e159d4ba4 + rfug${/}fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486 + rfug${/}fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b # END RFUG *** Keywords *** From e8e541f28f9fb0da2963e07a587652a5c3ffdc05 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 29 Jan 2019 23:51:55 -0500 Subject: [PATCH 56/74] remove named tokens --- ...n_the_space_separated_format_two__0.tokens | 42 ------- .../one_file_can_contain_both_space__0.tokens | 83 ------------- .../there_is_no_need_to_escape__0.tokens | 31 ----- ...ll_the_syntax_discussed_above_is__0.tokens | 93 -------------- ...ll_the_syntax_discussed_above_is__1.tokens | 103 ---------------- ...mpty_cells_can_be_escaped_either__0.tokens | 24 ---- ...example_test_case_with_settings___0.tokens | 14 --- ...cond_column_normally_has_keyword__0.tokens | 36 ------ .../as_an_example_of_using_the__0.tokens | 29 ----- .../as_the_first_example_of_using__0.tokens | 20 --- ...the_second_example__let_s_create__0.tokens | 29 ----- ...r_example__remove_files_and_join__0.tokens | 27 ---- ...g_example_demonstrates_using_the__0.tokens | 47 ------- ...med_argument_syntax_requires_the__0.tokens | 18 --- ..._test_below_uses_keywords_create__0.tokens | 20 --- ...default_values_is_illustrated_by__0.tokens | 25 ---- ...efault_error_messages_are_normal__0.tokens | 26 ---- ...mentation_is_split_into_multiple__0.tokens | 51 -------- .../tags_are_free_text__but_they__0.tokens | 83 ------------- .../the_easiest_way_to_specify_a__0.tokens | 86 ------------- ...word_accepting_normal_positional__0.tokens | 18 --- .../if_a_templated_test_case_has__0.tokens | 24 ---- .../if_templates_are_used_with_for__0.tokens | 24 ---- ...port_a_variation_of_the_embedded__0.tokens | 56 --------- ...embedded_arguments_are_used_with__0.tokens | 52 -------- ...nother_style_to_write_test_cases__0.tokens | 37 ------ ...o_write_these_requirements_tests__0.tokens | 28 ----- ...e_above_example_has_six_separate__0.tokens | 35 ------ .../tasks_are_created_based_on_the__0.tokens | 20 --- ...n_usage_for_initialization_files__0.tokens | 26 ---- ...e_documentation_for_a_test_suite__0.tokens | 19 --- .../the_name_and_value_for_the__0.tokens | 18 --- ...other_possibility_to_take_a_test__0.tokens | 12 -- ...in_those_cases_where_the_library__0.tokens | 11 -- .../2.5.2/if_the_library_is_a_file___0.tokens | 12 -- ...ble_arguments_to_the_library_are__0.tokens | 30 ----- ..._basic_syntax_for_specifying_the__0.tokens | 11 -- ...d_list_and_dictionary_structures__0.tokens | 24 ---- ...sed_above__a_variable_containing__0.tokens | 12 -- ...riables_cannot_generally_be_used__0.tokens | 11 -- ...t_variables_set_in_the_operating__0.tokens | 11 -- .../2.6.2/if_a_key_is_a_string___0.tokens | 52 -------- .../it_is_possible_to_access_a__0.tokens | 33 ----- ...it_is_possible_to_use_dictionary__0.tokens | 15 --- .../it_is_possible_to_use_list__0.tokens | 14 --- ...st_item_access_supports_also_the__0.tokens | 39 ------ .../list_variables_can_be_used_only__0.tokens | 30 ----- ...mple_below_illustrates_the_usage__0.tokens | 15 --- .../when_a_variable_is_used_as__0.tokens | 8 -- ...en_running_tests_with_jython__it__0.tokens | 14 --- ...with_these_two_variables_set__we__0.tokens | 22 ---- .../any_value_returned_by_a_keyword__0.tokens | 13 -- ...eating_list_variables_is_as_easy__0.tokens | 19 --- ...nary_variables_can_be_created_in__0.tokens | 54 -------- ...f_a_keyword_returns_a_dictionary__0.tokens | 32 ----- .../if_a_keyword_returns_a_list__0.tokens | 17 --- .../if_a_keyword_returns_a_list__1.tokens | 30 ----- .../if_a_scalar_variable_has_a__0.tokens | 21 ---- .../it_is_also_possible__but_not__0.tokens | 8 -- .../notice_that_although_a_value_is__0.tokens | 17 --- ..._possible_variable_assignment_is__0.tokens | 9 -- ...o_boolean_values_and_python_none__0.tokens | 36 ------ ...riables_related_to_the_operating__0.tokens | 34 ------ ...t_is_possible_to_create_integers__0.tokens | 38 ------ .../it_is_possible_to_create_spaces__0.tokens | 68 ----------- .../the_variable_syntax_can_be_used__0.tokens | 24 ---- .../there_is_also_an_empty_list__0.tokens | 25 ---- .../in_the_example_below__do_x__0.tokens | 14 --- ...it_is_possible_to_set_attributes__0.tokens | 20 --- ...ython_objects__including_strings__0.tokens | 44 ------- ...e_most_common_usages_of_extended__0.tokens | 24 ---- .../in_many_ways__the_overall_user__0.tokens | 27 ---- ...eywords_can_have_a_documentation__0.tokens | 85 ------------- ...om_robot_framework_2_9__keywords__0.tokens | 36 ------ ...y_arguments_can_be_used_together__0.tokens | 23 ---- ...rguments_can_have_default_values__0.tokens | 46 ------- ...imes_even_default_values_are_not__0.tokens | 45 ------- ...g_from_robot_framework_3_1__user__0.tokens | 20 --- ...e_keywords_in_the_examples_above__0.tokens | 49 -------- ...the_syntax_for_default_values_is__0.tokens | 105 ---------------- .../the_syntax_is_such_that_first__0.tokens | 39 ------ ...er_keywords_can_also_accept_free__0.tokens | 30 ----- ...eyword_accepts_several_arguments__0.tokens | 10 -- ...amed_only_arguments_to_keywords___0.tokens | 73 ----------- ...dded_argument_regular_expression__0.tokens | 72 ----------- .../it_has_always_been_possible_to__0.tokens | 15 --- ...gest_benefit_of_having_arguments__0.tokens | 87 ------------- ...ords_with_embedded_arguments_are__0.tokens | 38 ------ ...ded_argument_regular_expressions__0.tokens | 17 --- ...st_example_below_is_functionally__0.tokens | 115 ------------------ ...keywords_can_also_return_several__0.tokens | 56 --------- ...yword_teardown_works_much_in_the__0.tokens | 24 ---- .../both_libdoc_and_ride_use_these__0.tokens | 59 --------- .../resource_files_can_use_all_the__0.tokens | 8 -- .../all_test_data_files_can_import__0.tokens | 14 --- .../2.8.2/if_the_above_yaml_file_is__0.tokens | 18 --- ...e_variables_in_both_the_examples__0.tokens | 53 -------- .../if_there_is_a_timeout__the__0.tokens | 98 --------------- ...rom_robot_framework_3_0__timeout__0.tokens | 78 ------------ ...ntinue_for_loop_and_continue_for__0.tokens | 35 ------ .../exit_for_loop_and_exit_for__0.tokens | 36 ------ ..._example__the_following_two_test__0.tokens | 38 ------ .../for_loop_syntax_was_enhanced_in__0.tokens | 17 --- .../for_loops_can_be_excessive_in__0.tokens | 21 ---- .../having_nested_for_loops_is_not__0.tokens | 25 ---- .../if_there_are_lot_of_values__0.tokens | 35 ------ .../it_is_often_convenient_to_use__0.tokens | 10 -- .../it_is_possible_to_use_simple__0.tokens | 102 ---------------- ...ust_like_with_regular_for_loops___0.tokens | 32 ----- .../the_keywords_used_in_the_for__0.tokens | 36 ------ .../this_may_be_easiest_to_show__0.tokens | 53 -------- ...he_number_of_arguments_needed_by__0.tokens | 8 -- ...no_type_information_is_specified__0.tokens | 6 - .../if_you_are_already_familiar_how__0.tokens | 17 --- .../it_is_possible_to_expose_a__0.tokens | 8 -- ...ywords_can_also_accept_arguments__0.tokens | 9 -- ...rts_methods_accepting_any_number__0.tokens | 49 -------- ...ing_from_robot_framework_3_1__it__0.tokens | 15 --- ..._coercion_works_with_the_numeric__0.tokens | 38 ------ ...xample_below_illustrates_how_the__0.tokens | 9 -- ..._first_example_keyword_above_can__0.tokens | 24 ---- ...g_example_illustrates_how_normal__0.tokens | 67 ---------- ...ywords_can_also_return_values_so__0.tokens | 89 -------------- ...es_are_returned_using_the_return__0.tokens | 25 ---- ...g_the_free_named_argument_syntax__0.tokens | 66 ---------- ...g_the_named_argument_syntax_with__0.tokens | 62 ---------- ..._named_only_argument_syntax_with__0.tokens | 59 --------- ..._approach_is_clearly_better_than__0.tokens | 17 --- ...the_remote_library_needs_to_know__0.tokens | 21 ---- ..._variables_in_resource_files_can__0.tokens | 61 ---------- ...ding_newlines_manually_to_a_long__0.tokens | 29 ----- ...no_automatic_newline_is_added_if__0.tokens | 40 ------ ...umenting_test_suites__test_cases__0.tokens | 18 --- ...xample__the_following_test_suite__0.tokens | 20 --- ...rd_can_also_accept_other_special__0.tokens | 113 ----------------- 135 files changed, 4817 deletions(-) delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens delete mode 100644 atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens deleted file mode 100644 index de84431..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.3/in_the_space_separated_format_two__0.tokens +++ /dev/null @@ -1,42 +0,0 @@ -header link -meta -string -string -string -string -string -string -string -string -meta -string -header link -variable-2 -string -string -header link -header string -meta -string -string -keyword -variable-2 -keyword -keyword -string -header string -keyword -keyword -keyword -variable-2 -string -string -header link -def -def -meta -variable-2 -keyword -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens deleted file mode 100644 index 83ae077..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.3/one_file_can_contain_both_space__0.tokens +++ /dev/null @@ -1,83 +0,0 @@ -bracket -header link -bracket -bracket -meta -bracket -string -string -string -string -string -string -string -string -bracket -meta -bracket -string -bracket -header link -bracket -bracket -variable-2 -bracket -string -string -bracket -header link -bracket -bracket -bracket -bracket -header string -bracket -meta -bracket -string -string -bracket -bracket -bracket -keyword -bracket -variable-2 -bracket -bracket -bracket -keyword -keyword -bracket -string -bracket -bracket -header string -bracket -keyword -keyword -keyword -bracket -variable-2 -bracket -string -string -bracket -header link -bracket -bracket -bracket -bracket -header string -bracket -meta -bracket -variable-2 -bracket -bracket -bracket -keyword -keyword -keyword -bracket -variable-2 -bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens deleted file mode 100644 index e2a1a10..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.3/there_is_no_need_to_escape__0.tokens +++ /dev/null @@ -1,31 +0,0 @@ -bracket -header link -bracket -bracket -bracket -bracket -bracket -header string -bracket -variable-2 -operator -keyword -keyword -bracket -string -string -string -string -string -string -bracket -bracket -bracket -keyword -keyword -keyword -bracket -variable-2 -bracket -string -bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens deleted file mode 100644 index 2cd0a63..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__0.tokens +++ /dev/null @@ -1,93 +0,0 @@ -header link -meta -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string -meta -tag -tag -tag -tag -tag -tag -tag -header link -variable-2 -string -string -string -string -string -string -string -string -string -string -string -string -string -header link -header string -bracket -meta -bracket -tag -tag -tag -tag -tag -tag -tag -tag -tag -tag -tag -keyword -keyword -string -string -string -string -string -string -string -string -string -string -string -string -variable-2 -operator -keyword -keyword -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens deleted file mode 100644 index 3fc66f8..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/all_the_syntax_discussed_above_is__1.tokens +++ /dev/null @@ -1,103 +0,0 @@ -header link -meta -string -string -string -string -string -string -string -bracket -string -string -string -string -string -string -string -string -string -string -meta -tag -tag -tag -tag -tag -bracket -tag -tag -tag -tag -header link -variable-2 -string -string -string -string -string -string -bracket -string -string -string -string -string -string -string -header link -header string -bracket -meta -bracket -tag -tag -tag -tag -tag -tag -tag -bracket -tag -tag -tag -tag -keyword -keyword -string -string -string -string -string -string -bracket -string -string -string -string -string -string -variable-2 -operator -keyword -keyword -bracket -string -string -string -string -string -string -string -string -string -bracket -string -string -string -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens deleted file mode 100644 index d3569f1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.1.4/empty_cells_can_be_escaped_either__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -keyword -keyword -string -string -bracket -header string -keyword -keyword -string -string -variable-2 -builtin -variable-2 -header string -keyword -keyword -variable-2 -builtin -variable-2 -string -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens deleted file mode 100644 index 2243b1e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.1/example_test_case_with_settings___0.tokens +++ /dev/null @@ -1,14 +0,0 @@ -header link -header string -meta -string -string -string -bracket -meta -bracket -tag -tag -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens deleted file mode 100644 index d8a1818..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.1/the_second_column_normally_has_keyword__0.tokens +++ /dev/null @@ -1,36 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -string -keyword -keyword -string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -header string -keyword -keyword -string -string -string -string -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens deleted file mode 100644 index e9a5572..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_an_example_of_using_the__0.tokens +++ /dev/null @@ -1,29 +0,0 @@ -header link -header string -keyword -keyword -string -string -comment -keyword -keyword -string -attribute -operator -string -comment -header link -def -def -meta -variable-2 -variable-2 -operator -string -keyword -keyword -string -variable-2 -attribute -operator -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens deleted file mode 100644 index b60cc7e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_first_example_of_using__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -header string -keyword -keyword -string -string -string -attribute -operator -string -keyword -keyword -string -string -attribute -operator -string -attribute -operator -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens deleted file mode 100644 index b6c9627..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/as_the_second_example__let_s_create__0.tokens +++ /dev/null @@ -1,29 +0,0 @@ -header link -header string -keyword -keyword -string -string -attribute -operator -string -keyword -keyword -string -attribute -operator -string -attribute -operator -variable-2 -header link -def -def -meta -variable-2 -variable-2 -keyword -keyword -string -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens deleted file mode 100644 index 4b05617..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/for_example__remove_files_and_join__0.tokens +++ /dev/null @@ -1,27 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -builtin -variable-2 -string -variable-2 -builtin -variable-2 -string -variable-2 -builtin -variable-2 -string -variable-2 -operator -keyword -keyword -variable-2 -builtin -variable-2 -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens deleted file mode 100644 index 3b6a566..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_following_example_demonstrates_using_the__0.tokens +++ /dev/null @@ -1,47 +0,0 @@ -header link -meta -string -attribute -operator -string -attribute -operator -string -header link -header string -keyword -keyword -string -attribute -operator -variable-2 -attribute -operator -string -keyword -keyword -attribute -operator -string -keyword -keyword -attribute -operator -string -attribute -operator -string -header link -def -def -meta -variable-2 -operator -string -variable-2 -operator -keyword -keyword -string -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens deleted file mode 100644 index 48c15a7..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_named_argument_syntax_requires_the__0.tokens +++ /dev/null @@ -1,18 +0,0 @@ -header link -header string -keyword -keyword -attribute -operator -string -comment -header link -def -def -meta -variable-2 -keyword -keyword -string -variable-2 -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens deleted file mode 100644 index f800dc7..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/the_test_below_uses_keywords_create__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -builtin -variable-2 -string -keyword -keyword -variable-2 -builtin -variable-2 -string -variable-2 -builtin -variable-2 -string -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens deleted file mode 100644 index 1ff8b9f..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.2/using_default_values_is_illustrated_by__0.tokens +++ /dev/null @@ -1,25 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -builtin -variable-2 -string -keyword -keyword -variable-2 -builtin -variable-2 -string -string -string -keyword -keyword -variable-2 -builtin -variable-2 -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens deleted file mode 100644 index 1ea9cae..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.3/by_default_error_messages_are_normal__0.tokens +++ /dev/null @@ -1,26 +0,0 @@ -header link -header string -keyword -string -string -string -string -string -string -header string -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -variable-2 -string -string strong -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens deleted file mode 100644 index 5ce0eb7..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.4/if_documentation_is_split_into_multiple__0.tokens +++ /dev/null @@ -1,51 +0,0 @@ -header link -header string -meta -string -string -keyword -keyword -header string -meta -string strong -string -em string -string -string -string -string -string -string -keyword -keyword -header string -meta -string -string -variable-2 -string -variable-2 -keyword -keyword -header string -meta -string -string -string -string -string -string -string -keyword -keyword -header string -meta -string -string -string -bracket -string -string -string -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens deleted file mode 100644 index 1b21d8d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.5/tags_are_free_text__but_they__0.tokens +++ /dev/null @@ -1,83 +0,0 @@ -header link -meta -tag -meta -tag -tag -header link -variable-2 -string -header link -header string -meta -string -string -string -string -string -string -string -string -keyword -keyword -header string -meta -string -string -string -string -string -string -string -string -bracket -meta -bracket -tag -tag -keyword -keyword -header string -meta -string -string -string -string -string -string -string -bracket -meta -bracket -tag -variable-2 -keyword -keyword -header string -meta -string -string -string -string -string -string -bracket -meta -keyword -keyword -header string -meta -string -string -string -string -string -string -string -keyword -keyword -string -keyword -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens deleted file mode 100644 index 3924f4c..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.6/the_easiest_way_to_specify_a__0.tokens +++ /dev/null @@ -1,86 +0,0 @@ -header link -meta -keyword -keyword -string -string -meta -keyword -keyword -header link -header string -meta -string -string -string -string -string -string -keyword -keyword -header string -meta -string -string -string -string -string -string -bracket -meta -bracket -keyword -keyword -string -string -keyword -keyword -header string -meta -string -string -string -string -string -string -keyword -keyword -bracket -meta -header string -meta -string -string -string -string -string -string -string -string -string -string -string -keyword -keyword -bracket -meta -bracket -keyword -header string -meta -string -string -string -string -string -string -bracket -meta -bracket -variable-2 -keyword -keyword -bracket -meta -bracket -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens deleted file mode 100644 index 064d1fb..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/how_a_keyword_accepting_normal_positional__0.tokens +++ /dev/null @@ -1,18 +0,0 @@ -header link -header string -keyword -keyword -string -string -string -string -header string -bracket -meta -bracket -keyword -keyword -keyword -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens deleted file mode 100644 index c612589..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_a_templated_test_case_has__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -meta -keyword -keyword -header link -header string -keyword -keyword -keyword -string -string -string -keyword -keyword -keyword -string -string -string -keyword -keyword -keyword -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens deleted file mode 100644 index 0658640..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/if_templates_are_used_with_for__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -bracket -meta -bracket -keyword -keyword -atom -variable-2 -atom -variable-2 -variable-2 -bracket -string -string -atom -atom -variable-2 -atom -string -keyword -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens deleted file mode 100644 index 6cf7c53..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/templates_support_a_variation_of_the_embedded__0.tokens +++ /dev/null @@ -1,56 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -header string -bracket -meta -bracket -keyword -keyword -keyword -variable-2 -keyword -keyword -variable-2 -keyword -keyword -keyword -string -keyword -keyword -keyword -string -header link -def -def -def -variable-2 -def -def -variable-2 -variable-2 -operator -keyword -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens deleted file mode 100644 index 49017d7..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.7/when_embedded_arguments_are_used_with__0.tokens +++ /dev/null @@ -1,52 +0,0 @@ -header link -header string -bracket -meta -bracket -keyword -keyword -keyword -variable-2 -keyword -keyword -variable-2 -keyword -keyword -keyword -string -keyword -keyword -keyword -string -header string -bracket -meta -bracket -keyword -keyword -keyword -variable-2 -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -header string -bracket -meta -bracket -keyword -variable-2 -keyword -variable-2 -keyword -keyword -keyword -keyword -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens deleted file mode 100644 index a030352..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.8/another_style_to_write_test_cases__0.tokens +++ /dev/null @@ -1,37 +0,0 @@ -header link -meta -keyword -keyword -keyword -keyword -keyword -keyword -header link -string -string -header string -string -variable-2 -header string -variable-2 -string -header string -string -string -header string -variable-2 -builtin -variable-2 -variable-2 -header string -variable-2 -variable-2 -builtin -variable-2 -header string -variable-2 -builtin -variable-2 -variable-2 -builtin -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens deleted file mode 100644 index 37d71cf..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.8/one_way_to_write_these_requirements_tests__0.tokens +++ /dev/null @@ -1,28 +0,0 @@ -header link -header string -bracket -builtin em -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens deleted file mode 100644 index edb0300..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.2.8/the_above_example_has_six_separate__0.tokens +++ /dev/null @@ -1,35 +0,0 @@ -header link -header string -bracket -meta -bracket -keyword -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -variable-2 -bracket -string -keyword -string -variable-2 -builtin -variable-2 -bracket -variable-2 -variable-2 -bracket -variable-2 -builtin -variable-2 -variable-2 -builtin -variable-2 -bracket -variable-2 -builtin -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens deleted file mode 100644 index 6ee67a1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.3.1/tasks_are_created_based_on_the__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens deleted file mode 100644 index 3651741..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.4.2/the_main_usage_for_initialization_files__0.tokens +++ /dev/null @@ -1,26 +0,0 @@ -header link -meta -string -string -meta -keyword -keyword -variable-2 -meta -tag -meta -string -header link -variable-2 -string -string -header link -def -def -meta -variable-2 -keyword -keyword -variable-2 -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens deleted file mode 100644 index 728f696..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.4.3/the_documentation_for_a_test_suite__0.tokens +++ /dev/null @@ -1,19 +0,0 @@ -header link -meta -string -string -string -string -string -string -string strong -em string -string -bracket -string -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens deleted file mode 100644 index 5ea39a6..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.4.4/the_name_and_value_for_the__0.tokens +++ /dev/null @@ -1,18 +0,0 @@ -header link -meta -string -string -meta -string -string -string -string -string -string -string strong -string -string -meta -string -string -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens deleted file mode 100644 index fb7c363..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.5.1/another_possibility_to_take_a_test__0.tokens +++ /dev/null @@ -1,12 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -string -string -string -keyword -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens deleted file mode 100644 index 3a12250..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.5.1/in_those_cases_where_the_library__0.tokens +++ /dev/null @@ -1,11 +0,0 @@ -header link -meta -string -meta -string -meta -string -string -string -meta -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens deleted file mode 100644 index f522d80..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.5.2/if_the_library_is_a_file___0.tokens +++ /dev/null @@ -1,12 +0,0 @@ -header link -meta -string -meta -string -meta -string -string -string -meta -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens deleted file mode 100644 index a59e65a..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.5.3/possible_arguments_to_the_library_are__0.tokens +++ /dev/null @@ -1,30 +0,0 @@ -header link -meta -string -string -string -atom -bracket -def -meta -string -string -string -atom -bracket -def -header link -header string -keyword -keyword -string -string -string -string -keyword -keyword -string -string -string -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens deleted file mode 100644 index e49ec2a..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.5.3/the_basic_syntax_for_specifying_the__0.tokens +++ /dev/null @@ -1,11 +0,0 @@ -header link -meta -string -atom -bracket -def -meta -variable-2 -atom -bracket -def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens deleted file mode 100644 index bbfa444..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/also_nested_list_and_dictionary_structures__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -keyword -keyword -keyword -variable-2 -bracket -number -bracket -string -bracket -string -keyword -keyword -keyword -variable-2 -bracket -number -bracket -string -bracket -variable-2 -number -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens deleted file mode 100644 index 541ac10..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/as_discussed_above__a_variable_containing__0.tokens +++ /dev/null @@ -1,12 +0,0 @@ -header link -header string -keyword -attribute -operator -string -attribute -operator -string -header string -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens deleted file mode 100644 index ac8c1ab..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/dictionary_variables_cannot_generally_be_used__0.tokens +++ /dev/null @@ -1,11 +0,0 @@ -header link -meta -string -variable-2 -meta -keyword -keyword -variable-2 -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens deleted file mode 100644 index 56ccced..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/environment_variables_set_in_the_operating__0.tokens +++ /dev/null @@ -1,11 +0,0 @@ -header link -header string -keyword -string -string -variable-2 -keyword -variable-2 -builtin -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens deleted file mode 100644 index 5616dfa..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/if_a_key_is_a_string___0.tokens +++ /dev/null @@ -1,52 +0,0 @@ -header link -header string -keyword -variable-2 -bracket -string -bracket -variable-2 -bracket -string -bracket -keyword -keyword -keyword -string -variable-2 -bracket -string -bracket -string -header string -keyword -keyword -variable-2 -bracket -variable-2 -bracket -variable-2 -bracket -variable-2 -number -variable-2 -bracket -header string -keyword -variable-2 -operator -property -variable-2 -variable-2 -operator -property -variable-2 -keyword -keyword -keyword -string -variable-2 -operator -property -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens deleted file mode 100644 index 47328a5..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_access_a__0.tokens +++ /dev/null @@ -1,33 +0,0 @@ -header link -header string -keyword -variable-2 -bracket -number -bracket -variable-2 -bracket -number -bracket -keyword -keyword -keyword -string -variable-2 -bracket -number -bracket -string -header string -keyword -variable-2 -bracket -string -number -bracket -header string -keyword -variable-2 -bracket -variable-2 -bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens deleted file mode 100644 index c79f9ee..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_dictionary__0.tokens +++ /dev/null @@ -1,15 +0,0 @@ -header link -header string -keyword -variable-2 -attribute -operator -string -keyword -string -variable-2 -variable-2 -keyword -variable-2 -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens deleted file mode 100644 index fee4265..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/it_is_possible_to_use_list__0.tokens +++ /dev/null @@ -1,14 +0,0 @@ -header link -header string -keyword -variable-2 -string -string -keyword -variable-2 -variable-2 -string -keyword -variable-2 -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens deleted file mode 100644 index 4887578..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_item_access_supports_also_the__0.tokens +++ /dev/null @@ -1,39 +0,0 @@ -header link -header string -keyword -variable-2 -bracket -number -string -bracket -header string -keyword -variable-2 -bracket -string -number -bracket -header string -keyword -variable-2 -bracket -number -string -number -bracket -header string -keyword -variable-2 -bracket -string -number -bracket -keyword -variable-2 -bracket -number -string -number -string -number -bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens deleted file mode 100644 index 04b6bba..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/list_variables_can_be_used_only__0.tokens +++ /dev/null @@ -1,30 +0,0 @@ -header link -meta -string -variable-2 -comment -meta -variable-2 -variable-2 -comment -meta -variable-2 -comment -meta -keyword -keyword -variable-2 -comment -meta -variable-2 -bracket -variable-2 -bracket -comment -meta -variable-2 -bracket -comment -meta -variable-2 -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens deleted file mode 100644 index d66c2cb..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/the_example_below_illustrates_the_usage__0.tokens +++ /dev/null @@ -1,15 +0,0 @@ -header link -header string -keyword -string -keyword -string -string -header string -keyword -variable-2 -keyword -variable-2 -string -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens deleted file mode 100644 index f85ea3e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_a_variable_is_used_as__0.tokens +++ /dev/null @@ -1,8 +0,0 @@ -header link -header string -keyword -string -string -header string -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens deleted file mode 100644 index ef36287..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/when_running_tests_with_jython__it__0.tokens +++ /dev/null @@ -1,14 +0,0 @@ -header link -header string -keyword -variable-2 -operator -property -variable-2 -string -string -string -variable-2 -operator -property -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens deleted file mode 100644 index db78c4b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.2/with_these_two_variables_set__we__0.tokens +++ /dev/null @@ -1,22 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -keyword -keyword -variable-2 -keyword -keyword -string -string -string -variable-2 -string -keyword -keyword -string -string -string -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens deleted file mode 100644 index f178c04..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/any_value_returned_by_a_keyword__0.tokens +++ /dev/null @@ -1,13 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -string -string -keyword -string -string -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens deleted file mode 100644 index 3013b34..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/creating_list_variables_is_as_easy__0.tokens +++ /dev/null @@ -1,19 +0,0 @@ -header link -variable-2 -string -string -variable-2 -number -variable-2 -variable-2 -string -variable-2 -variable-2 -string -string -string -string -bracket -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens deleted file mode 100644 index a9f00fb..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/dictionary_variables_can_be_created_in__0.tokens +++ /dev/null @@ -1,54 +0,0 @@ -header link -variable-2 -number -variable-2 -attribute -operator -string -attribute -operator -string -attribute -operator -string -variable-2 -number -variable-2 -attribute -operator -string -attribute -operator -string -attribute -operator -string -variable-2 -attribute -operator -string -attribute -operator -variable-2 -number -variable-2 -variable-2 -number -variable-2 -operator -string -variable-2 -variable-2 -attribute -operator -string -attribute -operator -bracket -operator -string -attribute -operator -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens deleted file mode 100644 index 2da2e1f..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_dictionary__0.tokens +++ /dev/null @@ -1,32 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -attribute -operator -string -attribute -operator -variable-2 -number -variable-2 -variable-2 -number -variable-2 -operator -string -keyword -keyword -keyword -variable-2 -string -keyword -keyword -variable-2 -keyword -variable-2 -operator -property -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens deleted file mode 100644 index c0a8218..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -string -string -string -keyword -keyword -keyword -variable-2 -string -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens deleted file mode 100644 index 6cbcb5a..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_keyword_returns_a_list__1.tokens +++ /dev/null @@ -1,30 +0,0 @@ -header link -header string -variable-2 -bracket -variable-2 -bracket -variable-2 -operator -keyword -keyword -variable-2 -bracket -variable-2 -operator -keyword -keyword -variable-2 -bracket -variable-2 -operator -keyword -keyword -variable-2 -bracket -variable-2 -bracket -variable-2 -operator -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens deleted file mode 100644 index f6f0306..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/if_a_scalar_variable_has_a__0.tokens +++ /dev/null @@ -1,21 +0,0 @@ -header link -variable-2 -string -string -string -string -string -string -string -string -variable-2 -attribute -operator -string -string -string -bracket -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens deleted file mode 100644 index cdd8500..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/it_is_also_possible__but_not__0.tokens +++ /dev/null @@ -1,8 +0,0 @@ -header link -variable-2 -operator -string -string -variable-2 -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens deleted file mode 100644 index c0a8218..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/notice_that_although_a_value_is__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -string -string -string -keyword -keyword -keyword -variable-2 -string -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens deleted file mode 100644 index b820ab4..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.3/the_simplest_possible_variable_assignment_is__0.tokens +++ /dev/null @@ -1,9 +0,0 @@ -header link -variable-2 -string -string -variable-2 -string -variable-2 -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens deleted file mode 100644 index 21ad5bd..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/also_boolean_values_and_python_none__0.tokens +++ /dev/null @@ -1,36 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -builtin -variable-2 -comment -keyword -keyword -string -variable-2 -builtin -variable-2 -comment -header string -keyword -keyword -variable-2 -builtin -variable-2 -comment -header string -variable-2 -operator -keyword -keyword -string -comment -keyword -keyword -keyword -variable-2 -variable-2 -builtin -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens deleted file mode 100644 index 25b6de2..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/built_in_variables_related_to_the_operating__0.tokens +++ /dev/null @@ -1,34 +0,0 @@ -header link -header string -keyword -keyword -keyword -variable-2 -builtin -variable-2 -builtin -variable-2 -string -string -string -string -variable-2 -builtin -variable-2 -string -string -string -keyword -keyword -keyword -string -variable-2 -builtin -variable-2 -builtin -variable-2 -builtin -variable-2 -builtin -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens deleted file mode 100644 index a309302..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_integers__0.tokens +++ /dev/null @@ -1,38 +0,0 @@ -header link -header string -keyword -keyword -keyword -variable-2 -number -variable-2 -variable-2 -number -variable-2 -keyword -keyword -keyword -variable-2 -number -variable-2 -variable-2 -number -variable-2 -keyword -keyword -keyword -variable-2 -number -variable-2 -variable-2 -number -variable-2 -keyword -keyword -keyword -variable-2 -number -variable-2 -variable-2 -number -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens deleted file mode 100644 index c712b43..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/it_is_possible_to_create_spaces__0.tokens +++ /dev/null @@ -1,68 +0,0 @@ -header link -header string -keyword -keyword -keyword -variable-2 -builtin -variable-2 -bracket -header string -keyword -keyword -keyword -variable-2 -builtin -variable-2 -operator -variable-2 -number -variable-2 -bracket -header string -keyword -keyword -keyword -variable-2 -builtin -variable-2 -operator -variable-2 -number -variable-2 -bracket -header string -keyword -keyword -keyword -string -variable-2 -builtin -variable-2 -string -string -string -header string -keyword -keyword -keyword -string -variable-2 -builtin -variable-2 -operator -variable-2 -number -variable-2 -string -string -bracket -string -header string -keyword -keyword -keyword -variable-2 -builtin -variable-2 -bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens deleted file mode 100644 index 007b983..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/the_variable_syntax_can_be_used__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -keyword -string -string -comment -header string -keyword -string -variable-2 -number -variable-2 -comment -header string -keyword -keyword -variable-2 -number -variable-2 -variable-2 -operator -number -variable-2 -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens deleted file mode 100644 index 086079d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.4/there_is_also_an_empty_list__0.tokens +++ /dev/null @@ -1,25 +0,0 @@ -header link -header string -bracket -meta -bracket -keyword -keyword -variable-2 -builtin -variable-2 -header string -keyword -keyword -keyword -variable-2 -variable-2 -builtin -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 -builtin -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens deleted file mode 100644 index 85a9f23..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.6/in_the_example_below__do_x__0.tokens +++ /dev/null @@ -1,14 +0,0 @@ -header link -variable-2 -string -variable-2 -string -header link -header string -variable-2 -operator -keyword -keyword -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens deleted file mode 100644 index 10a8a7d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.6/it_is_possible_to_set_attributes__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -header string -variable-2 -operator -property -variable-2 -operator -keyword -keyword -string -string -variable-2 -operator -property -variable-2 -operator -keyword -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens deleted file mode 100644 index 1ce1ea3..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.6/many_standard_python_objects__including_strings__0.tokens +++ /dev/null @@ -1,44 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -string -keyword -variable-2 -operator -property -bracket -variable-2 -comment -keyword -variable-2 -operator -variable-2 -number -variable-2 -comment -header string -variable-2 -operator -keyword -keyword -variable-2 -operator -number -variable-2 -keyword -variable-2 -operator -variable-2 -number -variable-2 -comment -keyword -variable-2 -operator -property -bracket -variable-2 -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens deleted file mode 100644 index 541855a..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.6.6/the_most_common_usages_of_extended__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -keyword -keyword -variable-2 -operator -property -variable-2 -keyword -keyword -variable-2 -operator -property -bracket -string -bracket -variable-2 -keyword -keyword -variable-2 -bracket -number -bracket -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens deleted file mode 100644 index 60bdaec..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.1/in_many_ways__the_overall_user__0.tokens +++ /dev/null @@ -1,27 +0,0 @@ -header link -def -def -def -keyword -keyword -string -keyword -keyword -keyword -string -string -def -def -def -def -meta -variable-2 -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens deleted file mode 100644 index e07efa1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.2/user_keywords_can_have_a_documentation__0.tokens +++ /dev/null @@ -1,85 +0,0 @@ -header link -def -def -def -meta -string -string -string -keyword -keyword -def -def -meta -string -string -string -string -string -string -string -bracket -bracket -string -string -string -string -string -string -string -bracket -string -string -string -string -string -string -string -string -string -bracket -string -string -string -string -string -string -string -keyword -keyword -def -def -def -def -def -meta -string -string -string -string -string -string -string -string -string -bracket -string -string -string -bracket -bracket -string -string -string -string -string -string -string -string -string -bracket -string -string -string -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens deleted file mode 100644 index ca89a35..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.3/starting_from_robot_framework_2_9__keywords__0.tokens +++ /dev/null @@ -1,36 +0,0 @@ -header link -def -def -def -def -def -bracket -meta -bracket -tag -tag -tag -keyword -keyword -def -def -def -def -meta -string -string -string -string -string -string -string -string -bracket -meta -tag -punctuation -tag -punctuation -tag -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens deleted file mode 100644 index ca75c75..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_be_used_together__0.tokens +++ /dev/null @@ -1,23 +0,0 @@ -header link -def -def -meta -variable-2 -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 -def -def -def -meta -variable-2 -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens deleted file mode 100644 index 5605f44..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/named_only_arguments_can_have_default_values__0.tokens +++ /dev/null @@ -1,46 +0,0 @@ -header link -def -def -meta -variable-2 -variable-2 -operator -string -keyword -keyword -variable-2 -def -def -def -def -meta -variable-2 -variable-2 -operator -string -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 -operator -string -string -variable-2 -number -variable-2 -keyword -keyword -variable-2 -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens deleted file mode 100644 index 97696de..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/sometimes_even_default_values_are_not__0.tokens +++ /dev/null @@ -1,45 +0,0 @@ -header link -def -def -def -def -meta -variable-2 -keyword -keyword -variable-2 -def -def -def -def -meta -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 -def -def -def -meta -variable-2 -variable-2 -operator -string -variable-2 -keyword -string -variable-2 -keyword -string -variable-2 -keyword -string -atom -variable-2 -atom -variable-2 -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens deleted file mode 100644 index 2c1c7a8..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/starting_from_robot_framework_3_1__user__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -def -def -meta -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 -def -def -meta -variable-2 -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens deleted file mode 100644 index 7dbc733..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_keywords_in_the_examples_above__0.tokens +++ /dev/null @@ -1,49 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -string -keyword -keyword -keyword -keyword -string -string -string -string -keyword -keyword -keyword -keyword -string -keyword -keyword -keyword -keyword -string -string -string -string -keyword -keyword -keyword -string -keyword -keyword -keyword -string -string -keyword -keyword -keyword -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens deleted file mode 100644 index b97986b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_for_default_values_is__0.tokens +++ /dev/null @@ -1,105 +0,0 @@ -header link -def -def -def -def -def -meta -variable-2 -operator -string -string -meta -string -string -string -string -string -keyword -string -string -variable-2 -def -def -def -def -meta -variable-2 -number -variable-2 -operator -string -string -variable-2 -number -variable-2 -operator -variable-2 -meta -string -string -string -string -string -keyword -string -string -variable-2 -number -variable-2 -keyword -string -string -variable-2 -number -variable-2 -def -def -def -def -def -def -meta -variable-2 -variable-2 -operator -string -meta -string -string -string -string -string -keyword -string -variable-2 -keyword -string -variable-2 -string -string -string -string -string -meta -variable-2 -variable-2 -operator -variable-2 -variable-2 -operator -variable-2 -string -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 -string -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens deleted file mode 100644 index 16987ff..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/the_syntax_is_such_that_first__0.tokens +++ /dev/null @@ -1,39 +0,0 @@ -header link -def -def -meta -variable-2 -keyword -string -string -variable-2 -def -def -meta -variable-2 -number -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 -keyword -string -string -variable-2 -number -variable-2 -keyword -string -string -variable-2 -number -variable-2 -keyword -string -string -variable-2 -number -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens deleted file mode 100644 index 20f629b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/user_keywords_can_also_accept_free__0.tokens +++ /dev/null @@ -1,30 +0,0 @@ -header link -def -def -def -meta -variable-2 -keyword -keyword -variable-2 -def -def -def -def -meta -variable-2 -variable-2 -keyword -keyword -variable-2 -variable-2 -def -def -meta -variable-2 -variable-2 -keyword -keyword -string -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens deleted file mode 100644 index 651e8f2..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_a_keyword_accepts_several_arguments__0.tokens +++ /dev/null @@ -1,10 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -attribute -operator -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens deleted file mode 100644 index 3ec0b4b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.4/when_passing_named_only_arguments_to_keywords___0.tokens +++ /dev/null @@ -1,73 +0,0 @@ -header link -header string -keyword -keyword -attribute -operator -string -keyword -keyword -string -string -string -attribute -operator -string -keyword -keyword -attribute -operator -string -attribute -operator -string -keyword -keyword -attribute -operator -string -attribute -operator -string -keyword -keyword -string -attribute -operator -string -keyword -keyword -attribute -operator -string -attribute -operator -string -keyword -keyword -keyword -string -attribute -operator -string -attribute -operator -string -attribute -operator -string -keyword -keyword -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens deleted file mode 100644 index 2b4806e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/a_custom_embedded_argument_regular_expression__0.tokens +++ /dev/null @@ -1,72 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -header link -def -def -def -variable-2 -operator -string-2 -variable-2 -def -keyword -keyword -variable-2 -attribute -operator -string -def -def -def -variable-2 -def -def -def -variable-2 -def -keyword -keyword -variable-2 -variable-2 -attribute -operator -string -def -def -variable-2 -operator -string-2 -variable-2 -keyword -variable-2 -variable-2 -variable-2 -def -def -variable-2 -operator -string-2 -variable-2 -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens deleted file mode 100644 index 568d03b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/it_has_always_been_possible_to__0.tokens +++ /dev/null @@ -1,15 +0,0 @@ -header link -def -variable-2 -def -def -keyword -keyword -string -string -keyword -keyword -keyword -keyword -string -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens deleted file mode 100644 index aab9cc9..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/the_biggest_benefit_of_having_arguments__0.tokens +++ /dev/null @@ -1,87 +0,0 @@ -header link -header string -bracket -builtin em -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -header string -bracket -builtin em -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -keyword -bracket -builtin em -keyword -keyword -keyword -keyword -header link -def -def -variable-2 -def -keyword -keyword -variable-2 -def -def -variable-2 -number -variable-2 -def -variable-2 -number -variable-2 -keyword -keyword -variable-2 -number -variable-2 -keyword -keyword -string -keyword -keyword -variable-2 -number -variable-2 -keyword -keyword -operator -def -def -def -variable-2 -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens deleted file mode 100644 index a4b6bdf..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/when_keywords_with_embedded_arguments_are__0.tokens +++ /dev/null @@ -1,38 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword -keyword -header link -def -def -def -variable-2 -def -keyword -keyword -variable-2 -attribute -operator -string -def -def -def -variable-2 -def -def -def -variable-2 -def -keyword -keyword -variable-2 -variable-2 -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens deleted file mode 100644 index dfbb414..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.5/whenever_custom_embedded_argument_regular_expressions__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -variable-2 -string -header link -header string -keyword -keyword -variable-2 -number -variable-2 -keyword -variable-2 -number -variable-2 -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens deleted file mode 100644 index 00f5ce1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.6/the_first_example_below_is_functionally__0.tokens +++ /dev/null @@ -1,115 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -keyword -string -keyword -keyword -variable-2 -header string -variable-2 -operator -keyword -keyword -string -string -variable-2 -operator -keyword -keyword -string -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 -number -variable-2 -variable-2 -operator -keyword -keyword -string -string -variable-2 -keyword -keyword -keyword -variable-2 -variable-2 -operator -number -variable-2 -header link -def -def -def -meta -variable-2 -keyword -keyword -variable-2 -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -keyword -string -string -string -string -def -def -meta -variable-2 -variable-2 -variable-2 -operator -keyword -keyword -variable-2 -number -variable-2 -atom -variable-2 -atom -variable-2 -keyword -keyword -keyword -keyword -string -variable-2 -string -operator -string -variable-2 -string -variable-2 -variable-2 -operator -keyword -keyword -variable-2 -operator -variable-2 -number -variable-2 -atom -keyword -keyword -keyword -variable-2 -operator -number -variable-2 -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens deleted file mode 100644 index 967277e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.6/user_keywords_can_also_return_several__0.tokens +++ /dev/null @@ -1,56 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -keyword -string -keyword -keyword -variable-2 -header string -variable-2 -bracket -variable-2 -bracket -variable-2 -operator -keyword -keyword -keyword -variable-2 -operator -keyword -keyword -keyword -variable-2 -bracket -variable-2 -operator -keyword -keyword -keyword -header link -def -def -def -meta -variable-2 -keyword -keyword -variable-2 -variable-2 -operator -keyword -keyword -keyword -meta -variable-2 -def -def -def -meta -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens deleted file mode 100644 index cdd4658..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.7.7/keyword_teardown_works_much_in_the__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -def -def -keyword -keyword -bracket -meta -bracket -keyword -string -string -def -def -meta -string -string -string -string -keyword -keyword -bracket -meta -bracket -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens deleted file mode 100644 index c563db8..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.8.1/both_libdoc_and_ride_use_these__0.tokens +++ /dev/null @@ -1,59 +0,0 @@ -header link -meta -string -string -string -string -meta -string -meta -variable-2 -string -header link -variable-2 -string -variable-2 -string -variable-2 -string -variable-2 -string -variable-2 -string -variable-2 -string -header link -def -def -def -meta -string -string -string -string -string -keyword -keyword -variable-2 -variable-2 -keyword -keyword -keyword -string -string -def -def -meta -variable-2 -keyword -keyword -string -variable-2 -def -def -meta -variable-2 -keyword -keyword -string -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens deleted file mode 100644 index f7a1f0b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.8.1/resource_files_can_use_all_the__0.tokens +++ /dev/null @@ -1,8 +0,0 @@ -header link -meta -string -meta -string -meta -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens deleted file mode 100644 index 58f05fb..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.8.2/all_test_data_files_can_import__0.tokens +++ /dev/null @@ -1,14 +0,0 @@ -header link -meta -string -meta -string -meta -variable-2 -string -meta -string -string -variable-2 -number -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens deleted file mode 100644 index 77f0d91..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.8.2/if_the_above_yaml_file_is__0.tokens +++ /dev/null @@ -1,18 +0,0 @@ -header link -variable-2 -string -string -variable-2 -variable-2 -number -variable-2 -variable-2 -string -string -variable-2 -attribute -operator -string -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens deleted file mode 100644 index 11aa943..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.8.2/the_variables_in_both_the_examples__0.tokens +++ /dev/null @@ -1,53 +0,0 @@ -header link -variable-2 -string -string -string -variable-2 -string -string -string -string -variable-2 -variable-2 -number -variable-2 -variable-2 -string -string -string -string -variable-2 -variable-2 -number -variable-2 -variable-2 -variable-2 -number -variable-2 -variable-2 -attribute -operator -variable-2 -number -variable-2 -attribute -operator -variable-2 -number -variable-2 -attribute -operator -variable-2 -number -variable-2 -variable-2 -string -string -variable-2 -attribute -operator -string -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens deleted file mode 100644 index fe85c9c..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.2/if_there_is_a_timeout__the__0.tokens +++ /dev/null @@ -1,98 +0,0 @@ -header link -meta -string -string -header link -header string -meta -string -string -string -string -string -string -string -keyword -keyword -string -header string -meta -string -string -string -string -string -string -meta -string -keyword -keyword -string -header string -meta -string -string -string -string -string -string -meta -string -string -string -string -string -string -string -keyword -keyword -string -header string -meta -string -string -string -string -string -string -string -meta -variable-2 -keyword -keyword -string -header string -meta -string -string -string -string -string -string -string -string -string -string -string -string -meta -keyword -keyword -string -header string -meta -string -string -string -string -string -string -string -string -string -string -meta -string -keyword -keyword -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens deleted file mode 100644 index 4d0cdc1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.2/starting_from_robot_framework_3_0__timeout__0.tokens +++ /dev/null @@ -1,78 +0,0 @@ -header link -def -def -meta -string -string -string -string -string -string -string -string -string -string -meta -string -string -string -string -keyword -keyword -keyword -keyword -keyword -def -def -def -meta -variable-2 -meta -string -string -string -string -string -string -string -string -string -string -string -string -meta -string -string -string -string -string -string -string -string -string -keyword -keyword -variable-2 -def -def -def -def -meta -variable-2 -variable-2 -meta -string -string -string -string -string -string -string -string -string -string -meta -variable-2 -keyword -keyword -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens deleted file mode 100644 index e1ad6e6..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/continue_for_loop_and_continue_for__0.tokens +++ /dev/null @@ -1,35 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -variable-2 -builtin -variable-2 -atom -variable-2 -atom -string -string -string -keyword -keyword -keyword -keyword -string -variable-2 -string -operator -string -variable-2 -operator -keyword -keyword -variable-2 -atom -keyword -keyword -keyword -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens deleted file mode 100644 index 64fd8c2..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/exit_for_loop_and_exit_for__0.tokens +++ /dev/null @@ -1,36 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -variable-2 -builtin -variable-2 -atom -variable-2 -atom -string -string -keyword -keyword -keyword -string -variable-2 -string -operator -string -string -string -string -variable-2 -operator -keyword -keyword -variable-2 -atom -keyword -keyword -keyword -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens deleted file mode 100644 index 2407c4d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_example__the_following_two_test__0.tokens +++ /dev/null @@ -1,38 +0,0 @@ -header link -variable-2 -string -string -string -header link -header string -variable-2 -operator -keyword -keyword -string -atom -variable-2 -atom -variable-2 -variable-2 -operator -keyword -variable-2 -string -string -keyword -keyword -variable-2 -variable-2 -atom -header string -atom -variable-2 -variable-2 -atom -variable-2 -keyword -keyword -variable-2 -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens deleted file mode 100644 index e761d67..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loop_syntax_was_enhanced_in__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -header string -atom -variable-2 -atom -string -string -bracket -keyword -variable-2 -bracket -keyword -string -string -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens deleted file mode 100644 index 3650bc1..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/for_loops_can_be_excessive_in__0.tokens +++ /dev/null @@ -1,21 +0,0 @@ -header link -header string -keyword -keyword -string -string -string -string -string -keyword -keyword -string -string -string -string -keyword -keyword -variable-2 -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens deleted file mode 100644 index 6d8167d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/having_nested_for_loops_is_not__0.tokens +++ /dev/null @@ -1,25 +0,0 @@ -header link -def -def -meta -variable-2 -atom -variable-2 -atom -variable-2 -keyword -keyword -variable-2 -atom -def -def -meta -variable-2 -atom -variable-2 -atom -variable-2 -keyword -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens deleted file mode 100644 index e75ebc8..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/if_there_are_lot_of_values__0.tokens +++ /dev/null @@ -1,35 +0,0 @@ -header link -header string -atom -variable-2 -variable-2 -variable-2 -atom -bracket -string -string -string -bracket -string -string -string -bracket -string -string -string -keyword -keyword -keyword -variable-2 -variable-2 -variable-2 -atom -atom -variable-2 -variable-2 -atom -variable-2 -keyword -variable-2 -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens deleted file mode 100644 index c35b694..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_often_convenient_to_use__0.tokens +++ /dev/null @@ -1,10 +0,0 @@ -header link -header string -atom -variable-2 -atom -variable-2 -keyword -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens deleted file mode 100644 index 7e470d0..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/it_is_possible_to_use_simple__0.tokens +++ /dev/null @@ -1,102 +0,0 @@ -header link -header string -meta -string -string -string -string -string -string -string -atom -variable-2 -atom -string -keyword -variable-2 -atom -header string -meta -string -string -string -string -string -string -string -atom -variable-2 -atom -string -string -keyword -variable-2 -atom -header string -meta -string -string -string -string -string -string -string -atom -variable-2 -atom -string -string -string -keyword -variable-2 -atom -header string -meta -string -string -string -string -string -string -string -atom -variable-2 -atom -string -string -string -keyword -variable-2 -atom -header string -meta -string -string -string -atom -variable-2 -atom -variable-2 -string -string -keyword -variable-2 -atom -header string -meta -string -string -string -string -string -string -string -atom -variable-2 -atom -string -string -string -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens deleted file mode 100644 index 67db8a2..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/just_like_with_regular_for_loops___0.tokens +++ /dev/null @@ -1,32 +0,0 @@ -header link -header string -atom -variable-2 -variable-2 -variable-2 -atom -bracket -string -string -bracket -string -string -bracket -string -string -keyword -string -variable-2 -string -string -string -string -string -variable-2 -string -string -string -string -variable-2 -string -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens deleted file mode 100644 index 752a243..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/the_keywords_used_in_the_for__0.tokens +++ /dev/null @@ -1,36 +0,0 @@ -header link -header string -atom -variable-2 -atom -string -string -keyword -variable-2 -keyword -string -string -atom -keyword -string -string -header string -atom -variable-2 -atom -string -string -variable-2 -number -variable-2 -string -variable-2 -bracket -string -string -string -string -variable-2 -keyword -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens b/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens deleted file mode 100644 index 9bde6a0..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/2.9.3/this_may_be_easiest_to_show__0.tokens +++ /dev/null @@ -1,53 +0,0 @@ -header link -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 -variable-2 -number -variable-2 -variable-2 -string -string -string -header link -header string -variable-2 -operator -keyword -keyword -variable-2 -atom -variable-2 -atom -variable-2 -keyword -keyword -keyword -keyword -variable-2 -bracket -variable-2 -bracket -variable-2 -bracket -variable-2 -bracket -atom -header string -atom -variable-2 -variable-2 -atom -variable-2 -variable-2 -keyword -keyword -keyword -keyword -variable-2 -variable-2 -atom \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens deleted file mode 100644 index edb95b9..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.2/the_number_of_arguments_needed_by__0.tokens +++ /dev/null @@ -1,8 +0,0 @@ -header link -meta -string -string -string -meta -string -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens deleted file mode 100644 index 38c68e9..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_no_type_information_is_specified__0.tokens +++ /dev/null @@ -1,6 +0,0 @@ -header link -header string -keyword -keyword -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens deleted file mode 100644 index c66a3de..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/if_you_are_already_familiar_how__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -header string -keyword -keyword -attribute -operator -string -comment -keyword -keyword -attribute -operator -string -attribute -operator -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens deleted file mode 100644 index a32243c..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/it_is_possible_to_expose_a__0.tokens +++ /dev/null @@ -1,8 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -variable-2 -variable-2 \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens deleted file mode 100644 index 4401cf4..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/library_keywords_can_also_accept_arguments__0.tokens +++ /dev/null @@ -1,9 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -keyword -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens deleted file mode 100644 index b264b7f..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/python_supports_methods_accepting_any_number__0.tokens +++ /dev/null @@ -1,49 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -string -keyword -keyword -string -string -string -string -string -string -string -string -string -string -keyword -keyword -string -string -keyword -keyword -string -string -string -string -string -string -keyword -keyword -string -keyword -keyword -string -string -string -string -string -keyword -keyword -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens deleted file mode 100644 index 5186c7b..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/starting_from_robot_framework_3_1__it__0.tokens +++ /dev/null @@ -1,15 +0,0 @@ -header link -header string -keyword -keyword -string -string -string -keyword -keyword -string -string -string -attribute -operator -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens deleted file mode 100644 index 1a0c970..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_coercion_works_with_the_numeric__0.tokens +++ /dev/null @@ -1,38 +0,0 @@ -header link -header string -keyword -keyword -string -keyword -keyword -string -keyword -keyword -string -string -string -keyword -keyword -string -string -string -string -header string -keyword -keyword -variable-2 -number -variable-2 -keyword -keyword -string -variable-2 -number -variable-2 -comment -keyword -keyword -variable-2 -number -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens deleted file mode 100644 index eeb0dd9..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_example_below_illustrates_how_the__0.tokens +++ /dev/null @@ -1,9 +0,0 @@ -header link -meta -string -header link -header string -keyword -keyword -keyword -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens deleted file mode 100644 index 787700d..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_first_example_keyword_above_can__0.tokens +++ /dev/null @@ -1,24 +0,0 @@ -header link -header string -keyword -keyword -keyword -keyword -string -keyword -keyword -string -string -keyword -keyword -string -string -string -keyword -keyword -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens deleted file mode 100644 index fa10a1e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.3/the_following_example_illustrates_how_normal__0.tokens +++ /dev/null @@ -1,67 +0,0 @@ -header link -header string -keyword -keyword -string -string -comment -header string -keyword -keyword -attribute -operator -string -comment -header string -keyword -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment -keyword -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment -header string -keyword -keyword -string -string -attribute -operator -string -comment -header string -keyword -keyword -attribute -operator -string -attribute -operator -string -comment -keyword -keyword -attribute -operator -string -attribute -operator -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens deleted file mode 100644 index bfe4637..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.4/keywords_can_also_return_values_so__0.tokens +++ /dev/null @@ -1,89 +0,0 @@ -header link -header string -variable-2 -number -variable-2 -bracket -variable-2 -number -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -number -variable-2 -string -string -keyword -keyword -keyword -variable-2 -number -variable-2 -string -string -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -bracket -number -bracket -string -string -keyword -keyword -keyword -variable-2 -bracket -number -bracket -string -string -variable-2 -number -variable-2 -bracket -variable-2 -number -variable-2 -bracket -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -keyword -variable-2 -number -variable-2 -variable-2 -number -variable-2 -string -string -keyword -keyword -keyword -variable-2 -bracket -number -bracket -variable-2 -bracket -number -bracket -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens deleted file mode 100644 index 91607e0..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.4/values_are_returned_using_the_return__0.tokens +++ /dev/null @@ -1,25 +0,0 @@ -header link -header string -variable-2 -operator -keyword -keyword -keyword -keyword -keyword -variable-2 -string -string -variable-2 -operator -keyword -keyword -string -keyword -keyword -keyword -variable-2 -operator -property -variable-2 -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens deleted file mode 100644 index 6b867e4..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_free_named_argument_syntax__0.tokens +++ /dev/null @@ -1,66 +0,0 @@ -header link -comment -header string -keyword -comment -header string -keyword -string -comment -keyword -string -string -comment -header string -keyword -attribute -operator -string -comment -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment -header string -keyword -string -attribute -operator -string -comment -keyword -string -attribute -operator -string -attribute -operator -string -comment -header string -keyword -attribute -operator -string -attribute -operator -string -comment -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens deleted file mode 100644 index 2fab2fa..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_argument_syntax_with__0.tokens +++ /dev/null @@ -1,62 +0,0 @@ -header link -comment -header string -keyword -string -comment -keyword -string -string -comment -keyword -string -string -string -comment -header string -keyword -attribute -operator -string -comment -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment -header string -keyword -string -attribute -operator -string -comment -keyword -string -string -attribute -operator -string -comment -keyword -string -attribute -operator -string -attribute -operator -string -comment -header string -keyword -string -attribute -operator -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens deleted file mode 100644 index 34615dd..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.6/using_the_named_only_argument_syntax_with__0.tokens +++ /dev/null @@ -1,59 +0,0 @@ -header link -comment -header string -keyword -attribute -operator -string -comment -keyword -attribute -operator -string -attribute -operator -string -comment -header string -keyword -string -attribute -operator -string -comment -keyword -string -string -attribute -operator -string -comment -header string -keyword -attribute -operator -string -attribute -operator -string -comment -header string -keyword -attribute -operator -string -attribute -operator -string -comment -keyword -attribute -operator -string -attribute -operator -string -attribute -operator -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens deleted file mode 100644 index 0ae8bdc..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.1.9/this_approach_is_clearly_better_than__0.tokens +++ /dev/null @@ -1,17 +0,0 @@ -header link -meta -string -meta -string -header link -header string -keyword -keyword -string -comment -keyword -keyword -keyword -keyword -string -comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens b/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens deleted file mode 100644 index 4833d45..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/4.2.2/the_remote_library_needs_to_know__0.tokens +++ /dev/null @@ -1,21 +0,0 @@ -header link -meta -string -string -atom -bracket -def -meta -string -string -atom -bracket -def -meta -string -string -string -string -atom -bracket -def \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens b/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens deleted file mode 100644 index c309ea3..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/5.1.2/possible_variables_in_resource_files_can__0.tokens +++ /dev/null @@ -1,61 +0,0 @@ -header link -meta -string -string -string -string -string -bracket -string -string -string -string -string -string -string -string -string -string -string -string -string -string -header link -def -def -meta -string -string -keyword -keyword -def -def -meta -variable-2 -meta -string -string -string -string -string strong -string -string -bracket -bracket -string -bracket -bracket -string -string -bracket -string -bracket -bracket -bracket -string -string -bracket -string -bracket -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens deleted file mode 100644 index acb8adf..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/6.3.1/adding_newlines_manually_to_a_long__0.tokens +++ /dev/null @@ -1,29 +0,0 @@ -header link -meta -bracket -string -string -bracket -bracket -string -string -string -string -bracket -string -string -string -meta -string -string -bracket -string -string -string -bracket -string -string -string -bracket -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens deleted file mode 100644 index 70a7af2..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/6.3.1/no_automatic_newline_is_added_if__0.tokens +++ /dev/null @@ -1,40 +0,0 @@ -header link -string -string -meta -string -string -string -string -string -string -string -keyword -keyword -string -string -meta -string -string -bracket -string -string -string -string -string -keyword -keyword -string -string -meta -string -string -bracket -string -string -string -bracket -string -string -keyword -keyword \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens deleted file mode 100644 index 4ffd30e..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/6.3.1/when_documenting_test_suites__test_cases__0.tokens +++ /dev/null @@ -1,18 +0,0 @@ -header link -meta -string -string -string -string -string -string -string -meta -string -string -string -string -string -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens deleted file mode 100644 index d366af8..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/6.3.2/for_example__the_following_test_suite__0.tokens +++ /dev/null @@ -1,20 +0,0 @@ -header link -meta -bracket -string -string -string -string -string -string -bracket -bracket -string -string -string -string -string -bracket -string -string -string \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens b/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens deleted file mode 100644 index 2d1fd06..0000000 --- a/atest/fixtures/highlighting/tokens/rfug/6.4.3/keyword_can_also_accept_other_special__0.tokens +++ /dev/null @@ -1,113 +0,0 @@ -header link -def -def -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -string -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -string -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -variable-2 -builtin -variable-2 -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -variable-2 -number -variable-2 -comment -def -def -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -string -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -string -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -variable-2 -builtin -variable-2 -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -variable-2 -builtin -variable-2 -comment -keyword -keyword -keyword -variable-2 -variable-2 -string -string -attribute -operator -string -string -comment \ No newline at end of file From bc4271e8baeb30782d6bb7a49584561e6e15f8e6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 30 Jan 2019 00:28:59 -0500 Subject: [PATCH 57/74] linting, docs --- atest/acceptance/02_Robot/02_Highlight.robot | 2 +- docs/Contributing.ipynb | 69 ++++++++++++++++++-- scripts/rfug.py | 3 +- 3 files changed, 66 insertions(+), 8 deletions(-) diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 15ee4e0..8e2bf96 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -161,7 +161,7 @@ Robot Syntax Highlighting Should Yield Tokens Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot Add a Cell ${robot} - Run Keyword And Ignore Error Click Element ${SAVE} + Run Keyword And Ignore Error Click Element ${SAVE} ${observed} = Get Cell Source Tokens ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} diff --git a/docs/Contributing.ipynb b/docs/Contributing.ipynb index 8d86598..12c4091 100644 --- a/docs/Contributing.ipynb +++ b/docs/Contributing.ipynb @@ -15,6 +15,7 @@ "\n", "- More test coverage\n", "- More documentation\n", + "- More syntax cases\n", "- Useful magics\n", "- JupyterLab MIME renderer for Robot `output.xml`" ] @@ -78,7 +79,66 @@ "\n", "Make sure everything is on the up-and-up with [integration tests](https://github.com/gtri/irobotframework/src/atest)...\n", "\n", - " anaconda-project run test:robot\n" + " anaconda-project run test:robot" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Syntax Highlighting\n", + "\n", + "The `jupyterlab-robotframework` syntax highlighting mode is tested against known-good fixtures from:\n", + "- the Robot Framework User's Guide (RFUG)\n", + "- some degenerate examples\n", + "\n", + "The `atest/fixtures/highlighting` has two parallel directories, `samples` and `tokens`. Under test, each `sample` of Robot syntax is added to a notebook, and the stream of tokens compared with the expected `tokens`. For example,\n", + "\n", + "```robotframework\n", + "*** Test Cases ***\n", + "A Test Case\n", + " Log Hello World\n", + "```\n", + "\n", + "expects the following `.tokens` file:\n", + "\n", + "```\n", + "header link\n", + "header string\n", + "keyword\n", + "string\n", + "string\n", + "```\n", + "\n", + "During testing, the observed tokens are also written out to the `_testoutput`. After a test run, `atest/tools/SyntaxChecker.ipynb` can be used to visually compare non-agreeing observations, and copy them to `atext/fixtures` if correct:\n", + "\n", + " anaconda-project run --env-spec hack bootstrap\n", + " anaconda-project run --env-spec hack lab" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Rebuilding the Syntax Samples\n", + "\n", + "The RFUG samples can be rebuilt from the `robotframework` source (included as a submodule in `vendor`).\n", + "\n", + " git submodule update --init\n", + " anaconda-project run build:rfug\n", + " anaconda-proejct run test:robot\n", + "\n", + "When a new version of Robot Framework is released, new values might appear and old ones might disappear, as the actual content of the robot code blocks from the generated HTML is hashed. Since these changes may include typo fixes, it's _mostly harmless_ to remove stale hashes and their corresponding tokens." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "#### Syntax: Future Work\n", + "- Because they are already _in_ the submodule, the 1000+ `.robot` files in the Robot test suite itself would be great to use as a larger baseline for visual comparison: \n", + " - It would only take a few hours initially, and less per subsequent release, to validate all of the positive cases... though syntax bugs may well be discovered, which could take more time\n", + "- Going beyond known fixtures, a [hypothesis](https://hypothesis.readthedocs.io/en/latest/)-based generator of syntactically possible documents would be useful" ] }, { @@ -106,6 +166,9 @@ "\n", "This is mostly handled by CI, but you can **build** all of the output packages into `./dist`.\n", "\n", + "Clear out your repo (or do a fresh checkout)...\n", + " \n", + " git clean -dxf # DANGER this will delete everything not checked into git!\n", " anaconda-project run build:pip:sdist\n", " anaconda-project run build:pip:wheel\n", " anaconda-project run build:npm\n", @@ -120,10 +183,6 @@ "## Release\n", "This is _also_ mostly handled by CI, but here is the rough outline.\n", "\n", - "Clear out your repo (or do a fresh checkout)...\n", - " \n", - " git clean -dxf\n", - "\n", "Preflight the release...\n", "\n", " anaconda-project run test:release\n", diff --git a/scripts/rfug.py b/scripts/rfug.py index 0f33ff7..8fbf05b 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -32,8 +32,7 @@ def build_hashes(): return { sha256(el.text_content().encode("utf-8")).hexdigest(): el.text_content() - for el in - [el for el in ug.xpath("//*[@class='highlight']") if is_robot_src(el)] + for el in [el for el in ug.xpath("//*[@class='highlight']") if is_robot_src(el)] } From 46b361975f6e3e2bb236dc67d37a1e5b31a1bc33 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 30 Jan 2019 22:14:21 -0500 Subject: [PATCH 58/74] some whitespace --- atest/acceptance/02_Robot/02_Highlight.robot | 29 ++----------------- .../samples/basic/00_test_case.robot | 4 ++- .../tokens/basic/00_test_case.tokens | 6 ++++ atest/resources/Highlight.robot | 29 +++++++++++++++++++ .../jupyterlab-robotframework/src/mode.ts | 2 +- 5 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 atest/resources/Highlight.robot diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 8e2bf96..00c022e 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -2,14 +2,8 @@ Documentation Highlight Robot Syntax Suite Setup Make a Highlighting Notebook Default Tags kernel:robot browser:${BROWSER} feature:highlighting -Resource ../../resources/Lab.robot -Resource ../../resources/Browser.robot -Resource ../../resources/Notebook.robot -Resource ../../resources/LabRobot.robot -Resource ../../resources/CodeMirror.robot -Resource ../../resources/Elements.robot -Library SeleniumLibrary -Library OperatingSystem +Resource ../../resources/Highlight.robot + *** Test Cases *** Robot Syntax is Beautiful @@ -155,22 +149,3 @@ Robot Syntax is Beautiful rfug${/}fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b # END RFUG -*** Keywords *** -Robot Syntax Highlighting Should Yield Tokens - [Arguments] ${example} - Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept - ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot - Add a Cell ${robot} - Run Keyword And Ignore Error Click Element ${SAVE} - ${observed} = Get Cell Source Tokens - ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) - Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} - ${raw} = Get File ..${/}fixtures${/}highlighting${/}tokens${/}${example}.tokens - ${expected} = Evaluate [line.strip().split(" ") for line in """${raw}""".strip().split("\\n")] - Should Be Equal ${observed} ${expected} - -Make a Highlighting Notebook - [Documentation] Make a notebook for testing syntax highlighting - Open JupyterLab with ${BROWSER} - Set Screenshot Directory ${OUTPUT_DIR}${/}${BROWSER}${/}robot${/}highlighting - Launch a new Robot Framework Notebook diff --git a/atest/fixtures/highlighting/samples/basic/00_test_case.robot b/atest/fixtures/highlighting/samples/basic/00_test_case.robot index 8437eb7..6cbd645 100644 --- a/atest/fixtures/highlighting/samples/basic/00_test_case.robot +++ b/atest/fixtures/highlighting/samples/basic/00_test_case.robot @@ -1,3 +1,5 @@ *** Test Cases *** A Test Case - Log Hello World + Log Hello World + + Log Hello World \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens index 3ea06d5..b3342bd 100644 --- a/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens +++ b/atest/fixtures/highlighting/tokens/basic/00_test_case.tokens @@ -1,5 +1,11 @@ header link header string +tab +keyword +string +string +tab +tab keyword string string \ No newline at end of file diff --git a/atest/resources/Highlight.robot b/atest/resources/Highlight.robot new file mode 100644 index 0000000..69f08f6 --- /dev/null +++ b/atest/resources/Highlight.robot @@ -0,0 +1,29 @@ +*** Settings *** +Resource Lab.robot +Resource Browser.robot +Resource Notebook.robot +Resource LabRobot.robot +Resource CodeMirror.robot +Resource Elements.robot +Library SeleniumLibrary +Library OperatingSystem + +*** Keywords *** +Robot Syntax Highlighting Should Yield Tokens + [Arguments] ${example} + Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept + ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot + Add a Cell ${robot} + Run Keyword And Ignore Error Click Element ${SAVE} + ${observed} = Get Cell Source Tokens + ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) + Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} + ${raw} = Get File ..${/}fixtures${/}highlighting${/}tokens${/}${example}.tokens + ${expected} = Evaluate [line.strip().split(" ") for line in """${raw}""".strip().split("\\n")] + Should Be Equal ${observed} ${expected} + +Make a Highlighting Notebook + [Documentation] Make a notebook for testing syntax highlighting + Open JupyterLab with ${BROWSER} + Set Screenshot Directory ${OUTPUT_DIR}${/}${BROWSER}${/}robot${/}highlighting + Launch a new Robot Framework Notebook \ No newline at end of file diff --git a/src/packages/jupyterlab-robotframework/src/mode.ts b/src/packages/jupyterlab-robotframework/src/mode.ts index 6eca1bb..0daab94 100644 --- a/src/packages/jupyterlab-robotframework/src/mode.ts +++ b/src/packages/jupyterlab-robotframework/src/mode.ts @@ -487,6 +487,7 @@ const RULE_CASE_SETTING_SIMPLE_PIPE = r( /** rules for data rows inside test/task definition */ states.test_cases = [ ...RULES_TABLE, + RULE_WS_LINE, RULE_ELLIPSIS, RULE_TAGS, RULE_SETTING_KEYWORD, @@ -502,7 +503,6 @@ states.test_cases = [ r(/(\| +)([^\|\s].+?)(\s*)( \| )/, [TT.BK, TT.SH, null, TT.BK], { sol: true }), - RULE_WS_LINE, ...base ]; From 1d0fd327a52a6afaee51b1fa95e0a301598e7f25 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 30 Jan 2019 22:15:02 -0500 Subject: [PATCH 59/74] rename so it doesn't try to import itself --- ...ecker.ipynb => SyntaxCheckerLibrary.ipynb} | 73 ++++++++++++++++--- 1 file changed, 63 insertions(+), 10 deletions(-) rename atest/tools/{SyntaxChecker.ipynb => SyntaxCheckerLibrary.ipynb} (67%) diff --git a/atest/tools/SyntaxChecker.ipynb b/atest/tools/SyntaxCheckerLibrary.ipynb similarity index 67% rename from atest/tools/SyntaxChecker.ipynb rename to atest/tools/SyntaxCheckerLibrary.ipynb index 5faf413..ca03503 100644 --- a/atest/tools/SyntaxChecker.ipynb +++ b/atest/tools/SyntaxCheckerLibrary.ipynb @@ -26,7 +26,8 @@ "source": [ "import shutil, re, traitlets as T, IPython.display as D, ipywidgets as W\n", "from pathlib import Path\n", - "from difflib import context_diff" + "from difflib import context_diff\n", + "from robot.libraries.BuiltIn import BuiltIn" ] }, { @@ -90,13 +91,21 @@ " trusted = \"\"\n", " if observed != trusted:\n", " disagree[k] = \"\\n\".join(\n", - " context_diff(observed.split(\"\\n\"), trusted.split(\"\\n\"))\n", - " )\n", + " context_diff(observed.split(\"\\n\"), \n", + " trusted.split(\"\\n\")))\n", " return disagree\n", " \n", " def _disagree_row(self, k, v):\n", " link = W.Output()\n", + " link.layout.flex = \"1\"\n", " btn = W.Button(description=\"Trust?\", button_style=\"primary\")\n", + " btn.layout.flex = \"0\"\n", + " btn.layout.min_width = \"10em\"\n", + " n = \"\\n\"\n", + " changes = W.HTML(f\"\"\"
\n", + " {len(v.split(n))} changes\n", + "
{v}
\"\"\")\n", + " changes.layout.flex = \"1\"\n", " \n", " @link.capture()\n", " def _show():\n", @@ -108,7 +117,10 @@ " btn.button_style = \"warning\"\n", " elif btn.description == \"Confirm?\":\n", " observed = self.observed[k]\n", - " trusted = self.trusted_root / observed.relative_to(self.observed_root)\n", + " trusted = (\n", + " self.trusted_root \n", + " / observed.relative_to(self.observed_root)\n", + " )\n", " trusted.parent.mkdir(parents=True, exist_ok=True)\n", " shutil.copy(observed, trusted)\n", " btn.description = \"Trusted!\"\n", @@ -117,9 +129,9 @@ " btn.on_click(_click)\n", " \n", " _show()\n", - " return W.HBox([btn, link, \n", - " W.HTML(f\"
{len(v)} changes
{v}
\")\n", - " ])\n", + " box = W.HBox([link, changes, btn])\n", + " box.layout.display = \"flex\"\n", + " return box\n", " \n", " def show_disagree(self):\n", " return W.VBox([W.HTML(\"

Untrusted Samples

\")] + ([\n", @@ -131,7 +143,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Not sure if this is actually importable yet, but for now gate behind a " + "Not sure if this is actually importable yet, but for now gate behind a `__main__` check for immediate testing." ] }, { @@ -145,9 +157,9 @@ " except: pass\n", " checker = SyntaxChecker(\n", " sample_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"samples\",\n", - " sample_glob=\"**/*.robot\",\n", - " trusted_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"tokens\",\n", " observed_root=Path(\"../..\") / \"_testoutput\" / \"headlessfirefox\" / \"tokens\",\n", + " trusted_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"tokens\",\n", + " sample_glob=\"**/*.robot\",\n", " blacklist=[\"ipynb_checkpoints\"]\n", " )\n", " try: del disagree\n", @@ -155,6 +167,47 @@ " disagree = checker.show_disagree()\n", " D.display(disagree)" ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's expose it as a Robot Framework keyword. We'll use the `OperatingSystem` library to normalize the paths. Thanks to `importnb`, the next markdown cell will be the in-browser documentatin of `SyntaxCheckerLibrary.Show Syntax Checker`." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Displays a visual verification tool for validating syntax highlighting specimens.\n", + "\n", + "Loads pairs of like-named token files from `trusted_root` and `observed_root` and shows a clickable link which will open the like-named file from `sample_root` and a button for copying from the `observed` to `trusted`. By default, it looks for a `sample_glob` of `.robot` files, but other syntaxes should work. Additionally, a `blacklist` of file patterns can be provided, which ignores `ipynb_checkpoints` by default.\n", + "\n", + "> _Note: This doesn't work particularly well with `irobotframework` at present, as by the time the widget is displayed, the test directory has already been destroyed: some careful path work could make it work, however. Also, while each syntax excursion is cheap, the setup/teardown cycle is fairly long, making it infeasible for in-the-loop testing_" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "def show_syntax_checker(sample_root, trusted_root, observed_root, blacklist=[\"ipynb_checkpoints\"], sample_glob=\"**/*.robot\"):\n", + " try:\n", + " osl = BuiltIn().get_library_instance(\"OperatingSystem\")\n", + " except:\n", + " BuiltIn().import_library(\"OperatingSystem\")\n", + " osl = BuiltIn().get_library_instance(\"OperatingSystem\")\n", + " \n", + " checker = SyntaxChecker(\n", + " sample_root=Path(osl.normalize_path(sample_root)),\n", + " observed_root=Path(osl.normalize_path(observed_root)), \n", + " trusted_root=Path(osl.normalize_path(trusted_root)), \n", + " blacklist=blacklist,\n", + " sample_glob=sample_glob,\n", + " )\n", + " return checker.show_disagree()" + ] } ], "metadata": { From 2c609f817a262bf7559d7c05df5da0bcd46c3678 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:23:17 -0400 Subject: [PATCH 60/74] updating tests, etc --- anaconda-project.yml | 5 ++--- atest/acceptance/02_Robot/02_Highlight.robot | 2 -- atest/resources/Highlight.robot | 3 ++- ci/steps.conda.build.js.yml | 2 +- ci/steps.conda.test.yml | 8 ++++---- scripts/__init__.py | 5 ++--- scripts/nblint.py | 2 +- scripts/rfug.py | 5 ++--- src/irobotframework/__init__.py | 4 +--- vendor/robotframework | 2 +- 10 files changed, 16 insertions(+), 22 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index 051fc9d..fbb093f 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -12,7 +12,7 @@ commands: bootstrap: unix: python -m scripts.bootstrap windows: python -m scripts.bootstrap - env_spec: default + env_spec: test build:docs: description: build the docs unix: sphinx-build docs dist/docs @@ -146,7 +146,6 @@ env_specs: - ipykernel >=5.1 - ipython >=7.2 - jupyterlab >=0.35.4,<0.36 - - jinja2 - nodejs >=8.12,<9 - pillow - robotframework >=3.1 @@ -194,7 +193,7 @@ env_specs: - sphinx_rtd_theme - sphinx-autobuild - pip: - - robotframeworklexer + - robotframeworklexer hack: inherit_from: - test diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 00c022e..994ae8c 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -4,7 +4,6 @@ Suite Setup Make a Highlighting Notebook Default Tags kernel:robot browser:${BROWSER} feature:highlighting Resource ../../resources/Highlight.robot - *** Test Cases *** Robot Syntax is Beautiful [Documentation] Does CodeMirror syntax highlighting work as expected? @@ -148,4 +147,3 @@ Robot Syntax is Beautiful rfug${/}fe8480f4197ffe02624f80c1f2d8c21e22c0b2e10fb7c8080240ff4dd21db486 rfug${/}fee50dc83ea12e719f26789ebd9fdcc0e910b3bd36663f80133030c70500d54b # END RFUG - diff --git a/atest/resources/Highlight.robot b/atest/resources/Highlight.robot index 69f08f6..7615a6a 100644 --- a/atest/resources/Highlight.robot +++ b/atest/resources/Highlight.robot @@ -10,6 +10,7 @@ Library OperatingSystem *** Keywords *** Robot Syntax Highlighting Should Yield Tokens + [Documentation] Makes sure some notebook highlighting tokens are correct [Arguments] ${example} Run Keyword And Ignore Error Click Element css:.jp-Dialog-button.jp-mod-accept ${robot} = Get File ..${/}fixtures${/}highlighting${/}samples${/}${example}.robot @@ -26,4 +27,4 @@ Make a Highlighting Notebook [Documentation] Make a notebook for testing syntax highlighting Open JupyterLab with ${BROWSER} Set Screenshot Directory ${OUTPUT_DIR}${/}${BROWSER}${/}robot${/}highlighting - Launch a new Robot Framework Notebook \ No newline at end of file + Launch a new Robot Framework Notebook diff --git a/ci/steps.conda.build.js.yml b/ci/steps.conda.build.js.yml index 17ba958..76161f6 100644 --- a/ci/steps.conda.build.js.yml +++ b/ci/steps.conda.build.js.yml @@ -6,6 +6,6 @@ steps: updateConda: false environmentName: _buildjs packageSpecs: > - jupyterlab>=0.35.4,<0.36 + jupyterlab>=0.35.6,<0.36 nodejs>=8.12,<9 python>=3.7,<3.8 diff --git a/ci/steps.conda.test.yml b/ci/steps.conda.test.yml index 90d1c75..abd90f9 100644 --- a/ci/steps.conda.test.yml +++ b/ci/steps.conda.test.yml @@ -33,10 +33,10 @@ steps: importnb>=0.5.2 ipykernel>=5.1 ipython>=7.2 - jupyterlab>=0.35.4,<0.36 + jupyterlab>=0.35.6,<0.36 pillow python$(PY_SPEC) - python-chromedriver-binary==2.42 + python-chromedriver-binary>=73,<74 robotframework-seleniumlibrary>=3.2.0 robotframework>=3.1 selenium>=3.141.0 @@ -54,10 +54,10 @@ steps: importnb>=0.5.2 ipykernel>=5.1 ipython>=7.2 - jupyterlab>=0.35.4,<0.36 + jupyterlab>=0.35.6,<0.36 pillow python$(PY_SPEC) - python-chromedriver-binary>=2.45 + python-chromedriver-binary>=73,<74 robotframework-seleniumlibrary>=3.2.0 robotframework>=3.1 selenium>=3.141.0 diff --git a/scripts/__init__.py b/scripts/__init__.py index 17d4416..7dcb418 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -1,12 +1,11 @@ # Copyright (c) 2018 Georgia Tech Research Corporation # Distributed under the terms of the BSD-3-Clause License -from pathlib import Path +import json import platform import subprocess import sys -import json - +from pathlib import Path PLATFORM = platform.system().lower() PY = "{}{}".format(*list(sys.version_info)[:2]) diff --git a/scripts/nblint.py b/scripts/nblint.py index 7e1d52d..e6a289f 100644 --- a/scripts/nblint.py +++ b/scripts/nblint.py @@ -1,7 +1,7 @@ # Copyright (c) 2018 Georgia Tech Research Corporation # Distributed under the terms of the BSD-3-Clause License -from nbformat import reads, write, NO_CONVERT +from nbformat import NO_CONVERT, reads, write from . import DOCS, TOOLS diff --git a/scripts/rfug.py b/scripts/rfug.py index 8fbf05b..f99a295 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -2,14 +2,13 @@ # Distributed under the terms of the BSD-3-Clause License import re -import sys import subprocess +import sys from hashlib import sha256 from lxml import html -from . import ROOT, VENDOR, FIXTURES - +from . import FIXTURES, ROOT, VENDOR ROBOT = VENDOR / "robotframework" UG = ROBOT / "doc" / "userguide" diff --git a/src/irobotframework/__init__.py b/src/irobotframework/__init__.py index 4695229..e63687b 100644 --- a/src/irobotframework/__init__.py +++ b/src/irobotframework/__init__.py @@ -5,13 +5,11 @@ """ from ._version import __version__ # noqa - -from .magic.robot import register_robot_cell_magic, unregister_robot_cell_magic from .completer import ( register_robot_completion_finder, unregister_robot_completion_finder, ) - +from .magic.robot import register_robot_cell_magic, unregister_robot_cell_magic __all__ = [ "load_ipython_extension", diff --git a/vendor/robotframework b/vendor/robotframework index dd185d8..6197f94 160000 --- a/vendor/robotframework +++ b/vendor/robotframework @@ -1 +1 @@ -Subproject commit dd185d8c3f32ba64dc2394212b3edcd191df416d +Subproject commit 6197f94db6c2a614526ce41563c882c5bcf4821d From 617ce7a0217058b6c54b2606c87a19b5e4e8ffa4 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:35:39 -0400 Subject: [PATCH 61/74] more work on env, ci --- anaconda-project.yml | 2 +- ci/steps.conda.test.yml | 45 ++++++++++++++++++++++++++++++++++++----- environment.yml | 2 +- scripts/test.py | 10 ++++----- 4 files changed, 47 insertions(+), 12 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index fbb093f..0eb2bf3 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -145,7 +145,7 @@ env_specs: - importnb >=0.5.2 - ipykernel >=5.1 - ipython >=7.2 - - jupyterlab >=0.35.4,<0.36 + - jupyterlab >=0.35.6,<0.36 - nodejs >=8.12,<9 - pillow - robotframework >=3.1 diff --git a/ci/steps.conda.test.yml b/ci/steps.conda.test.yml index abd90f9..44fb42c 100644 --- a/ci/steps.conda.test.yml +++ b/ci/steps.conda.test.yml @@ -19,7 +19,7 @@ steps: pillow pytest-cov python$(PY_SPEC) - robotframework>=3.1 + robotframework>=3.1.2 - ${{ if eq(parameters.name, 'Windows') }}: - task: CondaEnvironment@1 condition: eq(variables['TEST_KIND'], 'acceptance') @@ -38,10 +38,9 @@ steps: python$(PY_SPEC) python-chromedriver-binary>=73,<74 robotframework-seleniumlibrary>=3.2.0 - robotframework>=3.1 - selenium>=3.141.0 + robotframework>=3.1.2 - - ${{ if not(eq(parameters.name, 'Windows')) }}: + - ${{ if eq(parameters.name, 'Linux') }}: - task: CondaEnvironment@1 condition: eq(variables['TEST_KIND'], 'acceptance') inputs: @@ -60,7 +59,6 @@ steps: python-chromedriver-binary>=73,<74 robotframework-seleniumlibrary>=3.2.0 robotframework>=3.1 - selenium>=3.141.0 - task: CondaEnvironment@1 condition: eq(variables['TEST_KIND'], 'unit') inputs: @@ -77,4 +75,41 @@ steps: pillow pytest-cov python$(PY_SPEC) + robotframework>=3.1.2 + + - ${{ if eq(parameters.name, 'MacOSX') }}: + - task: CondaEnvironment@1 + condition: eq(variables['TEST_KIND'], 'acceptance') + inputs: + createOptions: -c defaults -c conda-forge + createCustomEnvironment: true + updateConda: false + environmentName: _accept$(PY_VERSION) + packageSpecs: > + geckodriver + importnb>=0.5.2 + ipykernel>=5.1 + ipython>=7.2 + jupyterlab>=0.35.6,<0.36 + pillow + python$(PY_SPEC) + python-chromedriver-binary>=74,<75 + robotframework-seleniumlibrary>=3.2.0 robotframework>=3.1 + - task: CondaEnvironment@1 + condition: eq(variables['TEST_KIND'], 'unit') + inputs: + createOptions: -c defaults -c conda-forge + createCustomEnvironment: true + updateConda: false + environmentName: _unit$(PY_VERSION) + packageSpecs: > + importnb>=0.5.2 + ipykernel>=5.1 + ipython>=7.2 + jinja2 + jupyter_kernel_test + pillow + pytest-cov + python$(PY_SPEC) + robotframework>=3.1.2 diff --git a/environment.yml b/environment.yml index 5af9a36..6320580 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,7 @@ dependencies: - importnb >=0.5.2 - ipykernel >=5.1 - ipython >=7.2 - - jupyterlab >=0.35.4,<0.36 + - jupyterlab >=0.35.6,<0.36 - nodejs >=8.12,<9 - pillow - robotframework >=3.1 diff --git a/scripts/test.py b/scripts/test.py index 01face5..88eff43 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -8,6 +8,8 @@ from subprocess import check_call from tempfile import TemporaryDirectory +import robot + from . import DIST, PLATFORM, PY, TEST_DIR, TEST_OUT, run BROWSER = os.environ.get("BROWSER", "headlessfirefox") @@ -109,7 +111,7 @@ def acceptance(robot_args): robot_args.remove(BROWSER) os.environ["BROWSER"] = BROWSER - env.update( + os.environ.update( PATH=os.pathsep.join( [os.path.dirname(chromedriver_binary.__file__), os.environ["PATH"]] ), @@ -125,9 +127,6 @@ def acceptance(robot_args): args = ( [ - sys.executable, - "-m", - "robot", "--name", f"{BROWSER} on {PLATFORM} on {PY}", "--outputdir", @@ -154,7 +153,8 @@ def acceptance(robot_args): + list(robot_args) + [str(TEST_DIR)] ) - return run(args, env=env) + robot.run_cli(args) + def combine(rebot_args): From f83cbe591e0e77256ce141b67b2449f0d19d2ffc Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:43:32 -0400 Subject: [PATCH 62/74] clean up some envs --- anaconda-project.yml | 39 +++++++++++++++++++-------------------- environment.yml | 2 +- scripts/test.py | 8 +++++++- 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index 0eb2bf3..a2dbe5a 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -71,7 +71,7 @@ commands: lab:ext: description: install 3rd party extensions unix: jupyter labextension install $EXTENSIONS --no-build - env_spec: hack + env_spec: default ipython: description: run IRobotFramework in the terminal windows: ipython --kernel-name robotframework @@ -124,17 +124,12 @@ commands: env_spec: test env_specs: - _python: - packages: - - python >=3.6,<3.7 - _build: - description: an environment for building conda packages (busted in CI, use base) + default: inherit_from: - - _python + - test packages: - - conda-build - - conda-verify - default: + - ipywidgets + irobotframework-minimal: description: a pretty heavy environment, because robot & jupyter & node inherit_from: - _python @@ -152,13 +147,13 @@ env_specs: - tornado <6 default-win: inherit_from: - - default + - irobotframework-minimal packages: - nodejs>=8,<9 test: description: an even-heavier test environment, because browsers inherit_from: - - default + - irobotframework-minimal packages: - black - flake8 @@ -175,17 +170,17 @@ env_specs: - twine test-win: inherit_from: - - default-win + - minimal-win - test test-win37: inherit_from: - - default-win + - minimal-win - test packages: - python>=3.7,<3.8 docs: inherit_from: - - default + - irobotframework-minimal packages: - nbsphinx - lxml @@ -193,10 +188,14 @@ env_specs: - sphinx_rtd_theme - sphinx-autobuild - pip: - - robotframeworklexer - hack: + - robotframeworklexer + _python: + packages: + - python >=3.6,<3.7 + _build: + description: an environment for building conda packages (busted in CI, use base) inherit_from: - - test - - docs + - _python packages: - - ipywidgets + - conda-build + - conda-verify diff --git a/environment.yml b/environment.yml index 6320580..fead4b8 100644 --- a/environment.yml +++ b/environment.yml @@ -1,4 +1,4 @@ -name: default +name: irobotframework-minimal channels: - conda-forge diff --git a/scripts/test.py b/scripts/test.py index 88eff43..ffb78f8 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -153,8 +153,14 @@ def acceptance(robot_args): + list(robot_args) + [str(TEST_DIR)] ) - robot.run_cli(args) + old_cwd = os.getcwd() + + try: + os.chdir(TEST_DIR) + robot.run_cli(args) + finally: + os.chdir(old_cwd) def combine(rebot_args): From ba323cf47fe1aaefc927c3667d4a1d56a5a68bc4 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:45:17 -0400 Subject: [PATCH 63/74] remove crufty commands --- anaconda-project.yml | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index a2dbe5a..ae71313 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -6,13 +6,10 @@ variables: @jupyter-widgets/jupyterlab-manager commands: - atom: - unix: atom . - env_spec: test bootstrap: unix: python -m scripts.bootstrap windows: python -m scripts.bootstrap - env_spec: test + env_spec: default build:docs: description: build the docs unix: sphinx-build docs dist/docs @@ -49,6 +46,7 @@ commands: jlpm: description: run the yarn bundled with JupyterLab unix: jlpm + env_spec: default build: unix: python -m scripts.build windows: python -m scripts.build @@ -77,18 +75,6 @@ commands: windows: ipython --kernel-name robotframework unix: ipython --kernel-name robotframework env_spec: default - test:py: - unix: mkdir -p _testoutput && cd _testoutput && pytest - env_spec: test - test:robot: - unix: |- - set -eux \ - && cd atest/acceptance \ - && python -m robot \ - -d ../../_testoutput \ - --xunit junit_robot.xml \ - . - env_spec: test test: description: | run all the tests or specify [l]int, [u]nit, [a]cceptance, [c]ombine. @@ -100,22 +86,6 @@ commands: test:release: unix: python -m scripts.release_check ${NEXT_RELEASE} env_spec: test - test:lint: - unix: |- - set -eux \ - && python -m scripts.nblint \ - && python -m scripts.copyright \ - && python -m robot.tidy -r atest/resources \ - && python -m robot.tidy -r atest/acceptance \ - && rflint \ - --configure TooManyTestSteps:20 \ - --configure TooFewKeywordSteps:0 \ - --configure LineTooLong:200 \ - -r atest/{acceptance,resources}/*.robot \ - && black --line-length 88 setup.py ./src/irobotframework/ scripts docs \ - && flake8 --max-line-length=88 scripts src/irobotframework setup.py docs \ - && jlpm lint - env_spec: test release:pypi: unix: |- set -eux \ From 3f5a04cbc655907b03e9db8564d5b858c8f0f5c6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:49:22 -0400 Subject: [PATCH 64/74] more linting/cleaning/testing --- anaconda-project.yml | 6 +++--- ci/steps.conda.test.yml | 12 ++++++------ environment.yml | 2 +- scripts/test.py | 1 - setup.py | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index ae71313..6cc30f9 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -107,7 +107,7 @@ env_specs: - conda-forge - defaults packages: - - importnb >=0.5.2 + - importnb >=0.5.5 - ipykernel >=5.1 - ipython >=7.2 - jupyterlab >=0.35.6,<0.36 @@ -115,7 +115,7 @@ env_specs: - pillow - robotframework >=3.1 - tornado <6 - default-win: + minimal-win: inherit_from: - irobotframework-minimal packages: @@ -158,7 +158,7 @@ env_specs: - sphinx_rtd_theme - sphinx-autobuild - pip: - - robotframeworklexer + - robotframeworklexer _python: packages: - python >=3.6,<3.7 diff --git a/ci/steps.conda.test.yml b/ci/steps.conda.test.yml index 44fb42c..8c33257 100644 --- a/ci/steps.conda.test.yml +++ b/ci/steps.conda.test.yml @@ -11,7 +11,7 @@ steps: updateConda: true environmentName: _unit$(PY_VERSION) packageSpecs: > - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jinja2 @@ -30,7 +30,7 @@ steps: environmentName: _accept$(PY_VERSION) packageSpecs: > geckodriver - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jupyterlab>=0.35.6,<0.36 @@ -50,7 +50,7 @@ steps: environmentName: _accept$(PY_VERSION) packageSpecs: > geckodriver - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jupyterlab>=0.35.6,<0.36 @@ -67,7 +67,7 @@ steps: updateConda: false environmentName: _unit$(PY_VERSION) packageSpecs: > - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jinja2 @@ -87,7 +87,7 @@ steps: environmentName: _accept$(PY_VERSION) packageSpecs: > geckodriver - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jupyterlab>=0.35.6,<0.36 @@ -104,7 +104,7 @@ steps: updateConda: false environmentName: _unit$(PY_VERSION) packageSpecs: > - importnb>=0.5.2 + importnb>=0.5.5 ipykernel>=5.1 ipython>=7.2 jinja2 diff --git a/environment.yml b/environment.yml index fead4b8..00d5a62 100644 --- a/environment.yml +++ b/environment.yml @@ -6,7 +6,7 @@ channels: dependencies: - python >=3.6,<3.7 - - importnb >=0.5.2 + - importnb >=0.5.5 - ipykernel >=5.1 - ipython >=7.2 - jupyterlab >=0.35.6,<0.36 diff --git a/scripts/test.py b/scripts/test.py index ffb78f8..2be2fba 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -97,7 +97,6 @@ def acceptance(robot_args): import chromedriver_binary # noqa global BROWSER - env = dict(**os.environ) with TemporaryDirectory() as td: tdp = Path(td) diff --git a/setup.py b/setup.py index 351670a..2628ba8 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ package_dir={"": "src"}, packages=setuptools.find_packages("src"), install_requires=[ - "importnb>=0.5.2", + "importnb>=0.5.5", "ipykernel>=5.1", "IPython>=7.2", "jinja2", From 835fd462e3c697ec4988d94beadf591b84dc9d5b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:54:39 -0400 Subject: [PATCH 65/74] more stuff in default --- anaconda-project.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/anaconda-project.yml b/anaconda-project.yml index 6cc30f9..326362d 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -97,6 +97,7 @@ env_specs: default: inherit_from: - test + - docs packages: - ipywidgets irobotframework-minimal: From f206df58af61938aeb2a5a561e0b76fc556ab7b9 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 10:59:42 -0400 Subject: [PATCH 66/74] up-front some install steps --- scripts/bootstrap.py | 4 ++-- scripts/build.py | 12 ++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py index cdf8cca..5d32f2a 100644 --- a/scripts/bootstrap.py +++ b/scripts/bootstrap.py @@ -11,13 +11,13 @@ PIP_ARGS = "pip install --ignore-installed --no-deps --no-cache-dir" COMMANDS = dict( + dev=f"{PIP_ARGS} -e .", + kernel=f"jupyter kernelspec install --name robotframework --sys-prefix {RES}", js="jlpm bootstrap", lint="python -m scripts.test lint", build="python -m scripts.build", sdist=lambda: f"{PIP_ARGS} {sdist()}", wheel=lambda: f"{PIP_ARGS} {wheel()}", - dev=f"{PIP_ARGS} -e .", - kernel=f"jupyter kernelspec install --name robotframework --sys-prefix {RES}", test="python -m scripts.test", ) diff --git a/scripts/build.py b/scripts/build.py index e8301e1..7481d3c 100644 --- a/scripts/build.py +++ b/scripts/build.py @@ -11,6 +11,8 @@ def sdist(sdist_args): + """ Build the source distribution + """ rc = run(["python", "setup.py", "clean"]) if rc != 0: return rc @@ -18,6 +20,8 @@ def sdist(sdist_args): def wheel(wheel_args): + """ Build the wheel + """ rc = run(["python", "setup.py", "clean"]) if rc != 0: return rc @@ -27,10 +31,14 @@ def wheel(wheel_args): def lerna(lerna_args): + """ Build the lerna packages + """ return run(["jlpm", "build"] + lerna_args) def npm(npm_args): + """ pack up the extensions + """ src_dirs = sum([list(ROOT.glob(ws)) for ws in PACKAGE["workspaces"]], []) out_dir = DIST / "npm" @@ -50,6 +58,8 @@ def npm(npm_args): def jupyterlab(extra_args): + """ build a jupyterlab + """ with tempfile.TemporaryDirectory() as td: tdp = Path(td) @@ -76,6 +86,8 @@ def jupyterlab(extra_args): def docs(extra_args): + """ build the docs + """ try: import sphinx From e3de9c9fc0958ba36f9fa0806962210507397a7c Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 11:02:45 -0400 Subject: [PATCH 67/74] linting --- src/irobotframework/tests/test_completion.py | 1 - src/irobotframework/tests/test_magic.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/irobotframework/tests/test_completion.py b/src/irobotframework/tests/test_completion.py index f542edc..d5648b7 100644 --- a/src/irobotframework/tests/test_completion.py +++ b/src/irobotframework/tests/test_completion.py @@ -4,7 +4,6 @@ """ Pure python tests of completion behavior """ import jupyter_kernel_test - from irobotframework.completion_finders import TABLE_NAMES from . import RobotBase diff --git a/src/irobotframework/tests/test_magic.py b/src/irobotframework/tests/test_magic.py index a966662..37b94b0 100644 --- a/src/irobotframework/tests/test_magic.py +++ b/src/irobotframework/tests/test_magic.py @@ -4,7 +4,6 @@ import jupyter_kernel_test import pytest - from irobotframework.magic.robot import cell_magic_tidy from . import IPythonMagicBase, RobotBase From 62e5ef46e3a9f08c36c72c23068939ad03c64004 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 11:14:33 -0400 Subject: [PATCH 68/74] move robot import --- scripts/test.py | 14 ++++++++++---- src/irobotframework/tests/test_completion.py | 1 + src/irobotframework/tests/test_magic.py | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/test.py b/scripts/test.py index 2be2fba..f32b5b3 100644 --- a/scripts/test.py +++ b/scripts/test.py @@ -8,8 +8,6 @@ from subprocess import check_call from tempfile import TemporaryDirectory -import robot - from . import DIST, PLATFORM, PY, TEST_DIR, TEST_OUT, run BROWSER = os.environ.get("BROWSER", "headlessfirefox") @@ -94,7 +92,13 @@ def unit(pytest_args): def acceptance(robot_args): - import chromedriver_binary # noqa + import robot + + try: + import chromedriver_binary + except ImportError: + print("couldn't import chromedriver") + chromedriver_binary = None global BROWSER @@ -111,7 +115,9 @@ def acceptance(robot_args): os.environ["BROWSER"] = BROWSER os.environ.update( - PATH=os.pathsep.join( + PATH=os.environ["path"] + if chromedriver_binary is None + else os.pathsep.join( [os.path.dirname(chromedriver_binary.__file__), os.environ["PATH"]] ), JUPYTERLAB_DIR=str(tdp / "lab"), diff --git a/src/irobotframework/tests/test_completion.py b/src/irobotframework/tests/test_completion.py index d5648b7..f542edc 100644 --- a/src/irobotframework/tests/test_completion.py +++ b/src/irobotframework/tests/test_completion.py @@ -4,6 +4,7 @@ """ Pure python tests of completion behavior """ import jupyter_kernel_test + from irobotframework.completion_finders import TABLE_NAMES from . import RobotBase diff --git a/src/irobotframework/tests/test_magic.py b/src/irobotframework/tests/test_magic.py index 37b94b0..a966662 100644 --- a/src/irobotframework/tests/test_magic.py +++ b/src/irobotframework/tests/test_magic.py @@ -4,6 +4,7 @@ import jupyter_kernel_test import pytest + from irobotframework.magic.robot import cell_magic_tidy from . import IPythonMagicBase, RobotBase From ff7530083c9aae24d9d9620b1baed6d5c9249551 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 11:39:42 -0400 Subject: [PATCH 69/74] older windows chromedriver --- ci/steps.conda.test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/steps.conda.test.yml b/ci/steps.conda.test.yml index 8c33257..668ccfe 100644 --- a/ci/steps.conda.test.yml +++ b/ci/steps.conda.test.yml @@ -36,7 +36,7 @@ steps: jupyterlab>=0.35.6,<0.36 pillow python$(PY_SPEC) - python-chromedriver-binary>=73,<74 + python-chromedriver-binary>=2.46,<73 robotframework-seleniumlibrary>=3.2.0 robotframework>=3.1.2 From 97da432b4433ac55e49a3b164ad03e4dca371bc8 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 12:00:20 -0400 Subject: [PATCH 70/74] ignore tab-wrap-hack --- atest/resources/CodeMirror.robot | 2 +- atest/resources/Highlight.robot | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/atest/resources/CodeMirror.robot b/atest/resources/CodeMirror.robot index 76aa3b9..058fe00 100644 --- a/atest/resources/CodeMirror.robot +++ b/atest/resources/CodeMirror.robot @@ -68,7 +68,7 @@ Get Cell Source Tokens ${raw_classes} = Call Method ${el} get_attribute class ${observed} = Set Variable ${raw_classes.replace("cm-", "").split(" ")} ${sorted} = Evaluate sorted(${observed}) - Append To List ${tokens} ${sorted} + Run Keyword If "tab-wrap-hack" not in ${sorted} Append To List ${tokens} ${sorted} END [Return] ${tokens} diff --git a/atest/resources/Highlight.robot b/atest/resources/Highlight.robot index 7615a6a..a01d195 100644 --- a/atest/resources/Highlight.robot +++ b/atest/resources/Highlight.robot @@ -18,7 +18,7 @@ Robot Syntax Highlighting Should Yield Tokens Run Keyword And Ignore Error Click Element ${SAVE} ${observed} = Get Cell Source Tokens ${cake} = Evaluate "\\n".join([" ".join(obs) for obs in ${observed}]) - Create File ${OUTPUT DIR}${/}${BROWSER}${/}tokens${/}${example}.tokens ${cake} + Create File ${OUTPUT DIR}${/}tokens${/}${example}.tokens ${cake} ${raw} = Get File ..${/}fixtures${/}highlighting${/}tokens${/}${example}.tokens ${expected} = Evaluate [line.strip().split(" ") for line in """${raw}""".strip().split("\\n")] Should Be Equal ${observed} ${expected} @@ -26,5 +26,5 @@ Robot Syntax Highlighting Should Yield Tokens Make a Highlighting Notebook [Documentation] Make a notebook for testing syntax highlighting Open JupyterLab with ${BROWSER} - Set Screenshot Directory ${OUTPUT_DIR}${/}${BROWSER}${/}robot${/}highlighting + Set Screenshot Directory ${OUTPUT_DIR}${/}robot${/}highlighting Launch a new Robot Framework Notebook From c5ae46d5a9a6d2956f88aee4bfbc23dd0680bf4a Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 12:36:53 -0400 Subject: [PATCH 71/74] add new samples from RGUF, some lab startup stuff --- atest/acceptance/02_Robot/02_Highlight.robot | 3 +++ ...012f95d5e1b3a34efcfbe5377e463ce464fa.robot | 13 ++++++++++ ...0f8335f222050203067c6b030f79aaec5de2.robot | 13 ++++++++++ ...28fbc1e98ec055465b8159df49deed5d8f17.robot | 6 +++++ atest/resources/Lab.robot | 25 +++++++++++++------ scripts/rfug.py | 9 ++++--- 6 files changed, 58 insertions(+), 11 deletions(-) create mode 100644 atest/fixtures/highlighting/samples/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.robot create mode 100644 atest/fixtures/highlighting/samples/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.robot diff --git a/atest/acceptance/02_Robot/02_Highlight.robot b/atest/acceptance/02_Robot/02_Highlight.robot index 994ae8c..5335ef0 100644 --- a/atest/acceptance/02_Robot/02_Highlight.robot +++ b/atest/acceptance/02_Robot/02_Highlight.robot @@ -36,6 +36,7 @@ Robot Syntax is Beautiful rfug${/}20fc6f917a687c807d152c6a14042af0a36e894e08a1116125b962ed54ce5ea5 rfug${/}212879366507eb8c8c3509b446f156ca2384014a22d05a7d5f988aee5da9c37e rfug${/}22497e75fa6c14bfb4ad25da9d15c9182c8e755855891a5b00f6fb029a53e61b + rfug${/}29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa rfug${/}2c42f0b3e12f62dcadafeadeb0d11c098a5293f528df5335f8260b77109e65c0 rfug${/}2c6668edd2895cdc20a9b6dc72d211c4d9d0e77c0a68920ce109b6d8918c26a9 rfug${/}2f32350c830d580b80de7c91b064fe7dfa1b85d9ab2b19ebe334ecedd3269005 @@ -58,6 +59,7 @@ Robot Syntax is Beautiful rfug${/}44e58c5ffc5f62dd53e1ca2e321a99765a84fa98b334011b4d4c5b28d36e6a13 rfug${/}452bda58da35426e37ad1e1d5aa6095dca0139471f81ccda42d75e7e3072153c rfug${/}479e12ffd5032cf2371a1a2f80f66c551926721b15ba4fa8bde029e7cc09a3a1 + rfug${/}47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2 rfug${/}47f52d598f3fe4ac621c9778caeb1546769ad95a636981805f8e0895a3dcc771 rfug${/}48be95fd1c6832122bd1bd21b6b807db90365c4841f75f31ad55b1b31f3ffe8f rfug${/}506a398e7eafc854ac8b5dd2efdaa9a50038e591238571e070ed26d6225be0be @@ -129,6 +131,7 @@ Robot Syntax is Beautiful rfug${/}d710c924030524c2271d27dcacc0b427ed39183dfd324bb4563df73013331777 rfug${/}d717f16613277fd934155e2611b4de039c800b57e7ee3b0d614d3e44066593fa rfug${/}da59023552a7d45908c443c308952825cec834ad47b95c6b6a41d45b9085ff47 + rfug${/}dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17 rfug${/}dd20d932dc93d6b9f61f6607985ae91b6cc12fc292279a882819ae9c1e891110 rfug${/}defcc7803fcf63c13b5ff1a7cf0d5969d8876a3f3e2b81e5ace65dbb8c987ab2 rfug${/}e07efb6e3d60641f5d4bf0b29f5ec88400ce107ccc74b64cd9d705e70bba08a5 diff --git a/atest/fixtures/highlighting/samples/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.robot b/atest/fixtures/highlighting/samples/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.robot new file mode 100644 index 0000000..081bf02 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.robot @@ -0,0 +1,13 @@ +| *** Test Cases *** +| Recommended solution +| | FOR | ${animal} | IN | cat | dog | +| | | Log | ${animal} | +| | | Log | 2nd keyword | +| | END | | +| | Log | Outside loop | +| +| Compatible with RF 3.0.x +| | :FOR | ${animal} | IN | cat | dog | +| | \ | Log | ${animal} | +| | \ | Log | 2nd keyword | +| | Log | Outside loop | diff --git a/atest/fixtures/highlighting/samples/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.robot b/atest/fixtures/highlighting/samples/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.robot new file mode 100644 index 0000000..97e86ac --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.robot @@ -0,0 +1,13 @@ +*** Keywords *** +True examples + Should Be Equal ${x} ${y} Custom error values=True # Strings are generally true. + Should Be Equal ${x} ${y} Custom error values=yes # Same as the above. + Should Be Equal ${x} ${y} Custom error values=${TRUE} # Python `True` is true. + Should Be Equal ${x} ${y} Custom error values=${42} # Numbers other than 0 are true. + +False examples + Should Be Equal ${x} ${y} Custom error values=False # String `false` is false. + Should Be Equal ${x} ${y} Custom error values=no # Also string `no` is false. + Should Be Equal ${x} ${y} Custom error values=${EMPTY} # Empty string is false. + Should Be Equal ${x} ${y} Custom error values=${FALSE} # Python `False` is false. + Should Be Equal ${x} ${y} Custom error values=no values # Special false string with this keyword. diff --git a/atest/fixtures/highlighting/samples/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.robot b/atest/fixtures/highlighting/samples/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.robot new file mode 100644 index 0000000..a373804 --- /dev/null +++ b/atest/fixtures/highlighting/samples/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.robot @@ -0,0 +1,6 @@ +| *** Test Cases *** +| Example +| | :FOR | ${animal} | IN | cat | dog | +| | | Log | ${animal} | +| | | Log | 2nd keyword | +| | Log | Outside loop | diff --git a/atest/resources/Lab.robot b/atest/resources/Lab.robot index 2c17392..4c6cf5f 100644 --- a/atest/resources/Lab.robot +++ b/atest/resources/Lab.robot @@ -4,21 +4,16 @@ Library Process Library BuiltIn Library SeleniumLibrary Library OperatingSystem +Library String Resource Selectors.robot Resource Commands.robot -*** Variables *** -${TOKEN} hopelesslyinsecure -${LAB_CMD} jupyter-lab --no-browser --NotebookApp.token=${TOKEN} --port 18888 --debug --ip=0.0.0.0 -${BASE_URL} http://localhost:18888 -${LAB_URL} ${BASE_URL}/lab?token=${TOKEN} -${TREE_URL} ${BASE_URL}/tree?token=${TOKEN} *** Keywords *** Wait for Splash Screen [Documentation] Wait for the JupyterLab splash animation to run its course - Wait Until Page Contains Element ${SPLASH_ID} - Wait Until Page Does Not Contain Element ${SPLASH_ID} + Wait Until Page Contains Element ${SPLASH_ID} timeout=30s + Wait Until Page Does Not Contain Element ${SPLASH_ID} timeout=30s Sleep 0.1s Launch a new @@ -32,10 +27,23 @@ Launch a new Start JupyterLab [Documentation] Start a Jupyter Notebook Server with JupyterLab ${notebooks} = Set Variable ${OUTPUT_DIR}${/}_notebooks + ${token} = Generate Random String 64 + Set Suite Variable ${TOKEN} ${token} children=${True} + Set Suite Variable ${LAB_CMD} jupyter-lab --no-browser --NotebookApp.token=${TOKEN} --port 18888 children=${True} + Set Suite Variable ${BASE_URL} http://localhost:18888 children=${True} + Set Suite Variable ${LAB_URL} ${BASE_URL}/lab?token=${TOKEN} children=${True} + Set Suite Variable ${TREE_URL} ${BASE_URL}/tree?token=${TOKEN} children=${True} ${log} = Set Variable ${OUTPUT_DIR}${/}_lab.log ${cmd} = Set Variable ${LAB_CMD} --notebook-dir=${notebooks} Create Directory ${notebooks} Start Process ${cmd} shell=true stderr=STDOUT stdout=${log} + Wait Until Keyword Succeeds 10x 1s Lab Was Started ${log} + +Lab Was Started + [Arguments] ${log} + [Documentation] Check whether the lab server was started and listening + ${text} = Get File ${log} + Should Contain ${text} The Jupyter Notebook is running Click JupyterLab Menu [Arguments] ${menu_label} @@ -62,6 +70,7 @@ Open JupyterLab with Reset Application State and Close [Documentation] Try to clean up after doing some things to the JupyterLab state Run Keyword And Ignore Error Click Element ${SAVE} + Execute JupyterLab Command Close All Execute JupyterLab Command Reset Application State Close All Browsers diff --git a/scripts/rfug.py b/scripts/rfug.py index f99a295..e680aee 100644 --- a/scripts/rfug.py +++ b/scripts/rfug.py @@ -36,11 +36,14 @@ def build_hashes(): def write_fixtures(hashes): - robot_lines = [] - + fixture_path = FIXTURES / "highlighting" / "samples" / "rfug" for sha, txt in sorted(hashes.items()): - out_file = FIXTURES / "highlighting" / "samples" / "rfug" / f"{sha}.robot" + out_file = fixture_path / f"{sha}.robot" out_file.write_text(txt) + + robot_lines = [] + + for out_file in sorted(fixture_path.glob("*.robot")): robot_lines += [ str(out_file.relative_to(out_file.parent.parent)) .replace(".robot", "") From 8103103368da955b0263fc1654530b3b2c6b8e38 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 12:50:38 -0400 Subject: [PATCH 72/74] update with tokens and new location of fixtures --- anaconda-project.yml | 1 + ...12f95d5e1b3a34efcfbe5377e463ce464fa.tokens | 73 +++++++++++ ...f8335f222050203067c6b030f79aaec5de2.tokens | 113 ++++++++++++++++++ ...8fbc1e98ec055465b8159df49deed5d8f17.tokens | 32 +++++ atest/tools/SyntaxCheckerLibrary.ipynb | 27 ++++- 5 files changed, 240 insertions(+), 6 deletions(-) create mode 100644 atest/fixtures/highlighting/tokens/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.tokens create mode 100644 atest/fixtures/highlighting/tokens/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.tokens diff --git a/anaconda-project.yml b/anaconda-project.yml index 326362d..613c6f2 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -4,6 +4,7 @@ variables: NEXT_RELEASE: 0.5.0 EXTENSIONS: > @jupyter-widgets/jupyterlab-manager + ./dist/npm/jupyterlab-robotframework-0.5.0.tgz commands: bootstrap: diff --git a/atest/fixtures/highlighting/tokens/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.tokens b/atest/fixtures/highlighting/tokens/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.tokens new file mode 100644 index 0000000..129fbae --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/29afa4cdff55b252c04d2432500c012f95d5e1b3a34efcfbe5377e463ce464fa.tokens @@ -0,0 +1,73 @@ +bracket +header link +bracket +keyword +keyword +bracket +keyword +bracket +variable-2 +bracket +string +bracket +string +bracket +string +bracket +bracket +string +bracket +variable-2 +bracket +bracket +string +bracket +string +string +bracket +bracket +keyword +bracket +bracket +bracket +keyword +bracket +string +string +bracket +bracket +bracket +keyword +keyword +keyword +keyword +bracket +keyword +bracket +variable-2 +bracket +string +bracket +string +bracket +string +bracket +bracket +bracket +string +bracket +variable-2 +bracket +bracket +bracket +string +bracket +string +string +bracket +bracket +keyword +bracket +string +string +bracket \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.tokens b/atest/fixtures/highlighting/tokens/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.tokens new file mode 100644 index 0000000..2d1fd06 --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/47b038a0e2b492adb5b16e4371c10f8335f222050203067c6b030f79aaec5de2.tokens @@ -0,0 +1,113 @@ +header link +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +number +variable-2 +comment +def +def +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +variable-2 +builtin +variable-2 +comment +keyword +keyword +keyword +variable-2 +variable-2 +string +string +attribute +operator +string +string +comment \ No newline at end of file diff --git a/atest/fixtures/highlighting/tokens/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.tokens b/atest/fixtures/highlighting/tokens/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.tokens new file mode 100644 index 0000000..4ba00ea --- /dev/null +++ b/atest/fixtures/highlighting/tokens/rfug/dc4f2da5d432c1defb205f9d87ee28fbc1e98ec055465b8159df49deed5d8f17.tokens @@ -0,0 +1,32 @@ +bracket +header link +bracket +keyword +bracket +keyword +bracket +variable-2 +bracket +string +bracket +string +bracket +string +bracket +bracket +string +bracket +variable-2 +bracket +bracket +string +bracket +string +string +bracket +bracket +keyword +bracket +string +string +bracket \ No newline at end of file diff --git a/atest/tools/SyntaxCheckerLibrary.ipynb b/atest/tools/SyntaxCheckerLibrary.ipynb index ca03503..cd96d5c 100644 --- a/atest/tools/SyntaxCheckerLibrary.ipynb +++ b/atest/tools/SyntaxCheckerLibrary.ipynb @@ -20,7 +20,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -32,7 +32,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -148,16 +148,31 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 3, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "9c17615ff2b542b8b10ff4e1bfce26a5", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "VBox(children=(HTML(value='

Untrusted Samples

'), HBox(children=(Output(layout=Layout(flex='1')), HTML(…" + ] + }, + "metadata": {}, + "output_type": "display_data" + } + ], "source": [ "if __name__ == \"__main__\":\n", " try: del checker\n", " except: pass\n", " checker = SyntaxChecker(\n", " sample_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"samples\",\n", - " observed_root=Path(\"../..\") / \"_testoutput\" / \"headlessfirefox\" / \"tokens\",\n", + " observed_root=Path(\"../..\") / \"_testoutput\" / \"robot\" / \"linux\" / \"headlessfirefox\" / \"36\" / \"tokens\",\n", " trusted_root=Path(\"..\") / \"fixtures\" / \"highlighting\" / \"tokens\",\n", " sample_glob=\"**/*.robot\",\n", " blacklist=[\"ipynb_checkpoints\"]\n", @@ -188,7 +203,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ From 979c79011afd2c3f6631138f55657fe03ab6011f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 30 May 2019 13:03:21 -0400 Subject: [PATCH 73/74] add jupyter-server for windows acceptance --- ci/steps.conda.test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/steps.conda.test.yml b/ci/steps.conda.test.yml index 668ccfe..912f807 100644 --- a/ci/steps.conda.test.yml +++ b/ci/steps.conda.test.yml @@ -34,6 +34,7 @@ steps: ipykernel>=5.1 ipython>=7.2 jupyterlab>=0.35.6,<0.36 + jupyter_server pillow python$(PY_SPEC) python-chromedriver-binary>=2.46,<73 From 5884a884bf6a92879eedb10a08ac49c983af3391 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 31 May 2019 12:58:32 -0400 Subject: [PATCH 74/74] some more timing things --- anaconda-project.yml | 8 ++++---- atest/acceptance/02_Robot/01_Settings.robot | 10 +++------- atest/resources/CodeMirror.robot | 6 ++++++ atest/resources/Lab.robot | 9 +++++---- atest/resources/Notebook.robot | 5 +++-- src/irobotframework/tests/test_completion.py | 1 - src/irobotframework/tests/test_magic.py | 1 - 7 files changed, 21 insertions(+), 19 deletions(-) diff --git a/anaconda-project.yml b/anaconda-project.yml index 613c6f2..ed5b237 100644 --- a/anaconda-project.yml +++ b/anaconda-project.yml @@ -3,8 +3,8 @@ name: irobotframework-dev variables: NEXT_RELEASE: 0.5.0 EXTENSIONS: > - @jupyter-widgets/jupyterlab-manager - ./dist/npm/jupyterlab-robotframework-0.5.0.tgz + @jupyter-widgets/jupyterlab-manager@0.38.1 + src/packages/jupyterlab-robotframework commands: bootstrap: @@ -68,8 +68,8 @@ commands: windows: jupyter lab --no-browser --debug --app-dir dist\lab env_spec: default lab:ext: - description: install 3rd party extensions - unix: jupyter labextension install $EXTENSIONS --no-build + description: install 1st/3rd party extensions + unix: jupyter labextension install $EXTENSIONS env_spec: default ipython: description: run IRobotFramework in the terminal diff --git a/atest/acceptance/02_Robot/01_Settings.robot b/atest/acceptance/02_Robot/01_Settings.robot index 703afa1..46f8f88 100644 --- a/atest/acceptance/02_Robot/01_Settings.robot +++ b/atest/acceptance/02_Robot/01_Settings.robot @@ -29,17 +29,13 @@ Robot Notebook completes Settings Add a Cell *** Set Go to End of Cell Source Trigger Cell Source Completion - Sleep 0.1s - Cell Source Should Equal *** Settings ***\n + Cell Source Should Eventually Contain *** Settings ***\n Append to Cell Source Lib Trigger Cell Source Completion - Sleep 0.1s - Cell Source Should Contain Library\ \ + Cell Source Should Eventually Contain Library\ \ Append to Cell Source Operating Trigger Cell Source Completion - Sleep 0.1s - Cell Source Should Contain OperatingSystem + Cell Source Should Eventually Contain OperatingSystem Append to Cell Source \nT Trigger Cell Source Completion - Sleep 0.1s Completions Should Contain Test Setup \ \ Test Teardown \ \ Test Template \ \ Test Timeout \ \ # important whitespace diff --git a/atest/resources/CodeMirror.robot b/atest/resources/CodeMirror.robot index 058fe00..cfa579d 100644 --- a/atest/resources/CodeMirror.robot +++ b/atest/resources/CodeMirror.robot @@ -51,6 +51,11 @@ Cell Source Should Contain ${result} = Get Cell Source Should Contain ${result} ${text} +Cell Source Should Eventually Contain + [Documentation] Whether source of a cell contains given text (eventually) + [Arguments] ${text} + Wait Until Keyword Succeeds 5x 1s Cell Source Should Contain ${text} + Cell Source Tokens Should Equal [Documentation] Whether a cell is highlighted as expected [Arguments] ${expected_tokens} @@ -75,6 +80,7 @@ Get Cell Source Tokens Trigger Cell Source Completion [Documentation] Initiate Tab Complete Press Key css:body \\9 + Wait Until Kernel Is Idle Completions Should Contain [Documentation] Does the completer show the expected completions? diff --git a/atest/resources/Lab.robot b/atest/resources/Lab.robot index 4c6cf5f..60ebeca 100644 --- a/atest/resources/Lab.robot +++ b/atest/resources/Lab.robot @@ -33,10 +33,12 @@ Start JupyterLab Set Suite Variable ${BASE_URL} http://localhost:18888 children=${True} Set Suite Variable ${LAB_URL} ${BASE_URL}/lab?token=${TOKEN} children=${True} Set Suite Variable ${TREE_URL} ${BASE_URL}/tree?token=${TOKEN} children=${True} + Set Suite Variable ${SHUTDOWN_URL} ${BASE_URL}/api/shutdown?token=${TOKEN} children=${True} ${log} = Set Variable ${OUTPUT_DIR}${/}_lab.log ${cmd} = Set Variable ${LAB_CMD} --notebook-dir=${notebooks} Create Directory ${notebooks} - Start Process ${cmd} shell=true stderr=STDOUT stdout=${log} + ${proc} = Start Process ${cmd} shell=true stderr=STDOUT stdout=${log} + Set Suite Variable ${LAB_PROC} ${proc} children=True Wait Until Keyword Succeeds 10x 1s Lab Was Started ${log} Lab Was Started @@ -76,10 +78,9 @@ Reset Application State and Close Clean Up JupyterLab [Documentation] Close all the browsers and stop all processes - Open JupyterLab with ${BROWSER} - Go to ${TREE_URL} - Click Element css:#shutdown Close All Browsers + Run Keyword and Ignore Error Execute __import__("urllib.request").request.urlopen("${SHUTDOWN_URL}", data=[]) + Run Keyword and Ignore Error Wait For Process ${LAB_PROC} timeout=10s Terminate All Processes kill=True Maybe Accept a JupyterLab Prompt diff --git a/atest/resources/Notebook.robot b/atest/resources/Notebook.robot index 4df1c5f..0a55f66 100644 --- a/atest/resources/Notebook.robot +++ b/atest/resources/Notebook.robot @@ -8,7 +8,8 @@ Resource CodeMirror.robot *** Variables *** ${VISIBLE_NOTEBOOK} .jp-NotebookPanel:not(.p-mod-hidden) ${BUSY_KERNEL} css:${VISIBLE_NOTEBOOK} .jp-Toolbar-kernelStatus.jp-FilledCircleIcon -${BUSY_PROMPT} In [*]: +${BUSY_PROMPT} [*]: +${PROMPT} css:.jp-InputPrompt *** Keywords *** @@ -35,4 +36,4 @@ Run Cell Wait Until Kernel Is Idle [Documentation] Wait for the kernel to be busy, and then stop being busy Wait Until Page Does Not Contain Element ${BUSY_KERNEL} - Wait Until Page Does Not Contain ${BUSY_PROMPT} + Wait Until Element Does Not Contain ${PROMPT} ${BUSY_PROMPT} diff --git a/src/irobotframework/tests/test_completion.py b/src/irobotframework/tests/test_completion.py index f542edc..d5648b7 100644 --- a/src/irobotframework/tests/test_completion.py +++ b/src/irobotframework/tests/test_completion.py @@ -4,7 +4,6 @@ """ Pure python tests of completion behavior """ import jupyter_kernel_test - from irobotframework.completion_finders import TABLE_NAMES from . import RobotBase diff --git a/src/irobotframework/tests/test_magic.py b/src/irobotframework/tests/test_magic.py index a966662..37b94b0 100644 --- a/src/irobotframework/tests/test_magic.py +++ b/src/irobotframework/tests/test_magic.py @@ -4,7 +4,6 @@ import jupyter_kernel_test import pytest - from irobotframework.magic.robot import cell_magic_tidy from . import IPythonMagicBase, RobotBase