Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Unified Diff: runtime/vm/memory_region_test.cc

Issue 2666133002: Added new type of unit test, RAW_UNIT_TEST_CASE, which is used for tests that can be flaky if run w… (Closed)
Patch Set: Fixed name of UNIT_TEST_CASE macro Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/malloc_hooks_test.cc ('k') | runtime/vm/message_handler_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/memory_region_test.cc
diff --git a/runtime/vm/memory_region_test.cc b/runtime/vm/memory_region_test.cc
index 1f46b18725d7bba1b4b2ee4ec33ef961f3e039c0..b0134a2cfc64f93e41bd0fa863449f50feedf98a 100644
--- a/runtime/vm/memory_region_test.cc
+++ b/runtime/vm/memory_region_test.cc
@@ -19,7 +19,7 @@ static void DeleteRegion(const MemoryRegion& region) {
}
-UNIT_TEST_CASE(NullRegion) {
+VM_UNIT_TEST_CASE(NullRegion) {
static const uword kSize = 512;
MemoryRegion region(NULL, kSize);
EXPECT(region.pointer() == NULL);
@@ -27,7 +27,7 @@ UNIT_TEST_CASE(NullRegion) {
}
-UNIT_TEST_CASE(NewRegion) {
+VM_UNIT_TEST_CASE(NewRegion) {
static const uword kSize = 1024;
MemoryRegion region(NewRegion(kSize), kSize);
EXPECT_EQ(kSize, region.size());
@@ -40,7 +40,7 @@ UNIT_TEST_CASE(NewRegion) {
}
-UNIT_TEST_CASE(Subregion) {
+VM_UNIT_TEST_CASE(Subregion) {
static const uword kSize = 1024;
static const uword kSubOffset = 128;
static const uword kSubSize = 512;
@@ -60,7 +60,7 @@ UNIT_TEST_CASE(Subregion) {
}
-UNIT_TEST_CASE(ExtendedRegion) {
+VM_UNIT_TEST_CASE(ExtendedRegion) {
static const uword kSize = 1024;
static const uword kSubSize = 512;
static const uword kExtendSize = 512;
« no previous file with comments | « runtime/vm/malloc_hooks_test.cc ('k') | runtime/vm/message_handler_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698