Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,508 for should (0.04 sec)

  1. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    assertEquals("appendFesenStats should take StringBuilder parameter", 1, method.getParameterCount());
                    assertEquals("appendFesenStats should take StringBuilder", StringBuilder.class, method.getParameterTypes()[0]);
                    break;
                }
            }
    
            assertTrue("Should have appendOsStats method", hasAppendOsStats);
            assertTrue("Should have appendProcessStats method", hasAppendProcessStats);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            assertEquals(fileName, notifications.get(0).getFileName());
        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
            assertFalse(response.isErrorResponseStatus());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

            getMethodName() + "(firstElement) should return 0", 0, find(getOrderedElements().get(0)));
      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java

        assertTrue("contains(present) should return true", collection.contains(e0()));
      }
    
      public void testContains_no() {
        assertFalse("contains(notPresent) should return false", collection.contains(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testContains_nullNotContainedButQueriesSupported() {
        assertFalse("contains(null) should return false", collection.contains(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            assertTrue(decoded > 0, "Decode should return positive length");
    
            assertEquals(NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, resp.getStatus());
            assertArrayEquals(blob, resp.getBlob(), "Security blob should match");
            assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");
            assertTrue(resp.isLoggedInAsGuest(), "Guest/anonymous should be detected");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNotNull(request);
            // The request should be properly created - we can't easily verify headers without mocking framework
        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        public void test_put() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                assertNotNull(bindWithParams, "Constructor should create instance");
                assertEquals(0, bindWithParams.getOpnum(), "Opnum should be 0");
                assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message");
                assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(),
                        "Flags should be set for first and last fragment");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                NdrShort ndrShort = new NdrShort(inputValue);
    
                // Then: Value should be masked with 0xFF (lower 8 bits)
                assertEquals(inputValue & 0xFF, ndrShort.value, "Constructor should mask value with 0xFF");
            }
    
            @Test
            @DisplayName("Should handle zero value correctly")
            void testConstructorZero() {
                // Given/When: Creating NdrShort with zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcErrorTest.java

        void testDcerpcFaultInvalidTag() {
            assertEquals(0x1C000006, DcerpcError.DCERPC_FAULT_INVALID_TAG);
        }
    
        @Test
        @DisplayName("Should verify DCERPC_FAULT_CONTEXT_MISMATCH constant value")
        void testDcerpcFaultContextMismatch() {
            assertEquals(0x1C00001A, DcerpcError.DCERPC_FAULT_CONTEXT_MISMATCH);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

            // Verify the AvPair type is MsvAvTargetName
            assertEquals(AvPair.MsvAvTargetName, avTargetName.getType(), "AvPair type should be MsvAvTargetName");
            // Verify the raw bytes are correctly stored
            assertArrayEquals(rawBytes, avTargetName.getRaw(), "Raw bytes should match the input");
        }
    
        /**
         * Test constructor with a target name string.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top