mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
LibTest: Explicitly export symbols
This commit is contained in:
parent
2194cbde4b
commit
d35486cb74
Notes:
github-actions[bot]
2025-05-16 19:24:56 +00:00
Author: https://github.com/ayeteadoe
Commit: d35486cb74
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4698
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/R-Goc
7 changed files with 33 additions and 25 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <AK/Math.h>
|
||||
#include <AK/SourceLocation.h>
|
||||
#include <LibTest/CrashTest.h>
|
||||
#include <LibTest/Export.h>
|
||||
#include <LibTest/Randomized/RandomnessSource.h>
|
||||
#include <LibTest/TestResult.h>
|
||||
|
||||
|
@ -19,16 +20,16 @@ namespace Test {
|
|||
|
||||
// Declare helpers so that we can call them from VERIFY in included headers
|
||||
// the setter for TestResult is already declared in TestResult.h
|
||||
TestResult current_test_result();
|
||||
TEST_API TestResult current_test_result();
|
||||
|
||||
Randomized::RandomnessSource& randomness_source();
|
||||
void set_randomness_source(Randomized::RandomnessSource);
|
||||
TEST_API Randomized::RandomnessSource& randomness_source();
|
||||
TEST_API void set_randomness_source(Randomized::RandomnessSource);
|
||||
|
||||
bool is_reporting_enabled();
|
||||
void enable_reporting();
|
||||
void disable_reporting();
|
||||
TEST_API bool is_reporting_enabled();
|
||||
TEST_API void enable_reporting();
|
||||
TEST_API void disable_reporting();
|
||||
|
||||
u64 randomized_runs();
|
||||
TEST_API u64 randomized_runs();
|
||||
|
||||
template<typename T>
|
||||
void expect(T const& expression, StringView expression_string, SourceLocation location = SourceLocation::current())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue