Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,508 for should (0.03 sec)

  1. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            assertEquals(64, newHash.length); // SHA-512 produces 64 bytes
            assertNotEquals(oldHash, newHash); // Should be different instance
        }
    
        /**
         * Test pre-auth integrity with non-SMB3.1.1 should throw exception
         */
        @Test
        @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1")
        void testPreauthWithNonSmb311() throws Exception {
            // Setup SMB3.0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

            assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message.");
        }
    
        /**
         * Test the NO_NULL_REF static field.
         * Ensures that the static field holds the expected string value.
         */
        @Test
        void testNoNullRefConstant() {
            assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileFilter.java

     * when listing directory contents in SMB shares.
     */
    public interface SmbFileFilter {
    
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFilenameFilter.java

     */
    public interface SmbFilenameFilter {
    
        /**
         * Tests whether the specified filename should be included in a file list.
         *
         * @param dir the directory containing the file
         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. .github/workflows/stale-pr.yml

              # ISSUES (deactivated) ----------------------------------------------
              # This workflow should touch no issues, so times are set to -1
              # (see actions/stale documentation for the behavior)
              days-before-issue-stale: -1
              stale-issue-label: stale
              stale-issue-message: >
                **BUG!** This issue should not be marked stale by the "stale" workflow.
                Please report it to @gradle/bt-support team
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 22:13:29 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // -1 as unsigned short should be 65535
                assertEquals((short) -1, bb.getShort());
                assertEquals(65535, Short.toUnsignedInt((short) -1));
            }
        }
    
        @Nested
        @DisplayName("Integration Tests with SMBUtil")
        class SMBUtilIntegrationTests {
    
            @Test
            @DisplayName("Should use SMBUtil.writeInt2 for referral level")
    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/org/codelibs/fess/cors/CorsHandlerTest.java

            assertNotNull("Allow-Origin header should be set", responseHeaders.get("Access-Control-Allow-Origin"));
            assertNotNull("Allow-Methods header should be set", responseHeaders.get("Access-Control-Allow-Methods"));
            assertNotNull("Allow-Headers header should be set", responseHeaders.get("Access-Control-Allow-Headers"));
            assertNotNull("Max-Age header should be set", responseHeaders.get("Access-Control-Max-Age"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            String value1 = fessConfig.get(testKey);
            String value2 = fessConfig.get(testKey);
    
            // Values should be the same
            assertEquals("Test Fess", value1);
            assertEquals(value1, value2);
        }
    
        // Test property that should be consistent
        public void test_get_propertyFilter() {
            // Test a regular property that passes through
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java

      public void testContainsAll_empty() {
        assertTrue(
            "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testContainsAll_subset() {
        assertTrue(
            "containsAll(subset) should return true",
            collection.containsAll(MinimalCollection.of(e0())));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top