← 输入框|github.com|刷新
Skip to content

Latest commit

 

History

History
 
 

discovery-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

SciJava Discovery Test: Integration tests for SciJava Discovery

This module exercises Discoverer against Java's ServiceLoader across real module boundaries. It is not intended to be used as a dependency.

Its module-info.java provides sample implementations of org.scijava.ops.spi.Op and org.scijava.ops.spi.OpCollection, and its tests check that a Discoverer built with Discoverer.usingProviders(c -> ServiceLoader.load(c).stream()) finds them.

Note that ServiceLoader can only discover implementations of interfaces that the calling module declares it uses. This module therefore declares:

uses org.scijava.ops.spi.Op;
uses org.scijava.ops.spi.OpCollection;