Commit Graph

25 Commits

Author SHA1 Message Date
Terry Lucas 476b1e02a9 Updated PYTHON code to correctly generate web_sql and re-wrote/re-enabled async web_sql test.
Also, updated status files to correctly fix failures in FF, IE and removed other spurious status entries.

R=alanknight@google.com,vsm@google.com

Change-Id: Ic965103d892ff4d5d119712e3187e829f57cd022
Reviewed-on: https://dart-review.googlesource.com/31800
Reviewed-by: Terry Lucas <terry@google.com>
2017-12-29 23:51:02 +00:00
Terry Lucas 0af98266ab Revert "Updated PYTHON code to correctly generate web_sql and re-wrote/re-enabled async web_sql test."
This reverts commit 0c8294e4a0.

Bug:
Change-Id: Idb35c64fd5365f2669e8aff45765fed74e0f0766
Reviewed-on: https://dart-review.googlesource.com/31440
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2017-12-23 01:59:38 +00:00
Terry Lucas 0c8294e4a0 Updated PYTHON code to correctly generate web_sql and re-wrote/re-enabled async web_sql test.
R=alanknight@google.com,vsm@google.com

Change-Id: I80e82f5aaa3c9748740031d8da139f79e2c0ab70
Reviewed-on: https://dart-review.googlesource.com/31080
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Alan Knight <alanknight@google.com>
2017-12-22 22:57:34 +00:00
Jacob Richman 2dcd56ef43 Format all tests.
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.

BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
kevmoo@google.com 4283c3e41e using unittest via package import
R=sigmund@google.com

Review URL: https://codereview.chromium.org//231413003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34890 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 19:42:11 +00:00
kevmoo@google.com b16286c0e1 tests/html: removed usage of deprecated unittest features
R=sigmund@google.com

Review URL: https://codereview.chromium.org//226903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34755 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 01:01:48 +00:00
blois@google.com e1ecc7b250 Fixing websql_test after streams change.
BUG=

Review URL: https://codereview.chromium.org//14999002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22430 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-06 17:01:52 +00:00
floitsch@google.com 466d6670c1 Refactor Future constructors.
BUG=

Review URL: https://codereview.chromium.org//14070010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
blois@google.com e55825d641 Removing futureTest test method
The functionality has been rolled into test().

BUG=

Review URL: https://codereview.chromium.org//12388094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19441 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:11:57 +00:00
blois@google.com 5f55f994bc Fixing websql test on Dartium checked mode
Had in incorrect value for the future callback in the test.

BUG=

Review URL: https://codereview.chromium.org//12340079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19063 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 18:23:22 +00:00
blois@google.com 42bf52f2db Fixing WebSQL test for case where it's not supported.
Had an incorrect return type for the unsupported case.

BUG=

Review URL: https://codereview.chromium.org//12334094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19060 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:37:58 +00:00
blois@google.com 70a105d262 Fixing web_sql SqlResultSetRowList row accessor.
Basically the JS generated code is using indexed getters even when they are not available and alternate methods should be used.

BUG=8666

Review URL: https://codereview.chromium.org//12334081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19055 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:59:11 +00:00
blois@google.com 51cd64501d Separating Web SQL into dart:web_sql.
These APIs are essentially deprecated as standardization as ceased for them, but they are also the only DBs available for mobile devices.

Separating out so it's easier to disable later.

BUG=

Review URL: https://codereview.chromium.org//12218185

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18782 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:05:24 +00:00
blois@google.com 01ede06509 Adding supported checks to websql.
BUG=

Review URL: https://codereview.chromium.org//12050005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17668 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 23:18:04 +00:00
sgjesse@google.com 23312c2400 Add missing import in test.
R=ager@google.com

BUG=

Review URL: https://codereview.chromium.org//11788017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16704 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 14:55:31 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
blois@google.com 5bc653278a Dartifying dart:html type names.
BUG=

Review URL: https://codereview.chromium.org//11419300

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15739 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 17:48:38 +00:00
gram@google.com 981c4b11df Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
gram@google.com f7d27f2c64 Modified unittest to use new argument syntax.
Fix affected unit tests.
Clean up unit tests that are using Expect instead of expect.
Get rid of warnings about duplicated library names.
Review URL: https://codereview.chromium.org//11275054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14158 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-26 22:52:03 +00:00
efortuna@google.com 9163dfe93c revert 1204. Will investigate when I get a chance.
TBR=rnystrom
Review URL: https://codereview.chromium.org//10928216

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12413 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-15 01:21:41 +00:00
rnystrom@google.com 383488ec4f Update unittest to new package layout.
Review URL: https://codereview.chromium.org//10917275

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12404 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 21:12:17 +00:00
rnystrom@google.com 659a57df3e Revert "Make unittest follow the new package layout."
This reverts commit 38f7d16f373832a7bf889192af7845cb602aec01.

Review URL: https://codereview.chromium.org//10911318

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12400 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 19:43:10 +00:00
rnystrom@google.com 2ba81033a6 Make unittest follow the new package layout.
Review URL: https://codereview.chromium.org//10918240

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12396 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-14 18:22:24 +00:00
sra@google.com b813300c41 SQLResultRowList.item returns Map.
In dart2js, the raw Object is converted into a Map.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11351 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 22:41:31 +00:00
blois@google.com 4355e96fb4 Fixing up some APIs to allow Web DB to work from dart and adding tests.
Basically the SQLTransaction.executeSQL was being ommitted because the compiler didn't recognize the ObjectArray type. Adding this in makes this work in dart2js sscenarios (where the browser supports it).

I've opened bug #4645 that the APIs need to be implemented in Dartium.

BUG=1888

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11272 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:57:15 +00:00