| /AOO42X/main/qadevOOo/tests/java/ifc/text/ |
| H A D | _XTextCursor.java | 54 public XTextCursor oObj = null; // oObj filled by MultiMethodTest field in _XTextCursor 61 oObj.gotoStart(false); in before() 62 oObj.gotoEnd(true); in before() 63 oldText = oObj.getString() ; in before() 78 oObj.setString("XTextCursor"); in _collapseToEnd() 79 oObj.gotoStart(false); in _collapseToEnd() 80 oObj.gotoEnd(true); in _collapseToEnd() 81 oObj.collapseToEnd(); in _collapseToEnd() 82 bCol = oObj.getString().equals(""); in _collapseToEnd() 97 oObj.setString("XTextCursor"); in _collapseToStart() [all …]
|
| H A D | _XTextTableCursor.java | 62 public XTextTableCursor oObj = null; // oObj filled by MultiMethodTest field in _XTextTableCursor 74 oObj.gotoStart(false); in _getRangeName() 75 String oCellName = oObj.getRangeName(); in _getRangeName() 93 bDown = oObj.goDown(i,false); in _goDown() 96 oObj.goUp(i,false); in _goDown() 111 bRight = oObj.goRight(i,false); in _goRight() 114 oObj.goLeft(i,false); in _goRight() 129 oObj.goRight(i,false); in _goLeft() 130 bLeft = oObj.goLeft(i,false); in _goLeft() 147 oObj.gotoEnd(true); in _goUp() [all …]
|
| H A D | _XAutoTextGroup.java | 53 public XAutoTextGroup oObj = null; field in _XAutoTextGroup 84 String[] names = oObj.getElementNames() ; in before() 90 oObj.removeByName(names[i]) ; in before() 110 String[] titles = oObj.getTitles(); in _getTitles() 128 String[] before = oObj.getTitles(); in _insertNewByName() 129 oObj.insertNewByName(str, "For " + str,oRange); in _insertNewByName() 130 String[] after = oObj.getTitles(); in _insertNewByName() 140 oObj.insertNewByName(str, "For " + str, oRange); in _insertNewByName() 143 oObj.removeByName(str); in _insertNewByName() 172 String[] before = oObj.getTitles(); in _removeByName() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/accessibility/ |
| H A D | _XAccessibleEditableText.java | 61 public XAccessibleEditableText oObj = null; field in _XAccessibleEditableText 87 initialText = oObj.getText(); in before() 101 String oldText = oObj.getText(); in _cutText() 103 int length = oObj.getCharacterCount(); in _cutText() 108 locRes = oObj.cutText(-1, length - 1); in _cutText() 114 curText = oObj.getText(); in _cutText() 121 locRes = oObj.cutText(0, length + 1); in _cutText() 127 curText = oObj.getText(); in _cutText() 135 locRes = oObj.cutText(0, length); in _cutText() 137 curText = oObj.getText(); in _cutText() [all …]
|
| H A D | _XAccessibleText.java | 75 public XAccessibleText oObj = null; field in _XAccessibleText 94 oObj = (XAccessibleText) UnoRuntime.queryInterface( in before() 103 text = oObj.getText(); in before() 146 oObj.setCaretPosition(chCount - 1); in _getCaretPosition() 150 int carPos = oObj.getCaretPosition(); in _getCaretPosition() 181 oObj.setCaretPosition(-1); in _setCaretPosition() 191 oObj.setCaretPosition(chCount + 1); in _setCaretPosition() 201 oObj.setCaretPosition(chCount - 1); in _setCaretPosition() 230 oObj.getCharacter(-1); in _getCharacter() 240 oObj.getCharacter(chCount); in _getCharacter() [all …]
|
| H A D | _XAccessibleTable.java | 62 public XAccessibleTable oObj = null; field in _XAccessibleTable 68 UnoRuntime.queryInterface(XAccessibleSelection.class, oObj); in before() 76 UnoRuntime.queryInterface(XAccessibleContext.class, oObj); in before() 86 rowCount = oObj.getAccessibleRowCount(); in _getAccessibleRowCount() 98 colCount = oObj.getAccessibleColumnCount(); in _getAccessibleColumnCount() 120 String descr = oObj.getAccessibleRowDescription(-1); in _getAccessibleRowDescription() 131 String descr = oObj.getAccessibleRowDescription(rowCount); in _getAccessibleRowDescription() 143 oObj.getAccessibleRowDescription(rowCount - 1); in _getAccessibleRowDescription() 172 String descr = oObj.getAccessibleColumnDescription(-1); in _getAccessibleColumnDescription() 183 String descr = oObj.getAccessibleColumnDescription(colCount); in _getAccessibleColumnDescription() [all …]
|
| H A D | _XAccessibleSelection.java | 62 public XAccessibleSelection oObj = null; field in _XAccessibleSelection 81 XAccessibleContext.class, oObj); in before() 117 oObj.selectAccessibleChild(childCount); in _selectAccessibleChild() 127 oObj.selectAccessibleChild(-1); in _selectAccessibleChild() 150 oObj.selectAccessibleChild(i); in _selectAccessibleChild() 181 isSelected = oObj.isAccessibleChildSelected(-1); in _isAccessibleChildSelected() 192 isSelected = oObj.isAccessibleChildSelected(childCount); in _isAccessibleChildSelected() 211 oObj.selectAllAccessibleChildren(); in _isAccessibleChildSelected() 217 oObj.selectAccessibleChild(k); in _isAccessibleChildSelected() 219 isSelected = oObj.isAccessibleChildSelected(k); in _isAccessibleChildSelected() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/ucb/ |
| H A D | _XSimpleFileAccess.java | 58 public static XSimpleFileAccess oObj = null; field in _XSimpleFileAccess 74 if (oObj.exists(copiedFile)) in _copy() 75 oObj.kill(copiedFile); in _copy() 77 oObj.copy(filename,copiedFile); in _copy() 78 tRes.tested("copy()",oObj.exists(copiedFile)); in _copy() 79 oObj.kill(copiedFile); in _copy() 104 if (oObj.exists(copiedFile)) in _move() 105 oObj.kill(copiedFile); in _move() 107 oObj.copy(filename,copiedFile); in _move() 110 oObj.move(filename,copiedFile); in _move() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/awt/ |
| H A D | _XListBox.java | 64 public XListBox oObj = null; field in _XListBox 112 itemCount = oObj.getItemCount(); in before() 120 oObj.addItemListener(itemListener) ; in _addItemListener() 131 oObj.removeItemListener(itemListener) ; in _removeItemListener() 141 oObj.addActionListener(actionListener) ; in _addActionListener() 152 oObj.removeActionListener(actionListener) ; in _removeActionListener() 170 oObj.addItem("Item1", itemCount) ; in _addItem() 171 result = oObj.getItemCount() == itemCount + 1 ; in _addItem() 189 short oldCnt = oObj.getItemCount() ; in _addItems() 190 oObj.addItems(new String[] {"Item2", "Item3"}, oldCnt) ; in _addItems() [all …]
|
| H A D | _XTextComponent.java | 61 public XTextComponent oObj = null; field in _XTextComponent 95 oObj.addTextListener(listener); in _addTextListener() 96 oObj.setText("Listen"); in _addTextListener() 121 oObj.removeTextListener(listener); in _removeTextListener() 122 oObj.setText("Do not listen"); in _removeTextListener() 137 oObj.setText(newText); in _setText() 138 log.println("Getting text : '" + oObj.getText() + "'") ; in _setText() 139 tRes.tested("setText()",oObj.getText().equals(newText)); in _setText() 154 oObj.setText(newText); in _getText() 155 tRes.tested("getText()",oObj.getText().equals(newText)); in _getText() [all …]
|
| H A D | _XDateField.java | 57 public XDateField oObj = null; field in _XDateField 74 oObj.setDate(19000101) ; in _setDate() 76 result = oObj.getDate() == 19000101 ; in _setDate() 79 System.out.println("getDate: "+oObj.getDate()+" , expected 19000101"); in _setDate() 92 oObj.getDate() ; in _getDate() 108 oObj.setMin(4978) ; in _setMin() 110 result = oObj.getMin() == 4978 ; in _setMin() 122 oObj.getMin() ; in _getMin() 138 oObj.setMax(27856) ; in _setMax() 140 result = oObj.getMax() == 27856 ; in _setMax() [all …]
|
| H A D | _XScrollBar.java | 41 public XScrollBar oObj; field in _XScrollBar 49 oObj.addAdjustmentListener(listener); in _addAdjustmentListener() 53 oObj.removeAdjustmentListener(listener); in _addAdjustmentListener() 69 oObj.setBlockIncrement(15); in _setBlockIncrement() 70 oObj.setBlockIncrement(5); in _setBlockIncrement() 71 int bi = oObj.getBlockIncrement(); in _setBlockIncrement() 84 oObj.setLineIncrement(12); in _setLineIncrement() 85 oObj.setLineIncrement(2); in _setLineIncrement() 86 int li = oObj.getLineIncrement(); in _setLineIncrement() 99 oObj.setMaximum(490); in _setMaximum() [all …]
|
| H A D | _XCurrencyField.java | 56 public XCurrencyField oObj = null; field in _XCurrencyField 77 oObj.setValue(val + 1.1); in _setValue() 79 tRes.tested("setValue()", oObj.getValue() == val + 1.1); in _setValue() 87 val = oObj.getValue(); in _getValue() 103 oObj.setMin(min + 1.1); in _setMin() 105 tRes.tested("setMin()", oObj.getMin() == min + 1.1); in _setMin() 115 min = oObj.getMin(); in _getMin() 132 oObj.setMax(max + 1.1); in _setMax() 133 result = oObj.getMax() == max + 1.1; in _setMax() 145 max = oObj.getMax(); in _getMax() [all …]
|
| H A D | _XNumericField.java | 57 public XNumericField oObj = null; field in _XNumericField 78 oObj.setValue(val + 1.1) ; in _setValue() 80 tRes.tested("setValue()", oObj.getValue() == val + 1.1) ; in _setValue() 88 val = oObj.getValue() ; in _getValue() 104 oObj.setMin(min + 1.1) ; in _setMin() 106 tRes.tested("setMin()", oObj.getMin() == min + 1.1) ; in _setMin() 116 min = oObj.getMin() ; in _getMin() 133 oObj.setMax(max + 1.1) ; in _setMax() 134 result = oObj.getMax() == max + 1.1 ; in _setMax() 146 max = oObj.getMax() ; in _getMax() [all …]
|
| H A D | _XTimeField.java | 55 public XTimeField oObj = null; field in _XTimeField 70 oObj.setTime(11150000) ; in _setTime() 72 result = oObj.getTime() == 11150000 ; in _setTime() 75 System.out.println("Getting "+oObj.getTime()+ " expected 11150000"); in _setTime() 88 oObj.getTime() ; in _getTime() 104 oObj.setMin(4978) ; in _setMin() 106 result = oObj.getMin() == 4978 ; in _setMin() 118 oObj.getMin() ; in _getMin() 134 oObj.setMax(27856) ; in _setMax() 136 result = oObj.getMax() == 27856 ; in _setMax() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/configuration/backend/ |
| H A D | _XLayerHandler.java | 40 public XLayerHandler oObj = null; field in _XLayerHandler 49 oObj.startLayer(); in _endLayer() 50 oObj.overrideNode("org.openoffice.Setup", (short) 0, false); in _endLayer() 51 oObj.overrideNode("Office", (short) 0, false); in _endLayer() 52 oObj.overrideProperty("ooSetupInstCompleted", (short) 0, in _endLayer() 54 oObj.setPropertyValue(new Boolean(false)); in _endLayer() 55 oObj.endProperty(); in _endLayer() 56 oObj.overrideProperty("ooSetupShowIntro", (short) 0, in _endLayer() 58 oObj.setPropertyValue(new Boolean(true)); in _endLayer() 59 oObj.endProperty(); in _endLayer() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/frame/ |
| H A D | _XFrame.java | 81 public static XFrame oObj = null; field in _XFrame 105 String name = oObj.getName() ; in _getName() 119 oObj.setName(sName); in _setName() 120 String gName = oObj.getName(); in _setName() 134 oObj.activate() ; in _activate() 144 oObj.deactivate() ; in _deactivate() 145 oObj.activate() ; in _deactivate() 160 tRes.tested("isActive()", oObj.isActive()) ; in _isActive() 164 oObj.deactivate(); in _isActive() 165 result &= !oObj.isActive(); in _isActive() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/i18n/ |
| H A D | _XCalendar.java | 67 public XCalendar oObj = null; field in _XCalendar 90 oObj.loadDefaultCalendar(installed_locales[0]); in before() 91 aOriginalDTime = oObj.getDateTime(); in before() 101 oObj.loadDefaultCalendar(installed_locales[0]); in after() 102 oObj.setDateTime(aOriginalDTime); in after() 117 oObj.loadDefaultCalendar(installed_locales[i]); in _loadDefaultCalendar() 118 if (oObj.getLoadedCalendar().Default) { in _loadDefaultCalendar() 123 res &= oObj.getLoadedCalendar().Default; in _loadDefaultCalendar() 141 calendars[i] = oObj.getAllCalendars(installed_locales[i]); in _getAllCalendars() 171 oObj.loadCalendar(calendars[i][0], installed_locales[i]); in _loadCalendar() [all …]
|
| H A D | _XCollator.java | 50 public XCollator oObj = null; field in _XCollator 60 alg = oObj.listCollatorAlgorithms(loc) ; in _listCollatorAlgorithms() 83 opt = oObj.listCollatorOptions(alg[0]) ; in _listCollatorOptions() 101 oObj.loadDefaultCollator(loc, 0); in _loadDefaultCollator() 102 boolean res = oObj.compareString("A", "a") != 0; in _loadDefaultCollator() 103 oObj.loadDefaultCollator(loc, in _loadDefaultCollator() 105 res &= oObj.compareString("a", "A") == 0; in _loadDefaultCollator() 121 oObj.loadCollatorAlgorithm(alg[0], loc, in _loadCollatorAlgorithm() 123 boolean res = oObj.compareString("A", "a") == 0; in _loadCollatorAlgorithm() 124 oObj.loadCollatorAlgorithm(alg[0], loc, 0); in _loadCollatorAlgorithm() [all …]
|
| /AOO42X/main/toolkit/qa/complex/toolkit/accessibility/ |
| H A D | _XAccessibleText.java | 80 public XAccessibleText oObj = null; field in _XAccessibleText 91 oObj = UnoRuntime.queryInterface(XAccessibleText.class, object); in _XAccessibleText() 117 oObj.setCaretPosition(chCount - 1); in _getCaretPosition() 121 int carPos = oObj.getCaretPosition(); in _getCaretPosition() 144 oObj.setCaretPosition(-1); in _setCaretPosition() 154 oObj.setCaretPosition(chCount+1); in _setCaretPosition() 164 oObj.setCaretPosition(chCount - 1); in _setCaretPosition() 193 oObj.getCharacter(-1); in _getCharacter() 203 oObj.getCharacter(chCount); in _getCharacter() 215 char ch = oObj.getCharacter(i); in _getCharacter() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/linguistic2/ |
| H A D | _XDictionaryList.java | 55 public XDictionaryList oObj = null; field in _XDictionaryList 88 count = oObj.getCount(); in _getCount() 104 XDictionary[] dics = oObj.getDictionaries(); in _getDictionaries() 107 log.println("Expected: " + oObj.getCount()); in _getDictionaries() 123 XDictionary xDic = oObj.createDictionary("ListenDic", in _addDictionaryListEventListener() 127 boolean res = oObj.addDictionaryListEventListener(listener, false); in _addDictionaryListEventListener() 129 oObj.flushEvents(); in _addDictionaryListEventListener() 130 oObj.addDictionary(xDic); in _addDictionaryListEventListener() 133 oObj.flushEvents(); in _addDictionaryListEventListener() 134 oObj.removeDictionary(xDic); in _addDictionaryListEventListener() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/view/ |
| H A D | _XMultiSelectionSupplier.java | 58 public XMultiSelectionSupplier oObj = null; field in _XMultiSelectionSupplier 86 oObj.clearSelection(); in _addSelection() 88 int count = oObj.getSelectionCount(); in _addSelection() 97 oObj.addSelection(selections[i]); in _addSelection() 102 count = oObj.getSelectionCount(); in _addSelection() 112 count = oObj.getSelectionCount(); in _addSelection() 113 oObj.addSelection(selections[0]); in _addSelection() 117 if (count != oObj.getSelectionCount()){ in _addSelection() 118 …log.println("ERROR: the selected count ("+oObj.getSelectionCount() +") is not that before (" + cou… in _addSelection() 125 oObj.addSelection(oObj); in _addSelection() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/sdbc/ |
| H A D | _XResultSet.java | 73 public XResultSet oObj = null ; field in _XResultSet 81 oObj.last() ; in before() 82 log.println("Totally number of rows is " + oObj.getRow()) ; in before() 83 oObj.first() ; in before() 103 oObj.beforeFirst() ; in _beforeFirst() 129 result = oObj.isBeforeFirst() ; in _isBeforeFirst() 144 oObj.afterLast() ; in _afterLast() 170 result = oObj.isAfterLast() ; in _isAfterLast() 185 oObj.first() ; in _first() 211 result = oObj.isFirst() ; in _isFirst() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/awt/tree/ |
| H A D | _XMutableTreeNode.java | 51 public XMutableTreeNode oObj = null; field in _XMutableTreeNode 78 oObj.appendChild(myNode); in _appendChild() 87 oObj.appendChild(myNode); in _appendChild() 97 oObj.appendChild(oObj); in _appendChild() 114 oObj.insertChildByIndex(0, myNode); in _insertChildByIndex() 125 oObj.insertChildByIndex(0, myNode); in _insertChildByIndex() 139 oObj.insertChildByIndex(-3, myNode2); in _insertChildByIndex() 151 oObj.insertChildByIndex(0, oObj); in _insertChildByIndex() 171 oObj.removeChildByIndex(0); in _removeChildByIndex() 179 oObj.removeChildByIndex(-3); in _removeChildByIndex() [all …]
|
| /AOO42X/main/qadevOOo/tests/java/ifc/sheet/ |
| H A D | _XSheetCellCursor.java | 61 public XSheetCellCursor oObj = null; field in _XSheetCellCursor 76 UnoRuntime.queryInterface(XCellRangeAddressable.class, oObj); in _collapseToCurrentArray() 90 oObj.getCellRangeByPosition(0, 0, 0, height - 1); in _collapseToCurrentArray() 104 oObj.collapseToSize (1, 1) ; in _collapseToCurrentArray() 105 oObj.collapseToCurrentArray() ; in _collapseToCurrentArray() 109 XColumnRowRange.class, oObj) ).getColumns().getCount(); in _collapseToCurrentArray() 111 XColumnRowRange.class, oObj) ).getRows().getCount(); in _collapseToCurrentArray() 160 XSpreadsheet oSheet = oObj.getSpreadsheet(); in _collapseToCurrentRegion() 163 oObj.collapseToCurrentRegion(); in _collapseToCurrentRegion() 166 XColumnRowRange.class, oObj) ).getColumns().getCount(); in _collapseToCurrentRegion() [all …]
|