Package: libpf4j-java / 3.8.0+dfsg-2

Metadata

Package Version Patches format
libpf4j-java 3.8.0+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
omit_demo_and_quickstart.patch | (download)

pom.xml | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 only the pf4j module is needed for the library
no_module_expectation.patch | (download)

pf4j/src/main/java/module-info.java | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 omitting "requires" declaration in module-info
 As explained in the file, modules are not provided by the dependencies.
omit_TempDir_annotations_in_tests.patch | (download)

pf4j/src/test/java/org/pf4j/CompoundPluginDescriptorFinderTest.java | 10 8 + 2 - 0 !
pf4j/src/test/java/org/pf4j/DefaultPluginManagerTest.java | 5 3 + 2 - 0 !
pf4j/src/test/java/org/pf4j/DefaultPluginStatusProviderTest.java | 10 8 + 2 - 0 !
pf4j/src/test/java/org/pf4j/DevelopmentPluginRepositoryTest.java | 5 3 + 2 - 0 !
pf4j/src/test/java/org/pf4j/JarPluginManagerTest.java | 6 4 + 2 - 0 !
pf4j/src/test/java/org/pf4j/JarPluginRepositoryTest.java | 11 9 + 2 - 0 !
pf4j/src/test/java/org/pf4j/LegacyExtensionFinderTest.java | 12 10 + 2 - 0 !
pf4j/src/test/java/org/pf4j/LoadPluginsTest.java | 8 5 + 3 - 0 !
pf4j/src/test/java/org/pf4j/ManifestPluginDescriptorFinderTest.java | 5 3 + 2 - 0 !
pf4j/src/test/java/org/pf4j/PluginClassLoaderTest.java | 5 3 + 2 - 0 !
pf4j/src/test/java/org/pf4j/PluginDependencyTest.java | 9 6 + 3 - 0 !
pf4j/src/test/java/org/pf4j/PropertiesPluginDescriptorFinderTest.java | 5 3 + 2 - 0 !
pf4j/src/test/java/org/pf4j/SecurePluginManagerWrapperTest.java | 6 4 + 2 - 0 !
pf4j/src/test/java/org/pf4j/util/FileUtilsTest.java | 11 9 + 2 - 0 !
14 files changed, 78 insertions(+), 30 deletions(-)

 changing the way we create temp dirs during testing
 As of today, the Debian-packaged version of junit5 does not allow to create
 temporary directories with the @TempDir annotation. We use the facilities of
 java.nio.file.Files instead.
 This patch should be removed when junit5 (>= 5.4.0) gets packaged.
omit_tests_needing_google_testing_compile.patch | (download)

pf4j/src/test/java/org/pf4j/AbstractExtensionFinderTest.java | 26 13 + 13 - 0 !
pf4j/src/test/java/org/pf4j/ExtensionAnnotationProcessorTest.java | 12 6 + 6 - 0 !
2 files changed, 19 insertions(+), 19 deletions(-)

 deleting classes needing com.google.testing.compile
 This package is not Debian-packaged and concerns few tests, so we delete the
 test classes needing it.
 This patch should get removed if com.google.testing.compile gets packaged.
omit_mocking_Filer.patch | (download)

pf4j/src/test/java/org/pf4j/processor/ServiceProviderExtensionStorageTest.java | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 omit test failing to mock an interface
 The test log indicates mockito can only mock non-private and non-final
 classes, which is (maybe?) why the interface
 javax.annotation.processing.Filer fails to be mocked.