- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for testMakingUserPermissionsFromScratch (0.23 sec)
-
android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
*/ String save = System.getProperty("user.name"); System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?"); try { TempFileCreator.testMakingUserPermissionsFromScratch(); assertThat(isJava8()).isFalse(); } catch (IOException expectedIfJava8) { assertThat(isJava8()).isTrue(); } finally { System.setProperty("user.name", save); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java
*/ String save = System.getProperty("user.name"); System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?"); try { TempFileCreator.testMakingUserPermissionsFromScratch(); assertThat(isJava8()).isFalse(); } catch (IOException expectedIfJava8) { assertThat(isJava8()).isTrue(); } finally { System.setProperty("user.name", save); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/io/TempFileCreator.java
* without needing a separate VM or classloader. */ @IgnoreJRERequirement // used only when Path is available (and only from tests) @VisibleForTesting static void testMakingUserPermissionsFromScratch() throws IOException { // All we're testing is whether it throws. FileAttribute<?> unused = JavaNioCreator.userPermissions().get(); } @IgnoreJRERequirement // used only when Path is available
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0)