summaryrefslogtreecommitdiff
path: root/tests/test_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_api.cpp')
-rw-r--r--tests/test_api.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_api.cpp b/tests/test_api.cpp
index c5921e6..bc54323 100644
--- a/tests/test_api.cpp
+++ b/tests/test_api.cpp
@@ -8,6 +8,7 @@
#if YASL_HAS_COCOA
#include "yasl/native/cocoa.h"
#endif
+#include "yasl/desktop.h"
#include "yasl/loop.h"
#include <yasl/timing.h>
#include <yasl/yasl.h>
@@ -63,5 +64,10 @@ int main()
assert(!yasl_cocoa_surface_get_view(nullptr));
#endif
+ assert(!yasl_display_open_uri(nullptr, "https://example.com"));
+ assert(yasl_display_appearance(nullptr) == 0);
+ assert(!yasl_surface_bell(nullptr));
+ assert(yasl_executable_path(nullptr, 0) > 0);
+
return 0;
}