Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 2,989 for Shouldn (0.43 sec)

  1. src/test/java/jcifs/SmbConstantsTest.java

                    assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns");
                }
            }
        }
    
        @Test
        @DisplayName("Should have resource types with power-of-2 values")
        void testResourceTypeBitPatterns() {
            // Resource types should be powers of 2 for bit flag usage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            @Test
            @DisplayName("Should calculate size for null hash algorithms and salt")
            void testSizeWithNullHashAlgosAndSalt() {
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, null, null);
    
                assertEquals(4, context.size());
            }
    
            @Test
            @DisplayName("Should calculate size for empty arrays")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

      @Nullable Strength keyStrength;
      @Nullable Strength valueStrength;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      long expireAfterWriteNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      long expireAfterAccessNanos = UNSET_INT;
    
      @SuppressWarnings("GoodTime") // should be a Duration
      long refreshNanos = UNSET_INT;
    
      @Nullable Equivalence<Object> keyEquivalence;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacSidAttributesTest.java

            // Verify that the id and attributes are correctly set by the constructor
            assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor.");
            assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            int attrs = SmbConstants.ATTR_NORMAL;
    
            // Act
            SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, attrs, alsoRead);
    
            // Assert
            assertSame(handle, result, "Should return handle from dest.openUnshared");
    
            ArgumentCaptor<Integer> accessCaptor = ArgumentCaptor.forClass(Integer.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

                assertEquals(0, aad[i], "Signature bytes should be zero in AAD");
            }
    
            // Verify nonce matches at position 20
            for (int i = 0; i < 16; i++) {
                assertEquals(testNonce[i], aad[20 + i], "Nonce should match at position " + (20 + i));
            }
        }
    
        @Test
        @DisplayName("Should create transform header with constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbPipeHandleTest.java

            }
    
            /**
             * Verifies that isStale returns true for a stale handle.
             */
            @Test
            public void testIsStale_ReturnsTrueWhenStale() {
                when(smbPipeHandle.isStale()).thenReturn(true);
                assertTrue(smbPipeHandle.isStale(), "isStale() should return true for a stale handle.");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
                assertEquals(0, response.getCloseFlags());
            }
    
            @Test
            @DisplayName("getCreationTime should return initial value of 0")
            void testGetCreationTime() {
                assertEquals(0, response.getCreationTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/SecurityConfigurationTest.java

            assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
            // Verify LM compatibility level is 3 or higher (NTLMv2 only)
            assertTrue("LM compatibility should be 3 or higher for NTLMv2 only", config.getLanManCompatibility() >= 3);
            assertEquals("LM compatibility should default to 3", 3, config.getLanManCompatibility());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top