Search Options

Results per page
Sort
Preferred Languages
Advance

Results 7801 - 7810 of 7,967 for THE (0.03 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                new KerberosPacAuthData(noBufPac, keys);
            });
            assertTrue(e.getMessage().contains("PAC"));
        }
    
        // Test getPac() returns the Pac object
        @Test
        void testGetPac() throws PACDecodingException {
            byte[] keyBytes = new byte[32];
            KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        private SmbTransport transport;
    
        @Mock
        private SmbTree tree;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(session, transport, tree);
        }
    
        // Happy path: isInUse returns the mocked state
        @ParameterizedTest
        @DisplayName("isInUse reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacMacTest.java

    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            PropertyConfiguration testConfig = new PropertyConfiguration(props);
    
            // Then
            assertEquals("UTF-8", testConfig.getOemEncoding());
            // Note: getNativeCharset() is not available in the Configuration interface
            // Test a different configuration property instead
            assertTrue(testConfig.getNetbiosSoTimeout() > 0);
        }
    
        @Test
        @DisplayName("Should handle network properties")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        void testToString() {
            SmbResourceLocatorImpl l = locator("smb://server/share");
            String s = l.toString();
            assertTrue(s.startsWith("smb://server/share"));
            // The toString() format may vary, just check it includes the URL
            assertNotNull(s);
        }
    
        @Test
        @DisplayName("updateType overrides computed type until changed")
        void testUpdateType() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

        void testNextElementFirstCall() {
            Object element = transaction.nextElement();
            assertSame(transaction, element, "First nextElement should return the transaction itself");
        }
    
        @Test
        @DisplayName("Test nextElement() changes command on second call")
        void testNextElementSecondCall() {
            // First call - primary
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/StringsTest.java

            void testFindUNITerminationNotFound() {
                // Given
                byte[] bufferWithoutTermination = "Hello".getBytes(StandardCharsets.UTF_16LE);
    
                // When & Then - the implementation throws ArrayIndexOutOfBoundsException when buffer bounds are exceeded
                assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. docs/ja/docs/index.md

    ---
    
    "_私は**FastAPI**にワクワクしています。 めちゃくちゃ楽しいです!_"
    
    <div style="text-align: right; margin-right: 10%;">Brian Okken - <strong><a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855" target="_blank">Python Bytes</a> podcast host</strong> <a href="https://x.com/brianokken/status/1112220079972728832" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbExceptionTest.java

            // Test potentially retriable errors
            SmbException sharingViolation = new SmbException(NtStatus.NT_STATUS_SHARING_VIOLATION, false);
            // Sharing violations might be retriable in some contexts
            // The implementation determines this
            assertNotNull(sharingViolation);
        }
    
        @Test
        @DisplayName("Should preserve stack trace information")
        void testStackTracePreservation() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. docs/es/docs/how-to/custom-request-and-route.md

    /// tip | Consejo
    
    Para resolver este mismo problema, probablemente sea mucho más fácil usar el `body` en un manejador personalizado para `RequestValidationError` ([Manejo de Errores](../tutorial/handling-errors.md#use-the-requestvalidationerror-body){.internal-link target=_blank}).
    
    Pero este ejemplo sigue siendo válido y muestra cómo interactuar con los componentes internos.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top