diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:07 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:07 +0200 |
commit | e076213c4e1a1708e70c3ac65180c6a3ceb04349 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java | |
parent | b9bff9906e94ef3b1c8d6da779269122d39d8354 (diff) |
recreated tag libreoffice-3.3.1.1 which had these commits:
commit 51b472e78a48fc214cb73929bc1e7fc273838d57 (tag: refs/tags/libreoffice-3.3.1.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Feb 8 18:07:46 2011 +0100
Version 3.3.1.1, tag libreoffice-3.3.1.1 (3.3.1-rc1)
commit 4a7775fc7f2f9f18063e5c137deb1e3edb0c1caf
Author: Jan Holesovsky <kendy@suse.cz>
Date: Mon Feb 7 21:23:30 2011 +0100
Branch libreoffice-3-3-1
This is 'libreoffice-3-3-1' - the stable branch for the 3.3.1 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.3.x release,
please use the 'libreoffice-3-3' branch.
If you want to build something cool, unstable, and risky, use master.
commit 5c1062b2bb1697eeca47e551eef913813efd0eaa
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 11 23:05:58 2011 +0100
Please, ignore the previous message; it was for the libreoffice-3-3-0 branch
This is 'libreoffice-3-3' - the stable branch for the 3.3.x releases.
Only safe changes, reviewed by anoter person are allowed.
If you want to build something cool, unstable, and risky, use master.
commit 5874d96a88795f941f8a900d9834e2704e8884ae
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 11 22:39:09 2011 +0100
Branch libreoffice-3-3-0
This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.3.x release,
please use the 'libreoffice-3-3' branch.
If you want to build something cool, unstable, and risky, use master.
Notes
split repo tag: testing_libreoffice-3.3.1.1
split repo tag: testing_libreoffice-3.3.1.2
Diffstat (limited to 'qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java index 39193787a857..6cf29ee71dae 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.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 @@ -32,15 +32,15 @@ import com.sun.star.configuration.backend.XLayerImporter; import lib.MultiMethodTest; public class _XLayerImporter extends MultiMethodTest { - - public XLayerImporter oObj; + + public XLayerImporter oObj; public XBackend xBackend = null; - + public void _getTargetBackend() { xBackend = oObj.getTargetBackend(); tRes.tested("getTargetBackend()", xBackend != null); } - + public void _importLayer() { boolean res = false; log.println("checking for exception is argument null is given"); @@ -49,22 +49,22 @@ public class _XLayerImporter extends MultiMethodTest { log.println("\tException expected -- FAILED"); } catch (com.sun.star.lang.NullPointerException ne) { res = true; - log.println("\tExpected exception was thrown -- OK"); + log.println("\tExpected exception was thrown -- OK"); } catch (com.sun.star.configuration.backend.MalformedDataException mde) { res = false; - log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.IllegalArgumentException iae) { res = false; - log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.WrappedTargetException wte) { res = false; - log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); } - + log.println("checking own implementation of XLayer"); try { util.XLayerImpl xLayer = new util.XLayerImpl(); - oObj.importLayer(xLayer); + oObj.importLayer(xLayer); if (! xLayer.hasBeenCalled()) { log.println("\tXLayer hasn't been imported -- FAILED"); res &= false; @@ -74,21 +74,21 @@ public class _XLayerImporter extends MultiMethodTest { } } catch (com.sun.star.lang.NullPointerException ne) { res &= false; - log.println("\tExpected exception "+ne+" was thrown -- FAILED"); + log.println("\tExpected exception "+ne+" was thrown -- FAILED"); } catch (com.sun.star.configuration.backend.MalformedDataException mde) { res &= false; - log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.IllegalArgumentException iae) { res &= false; - log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.WrappedTargetException wte) { res &= false; - log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); - } - - tRes.tested("importLayer()",res); + log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); + } + + tRes.tested("importLayer()",res); } - + public void _importLayerForEntity() { boolean res = false; log.println("checking for exception for argument (null,\"\")"); @@ -97,22 +97,22 @@ public class _XLayerImporter extends MultiMethodTest { log.println("\tException expected -- FAILED"); } catch (com.sun.star.lang.NullPointerException ne) { res = true; - log.println("\tExpected exception was thrown -- OK"); + log.println("\tExpected exception was thrown -- OK"); } catch (com.sun.star.configuration.backend.MalformedDataException mde) { res = false; - log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.IllegalArgumentException iae) { res = false; - log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.WrappedTargetException wte) { res = false; - log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); } - + log.println("checking own implementation of XLayer"); try { util.XLayerImpl xLayer = new util.XLayerImpl(); - oObj.importLayerForEntity(xLayer,""); + oObj.importLayerForEntity(xLayer,""); if (! xLayer.hasBeenCalled()) { log.println("\tXLayer hasn't been imported -- FAILED"); res &= false; @@ -122,21 +122,21 @@ public class _XLayerImporter extends MultiMethodTest { } } catch (com.sun.star.lang.NullPointerException ne) { res &= false; - log.println("\tExpected exception "+ne+" was thrown -- FAILED"); + log.println("\tExpected exception "+ne+" was thrown -- FAILED"); } catch (com.sun.star.configuration.backend.MalformedDataException mde) { res &= false; - log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.IllegalArgumentException iae) { res &= false; - log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); + log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED"); } catch (com.sun.star.lang.WrappedTargetException wte) { res &= false; - log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); - } - - tRes.tested("importLayerForEntity()",res); + log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED"); + } + + tRes.tested("importLayerForEntity()",res); } - + public void _setTargetBackend() { requiredMethod("getTargetBackend()"); boolean res = false; @@ -148,7 +148,7 @@ public class _XLayerImporter extends MultiMethodTest { res = true; log.println("\tExpected exception was thrown -- OK"); } - + log.println("checking argument previously gained by getTargetBackend"); try { oObj.setTargetBackend(xBackend); @@ -157,10 +157,10 @@ public class _XLayerImporter extends MultiMethodTest { } catch (com.sun.star.lang.NullPointerException ne) { res &= false; log.println("\tException was thrown -- FAILED"); - } - + } + tRes.tested("setTargetBackend()",res); - + } - + } |