#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
#include <optional>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/location.h"
#include "base/path_service.h"
#include "base/run_loop.h"
#include "third_party/blink/public/platform/file_path_conversion.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/renderer/platform/heap/heap_test_utilities.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/text/string_utf8_adaptor.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
namespace test {
namespace {
base::FilePath BlinkRootFilePath() { … }
base::FilePath WebTestsFilePath() { … }
}
void RunPendingTasks() { … }
void RunDelayedTasks(base::TimeDelta delay) { … }
void YieldCurrentThread() { … }
String BlinkRootDir() { … }
String BlinkWebTestsDir() { … }
String ExecutableDir() { … }
String CoreTestDataPath(const String& relative_path) { … }
String PlatformTestDataPath(const String& relative_path) { … }
String AccessibilityTestDataPath(const String& relative_path) { … }
base::FilePath HyphenationDictionaryDir() { … }
std::optional<Vector<char>> ReadFromFile(const String& path) { … }
String BlinkWebTestsFontsTestDataPath(const String& relative_path) { … }
String BlinkWebTestsImagesTestDataPath(const String& relative_path) { … }
String StylePerfTestDataPath(const String& relative_path) { … }
LineReader::LineReader(const String& text) : … { … }
bool LineReader::GetNextLine(String* line) { … }
}
}