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 #import("../../../css/css.dart"); | 5 #import("../../../css/css.dart"); |
6 | 6 |
7 class SelectorLiteralTest { | 7 class SelectorLiteralTest { |
8 static final String ERROR = 'CompilerException: <buffer>:'; | 8 static final String ERROR = 'CompilerException: <buffer>:'; |
9 | 9 |
10 static testMain() { | 10 static testMain() { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 Expect.equals("CssSelectorException: Use of Id selector must be " + | 232 Expect.equals("CssSelectorException: Use of Id selector must be " + |
233 "singleton starting at #_privateId2", e.toString()); | 233 "singleton starting at #_privateId2", e.toString()); |
234 } | 234 } |
235 } | 235 } |
236 | 236 |
237 } | 237 } |
238 | 238 |
239 main() { | 239 main() { |
240 SelectorLiteralTest.testMain(); | 240 SelectorLiteralTest.testMain(); |
241 } | 241 } |
OLD | NEW |