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

Side by Side Diff: pkg/mdns/test/decode_test.dart

Issue 1413713011: Revert "Extend the mDNS package with a native extension used on Mac OS" (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « pkg/mdns/lib/src/native_protocol_client.dart ('k') | pkg/mdns/test/lookup_resolver_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart 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 file.
4 4
5 import 'package:expect/expect.dart'; 5 import 'package:expect/expect.dart';
6 import 'package:mdns/src/packet.dart'; 6 import 'package:mdns/src/packet.dart';
7 7
8 main() { 8 main() {
9 testValidPackages(); 9 testValidPackages();
10 testBadPackages(); 10 testBadPackages();
11 testHexDumpList(); 11 testHexDumpList();
12 } 12 }
13 13
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 if (x.length == 1) s += '0'; 107 if (x.length == 1) s += '0';
108 s += x; 108 s += x;
109 if (((i + 1) % 8) == 0) { 109 if (((i + 1) % 8) == 0) {
110 s += ','; 110 s += ',';
111 print(s); 111 print(s);
112 s = ''; 112 s = '';
113 } 113 }
114 } 114 }
115 if (s.length != 0) print(s); 115 if (s.length != 0) print(s);
116 } 116 }
117
OLDNEW
« no previous file with comments | « pkg/mdns/lib/src/native_protocol_client.dart ('k') | pkg/mdns/test/lookup_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698