Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 474 for incorrect (0.04 sec)

  1. cmd/signature-v2_test.go

    		{
    			authString:    "NoV2Prefix",
    			expectedError: ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing parts in the Auth string.
    		// below is the correct format of V2 Authorization header.
    		// Authorization = "AWS" + " " + AWSAccessKeyId + ":" + Signature
    		{
    			authString:    signV2Algorithm,
    			expectedError: ErrMissingFields,
    		},
    		// Test case - 4.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

            }
            // We reschedule ourselves with a lock held for two reasons. 1. we want to make sure that
            // cancel calls cancel on the correct future. 2. we want to make sure that the assignment
            // to currentFuture doesn't race with itself so that currentFuture is assigned in the
            // correct order.
            Throwable scheduleFailure = null;
            Cancellable toReturn;
            lock.lock();
            try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
            // Test that the exception has the correct serialVersionUID field
            ScriptEngineException exception = new ScriptEngineException("Serialization test");
    
            // Verify the exception can be created and basic properties work
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            assertTrue(ex.getMessage().contains("failed"));
            verify(session).treeConnectLogon();
        }
    
        // Happy path: getSmbTree returns a tree and receives correct args
        @Test
        @DisplayName("getSmbTree returns tree and captures arguments")
        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    You can have sub-dependencies and "trees" of sub-dependencies of any size and shape, and any or all of them can use `yield`.
    
    **FastAPI** will make sure that the "exit code" in each dependency with `yield` is run in the correct order.
    
    For example, `dependency_c` can have a dependency on `dependency_b`, and `dependency_b` on `dependency_a`:
    
    {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[6,14,22] *}
    
    And all of them can use `yield`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Then
            assertNotNull(address, "Should return address for IP address");
            assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address");
        }
    
        @Test
        @DisplayName("Should get all addresses by name")
        void testGetAllByName() throws UnknownHostException {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/StringsTest.java

                int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length);
    
                // Then
                assertEquals(stringBytes.length, terminationPos, "Should find termination at correct position");
            }
    
            @Test
            @DisplayName("findUNITermination should throw exception when termination not found")
            void testFindUNITerminationNotFound() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertEquals(0, stackTrace.length);
        }
    
        public void test_serialization() {
            // Test that the exception has correct serialVersionUID
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
            int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top