First step in switching to testRunner instead of layoutTestController.

Recently WebKit migrated to testRunner from layoutTestController. Follow the lead.

TBR=dgrove@google.com

Review URL: https://chromiumcodereview.appspot.com//10830336

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@10736 260f80e4-7a28-3924-810f-c04153c831b5
Move unittest tests underneath it in /pkg
Review URL: https://chromiumcodereview.appspot.com//10823332

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@10770 260f80e4-7a28-3924-810f-c04153c831b5
Rename "tests" directories under /pkg to the singular "test"
Review URL: https://chromiumcodereview.appspot.com//10837268

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@10771 260f80e4-7a28-3924-810f-c04153c831b5
Deprecate Math object in corelib in favor of dart:math library.

Review URL: https://chromiumcodereview.appspot.com//10829459

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11155 260f80e4-7a28-3924-810f-c04153c831b5
Change a few more uses of the old try-catch syntax.

R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10905013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11594 260f80e4-7a28-3924-810f-c04153c831b5
More uses of the new try-catch syntax.

With this change, the VM can run all tests (except co19) without
allowing the use of the old try-catch syntax.

R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10917006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11600 260f80e4-7a28-3924-810f-c04153c831b5
Testrunner for 3rd parties.
Review URL: https://chromiumcodereview.appspot.com//10897016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11648 260f80e4-7a28-3924-810f-c04153c831b5
Remove instances of dart:dom_deprecated from outside of lib/html and lib/dom.

There are several references in utils/apidoc as well, but that will be a
separate CL since it's going to require some substantial changes both in the
lib/dom/scripts end and in utils/apidoc.
Review URL: https://chromiumcodereview.appspot.com//10910013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11651 260f80e4-7a28-3924-810f-c04153c831b5
Revert 11651
Review URL: https://chromiumcodereview.appspot.com//10916028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11655 260f80e4-7a28-3924-810f-c04153c831b5
- Change "static final" to "static const" in the
  pkg/, language/, utils/ and lib/core/ directories.
Review URL: https://chromiumcodereview.appspot.com//10919024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11703 260f80e4-7a28-3924-810f-c04153c831b5
Reapply dom_deprecated removal with non-editor breaking change.
Review URL: https://chromiumcodereview.appspot.com//10916035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11715 260f80e4-7a28-3924-810f-c04153c831b5
Revert 11715.
Review URL: https://chromiumcodereview.appspot.com//10909035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11718 260f80e4-7a28-3924-810f-c04153c831b5
Remove dart:dom_deprecated from everywhere but the editor, dart2js, lib/dom, and
utils/apidoc.
Review URL: https://chromiumcodereview.appspot.com//10918028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11721 260f80e4-7a28-3924-810f-c04153c831b5
Added support for layout render tests. These use expected values for the text render output from DumpRenderTree. When running a test in DRT the testrunner will see if there is a file with a .render extension in the same directory as the test file and with the same base file name. If so it will do additional checks of the rendered layout.

Here is a simple example test:

#library('sample');
#import('dart:html');
#import('pkg:unittest/unittest.dart');

main() {
  group('foo', () {
    test('test 1', () {
      document.body.nodes.add(new Element.html("<p>Test 1</p>"));
    });
    test('test 2', () {
      document.body.nodes.add(new Element.html("<p>Test 2</p>"));
    });
  });
}

And a sample matching .render file:

[foo test 1]
RenderBlock {P} at (0,0) size 284x20
  RenderText {#text} at (0,0) size 38x19
    text run at (0,0) width 38: "Test 1"
[foo test 2]
RenderBlock {P} at (0,0) size 284x20
  RenderText {#text} at (0,0) size 38x19
    text run at (0,0) width 38: "Test 2"

Note that the render content is only the content inside the <body> element, not including the body element itself.

testrunner can generate render files itself if you use the --generate-renders flag.

Also in this change - rename Configuration.log to trace, to avoid clash with the math log() function.
Review URL: https://chromiumcodereview.appspot.com//10914049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@11994 260f80e4-7a28-3924-810f-c04153c831b5
Get rid of a lot of () for getters.

R=bak@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10919146

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12017 260f80e4-7a28-3924-810f-c04153c831b5
Fix 80 column layout in html_enhanced_config.
Review URL: https://chromiumcodereview.appspot.com//10928057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12050 260f80e4-7a28-3924-810f-c04153c831b5
Fix issue 2933 - if an exception is thrown before we start the first test, but after the testcase is created, don't pass the error to the test case but treat it as an uncaught error.
Review URL: https://chromiumcodereview.appspot.com//10909123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12077 260f80e4-7a28-3924-810f-c04153c831b5
Run dart2js tests unmodified in browser.

Review URL: https://chromiumcodereview.appspot.com//10919098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12159 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to fix timeout of failing selenium tests.

Review URL: https://chromiumcodereview.appspot.com//10910188

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12164 260f80e4-7a28-3924-810f-c04153c831b5
Fail on exceptions

Review URL: https://chromiumcodereview.appspot.com//10917186

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/unittest@12166 260f80e4-7a28-3924-810f-c04153c831b5