diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-05-30 08:48:36 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-30 09:02:31 +0200 |
commit | 33050f597cef81162eede4360b011b41e10ab69f (patch) | |
tree | 93421751dbffc367d4e0cb7d2d0cff258992bbb6 /qadevOOo | |
parent | Fix misplaced parenthesis (diff) | |
download | core-33050f597cef81162eede4360b011b41e10ab69f.tar.gz core-33050f597cef81162eede4360b011b41e10ab69f.zip |
qadevOOo: _XAccessibleText._getTextBeforeIndex:
Do not check length of first word for AccessibleStatusBarItem, which
now contains "Words: 0" since ce14342c4292628a641a72d4f63d9c048e030c6a,
but the test stupidly assumes that its text does not contain a space.
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java index c72c25590396..22626cf34c1f 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java @@ -956,7 +956,10 @@ public class _XAccessibleText extends MultiMethodTest { } try { - if (!tEnv.getTestCase().getObjectName().equals("SmGraphicAccessible")) { + if (!tEnv.getTestCase().getObjectName().equals("SmGraphicAccessible") + // next one fails because the control actually contains 2 words + && !tEnv.getTestCase().getObjectName().equals("AccessibleStatusBarItem")) + { log.print("getTextBeforeIndex(chCount," + " AccessibleTextType.WORD):"); @@ -1192,4 +1195,4 @@ public class _XAccessibleText extends MultiMethodTest { return res; } -}
\ No newline at end of file +} |