1 /**************************************************************************** 2 ** 3 ** Copyright (C) 2016 The Qt Company Ltd. 4 ** Contact: https://www.qt.io/licensing/ 5 ** 6 ** This file is part of Qt Creator. 7 ** 8 ** Commercial License Usage 9 ** Licensees holding valid commercial Qt licenses may use this file in 10 ** accordance with the commercial license agreement provided with the 11 ** Software or, alternatively, in accordance with the terms contained in 12 ** a written agreement between you and The Qt Company. For licensing terms 13 ** and conditions see https://www.qt.io/terms-conditions. For further 14 ** information use the contact form at https://www.qt.io/contact-us. 15 ** 16 ** GNU General Public License Usage 17 ** Alternatively, this file may be used under the terms of the GNU 18 ** General Public License version 3 as published by the Free Software 19 ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT 20 ** included in the packaging of this file. Please review the following 21 ** information to ensure the GNU General Public License requirements will 22 ** be met: https://www.gnu.org/licenses/gpl-3.0.html. 23 ** 24 ****************************************************************************/ 25 26 #pragma once 27 28 #include <QtGlobal> 29 30 namespace Autotest { 31 namespace Constants { 32 33 const char ACTION_SCAN_ID[] = "AutoTest.ScanAction"; 34 const char ACTION_RUN_ALL_ID[] = "AutoTest.RunAll"; 35 const char ACTION_RUN_SELECTED_ID[] = "AutoTest.RunSelected"; 36 const char ACTION_RUN_FAILED_ID[] = "AutoTest.RunFailed"; 37 const char ACTION_RUN_FILE_ID[] = "AutoTest.RunFile"; 38 const char ACTION_RUN_UCURSOR[] = "AutoTest.RunUnderCursor"; 39 const char ACTION_RUN_DBG_UCURSOR[] = "AutoTest.RunDebugUnderCursor"; 40 const char MENU_ID[] = "AutoTest.Menu"; 41 const char AUTOTEST_ID[] = "AutoTest.ATP"; 42 const char AUTOTEST_CONTEXT[] = "Auto Tests"; 43 const char TASK_INDEX[] = "AutoTest.Task.Index"; 44 const char TASK_PARSE[] = "AutoTest.Task.Parse"; 45 const char AUTOTEST_SETTINGS_CATEGORY[] = "ZY.Tests"; 46 const char AUTOTEST_SETTINGS_TR[] = QT_TRANSLATE_NOOP("AutoTest", "Testing"); 47 const char FRAMEWORK_PREFIX[] = "AutoTest.Framework."; 48 const char SETTINGSPAGE_PREFIX[] = "A.AutoTest."; 49 const char SETTINGSGROUP[] = "Autotest"; 50 const char TASK_MARK_ID[] = "Autotest.TaskMark"; 51 const char SK_USE_GLOBAL[] = "AutoTest.UseGlobal"; 52 } // namespace Constants 53 54 enum class TestRunMode 55 { 56 None, 57 Run, 58 RunWithoutDeploy, 59 Debug, 60 DebugWithoutDeploy, 61 RunAfterBuild 62 }; 63 64 enum class OutputChannel { StdOut, StdErr }; 65 66 } // namespace Autotest 67