Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: tests/html/cache_test.dart

Issue 11419300: Dartifying dart:html type names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Unminifying & fixing Stephen's feedback. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/audiocontext_test.dart ('k') | tests/html/css_rule_list_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/cache_test.dart
diff --git a/tests/html/cache_test.dart b/tests/html/cache_test.dart
index d771cce5ae9919f0eaa291c062abb593026861b0..d70a2875feb1b1e15783dd52d497f95adbd3afbf 100644
--- a/tests/html/cache_test.dart
+++ b/tests/html/cache_test.dart
@@ -6,24 +6,24 @@ import 'dart:html';
main() {
useHtmlConfiguration();
test('ApplicationCache', () {
- DOMApplicationCache appCache = window.applicationCache;
+ ApplicationCache appCache = window.applicationCache;
expect(cacheStatusToString(appCache.status), equals("UNCACHED"));
});
}
String cacheStatusToString(int status) {
switch (status) {
- case DOMApplicationCache.UNCACHED: // UNCACHED == 0
+ case ApplicationCache.UNCACHED: // UNCACHED == 0
return 'UNCACHED';
- case DOMApplicationCache.IDLE: // IDLE == 1
+ case ApplicationCache.IDLE: // IDLE == 1
return 'IDLE';
- case DOMApplicationCache.CHECKING: // CHECKING == 2
+ case ApplicationCache.CHECKING: // CHECKING == 2
return 'CHECKING';
- case DOMApplicationCache.DOWNLOADING: // DOWNLOADING == 3
+ case ApplicationCache.DOWNLOADING: // DOWNLOADING == 3
return 'DOWNLOADING';
- case DOMApplicationCache.UPDATEREADY: // UPDATEREADY == 4
+ case ApplicationCache.UPDATEREADY: // UPDATEREADY == 4
return 'UPDATEREADY';
- case DOMApplicationCache.OBSOLETE: // OBSOLETE == 5
+ case ApplicationCache.OBSOLETE: // OBSOLETE == 5
return 'OBSOLETE';
default:
return 'UNKNOWN CACHE STATUS';
« no previous file with comments | « tests/html/audiocontext_test.dart ('k') | tests/html/css_rule_list_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698