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

Side by Side Diff: pkg/polymer/test/utils_test.dart

Issue 23757034: Rearranges the polymer package now that the old compiler is gone. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « pkg/polymer/test/transform/script_compactor_test.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 /** Tests for some of the utility helper functions used by the compiler. */ 5 /** Tests for some of the utility helper functions used by the compiler. */
6 library utils_test; 6 library polymer.test.utils_test;
7 7
8 import 'package:unittest/compact_vm_config.dart'; 8 import 'package:unittest/compact_vm_config.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 import 'package:polymer/src/utils.dart'; 10 import 'package:polymer/src/utils.dart';
11 11
12 main() { 12 main() {
13 useCompactVMConfiguration(); 13 useCompactVMConfiguration();
14 14
15 for (bool startUppercase in [false, true]) { 15 for (bool startUppercase in [false, true]) {
16 Matcher caseEquals(String str) { 16 Matcher caseEquals(String str) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 expect(toHyphenedName('Hi'), 'hi'); 77 expect(toHyphenedName('Hi'), 'hi');
78 expect(toHyphenedName('Hi-'), 'hi-'); 78 expect(toHyphenedName('Hi-'), 'hi-');
79 expect(toHyphenedName('HiFriend'), 'hi-friend'); 79 expect(toHyphenedName('HiFriend'), 'hi-friend');
80 }); 80 });
81 81
82 test('consecutive capital letters', () { 82 test('consecutive capital letters', () {
83 expect(toHyphenedName('aBC'), 'a-b-c'); 83 expect(toHyphenedName('aBC'), 'a-b-c');
84 }); 84 });
85 }); 85 });
86 } 86 }
OLDNEW
« no previous file with comments | « pkg/polymer/test/transform/script_compactor_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698