Improve test failure output
Change-Id: Icfb4af890548a2a11d638c59bb0fb54aaa01a2ed
This commit is contained in:
parent
44cd9a17ca
commit
e18c3848d1
1 changed files with 12 additions and 3 deletions
|
@ -157,15 +157,24 @@ public class _XRowSet extends MultiMethodTest {
|
|||
oObj.removeRowSetListener(listener) ;
|
||||
|
||||
checker.moveCursor() ;
|
||||
result &= !listener.cursorMoved ;
|
||||
if (listener.cursorMoved) {
|
||||
log.println("cursorMoved is erroneously set");
|
||||
result = false;
|
||||
}
|
||||
listener.reset() ;
|
||||
|
||||
checker.changeRow() ;
|
||||
result &= !listener.rowChanged ;
|
||||
if (listener.rowChanged) {
|
||||
log.println("rowChanged is erroneously set");
|
||||
result = false;
|
||||
}
|
||||
listener.reset() ;
|
||||
|
||||
checker.changeRowSet() ;
|
||||
result &= !listener.rowSetChanged ;
|
||||
if (listener.rowSetChanged) {
|
||||
log.println("rowSetChanged is erroneously set");
|
||||
result = false;
|
||||
}
|
||||
|
||||
tRes.tested("removeRowSetListener()", result) ;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue