Update Robot Framework format - step 1
[integration/test.git] / csit / libraries / distribution / StreamDistro.robot
1 *** Settings ***
2 Documentation       Distribution testing: generate stream-dependent values.
3 ...
4 ...                 Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
5 ...
6 ...                 This program and the accompanying materials are made available under the
7 ...                 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 ...                 and is available at http://www.eclipse.org/legal/epl-v10.html
9 ...
10 ...
11 ...                 As newer ODL versions are released, some values evolve from previously hardcoded constants.
12 ...                 This Resource contains keywords for optaining the correct value for currently testes stream.
13
14 Library             Collections
15 Resource            ${CURDIR}/../CompareStream.robot
16
17
18 *** Keywords ***
19 Compose_Zip_Filename_Prefix
20     [Documentation]    Return "karaf" if at least Nitrogen, else return "distribution-karaf".
21     BuiltIn.Run_Keyword_And_Return    CompareStream.Set_Variable_If_At_Least_Nitrogen    karaf    distribution-karaf
22
23 Compose_Test_Feature_Repo_Name
24     [Documentation]    Return "features-test" if at least Nitrogen, else return "features-integration-test".
25     BuiltIn.Run_Keyword_And_Return
26     ...    CompareStream.Set_Variable_If_At_Least_Nitrogen
27     ...    features-test
28     ...    features-integration-test