Skip to content

Commit

Permalink
Document that availability of slint::testing is conditional to enabli…
Browse files Browse the repository at this point in the history
…ng the feature and experimental features.
  • Loading branch information
tronical committed Jul 11, 2024
1 parent 2be4b32 commit bda89c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/cpp/include/slint-testing.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
#ifdef SLINT_FEATURE_TESTING
# ifdef SLINT_FEATURE_EXPERIMENTAL

/// Use the functions and classes in this namespace for in-process UI testing.
///
/// This module is still experimental - it's API is subject to changes and not stabilized yet. To
/// use the module, you must enable the `SLINT_FEATURE_EXPERIMENTAL=ON` and `SLINT_FEATURE_TESTING`
/// CMake options.
namespace slint::testing {

using slint::cbindgen_private::AccessibleRole;
Expand Down

0 comments on commit bda89c2

Please sign in to comment.