| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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("SelectorLiteralTest"); |
| 5 #import("../../../css/css.dart"); | 6 #import("../../../css/css.dart"); |
| 6 | 7 |
| 7 class SelectorLiteralTest { | 8 class SelectorLiteralTest { |
| 8 static final String ERROR = 'CompilerException: <buffer>:'; | 9 static final String ERROR = 'CompilerException: <buffer>:'; |
| 9 | 10 |
| 10 static testMain() { | 11 static testMain() { |
| 11 initCssWorld(); | 12 initCssWorld(); |
| 12 options.useColors = false; | 13 options.useColors = false; |
| 13 | 14 |
| 14 testSimpleClassSelectorSuccesses(); | 15 testSimpleClassSelectorSuccesses(); |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 Expect.equals("CssSelectorException: Use of Id selector must be " + | 233 Expect.equals("CssSelectorException: Use of Id selector must be " + |
| 233 "singleton starting at #_privateId2", e.toString()); | 234 "singleton starting at #_privateId2", e.toString()); |
| 234 } | 235 } |
| 235 } | 236 } |
| 236 | 237 |
| 237 } | 238 } |
| 238 | 239 |
| 239 main() { | 240 main() { |
| 240 SelectorLiteralTest.testMain(); | 241 SelectorLiteralTest.testMain(); |
| 241 } | 242 } |
| OLD | NEW |