OLD | NEW |
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 Loading... |
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 |
OLD | NEW |