This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program TestFloatInVariant; | |
{$APPTYPE CONSOLE} | |
uses | |
FastMM4, | |
SysUtils, | |
Variants, | |
SynCommons, | |
SynLog, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program NestedRecordArray_ExternalSIGSEGV; | |
{$I Synopse.inc} // define HASINLINE USETYPEINFO CPU32 CPU64 OWNNORMTOUPPER | |
{$IFOPT D+} {$DEFINE DEBUG} {$ENDIF} | |
{$ASSERTIONS ON} | |
{$IFNDEF FPC} {$APPTYPE CONSOLE} {$ENDIF} | |
uses | |
{$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads | |
SysUtils, RTLConsts, Classes, Contnrs, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program TestRecordWithEnumProp; | |
{$I Synopse.inc} // define HASINLINE USETYPEINFO CPU32 CPU64 OWNNORMTOUPPER | |
{$IFOPT D+} {$DEFINE DEBUG} {$ENDIF} | |
{$ASSERTIONS ON} | |
{$IFNDEF FPC} {$APPTYPE CONSOLE} {$ENDIF} | |
uses | |
{$I SynDprUses.inc} // use FastMM4 on older Delphi, or set FPC threads | |
SysUtils, SynCommons, mORMot; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program DeserializeClassWithPropertyBackedByMethods1; | |
{$APPTYPE CONSOLE} | |
uses | |
FastMM4, | |
SysUtils, | |
Types, | |
SynCommons, | |
mORMot; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Unit test functions used by Synopse projects | |
// - this unit is a part of the freeware Synopse mORMot framework, | |
// licensed under a MPL/GPL/LGPL tri-license; version 1.18 | |
unit SynTests; | |
(* | |
This file is part of Synopse framework. | |
Synopse framework. Copyright (C) 2017 Arnaud Bouchez | |
Synopse Informatique - https://synopse.info |