Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 1,880 for unexpected (0.06 seconds)

  1. cmd/xl-storage_test.go

    		if err != testCase.expectedErr {
    			t.Errorf("TestXLStorage case %d: Expected: \"%s\", got: \"%s\"", i+1, testCase.expectedErr, err)
    		}
    		if err == nil {
    			for _, expected := range testCase.expectedListDir {
    				if !strings.Contains(strings.Join(dirList, ","), expected) {
    					t.Errorf("TestXLStorage case %d: Expected the directory listing to be \"%v\", but got \"%v\"", i+1, testCase.expectedListDir, dirList)
    				}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java

            assertTrue(exception2.getCause() instanceof IllegalArgumentException);
    
            // Test with RuntimeException
            RuntimeException runtimeException = new RuntimeException("Unexpected error");
            DataStoreCrawlingException exception3 = new DataStoreCrawlingException(url, message, runtimeException);
            assertTrue(exception3.getCause() instanceof RuntimeException);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                assertEquals(123, message.result); // BIND_NAK is treated as fault (ptype 13)
            }
    
            @Test
            @DisplayName("decode should throw NdrException for unexpected ptype")
            void testDecodeThrowsNdrExceptionForUnexpectedPtype() throws NdrException {
                message.ptype = DcerpcConstants.RPC_PT_ALTER_CONTEXT; // 14, not in allowed list
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                fail("setError should throw NullPointerException when passed null exception");
            } catch (NullPointerException e) {
                // Expected - WebApiException constructor cannot handle null exception
                assertTrue("Should get expected NPE message",
                        e.getMessage().contains("Cannot invoke \"java.lang.Exception.getMessage()\" because \"e\" is null"));
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    foundButNotListed = foundButNotListed.collect {'    ' + it}
                    if (false == "".equals(message)) {
                        message += "\n"
                    }
                    message += "Unexpected unconverted snippets:\n"
                    message += foundButNotListed.join("\n")
                }
                if (false == "".equals(message)) {
                    throw new InvalidUserDataException(message);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

                            } catch (IllegalStateException e) {
                                // Expected if closed
                            }
                        }
                    } catch (Exception e) {
                        fail("Unexpected exception: " + e.getMessage());
                    } finally {
                        completeLatch.countDown();
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                } catch (final LdapOperationException e) {
                    logger.warn("LDAP connection failed: {}", e.getMessage(), e);
                } catch (final Exception e) {
                    logger.warn("Unexpected error during LDAP validation: {}", e.getMessage(), e);
                }
            }
            return isBind;
        }
    
        /**
         * Authenticates a user with the specified username and password against LDAP.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  8. tests/query_test.go

    		if name != users[idx].Name {
    			t.Errorf("Unexpected result on pluck name, got %+v", names)
    		}
    	}
    
    	for idx, id := range ids {
    		if int(id) != int(users[idx].ID) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    	for idx, id := range ids2 {
    		if int(id) != int(users[idx].ID+1) {
    			t.Errorf("Unexpected result on pluck id, got %+v", ids)
    		}
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  9. cmd/erasure-healing_test.go

    	_, err = firstDisk.StatVol(t.Context(), pathJoin(bucket, encodeDirObject(object)))
    	if err != nil {
    		t.Fatalf("Expected object to be present but stat failed - %v", err)
    	}
    
    	// Check the state of the object in the first disk (should be missing)
    	if hr.Before.Drives[0].State != madmin.DriveStateMissing {
    		t.Fatalf("Unexpected drive state: %v", hr.Before.Drives[0].State)
    	}
    
    	// Check the state of all other disks (should be ok)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  10. ci/official/utilities/code_check_full.bats

    }
    
    @test "API compatibility test passes, ensuring no unexpected changes to the TF API" {
        bazel test $TFCI_BAZEL_COMMON_ARGS //tensorflow/tools/api/tests:api_compatibility_test
        echo "You have to re-generate the TF API goldens and have the API changes reviewed."
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 28 22:41:17 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top