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

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

Issue 16125005: Make new StreamController be async by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments Created 7 years, 7 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/mime_multipart_parser_test.dart ('k') | tests/standalone/io/stdout_stderr_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/regress_10026_test.dart
diff --git a/tests/standalone/io/regress_10026_test.dart b/tests/standalone/io/regress_10026_test.dart
index 44f2e5484ca4db1160fdc3f2e7dc7e9cd6404000..444c145ebf39d3934e21ffdc7ca631ca523b8c97 100644
--- a/tests/standalone/io/regress_10026_test.dart
+++ b/tests/standalone/io/regress_10026_test.dart
@@ -10,7 +10,7 @@ import 'dart:isolate';
void testZLibInflate_regress10026() {
test(data, expect) {
var port = new ReceivePort();
- var controller = new StreamController();
+ var controller = new StreamController(sync: true);
controller.stream
.transform(new ZLibInflater())
.transform(new StringDecoder())
@@ -25,46 +25,61 @@ void testZLibInflate_regress10026() {
controller.add(data);
controller.close();
}
+ // Generated by using 'gzip -c | od -v -tu1 -An -w12' and adding commas.
test([
- 31, 139, 8, 0, 140, 39, 113, 81, 2, 255, 125, 84, 205, 142, 211, 48, 16,
- 62, 55, 79, 49, 132, 11, 72, 77, 211, 101, 1, 85, 217, 52, 2, 1, 18, 23,
- 224, 0, 23, 142, 211, 120, 210, 142, 54, 177, 131, 237, 164, 173, 16, 239,
- 206, 216, 105, 187, 133, 21, 168, 145, 26, 207, 196, 223, 159, 39, 41,
- 159, 40, 83, 251, 99, 79, 176, 243, 93, 91, 37, 229, 249, 143, 80, 85,
- 201, 172, 244, 236, 91, 170, 62, 28, 176, 235, 91, 130, 247, 166, 67, 214,
- 101, 62, 85, 19, 233, 119, 228, 17, 234, 29, 90, 71, 126, 157, 14, 190,
- 201, 86, 41, 228, 213, 185, 179, 243, 190, 207, 232, 199, 192, 227, 58,
- 125, 103, 180, 39, 237, 179, 192, 150, 66, 61, 173, 214, 169, 167, 131,
- 207, 3, 235, 221, 5, 231, 17, 140, 198, 142, 214, 233, 200, 180, 239, 141,
- 245, 87, 155, 247, 172, 252, 110, 173, 104, 228, 154, 178, 184, 152, 3,
- 107, 246, 140, 109, 230, 106, 108, 105, 125, 115, 194, 113, 254, 40, 6, 2,
- 247, 137, 178, 118, 46, 149, 198, 198, 168, 35, 252, 76, 102, 179, 13,
- 214, 247, 91, 107, 6, 173, 178, 218, 180, 198, 22, 240, 180, 89, 202, 239,
- 197, 157, 52, 59, 180, 91, 214, 5, 44, 195, 162, 71, 165, 88, 111, 79,
- 171, 70, 180, 100, 13, 118, 220, 30, 11, 72, 191, 244, 164, 225, 43, 106,
- 151, 206, 33, 253, 72, 237, 72, 158, 107, 132, 207, 52, 144, 84, 46, 133,
- 57, 188, 181, 162, 113, 14, 78, 30, 205, 28, 89, 110, 2, 86, 50, 251, 149,
- 204, 20, 143, 81, 80, 180, 83, 192, 235, 229, 178, 63, 92, 107, 120, 69,
- 29, 224, 224, 205, 31, 82, 110, 169, 187, 251, 135, 137, 38, 66, 111, 140,
- 85, 100, 51, 139, 138, 7, 87, 192, 77, 124, 94, 216, 176, 104, 89, 223,
- 207, 1, 139, 145, 29, 123, 82, 145, 251, 188, 249, 118, 245, 114, 181,
- 138, 251, 67, 102, 153, 162, 218, 88, 244, 108, 68, 134, 54, 154, 38, 136,
- 55, 29, 41, 70, 120, 214, 225, 33, 187, 22, 253, 124, 202, 245, 28, 240,
- 127, 196, 9, 200, 197, 246, 217, 247, 217, 226, 67, 246, 15, 165, 191,
- 204, 196, 115, 120, 200, 98, 242, 22, 64, 229, 42, 243, 120, 242, 213, 44,
- 41, 243, 105, 168, 147, 50, 72, 146, 25, 23, 198, 48, 25, 187, 155, 71,
- 243, 45, 37, 105, 244, 213, 183, 29, 59, 80, 177, 8, 114, 71, 206, 227,
- 166, 101, 183, 147, 148, 188, 129, 13, 193, 224, 228, 182, 49, 22, 184,
- 109, 7, 231, 67, 54, 35, 1, 77, 112, 78, 70, 81, 118, 215, 67, 39, 179,
- 234, 22, 240, 221, 12, 178, 148, 224, 60, 104, 138, 16, 49, 105, 241, 194,
- 26, 61, 129, 192, 160, 187, 143, 112, 61, 217, 142, 157, 147, 160, 3, 145,
- 176, 128, 191, 150, 162, 47, 20, 114, 112, 90, 1, 251, 32, 47, 0, 227,
- 136, 220, 138, 72, 10, 48, 2, 111, 105, 203, 147, 46, 163, 23, 101, 222,
- 79, 190, 74, 121, 51, 45, 53, 235, 52, 188, 159, 69, 158, 239, 247, 251,
- 5, 163, 198, 133, 177, 219, 124, 34, 113, 185, 235, 169, 150, 25, 77, 171,
- 79, 198, 146, 112, 10, 96, 55, 225, 44, 4, 9, 171, 136, 86, 230, 49, 197,
- 50, 63, 101, 154, 79, 223, 143, 223, 163, 237, 129, 168, 87, 4, 0, 0],
- '''<!doctype html>
+ 31, 139, 8, 8, 238, 42, 167, 81, 0, 3, 116, 101,
+ 120, 116, 46, 116, 120, 116, 0, 125, 84, 79, 175, 147,
+ 64, 16, 63, 183, 159, 98, 196, 139, 38, 165, 244, 249,
+ 212, 52, 20, 136, 70, 77, 188, 168, 7, 189, 120, 156,
+ 178, 67, 153, 20, 118, 113, 119, 161, 109, 140, 223, 221,
+ 97, 105, 251, 170, 47, 154, 54, 41, 51, 195, 254, 254,
+ 49, 52, 123, 162, 76, 233, 79, 29, 65, 237, 219, 166,
+ 152, 103, 151, 31, 66, 85, 204, 103, 153, 103, 223, 80,
+ 241, 225, 136, 109, 215, 16, 188, 55, 45, 178, 206, 146,
+ 169, 59, 151, 121, 75, 30, 161, 172, 209, 58, 242, 121,
+ 212, 251, 42, 94, 71, 144, 20, 151, 73, 237, 125, 23,
+ 211, 143, 158, 135, 60, 122, 103, 180, 39, 237, 227, 145,
+ 45, 130, 114, 170, 242, 200, 211, 209, 39, 35, 235, 230,
+ 138, 243, 8, 70, 99, 75, 121, 52, 48, 29, 58, 99,
+ 253, 205, 225, 3, 43, 95, 231, 138, 6, 46, 41, 14,
+ 197, 2, 88, 179, 103, 108, 98, 87, 98, 67, 249, 221,
+ 25, 199, 249, 147, 24, 24, 185, 207, 148, 165, 115, 145,
+ 12, 182, 70, 157, 224, 231, 124, 54, 219, 98, 185, 223,
+ 89, 211, 107, 21, 151, 166, 49, 54, 133, 167, 213, 74,
+ 62, 47, 54, 50, 108, 209, 238, 88, 167, 176, 26, 139,
+ 14, 149, 98, 189, 59, 87, 149, 104, 137, 43, 108, 185,
+ 57, 165, 16, 125, 233, 72, 195, 87, 212, 46, 90, 64,
+ 244, 145, 154, 129, 60, 151, 8, 159, 169, 39, 233, 92,
+ 27, 11, 120, 107, 69, 227, 2, 156, 220, 26, 59, 178,
+ 92, 109, 36, 206, 95, 243, 153, 226, 33, 200, 9, 102,
+ 82, 120, 189, 90, 117, 199, 91, 5, 175, 168, 5, 236,
+ 189, 249, 67, 200, 61, 181, 155, 127, 88, 168, 170, 48,
+ 49, 86, 145, 141, 45, 42, 238, 93, 10, 119, 225, 126,
+ 97, 195, 180, 97, 189, 95, 0, 166, 3, 59, 246, 164,
+ 2, 247, 229, 240, 253, 250, 229, 122, 29, 206, 143, 137,
+ 197, 138, 74, 99, 209, 179, 17, 25, 218, 104, 154, 32,
+ 222, 180, 164, 24, 225, 89, 139, 199, 248, 86, 244, 243,
+ 41, 213, 75, 188, 255, 17, 39, 32, 87, 219, 23, 223,
+ 23, 139, 15, 201, 63, 180, 254, 50, 19, 158, 194, 67,
+ 22, 147, 183, 17, 84, 190, 89, 18, 158, 187, 44, 116,
+ 50, 109, 244, 60, 27, 21, 73, 45, 132, 227, 90, 212,
+ 119, 143, 150, 91, 90, 50, 232, 138, 111, 53, 59, 80,
+ 161, 9, 114, 69, 206, 227, 182, 97, 87, 75, 72, 222,
+ 192, 150, 160, 119, 114, 89, 25, 11, 220, 52, 189, 243,
+ 99, 52, 3, 1, 77, 112, 78, 246, 80, 78, 151, 125,
+ 43, 139, 234, 150, 240, 221, 244, 82, 74, 110, 30, 52,
+ 5, 136, 16, 180, 88, 97, 141, 158, 64, 96, 208, 237,
+ 3, 92, 71, 182, 101, 231, 36, 231, 145, 72, 88, 192,
+ 223, 74, 209, 87, 10, 121, 110, 90, 1, 251, 81, 222,
+ 8, 140, 3, 114, 35, 34, 105, 132, 17, 120, 75, 59,
+ 158, 116, 25, 189, 204, 146, 110, 242, 149, 201, 107, 105,
+ 169, 202, 163, 241, 229, 76, 147, 228, 112, 56, 44, 25,
+ 53, 46, 141, 221, 37, 19, 137, 75, 92, 71, 165, 44,
+ 104, 84, 124, 50, 150, 132, 83, 0, 219, 9, 103, 41,
+ 72, 88, 4, 180, 44, 9, 41, 102, 201, 57, 211, 100,
+ 250, 243, 248, 13, 215, 32, 235, 247, 84, 4, 0, 0
+ ], '''
+<!doctype html>
<html>
<head>
<title>Example Domain</title>
@@ -78,7 +93,7 @@ void testZLibInflate_regress10026() {
margin: 0;
padding: 0;
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
-
+
}
div {
width: 600px;
@@ -102,7 +117,7 @@ void testZLibInflate_regress10026() {
padding: 1em;
}
}
- </style>
+ </style>
</head>
<body>
« no previous file with comments | « tests/standalone/io/mime_multipart_parser_test.dart ('k') | tests/standalone/io/stdout_stderr_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698