|
const char * | flutter::testing::GetSourcePath () |
|
const char * | flutter::testing::GetFixturesPath () |
| Returns the directory containing the test fixture for the target if this target has fixtures configured. If there are no fixtures, this is a link error. If you see a linker error on this symbol, the unit-test target needs to depend on a test_fixtures target. More...
|
|
const char * | flutter::testing::GetTestingAssetsPath () |
| Returns the directory containing assets shared across all tests. More...
|
|
std::string | flutter::testing::GetDefaultKernelFilePath () |
| Returns the default path to kernel_blob.bin. This file is within the directory returned by GetFixturesPath() . More...
|
|
fml::UniqueFD | flutter::testing::OpenFixturesDirectory () |
| Opens the fixtures directory for the unit-test harness. More...
|
|
fml::UniqueFD | flutter::testing::OpenFixture (const std::string &fixture_name) |
| Opens a fixture of the given file name. More...
|
|
std::unique_ptr< fml::Mapping > | flutter::testing::OpenFixtureAsMapping (const std::string &fixture_name) |
| Opens a fixture of the given file name and returns a mapping to its contents. More...
|
|
sk_sp< SkData > | flutter::testing::OpenFixtureAsSkData (const std::string &fixture_name) |
| Opens a fixture of the given file name and returns a Skia SkData holding its contents. More...
|
|
std::string | flutter::testing::GetCurrentTestName () |
| Gets the name of the currently running test. This is useful in generating logs or assets based on test name. More...
|
|
bool | flutter::testing::MemsetPatternSetOrCheck (uint8_t *buffer, size_t size, MemsetPatternOp op) |
| Depending on the operation, either scribbles a known pattern into the buffer or checks if that pattern is present in an existing buffer. This is a portable variant of the memset_pattern class of methods that also happen to do assert that the same pattern exists. More...
|
|
bool | flutter::testing::MemsetPatternSetOrCheck (std::vector< uint8_t > &buffer, MemsetPatternOp op) |
|