diff options
Diffstat (limited to 'toolkit/qa')
5 files changed, 0 insertions, 35 deletions
diff --git a/toolkit/qa/complex/toolkit/UnitConversion.java b/toolkit/qa/complex/toolkit/UnitConversion.java index 06e3a35375e6..430bd7ef556a 100644 --- a/toolkit/qa/complex/toolkit/UnitConversion.java +++ b/toolkit/qa/complex/toolkit/UnitConversion.java @@ -187,13 +187,8 @@ public class UnitConversion checkSize(aSize, com.sun.star.util.MeasureUnit.INCH_100TH, "1/100inch"); checkSize(aSize, com.sun.star.util.MeasureUnit.INCH_10TH, "1/10inch"); checkSize(aSize, com.sun.star.util.MeasureUnit.INCH, "inch"); - // checkSize(aSize, com.sun.star.util.MeasureUnit.M, "m"); checkSize(aSize, com.sun.star.util.MeasureUnit.POINT, "point"); checkSize(aSize, com.sun.star.util.MeasureUnit.TWIP, "twip"); - // checkSize(aSize, com.sun.star.util.MeasureUnit.KM, "km"); - // checkSize(aSize, com.sun.star.util.MeasureUnit.PICA, "pica"); - // checkSize(aSize, com.sun.star.util.MeasureUnit.FOOT, "foot"); - // checkSize(aSize, com.sun.star.util.MeasureUnit.MILE, "mile"); } catch (com.sun.star.lang.IllegalArgumentException e) { diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java index b981886ce332..ee13d01092ed 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleComponent.java @@ -47,8 +47,6 @@ import com.sun.star.uno.XInterface; */ public class _XAccessibleComponent { - // private LogWriter log; - public XAccessibleComponent oObj = null; private Rectangle bounds = null ; @@ -60,7 +58,6 @@ public class _XAccessibleComponent { public _XAccessibleComponent(XInterface object/*, LogWriter log*/) { oObj = UnoRuntime.queryInterface( XAccessibleComponent.class, object); - // this.log = log; } /** @@ -83,11 +80,9 @@ public class _XAccessibleComponent { boolean result = true ; int curX = 0; - //while (!oObj.containsPoint(new Point(curX, bounds.Y)) && curX < bounds.Width+bounds.X) { while (!oObj.containsPoint(new Point(curX, 0)) && curX < bounds.Width) { curX++; } - //if ((bounds.X <= curX) && (curX < bounds.Width+bounds.X)) { if (curX < bounds.Width) { System.out.println("Upper bound of box contains point (" + curX + ",0) - OK"); @@ -98,14 +93,12 @@ public class _XAccessibleComponent { } curX = 0; - //while (!oObj.containsPoint(new Point(curX, bounds.Y+bounds.Height - 1)) while (!oObj.containsPoint(new Point(curX, bounds.Height - 1)) && curX < bounds.Width) { System.out.println("Contains returns false for ("+curX+","+bounds.Height+")"); curX++; } - //if ((bounds.X <= curX) && (curX < bounds.Width+bounds.X)) { if (curX < bounds.Width) { System.out.println("Lower bound of box contains point (" + curX + "," + (bounds.Height - 1) + ") - OK"); @@ -116,11 +109,9 @@ public class _XAccessibleComponent { } int curY = 0; - //while (!oObj.containsPoint(new Point(bounds.X, curY)) && curY < bounds.Height+bounds.Y) { while (!oObj.containsPoint(new Point(0, curY)) && curY < bounds.Height) { curY++; } - //if ((bounds.Y <= curY) && (curY < bounds.Height+bounds.Y)) { if (curY < bounds.Height) { System.out.println("Left bound of box contains point (0," + curY + ") - OK"); @@ -131,12 +122,9 @@ public class _XAccessibleComponent { } curY = 0; - //while (!oObj.containsPoint(new Point(bounds.X+bounds.Width - 1, curY)) - // && curY < bounds.Height+bounds.Y) { while (!oObj.containsPoint(new Point(bounds.Width - 1, curY)) && curY < bounds.Height) { curY++; } - //if ((bounds.Y <= curY) && (curY < bounds.Height + bounds.Y)) { if (curY < bounds.Height) { System.out.println("Right bound of box contains point (" + (bounds.Width - 1) + "," + curY + ") - OK"); diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java index 71f746f94e82..42c23dd5194c 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleContext.java @@ -26,9 +26,7 @@ import com.sun.star.accessibility.XAccessible; import com.sun.star.accessibility.XAccessibleContext; import com.sun.star.accessibility.XAccessibleRelationSet; import com.sun.star.accessibility.XAccessibleStateSet; -// import com.sun.star.accessibility.AccessibleRelationType; import util.AccessibilityTools; -// import share.LogWriter; /** * Testing <code>com.sun.star.accessibility.XAccessibleContext</code> @@ -50,8 +48,6 @@ import util.AccessibilityTools; */ public class _XAccessibleContext { - // private LogWriter log; - public XAccessibleContext oObj = null; private int childCount = 0; @@ -59,7 +55,6 @@ public class _XAccessibleContext { public _XAccessibleContext(XInterface object) { oObj = UnoRuntime.queryInterface(XAccessibleContext.class, object); - // this.log = log; } /** diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java index 3199f8171512..aab89b01e0cb 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleExtendedComponent.java @@ -18,14 +18,10 @@ package complex.toolkit.accessibility; -// import lib.MultiMethodTest; import com.sun.star.accessibility.XAccessibleExtendedComponent; -// import com.sun.star.accessibility.XAccessibleStateSet; -// import com.sun.star.accessibility.AccessibleStateType; import com.sun.star.awt.XFont; import com.sun.star.uno.XInterface; import com.sun.star.uno.UnoRuntime; -// import share.LogWriter; /** * Testing <code>com.sun.star.accessibility.XAccessibleExtendedComponent</code> @@ -42,7 +38,6 @@ import com.sun.star.uno.UnoRuntime; */ public class _XAccessibleExtendedComponent { - // private LogWriter log; private static final String className = "com.sun.star.accessibility.XAccessibleExtendedComponent" ; @@ -55,7 +50,6 @@ public class _XAccessibleExtendedComponent { public _XAccessibleExtendedComponent(XInterface object/*, LogWriter log*/) { oObj = UnoRuntime.queryInterface(XAccessibleExtendedComponent.class, object); - // this.log = log; } /** diff --git a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java index 6de3a08485ec..33a4f7904a18 100644 --- a/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java +++ b/toolkit/qa/complex/toolkit/accessibility/_XAccessibleText.java @@ -19,9 +19,6 @@ package complex.toolkit.accessibility; import com.sun.star.accessibility.XAccessibleText; -// import lib.MultiMethodTest; -//import lib.StatusException; -//import lib.Status; import com.sun.star.beans.PropertyValue; import com.sun.star.awt.Rectangle; import com.sun.star.awt.Point; @@ -30,7 +27,6 @@ import com.sun.star.accessibility.AccessibleTextType; import com.sun.star.accessibility.TextSegment; import com.sun.star.uno.XInterface; import com.sun.star.uno.UnoRuntime; -// import share.LogWriter; /** * Testing <code>com.sun.star.accessibility.XAccessibleText</code> @@ -67,8 +63,6 @@ import com.sun.star.uno.UnoRuntime; */ public class _XAccessibleText { - // private LogWriter log; - public XAccessibleText oObj = null; private XMultiServiceFactory xMSF; @@ -82,7 +76,6 @@ public class _XAccessibleText { public _XAccessibleText(XInterface object, XMultiServiceFactory xMSF, String editOnly) { oObj = UnoRuntime.queryInterface(XAccessibleText.class, object); this.xMSF = xMSF; - // this.log = log; this.editOnly = editOnly; } |