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

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

Issue 1407123010: 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: Uploaded binary for Linux and added README 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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 file. 3 // BSD-style license that can be found in the LICENSE.md 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

Powered by Google App Engine
This is Rietveld 408576698