#include "include/cppgc/source-location.h"
#include "src/base/macros.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cppgc {
namespace internal {
namespace {
constexpr char kFileName[] = …;
bool Contains(const std::string& base_string, const std::string& substring) { … }
}
TEST(SourceLocationTest, DefaultCtor) { … }
void TestSourceLocationCurrent() { … }
TEST(SourceLocationTest, Current) { … }
void TestToString() { … }
#if V8_SUPPORTS_SOURCE_LOCATION
TEST(SourceLocationTest, ToString) { … }
#endif
}
}