mirror of https://github.com/rusefi/rusefi.git
19 lines
519 B
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);
|
|
}
|
|
}
|