Заглушка вместо тестов, чтобы проект собирался
This commit is contained in:
@@ -1,38 +1,11 @@
|
|||||||
package ru.spbstu.telematics.java;
|
package ru.spbstu.telematics.java;
|
||||||
|
|
||||||
import junit.framework.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import junit.framework.TestCase;
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
import junit.framework.TestSuite;
|
|
||||||
|
|
||||||
/**
|
class SampleTests {
|
||||||
* Unit test for simple App.
|
@Test
|
||||||
*/
|
void sampleTest() {
|
||||||
public class AppTest
|
assertTrue(true);
|
||||||
extends TestCase
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Create the test case
|
|
||||||
*
|
|
||||||
* @param testName name of the test case
|
|
||||||
*/
|
|
||||||
public AppTest( String testName )
|
|
||||||
{
|
|
||||||
super( testName );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the suite of tests being tested
|
|
||||||
*/
|
|
||||||
public static Test suite()
|
|
||||||
{
|
|
||||||
return new TestSuite( AppTest.class );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Rigourous Test :-)
|
|
||||||
*/
|
|
||||||
public void testApp()
|
|
||||||
{
|
|
||||||
assertTrue( true );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user