[Lazarus] lazarus unit test failures: 198 out of 257 fail

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Tue Oct 19 15:43:26 CEST 2010


It seams that a lot of tests fail compiling, but they compile fine
with Lazarus. I haven't yet found where the code to compile them is.

About the crash, the code to save the XML is trivial:

procedure TGUITestRunner.SaveAsToolButtonClick(Sender: TObject);
begin
  if SaveDialog.Execute then
    XMLSynEdit.Lines.SaveToFile(UTF8ToSys(SaveDialog.FileName));
end;

...

Procedure TStrings.SaveToStream(Stream: TStream);
Var
  S : String;
begin
  S:=Text;
  Stream.WriteBuffer(Pointer(S)^,Length(S));
end;

No idea what is wrong, as this is extensively used, it should work fine...

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list