Chromium Code Reviews| Index: dart/tools/testing/dart/test_runner.dart |
| diff --git a/dart/tools/testing/dart/test_runner.dart b/dart/tools/testing/dart/test_runner.dart |
| index 3ccc3eedab0547c5c78251519380f15fa38a5035..e90736ac1340229ebe1845015fa18bdec97d1262 100644 |
| --- a/dart/tools/testing/dart/test_runner.dart |
| +++ b/dart/tools/testing/dart/test_runner.dart |
| @@ -76,6 +76,9 @@ int findBytes(List<int> data, List<int> pattern, [int startPos=0]) { |
| /** A command executed as a step in a test case. */ |
| class Command { |
| + static int nextHashCode = 0; |
| + final int hashCode = nextHashCode++; |
| + |
|
kustermann
2013/01/09 15:30:12
You could add an '==' operator here as well.
ahe
2013/01/09 15:38:02
Done.
|
| /** Path to the executable of this command. */ |
| String executable; |