diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc/beans/_XPropertySet.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes:
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/ifc/beans/_XPropertySet.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/beans/_XPropertySet.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java index dfc135843b44..3b06cce03642 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -162,7 +162,7 @@ public class _XPropertySet extends MultiMethodTest { public void _addPropertyChangeListener() { requiredMethod("getPropertySetInfo()"); - + int count = PTT.bound.size(); if ( count==0 || PTT.bound.get(0).equals("none") ) { log.println("*** No bound properties found ***"); @@ -203,7 +203,7 @@ public class _XPropertySet extends MultiMethodTest { } tRes.tested("addPropertyChangeListener()", !error); } - + return; } // end of addPropertyChangeListener() @@ -353,7 +353,7 @@ public class _XPropertySet extends MultiMethodTest { } return runOk; } - + /** * Tests <code>getPropertyValue</code> method. * Just call this method and checks for no exceptions <p> @@ -371,7 +371,7 @@ public class _XPropertySet extends MultiMethodTest { int count = PTT.normal.size(); if ( count==0 || PTT.normal.get(0).equals("none") ) { - Property[] properties = oObj.getPropertySetInfo().getProperties(); + Property[] properties = oObj.getPropertySetInfo().getProperties(); if( properties.length > 0 ) { String propertyName = properties[0].Name; log.println("All properties are Read Only"); @@ -420,7 +420,7 @@ public class _XPropertySet extends MultiMethodTest { log.println("*** No bound properties found ***"); tRes.tested("removePropertyChangeListener()", true) ; } else { - + //remove all listeners first for (int i = 0; i < count; i++) { String propertyName = PTT.bound.get(i); @@ -432,7 +432,7 @@ public class _XPropertySet extends MultiMethodTest { e.printStackTrace(log); } } - + boolean error = false; for (int i = 0; i < count; i++) { String propertyName = PTT.bound.get(i); @@ -496,7 +496,7 @@ public class _XPropertySet extends MultiMethodTest { log.println("*** No constrained properties found ***"); tRes.tested("removeVetoableChangeListener()", true) ; } else { - + //remove all listeners first for (int i = 0; i < count; i++) { String propertyName = PTT.constrained.get(i); @@ -508,7 +508,7 @@ public class _XPropertySet extends MultiMethodTest { e.printStackTrace(log); } } - + boolean error = false; for (int i = 0; i < count; i++) { String propertyName = PTT.constrained.get(i); @@ -563,7 +563,7 @@ public class _XPropertySet extends MultiMethodTest { Property property = properties[i]; String name = property.Name; - + boolean cont = false; for (int j = 0; j < skip.length; j++) { if (name.equals(skip[j])){ @@ -571,9 +571,9 @@ public class _XPropertySet extends MultiMethodTest { cont = true; } } - + if (cont) continue; - + if (name.equals(oObj)) log.println("Checking '"+name+"'"); boolean isWritable = ((property.Attributes & |