From 862261dbeb4c92324b25f4307d901de3a45b7b18 Mon Sep 17 00:00:00 2001 From: Taseer Ahmed Date: Thu, 12 Jan 2017 22:40:47 +0500 Subject: Move redundant files to legacy Change-Id: Iede9d0f72f857b48e8fe5b48c9ae6169870e0b7a Signed-off-by: Taseer Ahmed --- legacy/cli/helper.py | 14 ++++++++++++++ legacy/tests/helper/perftest.yaml | 5 +++++ legacy/tests/helper/suite.yaml | 6 ++++++ legacy/tests/helper/version.yaml | 12 ++++++++++++ qtip/cli/helper.py | 14 -------------- tests/data/helper/perftest.yaml | 5 ----- tests/data/helper/suite.yaml | 6 ------ tests/data/helper/version.yaml | 12 ------------ 8 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 legacy/cli/helper.py create mode 100644 legacy/tests/helper/perftest.yaml create mode 100644 legacy/tests/helper/suite.yaml create mode 100644 legacy/tests/helper/version.yaml delete mode 100644 qtip/cli/helper.py delete mode 100644 tests/data/helper/perftest.yaml delete mode 100644 tests/data/helper/suite.yaml delete mode 100644 tests/data/helper/version.yaml diff --git a/legacy/cli/helper.py b/legacy/cli/helper.py new file mode 100644 index 00000000..acfecf8d --- /dev/null +++ b/legacy/cli/helper.py @@ -0,0 +1,14 @@ +############################################################################## +# Copyright (c) 2016 ZTE Corp and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +import os + + +def fetch_root(): + return os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 'benchmarks/') diff --git a/legacy/tests/helper/perftest.yaml b/legacy/tests/helper/perftest.yaml new file mode 100644 index 00000000..26c58452 --- /dev/null +++ b/legacy/tests/helper/perftest.yaml @@ -0,0 +1,5 @@ +--- + + tests: + - command: ['perftest', 'run'] + output: "Run a perftest\n" diff --git a/legacy/tests/helper/suite.yaml b/legacy/tests/helper/suite.yaml new file mode 100644 index 00000000..718ae440 --- /dev/null +++ b/legacy/tests/helper/suite.yaml @@ -0,0 +1,6 @@ +--- + + tests: + - command: ['suite', 'run'] + output: "Run a suite\n" + diff --git a/legacy/tests/helper/version.yaml b/legacy/tests/helper/version.yaml new file mode 100644 index 00000000..b23f16f2 --- /dev/null +++ b/legacy/tests/helper/version.yaml @@ -0,0 +1,12 @@ +--- + + tests: + - command: ['version', 'list'] + output: "Lists all the different versions\n" + + - command: ['version', 'install', 'Colorado'] + output: "Install: Colorado\n" + + - command: ['version', 'uninstall', 'Arno'] + output: "Uninstall: Arno\n" + diff --git a/qtip/cli/helper.py b/qtip/cli/helper.py deleted file mode 100644 index acfecf8d..00000000 --- a/qtip/cli/helper.py +++ /dev/null @@ -1,14 +0,0 @@ -############################################################################## -# Copyright (c) 2016 ZTE Corp and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -import os - - -def fetch_root(): - return os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, 'benchmarks/') diff --git a/tests/data/helper/perftest.yaml b/tests/data/helper/perftest.yaml deleted file mode 100644 index 26c58452..00000000 --- a/tests/data/helper/perftest.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- - - tests: - - command: ['perftest', 'run'] - output: "Run a perftest\n" diff --git a/tests/data/helper/suite.yaml b/tests/data/helper/suite.yaml deleted file mode 100644 index 718ae440..00000000 --- a/tests/data/helper/suite.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- - - tests: - - command: ['suite', 'run'] - output: "Run a suite\n" - diff --git a/tests/data/helper/version.yaml b/tests/data/helper/version.yaml deleted file mode 100644 index b23f16f2..00000000 --- a/tests/data/helper/version.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- - - tests: - - command: ['version', 'list'] - output: "Lists all the different versions\n" - - - command: ['version', 'install', 'Colorado'] - output: "Install: Colorado\n" - - - command: ['version', 'uninstall', 'Arno'] - output: "Uninstall: Arno\n" - -- cgit 1.2.3-korg