- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 35 for getProperty (0.18 sec)
-
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); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
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); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Oct 06 17:11:11 GMT 2023 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/StandardSystemProperty.java
/** * Represents a {@linkplain System#getProperties() standard system property}. * * @author Kurt Alfred Kluever * @since 15.0 */ @J2ktIncompatible @GwtIncompatible // java.lang.System#getProperty @ElementTypesAreNonnullByDefault public enum StandardSystemProperty { /** Java Runtime Environment version. */ JAVA_VERSION("java.version"), /** Java Runtime Environment vendor. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/StandardSystemProperty.java
/** * Represents a {@linkplain System#getProperties() standard system property}. * * @author Kurt Alfred Kluever * @since 15.0 */ @J2ktIncompatible @GwtIncompatible // java.lang.System#getProperty @ElementTypesAreNonnullByDefault public enum StandardSystemProperty { /** Java Runtime Environment version. */ JAVA_VERSION("java.version"), /** Java Runtime Environment vendor. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 5.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
assertEquals(expected, property.key()); } } public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertEquals(System.getProperty(property.key()), property.value()); } } public void testToString() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/TestPlatform.java
/** @author Chris Povirk */ @GwtCompatible(emulated = true) class TestPlatform { static boolean intsCanGoOutOfRange() { return false; } static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 10 16:00:00 GMT 2023 - 946 bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
: parseJavaClassPath().toArray(new URL[0]); } /** * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain * System#getProperty system property}. */ // TODO(b/65488446): Make this a public API. @J2ktIncompatible @GwtIncompatible private static ImmutableList<URL> parseJavaClassPath() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 03 20:10:02 GMT 2023 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTester.java
sink.write(data); assertContainsExpectedString(); } public void testWriteLines_systemDefaultSeparator() throws IOException { String separator = System.getProperty("line.separator"); sink.writeLines(lines); assertContainsExpectedLines(separator); } public void testWriteLines_specificSeparator() throws IOException { String separator = "\r\n";
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
assertEquals(expected, property.key()); } } public void testGetValue() { for (StandardSystemProperty property : StandardSystemProperty.values()) { assertEquals(System.getProperty(property.key()), property.value()); } } public void testToString() { for (StandardSystemProperty property : StandardSystemProperty.values()) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 2.4K bytes - Viewed (0)