summaryrefslogtreecommitdiff
path: root/testautomation/global/input
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-15 07:43:20 +0100
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-03-15 07:43:20 +0100
commit0e5c38450385ad313571e3c1af1a8b0336d2657f (patch)
tree6ff182cee755d1199c0a55f41bd89d458b0500f5 /testautomation/global/input
parent1707fbfed60b4e8d0ccf3c6c134c00bca87ff085 (diff)
parentd369c11cce9c7cd486a9f592bf27497ca630fb2c (diff)
vitomation01: Branch merge with 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 32d22d503d44..278765674855 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