- Sort Score
- Result 10 results
- Languages All
Results 2621 - 2630 of 2,812 for _value (0.05 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertArrayEquals(expectedName, actualName); verify(response, times(1)).getName(); } @Test @DisplayName("getName() should handle null return value") void testGetNameWithNull() { CreateContextResponse response = mock(CreateContextResponse.class); when(response.getName()).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
: new SmbFileHandleImpl(cfg, 33, tC, "//eq/c", 0, 0, 0, 0, 0L); assertNotEquals(hA, hC); } @Test @DisplayName("getInitialSize returns constructor value") void getInitialSize_returnsValue() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(1L, true, true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertSame(handle, out); verify(treeConnection, times(2)).acquire(); // constructor + here } @Test @DisplayName("getRemoteHostName returns transport value and closes resources") void getRemoteHostNameHappyPath() { // Ensures remote host name is sourced from transport and resources are closed when(transport.getRemoteHostName()).thenReturn("remote.example");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
return; } fail("Should get not equal to equal object error"); } /** * Test for an invalid hashCode method, i.e., one that returns different value for objects that * are equal according to the equals method */ public void testInvalidHashCode() { Object a = new InvalidHashCodeObject(1, 2); Object b = new InvalidHashCodeObject(1, 2);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
@Override public Adder apply(Adder adder) { return new FailsToForwardReturnValue(adder); } }, "add(", "Return value"); } public void testFailsToPropagateException() { assertFailure( Adder.class, new Function<Adder, Adder>() { @Override public Adder apply(Adder adder) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
*/ public long getTimestamp() { return timestamp; } /** * Sets the notification timestamp. * * @param timestamp the timestamp value in FILETIME format (100-nanosecond intervals since January 1, 1601 UTC) */ public void setTimestamp(long timestamp) { this.timestamp = timestamp; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } } } // Test objectPartIndex(). generates a sample FileInfo data and asserts // the output of objectPartIndex() with the expected value. func TestObjectPartIndex(t *testing.T) { testCases := []struct { partNum int expectedIndex int }{ {2, 1}, {1, 0}, {5, 3}, {4, 2}, {7, 4}, } // Setup.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
internal/grid/README.md
instance.Register(manager, handler) // The typed instance is also used for calls conn := manager.Connection("host") resp, err := instance.Call(ctx, conn, grid.NewMSSWith(map[string]string{"myfield": "myvalue"})) if err == nil { fmt.Println("Got response with field", resp["result"]) } ``` The wrapper will handle all serialization and de-serialization of the request and response,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
request.writeBytesWireFormat(smallBuffer, 0); }); } @Test @DisplayName("Test file ID boundary values") void testFileIdBoundaryValues() { // Test with file ID having maximum byte values byte[] maxFileId = new byte[16]; Arrays.fill(maxFileId, (byte) 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
internal/grid/grid_test.go
c.outgoing.Range(func(key uint64, value *muxClient) bool { found = append(found, key) return true }) t.Errorf("expected no active streams, got %d outgoing: %v", stats.OutgoingStreams, found) } return } } // Inserted manually. func _() { // An "invalid array index" compiler error signifies that the constant values have changed.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.1K bytes - Viewed (0)