- Sort Score
- Result 10 results
- Languages All
Results 601 - 610 of 1,745 for expected (2.26 sec)
-
src/test/java/jcifs/smb/SmbFileFilterTest.java
@MethodSource("nameCases") @DisplayName("accept: name-based filter handles normal, empty, and null names") void accept_nameBasedFilter_handlesEdgeNames(String name, boolean expected) throws Exception { // Arrange: filter that accepts non-empty names ending with .txt SmbFileFilter filter = f -> { String n = f.getName();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBasedTable.java
} /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys * @param expectedCellsPerRow the expected number of column key / value mappings in each row * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is * negative */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBasedTable.java
} /** * Creates an empty {@code HashBasedTable} with the specified map sizes. * * @param expectedRows the expected number of distinct row keys * @param expectedCellsPerRow the expected number of column key / value mappings in each row * @throws IllegalArgumentException if {@code expectedRows} or {@code expectedCellsPerRow} is * negative */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
* Since it's an interface with only static final fields, there is no complex logic to test. */ @Test void testConstants() { // A simple assertion to verify that some of the constants have the expected values. // This confirms that the class is on the classpath and its fields are accessible. assertEquals("1.2.840.113554.1.2.2", KerberosConstants.KERBEROS_OID, "KERBEROS_OID should have the correct value.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (1) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
// Decode fileInternalInfo.decode(buffer, 0, buffer.length); // Test toString String result = fileInternalInfo.toString(); // Verify string contains expected components assertNotNull(result); assertTrue(result.contains("SmbQueryFileInternalInfo")); assertTrue(result.contains("indexNumber="));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
assertFailsWith<IOException> { anotherClient.newCall(request).execute() }.also { expected -> when (expected) { is SSLException, is TlsFatalAlert -> {} else -> throw expected } } } @Test fun connectionsAreNotReusedIfHostnameVerifierChanges() { enableHttps() server.enqueue(MockResponse())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 12.2K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
future.get(10, SECONDS); assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing())); latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() { Runnable[] currentTask = new Runnable[1];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/benchmark-utils_test.go
if err != nil { b.Fatal(err) } if objInfo.ETag != md5hex { b.Fatalf("Write no: %d: Md5Sum mismatch during object write into the bucket: Expected %s, got %s", i+1, objInfo.ETag, md5hex) } } // Benchmark ends here. Stop timer. b.StopTimer() } // Benchmark utility functions for ObjectLayer.PutObjectPart().Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
} /** * Helper method to verify n-fold expansion. */ private void verifyNfold(String input, int outlen, byte[] expected) { byte[] result = PacMac.expandNFold(input.getBytes(), outlen); assertArrayEquals(expected, result, String.format("n-fold expansion failed for input '%s'", input)); } /** * Test method forRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
* @param oldValue the expected data currently associated with the key, may be {@code null} * @param newValue the data to associate with the key, may be {@code null} to remove the mapping * @return {@code true} if the key mapping was successfully updated from the old value to the new value, * {@code false} if the current key mapping didn't match the expected value and was not updated. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Feb 28 23:31:09 UTC 2024 - 4.7K bytes - Viewed (0)