mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 10:52:50 +02:00
tests: restore nil check in the dispinterface test
git-svn-id: trunk@14748 -
This commit is contained in:
parent
1ae0cebc1a
commit
0d7391baff
@ -22,10 +22,13 @@ begin
|
|||||||
|
|
||||||
II := CreateOleObject('InternetExplorer.Application') as IIE;
|
II := CreateOleObject('InternetExplorer.Application') as IIE;
|
||||||
|
|
||||||
|
if II = nil then
|
||||||
|
halt(1);
|
||||||
|
|
||||||
if not II.Visible then // test dispid property getter
|
if not II.Visible then // test dispid property getter
|
||||||
II.Visible := True; // test dispid property setter
|
II.Visible := True; // test dispid property setter
|
||||||
|
|
||||||
II.Quit; // test dipid method call
|
II.Quit; // test dipid method call
|
||||||
|
|
||||||
OleUninitialize;
|
OleUninitialize;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user