THRIFT-2162 Missing calls to inherited CTOR at misc. places
Patch: Jens Geyer
diff --git a/lib/delphi/test/TestClient.pas b/lib/delphi/test/TestClient.pas
index 37fe7d7..e63bd4c 100644
--- a/lib/delphi/test/TestClient.pas
+++ b/lib/delphi/test/TestClient.pas
@@ -66,7 +66,9 @@
procedure ClientTest;
procedure JSONProtocolReadWriteTest;
+ {$IFDEF StressTest}
procedure StressTest(const client : TThriftTest.Iface);
+ {$ENDIF}
protected
procedure Execute; override;
public
@@ -859,6 +861,7 @@
end;
+{$IFDEF StressTest}
procedure TClientThread.StressTest(const client : TThriftTest.Iface);
begin
while TRUE do begin
@@ -875,7 +878,7 @@
end;
end;
end;
-
+{$ENDIF}
procedure TClientThread.JSONProtocolReadWriteTest;
// Tests only then read/write procedures of the JSON protocol
@@ -1080,6 +1083,7 @@
constructor TThreadConsole.Create(AThread: TThread);
begin
+ inherited Create;
FThread := AThread;
end;
diff --git a/lib/delphi/test/multiplexed/Multiplex.Client.Main.pas b/lib/delphi/test/multiplexed/Multiplex.Client.Main.pas
index 2cc7ab0..a1af40b 100644
--- a/lib/delphi/test/multiplexed/Multiplex.Client.Main.pas
+++ b/lib/delphi/test/multiplexed/Multiplex.Client.Main.pas
@@ -78,6 +78,7 @@
constructor TTestClient.Create( const args: array of string);
begin
+ inherited;
ParseArgs(args);
Setup;
end;