File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
photon-core/src/test/java/org/photonvision/common/configuration Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 2323import com .fasterxml .jackson .core .JsonProcessingException ;
2424import edu .wpi .first .cscore .UsbCameraInfo ;
2525import java .io .IOException ;
26- import java .nio .file .Files ;
2726import java .nio .file .Path ;
2827import java .util .Collection ;
2928import java .util .List ;
3029import org .apache .commons .io .FileUtils ;
3130import org .junit .jupiter .api .BeforeAll ;
32- import org .junit .jupiter .api .BeforeEach ;
3331import org .junit .jupiter .api .Order ;
3432import org .junit .jupiter .api .Test ;
3533import org .junit .jupiter .api .io .TempDir ;
4745import org .photonvision .vision .pipeline .ReflectivePipelineSettings ;
4846
4947public class SQLConfigTest {
50- @ TempDir private static Path tmpDir ;
48+ @ TempDir private Path tmpDir ;
5149
5250 @ BeforeAll
5351 public static void init () {
5452 LoadJNI .loadLibraries ();
5553 }
5654
57- @ BeforeEach
58- public void setup () throws IOException {
59- // Ensure temp dir is empty
60- Files .walk (tmpDir )
61- .filter (path -> !path .equals (tmpDir ))
62- .map (Path ::toFile )
63- .forEach (file -> file .delete ());
64- }
65-
6655 @ Test
6756 @ Order (1 )
6857 public void testMigration () {
You can’t perform that action at this time.
0 commit comments