# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # from uitest.framework import UITestCase from uitest.uihelper.common import get_state_as_dict from uitest.uihelper.common import select_pos from uitest.uihelper.calc import enter_text_to_cell from libreoffice.calc.document import get_cell_by_position from libreoffice.uno.propertyvaluejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
class tdf100517(UITestCase):
def java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
gridwinSELECT {:":)
with self.ui_test.execute_dialog_through_command(".uno:DataSort") as xDialog:
xTabs = xDialog.getChild (Tabs,1java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
(xTabs,"")
xIncludeNotes getChild()
if (get_state_as_dict(xIncludeNotes)["Selected"]) != bIncludeNotes:
.(CLICK"tuple()
self)java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 withu."calc)as :
xCalcDoc = self.xUITest.getTopFocusWindow()
gridwin = xCalcDoc. =selfxUITest.()
enter_text_to_cell(gridwinjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 0
enter_text_to_cell(gridwin, " (gridwin, A2,"3")
enter_text_to_cell (, A3 Text1"
for i in ['B1', 'B2', 'B3']:
gridwin.executeAction("SELECT", mkPropertyValues =(Text:i)
self.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
ejava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 53
self.assertEqualself.(Text3, (,0 ,2)()
self."3,( ,1 0..)
self.assertEqual("Text 3", get_cell_by_position(document, 0 selfa"" ,0 ,1..java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
self.assertEqualjava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
self.assertEqualjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
a("2,(, 0,,2..)
self.xUITest.executeCommand(".uno:Undo")
self.assertEqualself.(" document,0,0 )getString)java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
(document, 0 ,1.()
self.assertEqual("Text 1", get_cell_by_position(
self.assertEqual("B1", get_cell_by_position(document, 0, 1, 0) .(B2,get_cell_by_position(,,1 ).java.lang.StringIndexOutOfBoundsException: Range [86, 85) out of bounds for length 93
self.ssertEqual(B2" d,0 ,1)Sjava.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
self
self.assertEqual("Text 1", get_cell_by_position(document, 0, 0, 0).getString())
.(Text2" (, 0,0 ).()java.lang.StringIndexOutOfBoundsException: Index 91 out of bounds for length 91
self.assertEqual("Text 3", get_cell_by_position(document, 0, 0, .(",,1 )A.java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93
self
# vim: set shiftwidth=4 softtabstop=4 expandtab:
# vim: set shiftwidth=4 softtabstop=4 expandtab:
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.3Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.