rusefi/java_console/ui/src/test/java/com/rusefi/ui/livedata/SourceReaderTest.java

19 lines
519 B
Java

package com.rusefi.ui.livedata;
import com.rusefi.livedata.LiveDataParserPanel;
import org.junit.jupiter.api.Test;
import java.io.*;
import java.net.URISyntaxException;
import static org.junit.jupiter.api.Assertions.assertNotNull;
public class SourceReaderTest {
@Test
public void testResourceLocated() throws URISyntaxException, IOException {
String fileName = "ac_control.cpp";
String content = LiveDataParserPanel.getContent(getClass(), fileName);
assertNotNull(content);
}
}