aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ccsdk-oran/polmansuite/test.robot
blob: 1390a8c634272afe2784bce950ccd69ae9462a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*** Settings ***
Library       OperatingSystem
Library       Process

*** Test Cases ***

Functional Test Case 1
    [Documentation]                 Functional Test Case 1 - FTC1
    Start Process                   ${AUTOTEST_ROOT}/FTC1.sh   remote  auto-clean  --env-file  ${POLMAN_PLANS}/test_env.sh  shell=true   cwd=${AUTOTEST_ROOT}
    ${cli_cmd_output}=              Wait For Process    timeout=3600
    Should Be Equal as Integers     ${cli_cmd_output.rc}    0
    ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC1.txt
    Should Be Equal As Integers     ${ResultFileContent}    0

Functional Test Case 2
    [Documentation]                 Functional Test Case 2 - FTC150
    Start Process                   ${AUTOTEST_ROOT}/FTC150.sh   remote  auto-clean  --env-file  ${POLMAN_PLANS}/test_env.sh  shell=true   cwd=${AUTOTEST_ROOT}
    ${cli_cmd_output}=              Wait For Process    timeout=3600
    Should Be Equal as Integers     ${cli_cmd_output.rc}    0
    ${ResultFileContent}=           Get File                        ${AUTOTEST_ROOT}/.resultFTC150.txt
    Should Be Equal As Integers     ${ResultFileContent}    0