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

Side by Side Diff: utils/tests/pub/yaml_test.dart

Issue 11622011: Restructure YAML package suitable for pub lish (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | Annotate | Revision Log
« utils/pub/yaml/lib/yaml.dart ('K') | « utils/tests/pub/test_pub.dart ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library yaml_test; 5 library yaml_test;
6 6
7 import 'dart:math'; 7 import 'dart:math';
8 8
9 import '../../../pkg/unittest/lib/unittest.dart'; 9 import '../../../pkg/unittest/lib/unittest.dart';
10 import '../../pub/yaml/yaml.dart'; 10 import '../../pub/yaml/lib/yaml.dart';
11 import '../../pub/yaml/deep_equals.dart'; 11 import '../../pub/yaml/lib/deep_equals.dart';
12 import '../../../tests/utils/test_utils.dart'; 12 import '../../../tests/utils/test_utils.dart';
13 13
14 /** Constructs a new yaml.YamlMap, optionally from a normal Map. */ 14 /** Constructs a new yaml.YamlMap, optionally from a normal Map. */
15 Map yamlMap([Map from]) => 15 Map yamlMap([Map from]) =>
16 from == null ? new YamlMap() : new YamlMap.from(from); 16 from == null ? new YamlMap() : new YamlMap.from(from);
17 17
18 /** 18 /**
19 * Asserts that a string containing a single YAML document produces a given 19 * Asserts that a string containing a single YAML document produces a given
20 * value when loaded. 20 * value when loaded.
21 */ 21 */
(...skipping 1852 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 A null: null 1874 A null: null
1875 Also a null: # Empty 1875 Also a null: # Empty
1876 Not a null: "" 1876 Not a null: ""
1877 Booleans: [ true, True, false, FALSE ] 1877 Booleans: [ true, True, false, FALSE ]
1878 Integers: [ 0, 0o7, 0x3A, -19 ] 1878 Integers: [ 0, 0o7, 0x3A, -19 ]
1879 Floats: [ 0., -0.0, .5, +12e03, -2E+05 ] 1879 Floats: [ 0., -0.0, .5, +12e03, -2E+05 ]
1880 Also floats: [ .inf, -.Inf, +.INF, .NAN ]'''); 1880 Also floats: [ .inf, -.Inf, +.INF, .NAN ]''');
1881 }); 1881 });
1882 }); 1882 });
1883 } 1883 }
OLDNEW
« utils/pub/yaml/lib/yaml.dart ('K') | « utils/tests/pub/test_pub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698