summaryrefslogtreecommitdiff
path: root/packages/fcl-fpcunit
diff options
context:
space:
mode:
authormichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-07-12 12:25:24 +0000
committermichael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-07-12 12:25:24 +0000
commit32326551452f49ca292a0f3d3b0745d67948e453 (patch)
tree8ada2d2b5b3d3e7eeb139687a3e18f20e33f01c3 /packages/fcl-fpcunit
parent0b0dc4c3ea9ff9466d3229aeea83c23a4ca81498 (diff)
downloadfpc-32326551452f49ca292a0f3d3b0745d67948e453.tar.gz
* patch from Graeme Geldenhuys so it compiles again
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@11368 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/fcl-fpcunit')
-rw-r--r--packages/fcl-fpcunit/src/exampletests/fpcunittests.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/fcl-fpcunit/src/exampletests/fpcunittests.pp b/packages/fcl-fpcunit/src/exampletests/fpcunittests.pp
index db0376a257..b60b521c2a 100644
--- a/packages/fcl-fpcunit/src/exampletests/fpcunittests.pp
+++ b/packages/fcl-fpcunit/src/exampletests/fpcunittests.pp
@@ -798,11 +798,11 @@ end;
procedure TTestDecoratorTest.TestRun;
var
- suite: TTestSuite;
+ lsuite: TTestSuite;
decorator: TTestDecorator;
begin
- suite := TTestSuite.Create(TEncapsulatedTestCase);
- decorator := TTestDecorator.Create(suite);
+ lsuite := TTestSuite.Create(TEncapsulatedTestCase);
+ decorator := TTestDecorator.Create(lsuite);
decorator.Run(res);
AssertEquals('wrong number of executed tests', 2, res.RunTests);
AssertEquals('wrong number of failures', 1, res.Failures.Count);
@@ -811,12 +811,12 @@ end;
procedure TTestDecoratorTest.TestOneTimeSetup;
var
- suite: TTestSuite;
+ lsuite: TTestSuite;
setupDecorator: TTestSetup;
begin
CountSetup := 0;
- suite := TTestSuite.Create(TEncapsulatedTestCase);
- setupDecorator := TMyTestSetup.Create(suite);
+ lsuite := TTestSuite.Create(TEncapsulatedTestCase);
+ setupDecorator := TMyTestSetup.Create(lsuite);
setupDecorator.Run(res);
AssertEquals('wrong number of executed tests', 2, res.RunTests);
AssertEquals('wrong number of failures', 1, res.Failures.Count);