mirror of https://github.com/qt/qtgrpc.git
Rename options test to channeloptions
- Rename options test to channeloptions, since the test is testing QQmlGrpcChannelOptions class. Pick-to: 6.7 Change-Id: I5b1643dd346fd71e5cecaf417cbb65b3587210a2 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
ae2f1ed3d3
commit
6b6143cb65
|
|
@ -6,6 +6,6 @@ add_compile_definitions(QT_GRPC_TEST_MESSAGE_LATENCY=${QT_INTERNAL_GRPC_TEST_MES
|
||||||
|
|
||||||
add_subdirectory(client)
|
add_subdirectory(client)
|
||||||
add_subdirectory(metadata)
|
add_subdirectory(metadata)
|
||||||
add_subdirectory(options)
|
add_subdirectory(channeloptions)
|
||||||
add_subdirectory(http2channel)
|
add_subdirectory(http2channel)
|
||||||
add_subdirectory(calloptions)
|
add_subdirectory(calloptions)
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@
|
||||||
|
|
||||||
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(tst_grpc_options_qml LANGUAGES CXX)
|
project(tst_grpc_channel_options_qml LANGUAGES CXX)
|
||||||
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
qt_internal_add_test(tst_grpc_options_qml
|
qt_internal_add_test(tst_grpc_channel_options_qml
|
||||||
QMLTEST
|
QMLTEST
|
||||||
SOURCES
|
SOURCES
|
||||||
tst_options_qml.cpp
|
tst_channeloptions_qml.cpp
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt::Qml
|
Qt::Qml
|
||||||
Qt::GrpcQuick
|
Qt::GrpcQuick
|
||||||
|
|
@ -19,11 +19,11 @@ qt_internal_add_test(tst_grpc_options_qml
|
||||||
|
|
||||||
qt_policy(SET QTP0001 NEW)
|
qt_policy(SET QTP0001 NEW)
|
||||||
|
|
||||||
qt_add_qml_module(tst_grpc_options_qml
|
qt_add_qml_module(tst_grpc_channel_options_qml
|
||||||
URI QmlTestUri
|
URI QmlTestUri
|
||||||
VERSION 1.0
|
VERSION 1.0
|
||||||
QML_FILES
|
QML_FILES
|
||||||
qml/tst_options.qml
|
qml/tst_channeloptions.qml
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_autogen_tools_initial_setup(tst_grpc_options_qml)
|
qt_autogen_tools_initial_setup(tst_grpc_channel_options_qml)
|
||||||
|
|
@ -3,4 +3,4 @@
|
||||||
|
|
||||||
#include <QtQuickTest>
|
#include <QtQuickTest>
|
||||||
|
|
||||||
QUICK_TEST_MAIN(tst_grpc_options_qml)
|
QUICK_TEST_MAIN(tst_grpc_channeloptions_qml)
|
||||||
Loading…
Reference in New Issue