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

Side by Side Diff: tests/unsorted/rpc_test.dart

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'dart:fletch'; 5 import 'dart:fletch';
6 6
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import 'package:immutable/immutable.dart'; 8 import 'package:immutable/immutable.dart';
9 9
10 const List API = const [ 10 const List API = const [
11 const RpcMethod('foo', arity: 0), 11 const RpcMethod('foo', arity: 0),
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 Channel replyTo = new Channel(); 186 Channel replyTo = new Channel();
187 command[1] = new Port(replyTo); 187 command[1] = new Port(replyTo);
188 _port.send(new LinkedList.fromList(command)); 188 _port.send(new LinkedList.fromList(command));
189 LinkedList reply = replyTo.receive(); 189 LinkedList reply = replyTo.receive();
190 var tag = reply.head; 190 var tag = reply.head;
191 var result = reply.tail.head; 191 var result = reply.tail.head;
192 if (tag == 1) throw result; 192 if (tag == 1) throw result;
193 return result; 193 return result;
194 } 194 }
195 } 195 }
OLDNEW
« no previous file with comments | « tests/unsorted/return_in_try_finally_test.dart ('k') | tests/unsorted/setter_return_null_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698