Update distribution tests to Nitrogen
[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 Library           Collections
14 Resource          ${CURDIR}/../CompareStream.robot
15
16 *** Keywords ***
17 Compose_Zip_Filename_Prefix
18     [Documentation]    Return "karaf" if at least Nitrogen, else return "distribution-karaf".
19     BuiltIn.Run_Keyword_And_Return    CompareStream.Set_Variable_If_At_Least_Nitrogen    karaf    distribution-karaf
20
21 Compose_Test_Feature_Repo_Name
22     [Documentation]    Return "features-test" if at least Nitrogen, else return "features-integration-test".
23     BuiltIn.Run_Keyword_And_Return    CompareStream.Set_Variable_If_At_Least_Nitrogen    features-test    features-integration-test