_XToolkit.java (ef39d40d) | _XToolkit.java (bb6af6bc) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 75 unchanged lines hidden (view full) --- 84 createDesc(new Rectangle(0,0,100,100))); 85 if (cWin == null) { 86 log.println("createWindow() create a NULL Object"); 87 } else { 88 UnoRuntime.queryInterface(XComponent.class, cWin).dispose(); 89 res = true; 90 } 91 } catch (com.sun.star.lang.IllegalArgumentException ex) { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 75 unchanged lines hidden (view full) --- 84 createDesc(new Rectangle(0,0,100,100))); 85 if (cWin == null) { 86 log.println("createWindow() create a NULL Object"); 87 } else { 88 UnoRuntime.queryInterface(XComponent.class, cWin).dispose(); 89 res = true; 90 } 91 } catch (com.sun.star.lang.IllegalArgumentException ex) { |
92 log.println("Exception occured while checking 'createWindow':"); | 92 log.println("Exception occurred while checking 'createWindow':"); |
93 ex.printStackTrace(log); 94 } 95 tRes.tested("createWindow()", res); 96 } 97 98 /** 99 * After defining of WindowDescriptor array, test calls the method. <p> 100 * Has <b> OK </b> status if all elements of the returned array are --- 9 unchanged lines hidden (view full) --- 110 if ( (cWins[0] == null) || (cWins[1] == null) ) { 111 log.println("createWindows() creates NULL Windows"); 112 } else { 113 UnoRuntime.queryInterface(XComponent.class, cWins[0]).dispose(); 114 UnoRuntime.queryInterface(XComponent.class, cWins[1]).dispose(); 115 res = true; 116 } 117 } catch (com.sun.star.lang.IllegalArgumentException ex) { | 93 ex.printStackTrace(log); 94 } 95 tRes.tested("createWindow()", res); 96 } 97 98 /** 99 * After defining of WindowDescriptor array, test calls the method. <p> 100 * Has <b> OK </b> status if all elements of the returned array are --- 9 unchanged lines hidden (view full) --- 110 if ( (cWins[0] == null) || (cWins[1] == null) ) { 111 log.println("createWindows() creates NULL Windows"); 112 } else { 113 UnoRuntime.queryInterface(XComponent.class, cWins[0]).dispose(); 114 UnoRuntime.queryInterface(XComponent.class, cWins[1]).dispose(); 115 res = true; 116 } 117 } catch (com.sun.star.lang.IllegalArgumentException ex) { |
118 log.println("Exception occured while checking 'createWindows':"); | 118 log.println("Exception occurred while checking 'createWindows':"); |
119 ex.printStackTrace(log); 120 } 121 tRes.tested("createWindows()", res); 122 } 123 124 /** 125 * Test calls the method. <p> 126 * Has <b> OK </b> status if the method does not return null. --- 26 unchanged lines hidden --- | 119 ex.printStackTrace(log); 120 } 121 tRes.tested("createWindows()", res); 122 } 123 124 /** 125 * Test calls the method. <p> 126 * Has <b> OK </b> status if the method does not return null. --- 26 unchanged lines hidden --- |