- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for getProperty (0.45 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-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) -
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) -
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) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
assertEquals("foo\nbar\nbaz\n", sink.getString()); } public void testWriteLines_withDefaultSeparator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz")); String separator = System.getProperty("line.separator"); assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString()); } public void testClosesOnErrors_copyingFromCharSourceThatThrows() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
* In the future, the use of Unsafe.getLong() should be replaced by ByteBuffer.getLong(), * which will have an efficient native implementation in JDK 9. * */ String arch = System.getProperty("os.arch"); if ("amd64".equals(arch)) { theGetter = ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN) ? UnsafeByteArray.UNSAFE_LITTLE_ENDIAN
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 9.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296"); @GwtIncompatible // TODO @AndroidIncompatible // slow public void testDivNonZeroExact() { String runtimeName = System.getProperty("java.runtime.name"); boolean isAndroid = runtimeName != null && runtimeName.contains("Android"); for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) { for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296"); @GwtIncompatible // TODO @AndroidIncompatible // slow public void testDivNonZeroExact() { String runtimeName = System.getProperty("java.runtime.name"); boolean isAndroid = runtimeName != null && runtimeName.contains("Android"); for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) { for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0)