Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 3,084 for shouldn (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

        assertFalse(
            "A List should not equal another List containing different elements.",
            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            };
    
            // Act & Assert: test with different file names
            assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path");
            assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files");
            assertFalse(filter.accept(mockDir, null), "Should reject null names");
    
            // Verify getPath was called three times (once for each accept call)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        class SamrCloseHandleTests {
    
            @Test
            @DisplayName("Should construct with correct opnum")
            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2FlushResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig);
    
            // Then
            assertNotNull(flushResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacConstantsTest.java

            assertEquals(0xB, PacConstants.CONSTRAINT_DELEGATIION_TYPE, "CONSTRAINT_DELEGATIION_TYPE should be 0xB");
            assertEquals(0xC, PacConstants.CLIENT_UPN_TYPE, "CLIENT_UPN_TYPE should be 0xC");
            assertEquals(0xD, PacConstants.CLIENT_CLAIMS_TYPE, "CLIENT_CLAIMS_TYPE should be 0xD");
            assertEquals(0xE, PacConstants.DEVICE_INFO_TYPE, "DEVICE_INFO_TYPE should be 0xE");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

                    "Default message should match the class contract");
            assertNull(ex.getCause(), "No cause expected from default constructor");
            assertTrue(ex instanceof SmbException, "Should be an SmbException");
    
            // toString should include the class name and the message
            String ts = ex.toString();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

        }
    
        @Test
        @DisplayName("DCE/RPC flags should be set correctly")
        void testDcerpcFlags() {
            // Test individual flag checking
            assertTrue(dfsRootEnum.isFlagSet(DcerpcConstants.DCERPC_FIRST_FRAG));
            assertTrue(dfsRootEnum.isFlagSet(DcerpcConstants.DCERPC_LAST_FRAG));
    
            // Combined flags should equal FIRST_FRAG | LAST_FRAG
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testToStringFormat() {
            String str = response.toString();
    
            // Should start with the class name
            assertTrue(str.startsWith("Trans2SetFileInformationResponse["));
    
            // Should end with closing bracket
            assertTrue(str.endsWith("]"));
    
            // Should contain parent toString content
            // Note: The parent toString might include various fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

        assertTrue("containsKey(present) should return true", getMap().containsKey(k0()));
      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsKey(null) should return false", getMap().containsKey(null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 26 21:06:36 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosFileFilterTest.java

            // When the accept method is called
            boolean result = dosFileFilter.accept(mockFile);
    
            // Then the result should be as expected
            if (expectedResult) {
                assertTrue(result, "File should be accepted");
            } else {
                assertFalse(result, "File should not be accepted");
            }
        }
    
        /**
         * Tests that the accept method returns true when the file has more attributes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top