All Downloads are FREE. Search and download functionalities are using the official Maven repository.

robotframework-2.7.7.atest.robot.libdoc.resource_file.txt Maven / Gradle / Ivy

The newest version!
*** Settings ***
Suite Setup       Run Libdoc And Parse Output    ${TESTDATADIR}/resource.txt
Force Tags        regression    pybot    jybot
Resource          libdoc_resource.txt

*** Test Cases ***
Name
    Name Should Be    resource

Documentation
    Doc Should Start With    This resource file has documentation.\n\n
    ...  And it is even set in multiple cells with _formatting_.\n
    ...  This should be in the same paragraph as the sentence above.\n\n
    ...  Here is a literal\nnewline\n\n
    ...  -------------\n\n
    ...  | *TABLE* |\n
    ...  | \${NONEX} | $\{CURDIR} | \${TEMPDIR} |\n
    ...  \n
    ...  tabs \t\t\t here

Version
    Version Should Be    ${EMPTY}

Type
    Type Should Be    resource

Generated
    Generated Should Be Defined

Scope
    Scope Should Be    ${EMPTY}

Named Args
    Named Args Should Be    yes

Resource Has No Inits
    Should Have No Init

Keyword Names
    Keyword Name Should Be     0    curdir
    Keyword Name Should Be     1    Keyword with some "stuff" to 

Keyword Arguments
    Keyword Arguments Should Be     0
    Keyword Arguments Should Be     1    a1    a2
    Keyword Arguments Should Be     4    a1=d    *a2

Keyword Documentation
    Keyword Doc Should Be    0    $\{CURDIR}
    Keyword Doc Should Be    1    foo bar `kw` & some "stuff" to  .\n\n baa `\${a1}`
    Keyword Doc Should Be    3    literal\nnewline
    Keyword Doc Should Be    5
    ...    foo bar `kw`.\n\n
    ...    baa `\${a1}` alskdj alskdjlajd\n
    ...    askf laskdjf asldkfj alsdkfj alsdkfjasldkfj\n
    ...    askf laskdjf _asldkfj_ alsdkfj alsdkfjasldkfj\n
    ...    askf *laskdjf* asldkfj `introduction` alsdkfj\n
    ...    http://foo.bar\n
    ...    - aaa\n
    ...    - bbb\n
    ...    \n
    ...    -------------\n
    ...    \n
    ...    | *1* | *2* |\n
    ...    | foo | bar |

Non ASCII
    Keyword Doc Should Be    6    Hyvää yötä.\n\nСпасибо!

Same keyword name multiple times
    Keyword Doc Should Be    -1    *Creating keyword failed: Keyword 'Same Twice' defined multiple times.*




© 2015 - 2024 Weber Informatics LLC | Privacy Policy