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

Unified Diff: runtime/observatory/tests/ui/inspector.dart

Issue 2751423005: Run dartfmt on all files under runtime. (Closed)
Patch Set: Run dartfmt on all files under runtime. Created 3 years, 9 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: runtime/observatory/tests/ui/inspector.dart
diff --git a/runtime/observatory/tests/ui/inspector.dart b/runtime/observatory/tests/ui/inspector.dart
index ae617a7a87591787618136691d61ed0a2b202f64..7849381ef208a2cfe458b197025de3cba116c3c7 100644
--- a/runtime/observatory/tests/ui/inspector.dart
+++ b/runtime/observatory/tests/ui/inspector.dart
@@ -18,14 +18,19 @@ var node;
var uninitialized = new Object();
extractPrivateField(obj, name) {
- return reflect(obj).getField(MirrorSystem.getSymbol(name, reflect(obj).type.owner)).reflectee;
+ return reflect(obj)
+ .getField(MirrorSystem.getSymbol(name, reflect(obj).type.owner))
+ .reflectee;
}
-class A <T> {}
-class B <S extends num> {}
+class A<T> {}
+
+class B<S extends num> {}
class S {}
+
class M {}
+
class MA extends S with M {}
class Node {
@@ -108,6 +113,7 @@ class Node {
block() => x++ + y++;
return block;
}
+
return outer;
}
@@ -141,7 +147,8 @@ class Node {
blockCopying = genCopyingBlock();
blockFull = genFullBlock();
blockFullWithChain = genFullBlockWithChain();
- boundedType = extractPrivateField(reflect(new B<int>()).type.typeVariables.single, '_reflectee');
+ boundedType = extractPrivateField(
+ reflect(new B<int>()).type.typeVariables.single, '_reflectee');
counter = new Counter("CounterName", "Counter description");
expando = new Expando("expando-name");
expando[array] = 'The weakly associated value';
@@ -150,8 +157,12 @@ class Node {
float64x2 = new Float64x2(0.0, 3.14);
gauge = new Gauge("GaugeName", "Gauge description", 0.0, 100.0);
growableList = new List();
- int32x4 = new Int32x4(0,1,10,11);
- map = { "x-key": "x-value", "y-key": "y-value", "removed-key": "removed-value" };
+ int32x4 = new Int32x4(0, 1, 10, 11);
+ map = {
+ "x-key": "x-value",
+ "y-key": "y-value",
+ "removed-key": "removed-value"
+ };
map.remove("removed-key");
mint = 1 << 32;
mirrorClass = reflectClass(Object);
@@ -167,16 +178,18 @@ class Node {
stringLatin1 = "blåbærgrød";
stringSnowflake = "❄";
stringUnicode = "Îñţérñåţîöñåļîžåţîờñ";
- stringHebrew = "שלום רב שובך צפורה נחמדת"; // An example of Right-to-Left.
- stringTrebleClef = "𝄞"; // An example of a surrogate pair.
+ stringHebrew = "שלום רב שובך צפורה נחמדת"; // An example of Right-to-Left.
+ stringTrebleClef = "𝄞"; // An example of a surrogate pair.
theFalse = false;
theNull = null;
theTrue = true;
type = String;
- typeParameter = extractPrivateField(reflectClass(A).typeVariables.single, '_reflectee');
+ typeParameter =
+ extractPrivateField(reflectClass(A).typeVariables.single, '_reflectee');
typedData = extractPrivateField(new ByteData(64), '_typedData');
userTag = new UserTag("Example tag name");
- weakProperty = extractPrivateField(expando, '_data').firstWhere((e) => e != null);
+ weakProperty =
+ extractPrivateField(expando, '_data').firstWhere((e) => e != null);
Isolate.spawn(secondMain, "Hello2").then((otherIsolate) {
isolate = otherIsolate;
@@ -206,6 +219,7 @@ secondMain(msg) {
}
var typed;
+
class Typed {
var float32List = new Float32List(16);
var float64List = new Float64List(16);
« no previous file with comments | « runtime/observatory/tests/service/weak_properties_test.dart ('k') | runtime/observatory/tests/ui/inspector_part.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698