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

Unified Diff: client/testing/unittest/shared.dart

Issue 8966029: Report errors and warnings for hiding elements, issue 572. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for comments Created 9 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 | « client/testing/dartest/dartest.dart ('k') | client/testing/unittest/unittest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/testing/unittest/shared.dart
diff --git a/client/testing/unittest/shared.dart b/client/testing/unittest/shared.dart
index eebe171a40dd9fcd593120fa6a33a32980528dce..c6faa4aec568a3a12b4015a75b5c607077e22458 100644
--- a/client/testing/unittest/shared.dart
+++ b/client/testing/unittest/shared.dart
@@ -214,19 +214,19 @@ _nextBatch() {
_completeTests() {
_state = _UNINITIALIZED;
- int testsPassed = 0;
- int testsFailed = 0;
- int testsErrors = 0;
+ int testsPassed_ = 0;
+ int testsFailed_ = 0;
+ int testsErrors_ = 0;
for (TestCase t in _tests) {
switch (t.result) {
- case _PASS: testsPassed++; break;
- case _FAIL: testsFailed++; break;
- case _ERROR: testsErrors++; break;
+ case _PASS: testsPassed_++; break;
+ case _FAIL: testsFailed_++; break;
+ case _ERROR: testsErrors_++; break;
}
}
- _platformCompleteTests(testsPassed, testsFailed, testsErrors);
+ _platformCompleteTests(testsPassed_, testsFailed_, testsErrors_);
}
String _fullSpec(String spec) {
@@ -347,16 +347,16 @@ class TestCase {
result = _PASS;
}
- void fail(String message, String stackTrace) {
+ void fail(String message_, String stackTrace_) {
result = _FAIL;
- this.message = message;
- this.stackTrace = stackTrace;
+ this.message = message_;
+ this.stackTrace = stackTrace_;
}
- void error(String message, String stackTrace) {
+ void error(String message_, String stackTrace_) {
result = _ERROR;
- this.message = message;
- this.stackTrace = stackTrace;
+ this.message = message_;
+ this.stackTrace = stackTrace_;
}
}
« no previous file with comments | « client/testing/dartest/dartest.dart ('k') | client/testing/unittest/unittest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698