Searched refs:caughtExpected (Results 1 – 10 of 10) sorted by relevance
| /AOO42X/main/dbaccess/qa/complex/dbaccess/ |
| H A D | PropertyBag.java | 72 boolean caughtExpected = false; in checkBasics() 77 catch(com.sun.star.lang.IllegalArgumentException e) { caughtExpected = true; } in checkBasics() 79 if ( !caughtExpected ) in checkBasics() 85 caughtExpected = false; in checkBasics() 91 catch(com.sun.star.beans.PropertyExistException e) { caughtExpected = true; } in checkBasics() 93 if ( !caughtExpected ) in checkBasics() 100 caughtExpected = false; in checkBasics() 105 catch(com.sun.star.beans.NotRemoveableException e) { caughtExpected = true; } in checkBasics() 107 if ( !caughtExpected ) in checkBasics() 113 caughtExpected = false; in checkBasics() [all …]
|
| H A D | QueryInQuery.java | 120 boolean caughtExpected = false; in checkNameCollisions() 125 catch ( WrappedTargetException e ) { caughtExpected = true; } in checkNameCollisions() 127 catch ( ElementExistException e ) { caughtExpected = true; } in checkNameCollisions() 129 caughtExpected ); in checkNameCollisions() 137 caughtExpected = false; in checkNameCollisions() 142 catch ( SQLException e ) { caughtExpected = true; } in checkNameCollisions() 145 caughtExpected ); in checkNameCollisions() 160 boolean caughtExpected = false; in checkCyclicReferences() 162 …catch ( SQLException e ) { caughtExpected = ( e.ErrorCode == -com.sun.star.sdb.ErrorCondition.PARS… in checkCyclicReferences() 164 … assertTrue( "executing a query with cyclic nested sub queries should fail!", caughtExpected ); in checkCyclicReferences()
|
| H A D | TestCase.java | 144 boolean caughtExpected = noExceptionAllowed ? true : false; in assureException() 152 caughtExpected = noExceptionAllowed in assureException() 158 caughtExpected = false; in assureException() 161 assertTrue( _message, caughtExpected ); in assureException()
|
| H A D | Parser.java | 128 boolean caughtExpected = false; in checkJoinSyntax() 135 caughtExpected = true; in checkJoinSyntax() 138 "test is bogus!", caughtExpected ); in checkJoinSyntax()
|
| /AOO42X/main/sfx2/qa/complex/sfx2/ |
| H A D | UndoManager.java | 801 boolean caughtExpected = false; in impl_testLocking() 802 … try { i_undoManager.unlock(); } catch ( final NotLockedException e ) { caughtExpected = true; } in impl_testLocking() 803 assertTrue( "unlocking the manager when it is not locked should throw", caughtExpected ); in impl_testLocking() 909 boolean caughtExpected = false; in impl_testErrorHandling() 911 catch( final EmptyUndoStackException e ) { caughtExpected = true; } in impl_testErrorHandling() 912 …ing the title of the current Undo action is expected to fail for an empty stack", caughtExpected ); in impl_testErrorHandling() 914 caughtExpected = false; in impl_testErrorHandling() 916 catch( final EmptyUndoStackException e ) { caughtExpected = true; } in impl_testErrorHandling() 917 …ing the title of the current Redo action is expected to fail for an empty stack", caughtExpected ); in impl_testErrorHandling() 919 caughtExpected = false; in impl_testErrorHandling() [all …]
|
| /AOO42X/main/forms/qa/integration/forms/ |
| H A D | FormPropertyBags.java | 115 boolean caughtExpected = false; in checkSomething() 117 catch( PropertyExistException e ) { caughtExpected = true; } in checkSomething() 120 caughtExpected ); in checkSomething() 145 boolean caughtExpected = false; in impl_checkPropertyValueNotification() 147 catch( PropertyVetoException e ) { caughtExpected = true; } in impl_checkPropertyValueNotification() 150 caughtExpected ); in impl_checkPropertyValueNotification() 181 boolean caughtExpected = false; in impl_checkPropertyPersistence() 183 catch( UnknownPropertyException e ) { caughtExpected = true; } in impl_checkPropertyPersistence() 184 assure( "transient property did survive reload!", caughtExpected ); in impl_checkPropertyPersistence()
|
| /AOO42X/main/toolkit/qa/complex/toolkit/ |
| H A D | Assert.java | 60 boolean caughtExpected = noExceptionAllowed ? true : false; in assertException() 81 caughtExpected = noExceptionAllowed in assertException() 87 caughtExpected = false; in assertException() 90 assertTrue( i_message, caughtExpected ); in assertException()
|
| H A D | GridControl.java | 306 boolean caughtExpected = false; in testGridColumnModel() 314 caughtExpected = true; in testGridColumnModel() 316 … "adding a dummy (self-implemented) grid column to the model should not succeed", caughtExpected ); in testGridColumnModel()
|
| /AOO42X/main/qadevOOo/runner/complexlib/ |
| H A D | Assurance.java | 274 boolean caughtExpected = noExceptionAllowed ? true : false; in assureException() 282 caughtExpected = noExceptionAllowed in assureException() 288 caughtExpected = false; in assureException() 291 assure( _message, caughtExpected ); in assureException()
|
| /AOO42X/main/stoc/test/uriproc/ |
| H A D | test_uriproc.cxx | 866 bool caughtExpected = false; in TEST_F() local 871 caughtExpected = true; in TEST_F() 877 caughtExpected, in TEST_F() 880 caughtExpected = false; in TEST_F() 887 caughtExpected = true; in TEST_F() 893 caughtExpected, in TEST_F()
|