You've already forked lazarus-ccr
* Tests: cosmetic/slight tightening file exist test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2870 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -106,6 +106,9 @@ begin
|
|||||||
finally
|
finally
|
||||||
MyWorkbook.Free;
|
MyWorkbook.Free;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
if not(FileExists(TempFile)) then
|
||||||
|
fail('Trying to write first file did not work.');
|
||||||
FirstFileHash:=MD5Print(MD5File(TempFile));
|
FirstFileHash:=MD5Print(MD5File(TempFile));
|
||||||
|
|
||||||
// Now overwrite with second file
|
// Now overwrite with second file
|
||||||
|
@ -166,8 +166,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TTestRunner.DoRun;
|
procedure TTestRunner.DoRun;
|
||||||
const
|
|
||||||
RepeatInterval=10;
|
|
||||||
var
|
var
|
||||||
FoundTest: boolean;
|
FoundTest: boolean;
|
||||||
I : Integer;
|
I : Integer;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
unit testsutility;
|
unit testsutility;
|
||||||
|
|
||||||
{ Utility unit with general functions for fpspreadsheet tests,
|
{ Utility unit with general functions for the real fpspreadsheet test units,
|
||||||
e.g. getting temporary files }
|
e.g. getting temporary files }
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
{$mode objfpc}{$H+}
|
||||||
|
Reference in New Issue
Block a user