Maybe because of an updated OSGi version one gets this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) on project tables-ld: Compilation failure
[ERROR] /var/lib/jenkins/jobs/fusepool-platform/workspace/tables-ld/src/test/java/eu/fusepool/platform/enhancer/engine/csv/testutil/MockComponentContext.java:[62,36] <anonymous eu.fusepool.platform.enhancer.engine.csv.testutil.MockComponentContext$1> is not abstract and does not override abstract method getBundle(java.lang.String) in org.osgi.framework.BundleContext
[ERROR] -> [Help 1]
[ERROR]
In general I'm wondering why the code doesn't use EasyMock or so to create the mock dynamically.
Maybe because of an updated OSGi version one gets this error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:testCompile (default-testCompile) on project tables-ld: Compilation failure [ERROR] /var/lib/jenkins/jobs/fusepool-platform/workspace/tables-ld/src/test/java/eu/fusepool/platform/enhancer/engine/csv/testutil/MockComponentContext.java:[62,36] <anonymous eu.fusepool.platform.enhancer.engine.csv.testutil.MockComponentContext$1> is not abstract and does not override abstract method getBundle(java.lang.String) in org.osgi.framework.BundleContext [ERROR] -> [Help 1] [ERROR]
In general I'm wondering why the code doesn't use EasyMock or so to create the mock dynamically.