THRIFT-5059: Add cross tests for TZlibTransport in D
Client: D
Patch: Kengo Seki
This closes #1977
diff --git a/lib/d/test/test_utils.d b/lib/d/test/test_utils.d
index 174100b..d0548b7 100644
--- a/lib/d/test/test_utils.d
+++ b/lib/d/test/test_utils.d
@@ -35,6 +35,7 @@
import thrift.transport.buffered;
import thrift.transport.framed;
import thrift.transport.http;
+import thrift.transport.zlib;
// This is a likely victim of @@BUG4744@@ when used with command argument
// parsing.
@@ -79,6 +80,7 @@
buffered,
framed,
http,
+ zlib,
raw
}
@@ -90,6 +92,8 @@
return new TFramedTransportFactory;
case TransportType.http:
return new TServerHttpTransportFactory;
+ case TransportType.zlib:
+ return new TZlibTransportFactory;
case TransportType.raw:
return new TTransportFactory;
}