fix: disable usage of JDK Unsafe class in GSON (#2341)
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package jadx.gui.update
|
||||
|
||||
import jadx.gui.settings.JadxUpdateChannel
|
||||
import org.junit.jupiter.api.Disabled
|
||||
import org.junit.jupiter.api.Test
|
||||
|
||||
/**
|
||||
* Test updates fetch.
|
||||
* All tests disabled because of network requests, run manually on JadxUpdate changes
|
||||
*/
|
||||
@Disabled("Network requests")
|
||||
class TestJadxUpdate {
|
||||
|
||||
@Test
|
||||
fun testStableCheck() {
|
||||
JadxUpdate("1.5.0").checkForNewRelease(JadxUpdateChannel.STABLE)?.let {
|
||||
println("Latest release: $it")
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun testUnstableCheck() {
|
||||
JadxUpdate("r2000").checkForNewRelease(JadxUpdateChannel.UNSTABLE)?.let {
|
||||
println("Latest unstable: $it")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user