| 340 | } |
| 341 | } |
| 342 | bool NativeTestHelpers::check_optional_set(const em::val& w_os) { |
| 343 | try { |
| 344 | auto r = ::testsuite::TestHelpers::check_optional_set(::djinni::Set<::djinni::Optional<std::experimental::optional, ::djinni::String>>::toCpp(w_os)); |
| 345 | return ::djinni::Bool::fromCpp(r); |
| 346 | } |
| 347 | catch(const std::exception& e) { |
| 348 | return ::djinni::ExceptionHandlingTraits<::djinni::Bool>::handleNativeException(e); |
| 349 | } |
| 350 | } |
| 351 | em::val NativeTestHelpers::get_optional_map() { |
| 352 | try { |
| 353 | auto r = ::testsuite::TestHelpers::get_optional_map(); |