lazarus/components/fpcunit/ide/testcaseopts.pas
maxim 8f220d96bc FPCUnit:
1) improved localization of FPCUnitIDE. Patch from Marcelo B Paula. Part of bug #16484.
  2) Added FPCUnitIDE translations: Portuguese (from Marcelo B Paula) and Russian.

git-svn-id: trunk@25468 -
2010-05-16 16:45:06 +00:00

58 lines
1.0 KiB
ObjectPascal

unit testcaseopts;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, Buttons, strtestcaseopts;
type
{ TTestCaseOptionsForm }
TTestCaseOptionsForm = class(TForm)
btnAccept: TButton;
cbSetup: TCheckBox;
cbTeardown: TCheckBox;
edDefaultName: TEdit;
gbNames: TGroupBox;
gbFixture: TGroupBox;
Label1: TLabel;
Panel1: TPanel;
procedure btnAcceptClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
implementation
{$R *.lfm}
{ TTestCaseOptionsForm }
procedure TTestCaseOptionsForm.btnAcceptClick(Sender: TObject);
begin
Close;
end;
procedure TTestCaseOptionsForm.FormCreate(Sender: TObject);
begin
//
Caption := sfrmTest;
gbNames.Caption:= sgrpNames;
gbFixture.Caption:= sgrpFixture;
label1.Caption:= slblDefault;
cbSetup.Caption:= schkSetup;
cbTeardown.Caption:= schkTear;
btnAccept.Caption:= sbtnCreate;
end;
end.