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

Unified Diff: runtime/vm/hash_map_test.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 years, 5 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/hash_map.h ('k') | runtime/vm/hash_table.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/hash_map_test.cc
diff --git a/runtime/vm/hash_map_test.cc b/runtime/vm/hash_map_test.cc
index 2f49b362983d7b82dbff7e4b8f43748025a778fc..6a1e4f3a4a0c6e46663b2d0c3c575f16c290dce4 100644
--- a/runtime/vm/hash_map_test.cc
+++ b/runtime/vm/hash_map_test.cc
@@ -2,9 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+#include "vm/hash_map.h"
#include "platform/assert.h"
#include "vm/unit_test.h"
-#include "vm/hash_map.h"
namespace dart {
@@ -18,7 +18,6 @@ class TestValue {
intptr_t x_;
};
-
TEST_CASE(DirectChainedHashMap) {
DirectChainedHashMap<PointerKeyValueTrait<TestValue> > map;
EXPECT(map.IsEmpty());
@@ -40,7 +39,6 @@ TEST_CASE(DirectChainedHashMap) {
EXPECT(map2.LookupValue(&v3) == &v1);
}
-
TEST_CASE(DirectChainedHashMapInsertRemove) {
DirectChainedHashMap<PointerKeyValueTrait<TestValue> > map;
EXPECT(map.IsEmpty());
@@ -98,7 +96,6 @@ TEST_CASE(DirectChainedHashMapInsertRemove) {
EXPECT(map.IsEmpty());
}
-
TEST_CASE(MallocDirectChainedHashMap) {
MallocDirectChainedHashMap<PointerKeyValueTrait<TestValue> > map;
EXPECT(map.IsEmpty());
@@ -117,7 +114,6 @@ TEST_CASE(MallocDirectChainedHashMap) {
EXPECT(map2.LookupValue(&v3) == &v1);
}
-
class IntptrPair {
public:
IntptrPair() : first_(-1), second_(-1) {}
@@ -140,7 +136,6 @@ class IntptrPair {
intptr_t second_;
};
-
TEST_CASE(DirectChainedHashMapIterator) {
IntptrPair p1(1, 1);
IntptrPair p2(2, 2);
« no previous file with comments | « runtime/vm/hash_map.h ('k') | runtime/vm/hash_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698