summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/fpcunitproject.lpi21
-rw-r--r--unittests/fpcunitproject.lpr2
-rw-r--r--unittests/readme.txt15
-rw-r--r--unittests/tests/tctreeview.pas (renamed from unittests/treeview_test.pas)2
4 files changed, 32 insertions, 8 deletions
diff --git a/unittests/fpcunitproject.lpi b/unittests/fpcunitproject.lpi
index cbfeec27..966bea8d 100644
--- a/unittests/fpcunitproject.lpi
+++ b/unittests/fpcunitproject.lpi
@@ -29,32 +29,41 @@
</RunParams>
<RequiredPackages Count="2">
<Item1>
- <PackageName Value="guitestrunner_fpgui"/>
+ <PackageName Value="tiOPFfpGUI"/>
</Item1>
<Item2>
- <PackageName Value="FCL"/>
+ <PackageName Value="guitestrunner_fpgui"/>
</Item2>
</RequiredPackages>
- <Units Count="2">
+ <Units Count="3">
<Unit0>
<Filename Value="fpcunitproject.lpr"/>
<IsPartOfProject Value="True"/>
<UnitName Value="fpcunitproject"/>
</Unit0>
<Unit1>
- <Filename Value="treeview_test.pas"/>
+ <Filename Value="tests/tctreeview.pas"/>
<IsPartOfProject Value="True"/>
- <UnitName Value="treeview_test"/>
+ <UnitName Value="tcTreeview"/>
</Unit1>
+ <Unit2>
+ <Filename Value="tests/tcmediatorview.pas"/>
+ <IsPartOfProject Value="True"/>
+ <UnitName Value="tcMediatorView"/>
+ </Unit2>
</Units>
</ProjectOptions>
<CompilerOptions>
<Version Value="5"/>
+ <SearchPaths>
+ <OtherUnitFiles Value="tests/"/>
+ </SearchPaths>
<CodeGeneration>
<Generate Value="Faster"/>
</CodeGeneration>
<Other>
- <CustomOptions Value="-FUunits"/>
+ <CustomOptions Value="-FUunits
+"/>
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
diff --git a/unittests/fpcunitproject.lpr b/unittests/fpcunitproject.lpr
index d40ea108..b3fcb855 100644
--- a/unittests/fpcunitproject.lpr
+++ b/unittests/fpcunitproject.lpr
@@ -7,7 +7,7 @@ uses
cthreads,
{$ENDIF}{$ENDIF}
Classes,
- fpgfx, fpg_guitestrunner, treeview_test;
+ fpgfx, fpg_guitestrunner, tcTreeview, tcMediatorView, tiOPFfpGUI;
procedure MainProc;
diff --git a/unittests/readme.txt b/unittests/readme.txt
new file mode 100644
index 00000000..a684be5f
--- /dev/null
+++ b/unittests/readme.txt
@@ -0,0 +1,15 @@
+
+ This directory contains the beginnings of a set of tests suites for fpGUI.
+ Over time the test suite will be extended to cover many parts of CoreLib
+ and the GUI components.
+
+ Reguirements:
+ * Lazarus IDE
+ * guitestrunner_fpgui.lpk package
+ * tiOPFfpGUI.lpk package - tiOPF is available on SourceForge. This
+ requirement is due to the MGM mediator implementation.
+
+Graeme.
+
+
+
diff --git a/unittests/treeview_test.pas b/unittests/tests/tctreeview.pas
index 8a8257aa..81aece1e 100644
--- a/unittests/treeview_test.pas
+++ b/unittests/tests/tctreeview.pas
@@ -1,4 +1,4 @@
-unit treeview_test;
+unit tcTreeview;
{$mode objfpc}{$H+}