|
@@ -302,7 +302,7 @@ Resourcestring
|
|
SMethodNotFound = 'Method <%s> not found';
|
|
SMethodNotFound = 'Method <%s> not found';
|
|
SNoValidInheritance = ' does not inherit from TTestCase';
|
|
SNoValidInheritance = ' does not inherit from TTestCase';
|
|
SNoValidTests = 'No valid tests found in ';
|
|
SNoValidTests = 'No valid tests found in ';
|
|
-
|
|
|
|
|
|
+ SNoException = 'no exception';
|
|
|
|
|
|
implementation
|
|
implementation
|
|
|
|
|
|
@@ -712,6 +712,7 @@ begin
|
|
Passed := False;
|
|
Passed := False;
|
|
try
|
|
try
|
|
AMethod;
|
|
AMethod;
|
|
|
|
+ ExceptionName:=SNoException;
|
|
except
|
|
except
|
|
on E: Exception do
|
|
on E: Exception do
|
|
begin
|
|
begin
|