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

Unified Diff: tests/standalone/io/http_read_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months 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/standalone/io/http_basic_test.dart ('k') | tests/standalone/io/socket_close_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/http_read_test.dart
===================================================================
--- tests/standalone/io/http_read_test.dart (revision 11349)
+++ tests/standalone/io/http_read_test.dart (working copy)
@@ -53,9 +53,9 @@
class TestServerCommand {
- static final START = 0;
- static final STOP = 1;
- static final CHUNKED_ENCODING = 2;
+ static const START = 0;
+ static const STOP = 1;
+ static const CHUNKED_ENCODING = 2;
TestServerCommand.start() : _command = START;
TestServerCommand.stop() : _command = STOP;
@@ -70,9 +70,9 @@
class TestServerStatus {
- static final STARTED = 0;
- static final STOPPED = 1;
- static final ERROR = 2;
+ static const STARTED = 0;
+ static const STOPPED = 1;
+ static const ERROR = 2;
TestServerStatus.started(this._port) : _state = STARTED;
TestServerStatus.stopped() : _state = STOPPED;
« no previous file with comments | « tests/standalone/io/http_basic_test.dart ('k') | tests/standalone/io/socket_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698