Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
3
Fixed the tests to work with Mockito 2.x
· 6d0d172e
Emmanuel Bourg
authored
Sep 18, 2019
6d0d172e
Standards-Version updated to 4.4.0
· e142f6e0
Emmanuel Bourg
authored
Sep 18, 2019
e142f6e0
Upload to unstable
· 093bf8a8
Emmanuel Bourg
authored
Sep 18, 2019
093bf8a8
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
093bf8a8
afterburner.fx (1.7.0-3) unstable; urgency=medium
* Team upload.
* Fixed the tests to work with Mockito 2.x
* Standards-Version updated to 4.4.0
-- Emmanuel Bourg <ebourg@apache.org> Wed, 18 Sep 2019 00:15:33 +0200
afterburner.fx (1.7.0-2) unstable; urgency=medium
* Update Vcs URLs to point to Salsa
...
...
debian/control
View file @
093bf8a8
...
...
@@ -17,7 +17,7 @@ Build-Depends-Indep: default-jdk-doc,
libopenjfx-java,
xauth,
xvfb
Standards-Version: 4.
3
.0
Standards-Version: 4.
4
.0
Vcs-Git: https://salsa.debian.org/java-team/afterburner.fx.git
Vcs-Browser: https://salsa.debian.org/java-team/afterburner.fx
Homepage: http://afterburner.adam-bien.com
...
...
debian/patches/mockito-compatibility.patch
0 → 100644
View file @
093bf8a8
Description: Fixes the compatibility with the version of Mockito in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/src/test/java/com/airhacks/afterburner/injection/InjectorTest.java
+++ b/src/test/java/com/airhacks/afterburner/injection/InjectorTest.java
@@ -109,7 +109,7 @@
Function<Class<?>, Object> provider = t -> Mockito.mock(t);
Injector.setInstanceSupplier(provider);
Object mock = Injector.instantiateModelOrService(Model.class);
- assertTrue(mock.getClass().getName().contains("ByMockito"));
+ assertTrue(mock.getClass().getName().contains("Mockito"));
Injector.resetInstanceSupplier();
}
--- a/src/test/java/com/airhacks/afterburner/injection/MockingTest.java
+++ b/src/test/java/com/airhacks/afterburner/injection/MockingTest.java
@@ -99,7 +99,7 @@
Injector.setInstanceSupplier(provider);
TopgunView view = new TopgunView();
TopgunPresenter cut = (TopgunPresenter) view.getPresenter();
- assertTrue(cut.getGunService().getClass().getName().contains("ByMockito"));
+ assertTrue(cut.getGunService().getClass().getName().contains("Mockito"));
}
debian/patches/series
View file @
093bf8a8
javafx_pom.patch
javax_pom.patch
disable_shade_jar.patch
mockito-compatibility.patch