You are not logged in.
Pages: 1
Hi!
Run TestSQL3 in Seattle and Berlin. I got an error.
------------------
1.1. Low level common:
! - UTF8: 14,000 / 133,141 FAILED 1.31s
Using mORMot 1.18.2596 FTS3
Running on Windows 10 64bit (10.0.10586) with code page 1250
TSQLite3LibraryStatic 3.12.2 with internal MM
Generated with: Delphi 10.1 Berlin compiler
Time elapsed for all tests: 82.79s
Tests performed at 2016.04.24. 20:22:43
Total assertions failed for all test suits: 14,000 / 24,056,323
! Some tests FAILED: please correct the code.
-------------------------
What's the problem?
Offline
Thanks for your incredible fast answer!
Is it a problem or only for my codepage setting error?
SynSelfTests.TTestLowLevelCommon._UTF8
for i := 0 to 1000 do begin
W := RandomAnsi7(i*5);
Check(length(W)=i*5);
for CP := 1250 to 1258 do
Test(CP,W); <----- 3119.
SynSelfTests.Test(1250,'Eu>v1')
if W='' then
exit;
{$ifdef HASCODEPAGE}
{$ifndef FPC}
Check(StringCodePage(W)=1252); <---
{$endif}
CP := StringCodePage(A);
Check(CP=C.CodePage);
{$endif}
if CP=CP_UTF16 then
exit;
Offline
Pages: 1