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

Unified Diff: packages/dart_style/test/regression/0000/0000.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « packages/dart_style/test/io_test.dart ('k') | packages/dart_style/test/regression/0000/0005.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/regression/0000/0000.stmt
diff --git a/packages/dart_style/test/regression/0000/0000.stmt b/packages/dart_style/test/regression/0000/0000.stmt
new file mode 100644
index 0000000000000000000000000000000000000000..8edbac49ff1ab7d68cbfe8bc16284bcc23ce7a27
--- /dev/null
+++ b/packages/dart_style/test/regression/0000/0000.stmt
@@ -0,0 +1,78 @@
+>>>
+_log(new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
+ message, null), arg);
+<<<
+_log(
+ new LogEntry(error.transform, error.transform.primaryId, LogLevel.ERROR,
+ message, null),
+ arg);
+>>> (indent 4)
+ expect(date_format
+ .parsePattern("hh:mm:ss")
+ .map((x) => x.pattern)
+ .toList(), orderedEquals(["hh", ":", "mm", ":", "ss"]));
+<<<
+ expect(date_format.parsePattern("hh:mm:ss").map((x) => x.pattern).toList(),
+ orderedEquals(["hh", ":", "mm", ":", "ss"]));
+>>> (indent 4)
+ classElement.forEachInstanceField(
+ (ClassElement enclosingClass, VariableElement member) {
+ HInstruction value = fieldValues[member];
+ if (value == null) {
+ // Uninitialized native fields are pre-initialized by the native
+ // implementation.
+ assert(isNativeUpgradeFactory);
+ } else {
+ fields.add(member);
+ DartType type = localsHandler.substInContext(member.type);
+ constructorArguments.add(potentiallyCheckOrTrustType(value, type));
+ }
+ }, includeSuperAndInjectedMembers: true);
+<<<
+ classElement.forEachInstanceField(
+ (ClassElement enclosingClass, VariableElement member) {
+ HInstruction value = fieldValues[member];
+ if (value == null) {
+ // Uninitialized native fields are pre-initialized by the native
+ // implementation.
+ assert(isNativeUpgradeFactory);
+ } else {
+ fields.add(member);
+ DartType type = localsHandler.substInContext(member.type);
+ constructorArguments.add(potentiallyCheckOrTrustType(value, type));
+ }
+ }, includeSuperAndInjectedMembers: true);
+>>> (indent 6)
+ HLoopBlockInformation info = new HLoopBlockInformation(
+ HLoopBlockInformation.loopType(loop),
+ wrapExpressionGraph(initializerGraph),
+ wrapExpressionGraph(conditionExpression),
+ wrapStatementGraph(bodyGraph), wrapExpressionGraph(updateGraph),
+ conditionBlock.loopInformation.target,
+ conditionBlock.loopInformation.labels,
+ sourceFileLocationForBeginToken(loop),
+ sourceFileLocationForEndToken(loop));
+<<<
+ HLoopBlockInformation info = new HLoopBlockInformation(
+ HLoopBlockInformation.loopType(loop),
+ wrapExpressionGraph(initializerGraph),
+ wrapExpressionGraph(conditionExpression),
+ wrapStatementGraph(bodyGraph),
+ wrapExpressionGraph(updateGraph),
+ conditionBlock.loopInformation.target,
+ conditionBlock.loopInformation.labels,
+ sourceFileLocationForBeginToken(loop),
+ sourceFileLocationForEndToken(loop));
+>>> (indent 6)
+ handleSwitch(node, new NullJumpHandler(compiler), buildExpression,
+ node.cases, getConstants, (_) => false, // No case is default.
+ buildSwitchCase);
+<<<
+ handleSwitch(
+ node,
+ new NullJumpHandler(compiler),
+ buildExpression,
+ node.cases,
+ getConstants,
+ (_) => false, // No case is default.
+ buildSwitchCase);
« no previous file with comments | « packages/dart_style/test/io_test.dart ('k') | packages/dart_style/test/regression/0000/0005.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698