diff --git a/client/tests/client/samples/dartcombat/dartcombat_tests.dart b/client/tests/client/samples/dartcombat/dartcombat_tests.dart index 6f5823dfe14..ef6253f0df3 100644 --- a/client/tests/client/samples/dartcombat/dartcombat_tests.dart +++ b/client/tests/client/samples/dartcombat/dartcombat_tests.dart @@ -21,7 +21,7 @@ main() { var link = new Element.tag('link'); link.rel = 'stylesheet'; link.type = 'text/css'; - link.href = '../../samples/dartcombat/dartcombat.css'; + link.href = '../../../client/samples/dartcombat/dartcombat.css'; document.head.nodes.add(link); asyncTest('wait until setup', 1, () { diff --git a/client/tests/client/test_config.dart b/client/tests/client/test_config.dart new file mode 100644 index 00000000000..4dc50a129e1 --- /dev/null +++ b/client/tests/client/test_config.dart @@ -0,0 +1,19 @@ +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +#library("client_test_config"); + +#import("../../../tools/testing/dart/test_suite.dart"); + +class ClientTestSuite extends StandardTestSuite { + ClientTestSuite(Map configuration) + : super(configuration, + "client", + "client/tests/client", + ["client/tests/client/client.status"]); + + void isTestFile(String filename) => filename.endsWith("_tests.dart"); + + void listRecursively() => true; +} diff --git a/client/tests/dartc/dartc.status b/client/tests/dartc/dartc.status index bc562a56d48..ec7ba1ce890 100644 --- a/client/tests/dartc/dartc.status +++ b/client/tests/dartc/dartc.status @@ -4,8 +4,6 @@ prefix dartc/client -tests/dartc/test_config.dart: Skip # Not a test case. - dom/scripts/idlparser.dart: Skip # Bogus dartc error; references dart/utils/peg dom/scripts/idlparser_test.dart: Skip # Bogus dartc error; references dart/utils/peg dom/dom_frog.dart: Skip # Frog-only diff --git a/compiler/tests/dartc/dartc.status b/compiler/tests/dartc/dartc.status index 367516514f1..55b35a1a5e9 100644 --- a/compiler/tests/dartc/dartc.status +++ b/compiler/tests/dartc/dartc.status @@ -44,3 +44,7 @@ corelib/SharedTests: Skip [ $component == frogium ] *: Skip + + +[ $component == webdriver ] +*: Skip diff --git a/tools/test.dart b/tools/test.dart index c373427add3..de31ebd18b9 100755 --- a/tools/test.dart +++ b/tools/test.dart @@ -18,6 +18,7 @@ #import("../samples/tests/samples/test_config.dart"); #import("../client/tests/dartc/test_config.dart"); #import("../compiler/tests/dartc/test_config.dart"); +#import("../client/tests/client/test_config.dart"); #import("../frog/tests/frog/test_config.dart"); #import("../frog/tests/leg/test_config.dart"); #import("../frog/tests/leg_only/test_config.dart"); @@ -95,6 +96,9 @@ main() { if (selectors.containsKey('await')) { queue.addTestSuite(new AwaitTestSuite(conf)); } + if (selectors.containsKey('client')) { + queue.addTestSuite(new ClientTestSuite(conf)); + } return true; } diff --git a/tools/testing/dart/browser_test.dart b/tools/testing/dart/browser_test.dart index 2a47456cd02..3dabc96c579 100644 --- a/tools/testing/dart/browser_test.dart +++ b/tools/testing/dart/browser_test.dart @@ -20,7 +20,6 @@ String GetHtmlContents(String title,