Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 1 | (* |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | * or more contributor license agreements. See the NOTICE file |
| 4 | * distributed with this work for additional information |
| 5 | * regarding copyright ownership. The ASF licenses this file |
| 6 | * to you under the Apache License, Version 2.0 (the |
| 7 | * "License"); you may not use this file except in compliance |
| 8 | * with the License. You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, |
| 13 | * software distributed under the License is distributed on an |
| 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | * KIND, either express or implied. See the License for the |
| 16 | * specific language governing permissions and limitations |
| 17 | * under the License. |
| 18 | *) |
| 19 | |
Jens Geyer | 9bb4c11 | 2014-07-03 23:05:54 +0200 | [diff] [blame] | 20 | program TestSerializer; |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 21 | |
| 22 | {$APPTYPE CONSOLE} |
| 23 | |
| 24 | uses |
Jens Geyer | fad7fd3 | 2019-11-09 23:24:52 +0100 | [diff] [blame] | 25 | Classes, |
| 26 | Windows, |
| 27 | SysUtils, |
| 28 | Generics.Collections, |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 29 | Thrift in '..\..\src\Thrift.pas', |
Jens Geyer | 606f1ef | 2018-04-09 23:09:41 +0200 | [diff] [blame] | 30 | Thrift.Exception in '..\..\src\Thrift.Exception.pas', |
Jens Geyer | bea9bbe | 2016-04-20 00:02:40 +0200 | [diff] [blame] | 31 | Thrift.Socket in '..\..\src\Thrift.Socket.pas', |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 32 | Thrift.Transport in '..\..\src\Thrift.Transport.pas', |
| 33 | Thrift.Protocol in '..\..\src\Thrift.Protocol.pas', |
| 34 | Thrift.Protocol.JSON in '..\..\src\Thrift.Protocol.JSON.pas', |
Jens Geyer | a715f70 | 2019-08-28 22:56:13 +0200 | [diff] [blame] | 35 | Thrift.Protocol.Compact in '..\..\src\Thrift.Protocol.Compact.pas', |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 36 | Thrift.Collections in '..\..\src\Thrift.Collections.pas', |
Jens Geyer | a019cda | 2019-11-09 23:24:52 +0100 | [diff] [blame] | 37 | Thrift.Configuration in '..\..\src\Thrift.Configuration.pas', |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 38 | Thrift.Server in '..\..\src\Thrift.Server.pas', |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 39 | Thrift.Utils in '..\..\src\Thrift.Utils.pas', |
| 40 | Thrift.Serializer in '..\..\src\Thrift.Serializer.pas', |
| 41 | Thrift.Stream in '..\..\src\Thrift.Stream.pas', |
Jens Geyer | 0223091 | 2019-04-03 01:12:51 +0200 | [diff] [blame] | 42 | Thrift.WinHTTP in '..\..\src\Thrift.WinHTTP.pas', |
Jens Geyer | 9bb4c11 | 2014-07-03 23:05:54 +0200 | [diff] [blame] | 43 | Thrift.TypeRegistry in '..\..\src\Thrift.TypeRegistry.pas', |
Jens Geyer | 92d8062 | 2018-05-02 22:28:44 +0200 | [diff] [blame] | 44 | System_, |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 45 | DebugProtoTest, |
Jens Geyer | a019cda | 2019-11-09 23:24:52 +0100 | [diff] [blame] | 46 | TestSerializer.Tests in 'TestSerializer.Tests.pas', |
| 47 | TestSerializer.Data in 'TestSerializer.Data.pas'; |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 48 | |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 49 | |
| 50 | var test : TTestSerializer; |
| 51 | begin |
| 52 | test := TTestSerializer.Create; |
| 53 | try |
Jens Geyer | 9bb4c11 | 2014-07-03 23:05:54 +0200 | [diff] [blame] | 54 | test.RunTests; |
Roger Meier | 2b2c0b2 | 2012-09-12 20:09:02 +0000 | [diff] [blame] | 55 | finally |
| 56 | test.Free; |
| 57 | end; |
| 58 | end. |
| 59 | |