From e18c3848d1140f94a3d264b60426788596725a05 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 16 Jun 2014 10:18:09 +0200 Subject: [PATCH] Improve test failure output Change-Id: Icfb4af890548a2a11d638c59bb0fb54aaa01a2ed --- qadevOOo/tests/java/ifc/sdbc/_XRowSet.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java index 0cc5d43b087f..1c77be883789 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java @@ -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) ; }