forked from Kistler-Group/sdbus-cpp
Rename test subdirectory to tests for higher consistency with OSS standards
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@ -7,9 +7,9 @@ build/
|
|||||||
.deps/
|
.deps/
|
||||||
.dirstamp
|
.dirstamp
|
||||||
.libs/
|
.libs/
|
||||||
test/libsdbus-c++_unittests
|
tests/libsdbus-c++_unittests
|
||||||
test/libsdbus-c++_integrationtests
|
tests/libsdbus-c++_integrationtests
|
||||||
test/run-test-on-device.sh
|
tests/run-test-on-device.sh
|
||||||
|
|
||||||
#eclipse
|
#eclipse
|
||||||
.cproject
|
.cproject
|
||||||
|
@ -121,7 +121,7 @@ option(BUILD_TESTS "Build and install tests (default OFF)" OFF)
|
|||||||
|
|
||||||
if(BUILD_TESTS)
|
if(BUILD_TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory("${CMAKE_SOURCE_DIR}/test")
|
add_subdirectory("${CMAKE_SOURCE_DIR}/tests")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#----------------------------------
|
#----------------------------------
|
||||||
|
@ -882,7 +882,7 @@ sdbus-c++ stub generator can generate stub code for server-side async methods. W
|
|||||||
</node>
|
</node>
|
||||||
```
|
```
|
||||||
|
|
||||||
For a real example of a server-side asynchronous D-Bus method, please look at sdbus-c++ [stress tests](/test/stresstests).
|
For a real example of a server-side asynchronous D-Bus method, please look at sdbus-c++ [stress tests](/tests/stresstests).
|
||||||
|
|
||||||
Asynchronous client-side methods
|
Asynchronous client-side methods
|
||||||
--------------------------------
|
--------------------------------
|
||||||
@ -999,7 +999,7 @@ For each client-side async method, a corresponding `on<MethodName>Reply` pure vi
|
|||||||
|
|
||||||
So in the specific example above, the stub generator will generate a `Concatenator_proxy` class similar to one shown in a [dedicated section above](#concatenator-client-glueh), with the difference that it will also generate an additional `virtual void onConcatenateReply(const sdbus::Error* error, const std::string& concatenatedString);` method, which we shall override in derived `ConcatenatorProxy`.
|
So in the specific example above, the stub generator will generate a `Concatenator_proxy` class similar to one shown in a [dedicated section above](#concatenator-client-glueh), with the difference that it will also generate an additional `virtual void onConcatenateReply(const sdbus::Error* error, const std::string& concatenatedString);` method, which we shall override in derived `ConcatenatorProxy`.
|
||||||
|
|
||||||
For a real example of a client-side asynchronous D-Bus method, please look at sdbus-c++ [stress tests](/test/stresstests).
|
For a real example of a client-side asynchronous D-Bus method, please look at sdbus-c++ [stress tests](/tests/stresstests).
|
||||||
|
|
||||||
Using D-Bus properties
|
Using D-Bus properties
|
||||||
----------------------
|
----------------------
|
||||||
|
Reference in New Issue
Block a user