-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2baab9
commit ad5181a
Showing
3 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Copyright 2012-2022 Michael Pozhidaev <[email protected]> | ||
Copyright 2012-2024 Michael Pozhidaev <[email protected]> | ||
This file is part of LUWRAIN. | ||
|
@@ -16,9 +16,10 @@ | |
|
||
package org.luwrain.linux; | ||
|
||
import org.junit.*; | ||
import org.junit.jupiter.api.*; | ||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
public class BashProcessTest extends Assert | ||
public class BashProcessTest | ||
{ | ||
@Test public void escapeEmpty() | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Copyright 2012-2022 Michael Pozhidaev <[email protected]> | ||
Copyright 2012-2024 Michael Pozhidaev <[email protected]> | ||
This file is part of LUWRAIN. | ||
|
@@ -19,11 +19,12 @@ | |
import java.io.*; | ||
import java.net.*; | ||
|
||
import org.junit.*; | ||
import org.junit.jupiter.api.*; | ||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
import org.luwrain.core.*; | ||
|
||
public class PartedTest extends Assert | ||
public class PartedTest | ||
{ | ||
private Parted parted = null; | ||
|
||
|
@@ -35,7 +36,7 @@ public class PartedTest extends Assert | |
assertEquals(Parted.GPT, parted.getPartTableType()); | ||
} | ||
|
||
@Before public void create() | ||
@BeforeEach public void create() | ||
{ | ||
this.parted = new Parted("/dev/nvme0n1", caller()); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Copyright 2012-2022 Michael Pozhidaev <[email protected]> | ||
Copyright 2012-2024 Michael Pozhidaev <[email protected]> | ||
This file is part of LUWRAIN. | ||
|
@@ -19,11 +19,12 @@ | |
import java.io.*; | ||
import java.net.*; | ||
|
||
import org.junit.*; | ||
import org.junit.jupiter.api.*; | ||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
import org.luwrain.linux.*; | ||
|
||
public class NmCliTest extends Assert | ||
public class NmCliTest | ||
{ | ||
private NmCli nmCli = null; | ||
|
||
|
@@ -42,7 +43,7 @@ public class NmCliTest extends Assert | |
assertNotNull("DIRECT-Pp-BRAVIA", i.getName()); | ||
} | ||
|
||
@Before public void create() | ||
@BeforeEach public void create() | ||
{ | ||
this.nmCli = new NmCli(caller()); | ||
} | ||
|