Un-ignore tests after gradle migration #4669

This commit is contained in:
rusefillc 2022-10-15 19:24:20 -04:00
parent dd70d8b6fe
commit db71f49ec6
2 changed files with 6 additions and 2 deletions

View File

@ -9,6 +9,7 @@ import com.rusefi.config.generated.Fields;
import com.rusefi.tune.xml.Constant;
import com.rusefi.tune.xml.Msq;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import java.nio.file.Files;
@ -19,8 +20,9 @@ import static org.junit.Assert.*;
/**
* from IDEA this unit test needs to be executed with "empty" working directory
*/
@Ignore // todo: https://github.com/rusefi/rusefi/issues/4669
public class TuneReadWriteTest {
private static final String PATH = "ui/src/test/resources/frankenso/";
private static final String PATH = "src/test/resources/frankenso/";
private static final String TEST_INI = PATH + "mainController.ini";
private static final String TEST_BINARY_FILE = PATH + "current_configuration.rusefi_binary";
private static final int LEGACY_TOTAL_CONFIG_SIZE = 20000;

View File

@ -5,6 +5,7 @@ import com.rusefi.enums.live_data_e;
import com.rusefi.ldmp.StateDictionary;
import com.rusefi.livedata.LiveDataParserPanel;
import org.antlr.v4.runtime.tree.ParseTree;
import org.junit.Ignore;
import org.junit.Test;
import java.awt.*;
@ -16,6 +17,7 @@ import static com.rusefi.ui.LiveDataPane.CPP_SUFFIX;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
@Ignore // todo: https://github.com/rusefi/rusefi/issues/4669
public class LiveDataColorTest {
@Test
public void testAllFiles() throws IOException, URISyntaxException {
@ -38,7 +40,7 @@ public class LiveDataColorTest {
private void testSpecificFile(String fileName) throws IOException {
String sourceCode = getContentOrNull(getClass(), fileName);
assertNotNull("sourceCode for " + fileName, sourceCode);
assertNotNull("Not found: sourceCode for " + fileName, sourceCode);
ParseTree tree = LiveDataParserPanel.getParseTree(sourceCode);