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:40:21 UTC

[lucene-solr] branch branch_8x 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 branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


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

commit 57c159e476c23b8d2e4d87baece4c807f8556502
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 8220fd1..5f286f4 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;