Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize the -no-sync/async/async-jobs arguments in unittests and examples #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions unittests/QSharedPointer_include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

set(QSharedPointer_include_SRCS test_qsharedpointer_include.cpp)

set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)
set(WSDL_FILES test_qsharedpointer_include_wsdl.wsdl)

add_unittest(${QSharedPointer_include_SRCS})
1 change: 1 addition & 0 deletions unittests/date_example/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(date_example_SRCS date_example.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-sync)
set(WSDL_FILES date_example.wsdl)
add_unittest(${date_example_SRCS})
2 changes: 1 addition & 1 deletion unittests/default_attribute_value_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@

set(default_attribute_value_wsdl_SRCS default_attribute_value_wsdl.cpp)
set(WSDL_FILES default_attribute_value.wsdl)
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional)
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional -no-sync -no-async -no-async-jobs)
add_unittest(${default_attribute_value_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/dv_terminalauth/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(dv_terminalauth_SRCS dv_terminalauth.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES WS_DV_TerminalAuth.wsdl)
add_unittest(${dv_terminalauth_SRCS})
2 changes: 1 addition & 1 deletion unittests/dwservice_12_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

project(dwservice_12_wsdl)

set(KSWSDL2CPP_OPTION -namespace KDAB)
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)

set(WSDL_FILES DWService_12.wsdl)
set(dwservice_12_wsdl_SRCS test_dwservice_12_wsdl.cpp)
Expand Down
2 changes: 1 addition & 1 deletion unittests/dwservice_combined_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
##

project(dwservice_combined_wsdl)
set(KSWSDL2CPP_OPTION -namespace KDAB)
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)

set(WSDL_FILES DWServiceCombined.wsdl)
set(dwservice_combined_wsdl_SRCS test_dwservice_combined_wsdl.cpp)
Expand Down
2 changes: 1 addition & 1 deletion unittests/dwservice_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
##

project(dwservice_wsdl)
set(KSWSDL2CPP_OPTION -namespace KDAB)
set(KSWSDL2CPP_OPTION -namespace KDAB -no-async -no-async-jobs)

set(WSDL_FILES DWService.wsdl)
set(dwservice_wsdl_SRCS test_dwservice_wsdl.cpp)
Expand Down
1 change: 1 addition & 0 deletions unittests/element_ns_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(element_ns_wsdl_SRCS testcall.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES test.wsdl)
add_unittest(${element_ns_wsdl_SRCS})

1 change: 1 addition & 0 deletions unittests/empty_element_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(empty_element_wsdl_SRCS empty_element_wsdl.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs -no-sync)
set(WSDL_FILES empty_element.wsdl)
add_unittest(${empty_element_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/empty_list_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(empty_list_wsdl_SRCS empty_list_wsdl.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs -no-sync)
set(WSDL_FILES empty_list.wsdl)
add_unittest(${empty_list_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/empty_response_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(empty_response_wsdl_SRCS test_issue1.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES test.wsdl)
add_unittest(${empty_response_wsdl_SRCS})

1 change: 1 addition & 0 deletions unittests/enum_escape/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(enum_escape_SRCS test_enum.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs -no-sync)
set(WSDL_FILES test_enum.wsdl)
add_unittest(${enum_escape_SRCS})

1 change: 1 addition & 0 deletions unittests/enzo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(enzo_SRCS test_enzo.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-sync)
set(WSDL_FILES EnzoService.wsdl)
add_unittest(${enzo_SRCS})
1 change: 1 addition & 0 deletions unittests/groupwise_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

project(groupwise_wsdl)

set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES groupwise.wsdl)
set(groupwise_wsdl_SRCS test_groupwise_wsdl.cpp wsdl_groupwise.cpp)

Expand Down
1 change: 1 addition & 0 deletions unittests/import_definition/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(import_definition_SRCS test_import_definition.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES import_definition.wsdl
import_definition_wsdl.wsdl)
add_unittest(${import_definition_SRCS})
Expand Down
2 changes: 1 addition & 1 deletion unittests/keep_unused_types/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
project(keep_unused_types)

#this is the option given to KDWSDL2CPP when generating cpp from wsdl
set(KSWSDL2CPP_OPTION "-keep-unused-types")
set(KSWSDL2CPP_OPTION -keep-unused-types -no-sync -no-async -no-async-jobs)

set(WSDL_FILES keep_unused_types.wsdl)
set(keep_unused_types_SRCS keep_unused_types.cpp)
Expand Down
1 change: 1 addition & 0 deletions unittests/literal_true_false/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(literal_true_false_SRCS test_literal.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)
set(WSDL_FILES literal.wsdl)
add_unittest(${literal_true_false_SRCS})

1 change: 1 addition & 0 deletions unittests/logbook_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
project(logbook_wsdl)

set(WSDL_FILES logbookifv3.wsdl)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(logbook_wsdl_SRCS test_logbook_wsdl.cpp wsdl_logbookifv3.cpp)

add_unittest(${logbook_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/msexchange_noservice_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(msexchange_noservice_wsdl_SRCS msexchange_noservice_wsdl.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES Services_noservice.wsdl)
add_unittest(${msexchange_noservice_wsdl_SRCS})

1 change: 1 addition & 0 deletions unittests/msexchange_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ project(msexchange_wsdl)

set(WSDL_FILES Services.wsdl)
set(msexchange_wsdl_SRCS msexchange_wsdl.cpp)
set(KSWSDL2CPP_OPTION -no-async)

add_unittest(${msexchange_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/multiple_input_param/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(multiple_input_param_SRCS test_multiple_input_param.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES helloworldextended.wsdl)
add_unittest(${multiple_input_param_SRCS})

3 changes: 2 additions & 1 deletion unittests/optionaltype_boost_optional/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
##

set(optionaltype_boost_optional_SRCS testboostapi.cpp)
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional)
set(KSWSDL2CPP_OPTION -optional-element-type boost-optional -no-sync -no-async -no-async-jobs)

set(WSDL_FILES test.wsdl)
add_unittest(${optionaltype_boost_optional_SRCS})

3 changes: 2 additions & 1 deletion unittests/optionaltype_pointer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
##

set(optionaltype_pointer_SRCS testpointerapi.cpp)
set(KSWSDL2CPP_OPTION -optional-element-type raw-pointer)
set(KSWSDL2CPP_OPTION -optional-element-type raw-pointer -no-sync -no-async -no-async-jobs)

set(WSDL_FILES test.wsdl)
add_unittest(${optionaltype_pointer_SRCS})

2 changes: 1 addition & 1 deletion unittests/optionaltype_regular/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@

set(optionaltype_regular_SRCS testregularapi.cpp)
set(WSDL_FILES test.wsdl)
set(KSWSDL2CPP_OPTION -namespace KDAB)
set(KSWSDL2CPP_OPTION -namespace KDAB -no-sync -no-async -no-async-jobs)
add_unittest(${optionaltype_regular_SRCS})

1 change: 1 addition & 0 deletions unittests/pki.pca.dfn.de/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@

set(pki.pca.dfn.de_SRCS test_pki.cpp)
set(WSDL_FILES pki.pca.dfn.de.wsdl)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
add_unittest(${pki.pca.dfn.de_SRCS})
1 change: 1 addition & 0 deletions unittests/salesforce_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

project(salesforce_wsdl)

set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES salesforce-partner.wsdl)
set(salesforce_wsdl_SRCS salesforce_wsdl.cpp)

Expand Down
3 changes: 2 additions & 1 deletion unittests/soap_over_udp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

project(soap_over_udp)

set(KSWSDL2CPP_OPTION -use-local-files-only)
set(KSWSDL2CPP_OPTION -use-local-files-only -no-sync -no-async -no-async-jobs)

set(WSDL_FILES wsdd-discovery-200901.wsdl)
set(soap_over_udp_SRCS test_soap_over_udp.cpp wsdl_wsdd-discovery-200901.cpp)

Expand Down
1 change: 1 addition & 0 deletions unittests/specialchars_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(specialchars_wsdl_SRCS testconversion.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)
set(WSDL_FILES test.wsdl)
add_unittest(${specialchars_wsdl_SRCS})

1 change: 1 addition & 0 deletions unittests/test_calc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
##

set(calc_SRCS test_calc.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES calc.wsdl)
add_unittest(${calc_SRCS})
1 change: 1 addition & 0 deletions unittests/uitapi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(uitapi_SRCS test_uitapi.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async)
set(WSDL_FILES uitapi.wsdl)
add_unittest(${uitapi_SRCS})

1 change: 1 addition & 0 deletions unittests/unqualified_formdefault/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(unqualified_formdefault_SRCS test_unqualified.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)
set(WSDL_FILES unqualified.wsdl)
add_unittest(${unqualified_formdefault_SRCS})

1 change: 1 addition & 0 deletions unittests/vidyo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##

set(vidyo_SRCS test_vidyo.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)
set(WSDL_FILES VidyoPortalGuestService.wsdl)
add_unittest(${vidyo_SRCS})

1 change: 1 addition & 0 deletions unittests/webcalls_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ project(webcalls_wsdl)

set(WSDL_FILES BFGlobalService.wsdl BLZService.wsdl OrteLookup.wsdl)
set(webcalls_wsdl_SRCS webcalls_wsdl.cpp)
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)

add_unittest(${webcalls_wsdl_SRCS})
1 change: 1 addition & 0 deletions unittests/ws_addressing_support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ project(ws_addressing_support)

set(WSDL_FILES wsaddressing.wsdl)
set(ws_addressing_support_SRCS wsaddressingtest.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)

add_unittest(${ws_addressing_support_SRCS})
2 changes: 1 addition & 1 deletion unittests/ws_discovery_wsdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

project(ws_discovery_wsdl)

set(KSWSDL2CPP_OPTION -use-local-files-only)
set(KSWSDL2CPP_OPTION -use-local-files-only -no-sync -no-async -no-async-jobs)
set(WSDL_FILES ws_discovery200504.wsdl)
set(ws_discovery_wsdl_SRCS test_ws_discovery_wsdl.cpp wsdl_ws_discovery200504.cpp)

Expand Down
1 change: 1 addition & 0 deletions unittests/ws_usernametoken_support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ project(ws_usernametoken_support)

set(WSDL_FILES wsusernametoken.wsdl)
set(ws_usernametoken_support_SRCS wsusernametokentest.cpp)
set(KSWSDL2CPP_OPTION -no-sync -no-async -no-async-jobs)

add_unittest(${ws_usernametoken_support_SRCS})
1 change: 1 addition & 0 deletions unittests/wsdl_rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ set(WSDL_FILES mywsdl_rpc.wsdl)
set(wsdl_rpc_SRCS test_wsdl_rpc.cpp)

add_unittest(${wsdl_rpc_SRCS})
set(KSWSDL2CPP_OPTION -no-async -no-async-jobs)