mirror of https://github.com/rusefi/rusefi.git
only: reducing junit4
This commit is contained in:
parent
d78277a030
commit
294043720e
|
@ -6,10 +6,6 @@ defaultTasks 'jar'
|
|||
|
||||
apply from: '../../java_tools/dependencies.gradle'
|
||||
|
||||
dependencies {
|
||||
testImplementation global_libs.junit
|
||||
}
|
||||
|
||||
jar {
|
||||
destinationDirectory = file( '$rootDir/../..' )
|
||||
manifest {
|
||||
|
@ -17,4 +13,4 @@ jar {
|
|||
'Main-Class': 'com.rusefi.LogicData2C'
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
package com.rusefi;
|
||||
|
||||
import com.rusefi.core.SignatureHelper;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class SignatureHelperTest {
|
||||
@Test
|
||||
public void test() {
|
||||
String url = SignatureHelper.getUrl("rusEFI master.2020.07.06.frankenso_na6.2468827536").first;
|
||||
assertEquals("https://rusefi.com/online/ini/rusefi/master/2020/07/06/frankenso_na6/2468827536.ini", url);
|
||||
Assertions.assertEquals("https://rusefi.com/online/ini/rusefi/master/2020/07/06/frankenso_na6/2468827536.ini", url);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ package com.rusefi.ts_plugin;
|
|||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
|
||||
public class ConnectPanelTest {
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue