3131import org .junitpioneer .jupiter .SetSystemProperty ;
3232import org .junitpioneer .jupiter .SetSystemProperty .SetSystemProperties ;
3333
34+ @ SetSystemProperties ({
35+ @ SetSystemProperty (key = SystemPropertiesTest .KEY_SPACE_1 , value = "value1" ),
36+ @ SetSystemProperty (key = SystemPropertiesTest .KEY_TAB_1 , value = "value2" ) })
3437class SystemPropertiesTest {
3538
3639 private static final String KEY_SPACE_1 = " " ;
@@ -703,7 +706,6 @@ void testGetPathSeparator() {
703706 }
704707
705708 @ Test
706- @ SetSystemProperties ({ @ SetSystemProperty (key = KEY_SPACE_1 , value = "value1" ), @ SetSystemProperty (key = KEY_TAB_1 , value = "value2" ) })
707709 void testGetProperty () {
708710 assertNull (SystemProperties .getProperty (null ));
709711 assertNull (SystemProperties .getProperty (StringUtils .EMPTY ));
@@ -712,7 +714,6 @@ void testGetProperty() {
712714 }
713715
714716 @ Test
715- @ SetSystemProperties ({ @ SetSystemProperty (key = KEY_SPACE_1 , value = "value1" ), @ SetSystemProperty (key = KEY_TAB_1 , value = "value2" ) })
716717 void testGetPropertyStringString () {
717718 assertNull (SystemProperties .getProperty (null , (String ) null ));
718719 assertNull (SystemProperties .getProperty (StringUtils .EMPTY , (String ) null ));
@@ -725,7 +726,6 @@ void testGetPropertyStringString() {
725726 }
726727
727728 @ Test
728- @ SetSystemProperties ({ @ SetSystemProperty (key = KEY_SPACE_1 , value = "value1" ), @ SetSystemProperty (key = KEY_TAB_1 , value = "value2" ) })
729729 void testGetPropertyStringSupplier () {
730730 assertNull (SystemProperties .getProperty (null , (Supplier <String >) null ));
731731 assertNull (SystemProperties .getProperty (StringUtils .EMPTY , (Supplier <String >) null ));
0 commit comments