#include "src/api/api-inl.h"
#include "src/api/api.h"
#include "src/execution/isolate.h"
#include "src/heap/heap-inl.h"
#include "src/heap/spaces.h"
#include "src/objects/objects-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/heap/heap-tester.h"
#include "test/cctest/heap/heap-utils.h"
#define TEST_STR …
namespace v8 {
namespace internal {
namespace heap {
class TestOneByteResource : public v8::String::ExternalOneByteStringResource { … };
TEST(ExternalString_ExternalBackingStoreSizeIncreases) { … }
TEST(ExternalString_ExternalBackingStoreSizeDecreases) { … }
TEST(ExternalString_ExternalBackingStoreSizeIncreasesMarkCompact) { … }
TEST(ExternalString_ExternalBackingStoreSizeIncreasesAfterExternalization) { … }
TEST(ExternalString_PromotedThinString) { … }
}
}
}
#undef TEST_STR