summaryrefslogtreecommitdiff
path: root/testautomation/global/input
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2010-03-10 15:42:42 +0100
committerVladimir Glazunov <vg@openoffice.org>2010-03-10 15:42:42 +0100
commitd369c11cce9c7cd486a9f592bf27497ca630fb2c (patch)
treec00086b8dfc3693329ca7899e5e170bf0844367e /testautomation/global/input
parent76f254ea8c11b8cb4f41a9a989dbadd2ad14899c (diff)
parent3110322ea5c97128d188d47939e1583932e78bbd (diff)
CWS-TOOLING: integrate CWS ab76
Notes
Notes: split repo tag: testing_ooo/DEV300_m75
Diffstat (limited to 'testautomation/global/input')
-rwxr-xr-xtestautomation/global/input/macros.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/testautomation/global/input/macros.txt b/testautomation/global/input/macros.txt
index f34e54f607d1..ffe95be431e3 100755
--- a/testautomation/global/input/macros.txt
+++ b/testautomation/global/input/macros.txt
@@ -262,3 +262,20 @@ Sub Main
msgbox( "Error" )
endif
end sub
+
+# ---------------------------------------------------------------------------- #
+
+[i107070]
+Sub Main
+ oSingleton = com.sun.star.logging.LoggerPool
+
+ oInstance1 = oSingleton.get()
+ msgbox oInstance1.dbg_properties
+
+ oCtx = GetDefaultContext()
+ oInstance2 = oSingleton.get( oCtx )
+ msgbox oInstance2.dbg_properties
+
+ ' Uncommenting this should result in an error "Invalid procedure call"
+ oInstanceErr1 = oSingleton.get( 42 )
+End Sub