Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 284 for preferred (0.09 sec)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertTrue(ts.contains(ex.getMessage()), "toString should contain the detail message");
        }
    
        @ParameterizedTest(name = "Message preserved: [{0}]")
        @MethodSource("messages")
        @DisplayName("Message constructor preserves provided messages, including null/edge cases")
        void messageConstructor_preservesMessage(String msg) {
            // Arrange & Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            for (String pipeName : pipeNames) {
                TransWaitNamedPipe pipe = new TransWaitNamedPipe(pipeName);
                assertEquals(pipeName, pipe.name, "Pipe name should be preserved: " + pipeName);
                assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION, pipe.command);
                assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, pipe.subCommand);
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            // Act
            SMBSignatureValidationException ex = new SMBSignatureValidationException("msg", mocked);
    
            // Assert
            assertSame(mocked, ex.getCause(), "Mocked cause should be preserved");
            verifyNoInteractions(mocked);
        }
    
        // Reflection-based check: ensure serialVersionUID remains the declared constant
        @Test
        @DisplayName("serialVersionUID matches declared constant")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/net/URLUtil.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Returns a {@link URLConnection} object that represents a connection to the remote object referred to by the URL.
         *
         * @param url
         *            The URL. Must not be {@literal null}.
         * @return A {@link URLConnection} object to the URL.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertTrue(foundPage1);
            assertTrue(foundPage2);
            assertTrue(foundPage3);
        }
    
        public void test_parseXmlSitemaps_withInvalidPriority() {
            // Invalid priority values should be preserved (not validated unless validation is enabled)
            final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
                    + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n" + "  <url>\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertTrue(s.contains("000AFF"), "toString should include MIC hex");
        }
    
        @Test
        @DisplayName("Mechanism ordering is preserved after parse")
        void testMechanismOrderPreserved() throws Exception {
            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_NTLM, OID_KRB, OID_KRB_LEGACY };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Set the deferred field directly since it's a public field
            mockNdrBuffer.deferred = mockDeferredNdrBuffer;
            // Set up deferred buffer chain to avoid NPE
            mockDeferredNdrBuffer.deferred = mockDeferredNdrBuffer; // Self-reference to avoid NPE
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = unicodePath.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify Unicode path is preserved
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

      fun addPlan(): FakePlan =
        FakePlan(nextPlanId++).also {
          plans += it
        }
    
      override fun isCanceled() = canceled
    
      override fun plan(): FakePlan {
        // Return deferred plans preferentially. These don't require addPlan().
        if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan
    
        if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top