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

Unified Diff: tests/lib/profiler/user_tags_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/lib/profiler/user_tags_test.dart
diff --git a/tests/lib/profiler/user_tags_test.dart b/tests/lib/profiler/user_tags_test.dart
index f4fc4743a83c9034aa805e98adae85c8f66dfce4..c22e3731e58c6447b1db6c876c694cde18a75bd0 100644
--- a/tests/lib/profiler/user_tags_test.dart
+++ b/tests/lib/profiler/user_tags_test.dart
@@ -18,7 +18,6 @@ void testLabel() {
Expect.equals(label, tag.label);
}
-
// Test that we canonicalize UserTag by name.
void testCanonicalize(tag1) {
var label = 'Global Tag';
@@ -29,14 +28,12 @@ void testCanonicalize(tag1) {
Expect.isTrue(identical(UserTag.defaultTag, defaultTag));
}
-
// Test that we made the tag current.
void testMakeCurrent(tag) {
tag.makeCurrent();
Expect.isTrue(identical(tag, getCurrentTag()));
}
-
// Test that we reach a limit of tags an exception is thrown.
void testExhaust() {
var i = 0;
@@ -47,7 +44,6 @@ void testExhaust() {
}
}
-
var callerTag = new UserTag('caller');
var calleeTag = new UserTag('callee');
@@ -67,7 +63,6 @@ void testCallerPattern() {
Expect.isTrue(identical(UserTag.defaultTag, getCurrentTag()));
}
-
main() {
testDefault();
testCallerPattern();

Powered by Google App Engine
This is Rietveld 408576698