You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2019/06/05 19:39:18 UTC

[lucene-solr] branch master updated: SOLR-13518: extra assertNotNull info for SolrInfoBeanTest

This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new 757e454  SOLR-13518: extra assertNotNull info for SolrInfoBeanTest
757e454 is described below

commit 757e4548c7390d4900cb4fe433e17d14a7b4a2ee
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Wed Jun 5 20:15:58 2019 +0100

    SOLR-13518: extra assertNotNull info for SolrInfoBeanTest
---
 solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java b/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
index e44414d..57a7d87 100644
--- a/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
+++ b/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
@@ -69,9 +69,9 @@ public class SolrInfoBeanTest extends SolrTestCaseJ4
           }
           
           //System.out.println( info.getClass() );
-          assertNotNull( info.getName() );
-          assertNotNull( info.getDescription() );
-          assertNotNull( info.getCategory() );
+          assertNotNull( info.getClass().getCanonicalName(), info.getName() );
+          assertNotNull( info.getClass().getCanonicalName(), info.getDescription() );
+          assertNotNull( info.getClass().getCanonicalName(), info.getCategory() );
           
           if( info instanceof LRUCache ) {
             continue;