Merge pull request #5452 from eugenp/fix-libraries-test

rename test to manual
This commit is contained in:
Loredana Crusoveanu 2018-10-14 19:30:01 +03:00 committed by GitHub
commit 3b83096d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,8 +6,10 @@ import org.apache.commons.lang3.SystemUtils;
import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test; import org.junit.Test;
public class SystemsUtilsUnitTest { public class SystemsUtilsManualTest {
// the paths depend on the OS and installed version of Java
@Test @Test
public void givenSystemUtilsClass_whenCalledgetJavaHome_thenCorrect() { public void givenSystemUtilsClass_whenCalledgetJavaHome_thenCorrect() {
assertThat(SystemUtils.getJavaHome()).isEqualTo(new File("/usr/lib/jvm/java-8-oracle/jre")); assertThat(SystemUtils.getJavaHome()).isEqualTo(new File("/usr/lib/jvm/java-8-oracle/jre"));