/[Apache-SVN]
ViewVC logotype

Revision 1365494


Jump to revision: Previous Next
Author: uschindler
Date: Wed Jul 25 09:01:51 2012 UTC (12 years, 3 months ago)
Changed paths: 2
Log Message:
LUCENE-2510: Add a test that actually "tries" to create a instance from the factory, which currently does not work for all factories (like ResourceLoader required - we have no default Impl outside Solr, or required parameters missing). At least it tests that we get InitializationException. Unfortunatley if ResourceLoaderAware.inform() is not called, some factories NPE or similar. We should fix later and make it better useable outside Solr

Changed paths

Path Details
Directorylucene/dev/branches/lucene2510/lucene/analysis/common/src/test/org/apache/lucene/analysis/core/TestAllAnalyzersHaveFactories.java modified , text changed
Directorylucene/dev/branches/lucene2510/lucene/analysis/common/src/test/org/apache/lucene/analysis/util/TestAnalysisSPILoader.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26