- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for 54321 (0.02 sec)
-
cmd/net_test.go
func TestCheckLocalServerAddr(t *testing.T) { testCases := []struct { serverAddr string expectedErr error }{ {":54321", nil}, {"localhost:54321", nil}, {"0.0.0.0:9000", nil}, {":0", nil}, {"localhost", nil}, {"", fmt.Errorf("invalid argument")}, {"example.org:54321", fmt.Errorf("host in server address should be this server")}, {":-10", fmt.Errorf("port must be between 0 to 65535")}, }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value."); // Test case 2: Negative value int negativeValue = -54321; NdrLong ndrLongNegative = new NdrLong(negativeValue); assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value."); // Test case 3: Zero value
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test void close_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int errorCode = 54321; // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test void close_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange int errorCode = 54321; // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
internal/config/config_test.go
{ input: `enable=on format=namespace connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable" table=holicrayoli`, keys: []string{"enable", "connection_string", "comment", "format", "table"}, expectedFields: map[string]struct{}{ `enable=on`: {}, `format=namespace`: {}, `connection_string=" host=localhost port=5432 dbname = cesnietor sslmode=disable"`: {}, `table=holicrayoli`: {}, }, },Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FunnelsTest.java
@NullUnmarked public class FunnelsTest extends TestCase { public void testForBytes() { PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnels.byteArrayFunnel().funnel(new byte[] {4, 3, 2, 1}, primitiveSink); verify(primitiveSink).putBytes(new byte[] {4, 3, 2, 1}); } public void testForBytes_null() { assertNullsThrowException(Funnels.byteArrayFunnel()); } public void testForStrings() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
// Verify that the method was called with the correct argument verify(mockResponse, times(1)).setMid(mid); } @Test void testGetMid() { long mid = 54321L; when(mockResponse.getMid()).thenReturn(mid); assertEquals(mid, mockResponse.getMid()); // Verify the method was called verify(mockResponse, times(1)).getMid(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
@DisplayName("writeULong writes little endian bytes") void testWriteULong() { byte[] dest = new byte[4]; NtlmMessage.writeULong(dest, 0, 0x01020304); assertArrayEquals(new byte[] { 4, 3, 2, 1 }, dest, "Writer must be little‑endian"); } @Test @DisplayName("writeULong handles negative values as unsigned") void testWriteULongNegative() { byte[] dest = new byte[4];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)