Home
last modified time | relevance | path

Searched refs:caughtExpected (Results 1 – 10 of 10) sorted by relevance

/trunk/main/dbaccess/qa/complex/dbaccess/
H A DPropertyBag.java65 boolean caughtExpected = false; in checkBasics()
70 catch(com.sun.star.lang.IllegalArgumentException e) { caughtExpected = true; } in checkBasics()
72 if ( !caughtExpected ) in checkBasics()
78 caughtExpected = false; in checkBasics()
84 catch(com.sun.star.beans.PropertyExistException e) { caughtExpected = true; } in checkBasics()
86 if ( !caughtExpected ) in checkBasics()
93 caughtExpected = false; in checkBasics()
98 catch(com.sun.star.beans.NotRemoveableException e) { caughtExpected = true; } in checkBasics()
100 if ( !caughtExpected ) in checkBasics()
106 caughtExpected = false; in checkBasics()
[all …]
H A DQueryInQuery.java120 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 DTestCase.java144 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 DParser.java128 boolean caughtExpected = false; in checkJoinSyntax()
135 caughtExpected = true; in checkJoinSyntax()
138 "test is bogus!", caughtExpected ); in checkJoinSyntax()
/trunk/main/sfx2/qa/complex/sfx2/
H A DUndoManager.java801 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 …]
/trunk/main/forms/qa/integration/forms/
H A DFormPropertyBags.java126 boolean caughtExpected = false; in checkSomething()
128 catch( PropertyExistException e ) { caughtExpected = true; } in checkSomething()
131 caughtExpected ); in checkSomething()
156 boolean caughtExpected = false; in impl_checkPropertyValueNotification()
158 catch( PropertyVetoException e ) { caughtExpected = true; } in impl_checkPropertyValueNotification()
161 caughtExpected ); in impl_checkPropertyValueNotification()
192 boolean caughtExpected = false; in impl_checkPropertyPersistence()
194 catch( UnknownPropertyException e ) { caughtExpected = true; } in impl_checkPropertyPersistence()
195 assertTrue( "transient property did survive reload!", caughtExpected ); in impl_checkPropertyPersistence()
/trunk/main/toolkit/qa/complex/toolkit/
H A DAssert.java60 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 DGridControl.java306 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()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/complexlib/
H A DAssurance.java274 boolean caughtExpected = noExceptionAllowed ? true : false; in assureException()
282 caughtExpected = noExceptionAllowed in assureException()
288 caughtExpected = false; in assureException()
291 assure( _message, caughtExpected ); in assureException()
/trunk/main/stoc/test/uriproc/
H A Dtest_uriproc.cxx866 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()