mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
Configure jMockit for desktop module
This commit is contained in:
parent
e31a314904
commit
fe864724f3
2 changed files with 7 additions and 3 deletions
|
@ -318,6 +318,13 @@ configure(project(':desktop')) {
|
|||
testCompileOnly "org.projectlombok:lombok:$lombokVersion"
|
||||
testAnnotationProcessor "org.projectlombok:lombok:$lombokVersion"
|
||||
}
|
||||
|
||||
test {
|
||||
systemProperty 'jdk.attach.allowAttachSelf', true
|
||||
|
||||
def jmockit = configurations.testCompile.files.find { it.name.contains("jmockit") }.absolutePath
|
||||
jvmArgs "-javaagent:$jmockit"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -60,13 +60,10 @@ import mockit.MockUp;
|
|||
import mockit.Tested;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
//TODO @Christoph Can you have a look why JMockit is nto working anymore in that module?
|
||||
@Ignore
|
||||
public class TradesChartsViewModelTest {
|
||||
@Tested
|
||||
TradesChartsViewModel model;
|
||||
|
|
Loading…
Add table
Reference in a new issue