Skip to content

Commit 854fa74

Browse files
authored
Merge pull request #60 from lolotoms/master
Add support for Standards libs 3.1.1
2 parents b34dbef + ca6a5c3 commit 854fa74

16 files changed

+29
-5
lines changed

client/package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,42 +93,53 @@
9393
"BuiltIn-2.8.7",
9494
"BuiltIn-2.9.2",
9595
"BuiltIn-3.0.4",
96+
"BuiltIn-3.1.1",
9697
"Collections-2.7.7",
9798
"Collections-2.8.7",
9899
"Collections-2.9.2",
99100
"Collections-3.0.4",
101+
"Collections-3.1.1",
100102
"DateTime-2.8.7",
101103
"DateTime-2.9.2",
102104
"DateTime-3.0.4",
105+
"DateTime-3.1.1",
103106
"Dialogs-2.7.7",
104107
"Dialogs-2.8.7",
105108
"Dialogs-2.9.2",
106109
"Dialogs-3.0.4",
110+
"Dialogs-3.1.1",
107111
"OperatingSystem-2.7.7",
108112
"OperatingSystem-2.8.7",
109113
"OperatingSystem-2.9.2",
110114
"OperatingSystem-3.0.4",
115+
"OperatingSystem-3.1.1",
111116
"Process-2.8.7",
112117
"Process-2.9.2",
113118
"Process-3.0.4",
119+
"Process-3.1.1",
114120
"Screenshot-2.7.7",
115121
"Screenshot-2.8.7",
116122
"Screenshot-2.9.2",
117123
"Screenshot-3.0.4",
124+
"Screenshot-3.1.1",
118125
"Selenium2Library-1.8.0",
119126
"Selenium2Library-3.0.0",
120127
"SeleniumLibrary-3.2.0",
128+
"SeleniumLibrary-3.3.1",
121129
"String-2.7.7",
122130
"String-2.8.7",
123131
"String-2.9.2",
124132
"String-3.0.4",
133+
"String-3.1.1",
125134
"Telnet-2.7.7",
126135
"Telnet-2.8.7",
127136
"Telnet-2.9.2",
128137
"Telnet-3.0.4",
138+
"Telnet-3.1.1",
129139
"XML-2.8.7",
130140
"XML-2.9.2",
131-
"XML-3.0.4"
141+
"XML-3.0.4",
142+
"XML-3.1.1"
132143
]
133144
},
134145
{
@@ -201,7 +212,7 @@
201212
"scripts": {
202213
"compile": "tsc -watch -p ./",
203214
"lint": "npm run tslint && npm run prettier",
204-
"prettier": "prettier -l 'src/**'",
215+
"prettier": "prettier -l src/**",
205216
"postinstall": "node ./node_modules/vscode/bin/install",
206217
"test": "echo no tests",
207218
"tslint": "tslint --project . --config ../tslint.json",

library-docs/library-docs/BuiltIn-3.1.1.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

library-docs/library-docs/Collections-3.1.1.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "DateTime", "version": "3.1.1", "keywords": [{"name": "Add Time To Date", "args": ["date", "time", "result_format=timestamp", "exclude_millis=False", "date_format=None"], "doc": "Adds time to date and returns the resulting date.\n\nArguments:\n- ``date:`` Date to add time to in one of the supported\n `date formats`.\n- ``time:`` Time that is added in one of the supported\n `time formats`.\n- ``result_format:`` Format of the returned date.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n- ``date_format:`` Possible `custom timestamp` format of ``date``.\n\nExamples:\n| ${date} = | Add Time To Date | 2014-05-28 12:05:03.111 | 7 days |\n| Should Be Equal | ${date} | 2014-06-04 12:05:03.111 | |\n| ${date} = | Add Time To Date | 2014-05-28 12:05:03.111 | 01:02:03:004 |\n| Should Be Equal | ${date} | 2014-05-28 13:07:06.115 |"}, {"name": "Add Time To Time", "args": ["time1", "time2", "result_format=number", "exclude_millis=False"], "doc": "Adds time to another time and returns the resulting time.\n\nArguments:\n- ``time1:`` First time in one of the supported `time formats`.\n- ``time2:`` Second time in one of the supported `time formats`.\n- ``result_format:`` Format of the returned time.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n\nExamples:\n| ${time} = | Add Time To Time | 1 minute | 42 |\n| Should Be Equal | ${time} | ${102} |\n| ${time} = | Add Time To Time | 3 hours 5 minutes | 01:02:03 | timer | exclude_millis=yes |\n| Should Be Equal | ${time} | 04:07:03 |"}, {"name": "Convert Date", "args": ["date", "result_format=timestamp", "exclude_millis=False", "date_format=None"], "doc": "Converts between supported `date formats`.\n\nArguments:\n- ``date:`` Date in one of the supported `date formats`.\n- ``result_format:`` Format of the returned date.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n- ``date_format:`` Specifies possible `custom timestamp` format.\n\nExamples:\n| ${date} = | Convert Date | 20140528 12:05:03.111 |\n| Should Be Equal | ${date} | 2014-05-28 12:05:03.111 |\n| ${date} = | Convert Date | ${date} | epoch |\n| Should Be Equal | ${date} | ${1401267903.111} |\n| ${date} = | Convert Date | 5.28.2014 12:05 | exclude_millis=yes | date_format=%m.%d.%Y %H:%M |\n| Should Be Equal | ${date} | 2014-05-28 12:05:00 |"}, {"name": "Convert Time", "args": ["time", "result_format=number", "exclude_millis=False"], "doc": "Converts between supported `time formats`.\n\nArguments:\n- ``time:`` Time in one of the supported `time formats`.\n- ``result_format:`` Format of the returned time.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n\nExamples:\n| ${time} = | Convert Time | 10 seconds |\n| Should Be Equal | ${time} | ${10} |\n| ${time} = | Convert Time | 1:00:01 | verbose |\n| Should Be Equal | ${time} | 1 hour 1 second |\n| ${time} = | Convert Time | ${3661.5} | timer | exclude_milles=yes |\n| Should Be Equal | ${time} | 01:01:02 |"}, {"name": "Get Current Date", "args": ["time_zone=local", "increment=0", "result_format=timestamp", "exclude_millis=False"], "doc": "Returns current local or UTC time with an optional increment.\n\nArguments:\n- ``time_zone:`` Get the current time on this time zone. Currently only\n ``local`` (default) and ``UTC`` are supported.\n- ``increment:`` Optional time increment to add to the returned date in\n one of the supported `time formats`. Can be negative.\n- ``result_format:`` Format of the returned date (see `date formats`).\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n\nExamples:\n| ${date} = | Get Current Date |\n| Should Be Equal | ${date} | 2014-06-12 20:00:58.946 |\n| ${date} = | Get Current Date | UTC |\n| Should Be Equal | ${date} | 2014-06-12 17:00:58.946 |\n| ${date} = | Get Current Date | increment=02:30:00 |\n| Should Be Equal | ${date} | 2014-06-12 22:30:58.946 |\n| ${date} = | Get Current Date | UTC | - 5 hours |\n| Should Be Equal | ${date} | 2014-06-12 12:00:58.946 |\n| ${date} = | Get Current Date | result_format=datetime |\n| Should Be Equal | ${date.year} | ${2014} |\n| Should Be Equal | ${date.month} | ${6} |"}, {"name": "Subtract Date From Date", "args": ["date1", "date2", "result_format=number", "exclude_millis=False", "date1_format=None", "date2_format=None"], "doc": "Subtracts date from another date and returns time between.\n\nArguments:\n- ``date1:`` Date to subtract another date from in one of the\n supported `date formats`.\n- ``date2:`` Date that is subtracted in one of the supported\n `date formats`.\n- ``result_format:`` Format of the returned time (see `time formats`).\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n- ``date1_format:`` Possible `custom timestamp` format of ``date1``.\n- ``date2_format:`` Possible `custom timestamp` format of ``date2``.\n\n Examples:\n| ${time} = | Subtract Date From Date | 2014-05-28 12:05:52 | 2014-05-28 12:05:10 |\n| Should Be Equal | ${time} | ${42} |\n| ${time} = | Subtract Date From Date | 2014-05-28 12:05:52 | 2014-05-27 12:05:10 | verbose |\n| Should Be Equal | ${time} | 1 day 42 seconds |"}, {"name": "Subtract Time From Date", "args": ["date", "time", "result_format=timestamp", "exclude_millis=False", "date_format=None"], "doc": "Subtracts time from date and returns the resulting date.\n\nArguments:\n- ``date:`` Date to subtract time from in one of the supported\n `date formats`.\n- ``time:`` Time that is subtracted in one of the supported\n `time formats`.\n- ``result_format:`` Format of the returned date.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n- ``date_format:`` Possible `custom timestamp` format of ``date``.\n\nExamples:\n| ${date} = | Subtract Time From Date | 2014-06-04 12:05:03.111 | 7 days |\n| Should Be Equal | ${date} | 2014-05-28 12:05:03.111 |\n| ${date} = | Subtract Time From Date | 2014-05-28 13:07:06.115 | 01:02:03:004 |\n| Should Be Equal | ${date} | 2014-05-28 12:05:03.111 |"}, {"name": "Subtract Time From Time", "args": ["time1", "time2", "result_format=number", "exclude_millis=False"], "doc": "Subtracts time from another time and returns the resulting time.\n\nArguments:\n- ``time1:`` Time to subtract another time from in one of\n the supported `time formats`.\n- ``time2:`` Time to subtract in one of the supported `time formats`.\n- ``result_format:`` Format of the returned time.\n- ``exclude_millis:`` When set to any true value, rounds and drops\n milliseconds as explained in `millisecond handling`.\n\nExamples:\n| ${time} = | Subtract Time From Time | 00:02:30 | 100 |\n| Should Be Equal | ${time} | ${50} |\n| ${time} = | Subtract Time From Time | ${time} | 1 minute | compact |\n| Should Be Equal | ${time} | - 10s |"}]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name": "Dialogs", "version": "3.1.1", "keywords": [{"name": "Execute Manual Step", "args": ["message", "default_error="], "doc": "Pauses test execution until user sets the keyword status.\n\nUser can press either ``PASS`` or ``FAIL`` button. In the latter case execution\nfails and an additional dialog is opened for defining the error message.\n\n``message`` is the instruction shown in the initial dialog and\n``default_error`` is the default value shown in the possible error message\ndialog."}, {"name": "Get Selection From User", "args": ["message", "*values"], "doc": "Pauses test execution and asks user to select a value.\n\nThe selected value is returned. Pressing ``Cancel`` fails the keyword.\n\n``message`` is the instruction shown in the dialog and ``values`` are\nthe options given to the user.\n\nExample:\n| ${user} = | Get Selection From User | Select user | user1 | user2 | admin |"}, {"name": "Get Selections From User", "args": ["message", "*values"], "doc": "Pauses test execution and asks user to select multiple values.\n\nThe selected values are returned as a list. Selecting no values is OK\nand in that case the returned list is empty. Pressing ``Cancel`` fails\nthe keyword.\n\n``message`` is the instruction shown in the dialog and ``values`` are\nthe options given to the user.\n\nExample:\n| ${users} = | Get Selections From User | Select users | user1 | user2 | admin |\n\nNew in Robot Framework 3.1."}, {"name": "Get Value From User", "args": ["message", "default_value=", "hidden=False"], "doc": "Pauses test execution and asks user to input a value.\n\nValue typed by the user, or the possible default value, is returned.\nReturning an empty value is fine, but pressing ``Cancel`` fails the keyword.\n\n``message`` is the instruction shown in the dialog and ``default_value`` is\nthe possible default value shown in the input field.\n\nIf ``hidden`` is given a true value, the value typed by the user is hidden.\n``hidden`` is considered true if it is a non-empty string not equal to\n``false``, ``none`` or ``no``, case-insensitively. If it is not a string,\nits truth value is got directly using same\n[http://docs.python.org/library/stdtypes.html#truth|rules as in Python].\n\nExample:\n| ${username} = | Get Value From User | Input user name | default |\n| ${password} = | Get Value From User | Input password | hidden=yes |\n\nConsidering strings ``false`` and ``no`` to be false is new in RF 2.9\nand considering string ``none`` false is new in RF 3.0.3."}, {"name": "Pause Execution", "args": ["message=Test execution paused. Press OK to continue."], "doc": "Pauses test execution until user clicks ``Ok`` button.\n\n``message`` is the message shown in the dialog."}]}

library-docs/library-docs/OperatingSystem-3.1.1.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)