lazarus/test/semiauto/idesemiautotests.pas
mattias 5ac949ee58 tests: clean up
git-svn-id: trunk@47308 -
2015-01-05 13:31:42 +00:00

43 lines
887 B
ObjectPascal

unit idesemiautotests;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
Interfaces, LCLType, LCLIntf,
testglobals, semiautotest;
type
{ TTestIdeNew }
TTestIdeNew = class(TSemiAutomaticTest)
published
procedure TestOne;
end;
implementation
{ TTestIdeNew }
procedure TTestIdeNew.TestOne;
var
Str: string;
begin
Str := 'Please follow the following steps and mark if the test was successful:' + LineEnding
+ '1> Open Lazarus' + LineEnding
+ '2> Start a new Application project, but don''t save it' + LineEnding
+ '3> Run this new project' + LineEnding
+ 'Expected result> It should be saved to a temporary location and run or a message dialog should appear saying that the operation is impossible' + LineEnding
;
AssertTrue(ShowResultDialog('TTestIdeNew.TestOne', Str));
end;
initialization
AddToSemiAutoTestSuite(TTestIdeNew);
end.