| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library http_load_test; | 5 library http_load_test; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:convert'; | 8 import 'dart:convert'; |
| 9 import 'dart:io'; | 9 import 'dart:io'; |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 if (output.contains("ERROR")) { | 65 if (output.contains("ERROR")) { |
| 66 throw "test failed."; | 66 throw "test failed."; |
| 67 } | 67 } |
| 68 if (!output.contains("\nEXIT_CODE=0\n")) { | 68 if (!output.contains("\nEXIT_CODE=0\n")) { |
| 69 throw "Test failed."; | 69 throw "Test failed."; |
| 70 } | 70 } |
| 71 if (!output.contains("\nPASS")) { | 71 if (!output.contains("\nPASS")) { |
| 72 throw "Test failed."; | 72 throw "Test failed."; |
| 73 } | 73 } |
| 74 } | 74 } |
| OLD | NEW |