aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/UnitTests/test_libraries.lpr
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-06 10:58:54 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-06 10:58:54 +0000
commit25f33e77d2254791d76cc84f0f9e67e9cccf1a67 (patch)
tree8ffbf2478e6c0131ca59eef25b6212c12af0b7c1 /Game/Code/UnitTests/test_libraries.lpr
parent23ba71caadfb9adc0d70a44848899d95a0097f85 (diff)
downloadusdx-25f33e77d2254791d76cc84f0f9e67e9cccf1a67.tar.gz
usdx-25f33e77d2254791d76cc84f0f9e67e9cccf1a67.tar.xz
usdx-25f33e77d2254791d76cc84f0f9e67e9cccf1a67.zip
added first steps to building some unit tests.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@920 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/UnitTests/test_libraries.lpr31
1 files changed, 31 insertions, 0 deletions
diff --git a/Game/Code/UnitTests/test_libraries.lpr b/Game/Code/UnitTests/test_libraries.lpr
new file mode 100644
index 00000000..3e3ae380
--- /dev/null
+++ b/Game/Code/UnitTests/test_libraries.lpr
@@ -0,0 +1,31 @@
+program Test_Libraries;
+
+{$mode objfpc}{$H+}
+
+uses
+ Classes,
+ consoletestrunner,
+ TestSQLLite,
+ SQLite3 in '../lib/SQLite/SQLite3.pas',
+
+ SQLiteTable3 in '../lib/SQLite/SQLiteTable3.pas';
+
+type
+
+ { TLazTestRunner }
+
+ TMyTestRunner = class(TTestRunner)
+ protected
+ // override the protected methods of TTestRunner to customize its behavior
+ end;
+
+var
+ Application: TMyTestRunner;
+
+begin
+ Application := TMyTestRunner.Create(nil);
+ Application.Initialize;
+ Application.Title := 'FPCUnit Console test runner';
+ Application.Run;
+ Application.Free;
+end.