Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,907 for _shouldn (0.04 sec)

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

        assertFalse(
            "Two Maps should not be equal if exactly one of them contains a null value.",
            getMap().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_smallerMap() {
        Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1);
        assertFalse(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 21:04:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            assertNotNull(response, "The response object should not be null.");
        }
    
        /**
         * Tests the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
            int result = response.writeSetupWireFormat(dst, 0);
            assertEquals(0, result, "writeSetupWireFormat should always return 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/context/BaseContextTest.java

            assertNotNull(context.getNameServiceClient(), "Name service client should be initialized");
            assertNotNull(context.getBufferCache(), "Buffer cache should be initialized");
            assertNotNull(context.getTransportPool(), "Transport pool should be initialized");
        }
    
        @Test
        @DisplayName("Constructor should use provided configuration")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K 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/smb1/UniAddressTest.java

            assertEquals("NEXT", next, "nextCalledName should delegate to NbtAddress when called");
        }
    
        @Test
        void nextCalledNameWithInetAddressReturnsSMBSERVERFirstIfNotDefault() {
            // Arrange
            InetAddress addr = mock(InetAddress.class);
            when(addr.getHostName()).thenReturn("mycomputer.foo.com");
            UniAddress ua = new UniAddress(addr);
            // Act: first call should set to SMBSERVER_NAME
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Then
            assertNotNull(signingKey, "Signing key should not be null");
            assertEquals(16, signingKey.length, "Signing key should be 16 bytes");
            assertFalse(Arrays.equals(sessionKey, signingKey), "Signing key should be different from session key");
        }
    
        @Test
        @DisplayName("Should derive signing key for SMB 3.1.1 dialect")
        void testDeriveSigningKey_SMB311() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Then
            assertTrue(smb2Only, "Should delegate SMB2 only negotiation");
            assertFalse(secureNegotiate, "Should delegate secure negotiate requirement");
            assertTrue(ntlmTargetName, "Should delegate NTLM target name setting");
            assertFalse(port139Failover, "Should delegate port 139 failover setting");
            assertTrue(dfsStrictView, "Should delegate DFS strict view setting");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top