lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1525713 - /lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
Date Mon, 23 Sep 2013 22:17:23 GMT
Author: rmuir
Date: Mon Sep 23 22:17:23 2013
New Revision: 1525713

URL: http://svn.apache.org/r1525713
Log:
give more debugging info in this case

Modified:
    lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java

Modified: lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java?rev=1525713&r1=1525712&r2=1525713&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
(original)
+++ lucene/dev/trunk/lucene/test-framework/src/java/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
Mon Sep 23 22:17:23 2013
@@ -392,6 +392,7 @@ public abstract class BaseTokenStreamTes
       // ok: MockTokenizer
       assertTrue(expected.getMessage(), expected.getMessage() != null && expected.getMessage().contains("wrong
state"));
     } catch (Exception unexpected) {
+      unexpected.printStackTrace(System.err);
       fail("got wrong exception when reset() not called: " + unexpected);
     } finally {
       // consume correctly



Mime
View raw message