mirror of
				https://gitlab.com/freepascal.org/lazarus/lazarus.git
				synced 2025-10-29 00:41:33 +01:00 
			
		
		
		
	 8a29f2f36c
			
		
	
	
		8a29f2f36c
		
	
	
	
	
		
			
			* fixed memleak with long options + added stylesheet parameter + added example stylesheet * renamed App to Appliction, so Lazarus can set the Application.Title git-svn-id: trunk@10183 -
		
			
				
	
	
		
			27 lines
		
	
	
		
			454 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			454 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| program FPCUnitProject1;
 | |
| 
 | |
| {$mode objfpc}{$H+}
 | |
| 
 | |
| uses
 | |
|   Classes, consoletestrunner;
 | |
| 
 | |
| 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.
 |