Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,612 for EXPECTED (0.05 seconds)

  1. tensorflow/c/eager/gradient_checker_test.cc

    // These tests should not be confused with `[*]_grad_test` which compare the
    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    // functionality of `gradient_checker` by comparing the result with expected
    // manual user-provided gradients.
    class GradientCheckerTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/StringsTest.java

            void testMaskSecretValueWithCredentials(String input, String expected) {
                // When
                String result = Strings.maskSecretValue(input);
    
                // Then
                assertEquals(expected, result, "Should mask password in SMB URL");
            }
    
            @ParameterizedTest
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

        }
    
        @Test
        public void test_fessConfig_ignoreEmptyContent() {
            final FessConfig config = ComponentUtil.getFessConfig();
            // Verify the config returns the expected default value (false)
            assertFalse(config.isCrawlerDocumentFileIgnoreEmptyContent());
        }
    
        @Test
        public void test_responseData_defaultValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbPipeHandleTest.java

            }
        }
    
        /**
         * Tests the unwrap functionality.
         */
        @Nested
        public class UnwrapFunctionalityTest {
    
            /**
             * Verifies that unwrap returns the expected underlying object.
             */
            @Test
            public void testUnwrap() {
                when(smbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. internal/mountinfo/mountinfo_linux.go

    // CheckCrossDevice - check if given path has any sub-mounts in the input mounts list.
    func (mts mountInfos) checkCrossMounts(path string) error {
    	if !filepath.IsAbs(path) {
    		return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path)
    	}
    	var crossMounts mountInfos
    	for _, mount := range mts {
    		// Add a separator to indicate that this is a proper mount-point.
    		// This is to avoid a situation where prefix is '/tmp/fsmount'
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            for (String uri : imageUris) {
                resetMocks();
                mockRequest.setRequestURI(uri);
                testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
                assertTrue("Expected pass-through for: " + uri, mockFilterChain.wasDoFilterCalled());
            }
        }
    
        @Test
        public void test_doFilter_fontExcluded() throws IOException, ServletException {
            setConfig(10, 10);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            } else if (exception instanceof NullPointerException) {
                // Empty input causes null ASN1 object, which is expected behavior
                assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""),
                        "NullPointerException should be from null ASN1 object.");
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. cmd/metacache.go

    	if objAPI == nil {
    		internalLogIf(ctx, errors.New("metacache.delete: no object layer"))
    		return
    	}
    	ez, ok := objAPI.(deleteAllStorager)
    	if !ok {
    		bugLogIf(ctx, errors.New("metacache.delete: expected objAPI to be 'deleteAllStorager'"))
    		return
    	}
    	ez.deleteAll(ctx, minioMetaBucket, metacachePrefixForID(m.bucket, m.id))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 16:23:16 GMT 2024
    - 6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.finishCrawling = true;
            indexUpdater.destroy();
            // finishCrawling should be set when max empty list count is exceeded
            // In test environment this may not work as expected
            // assertTrue(indexUpdater.finishCrawling);
        }
    
        // Test addFinishedSessionId
        @Test
        public void test_addFinishedSessionId() {
            final String sessionId = "session123";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

                            "Should throw SMBProtocolDecodingException for invalid structure size");
    
            assertEquals("Expected structureSize = 9", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 23.5K bytes
    - Click Count (0)
Back to Top