Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 2,989 for _shouldn (0.04 sec)

  1. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // First call (odd) should succeed
            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    
            // Second call (even) should fail
            String result2 = aggregateLogJob.execute();
            assertTrue(result2.contains("Even call error"));
    
            // Third call (odd) should succeed
            String result3 = aggregateLogJob.execute();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

        assertNull(
            "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3()));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_supportedPresent() {
        assertEquals(
            "putIfAbsent(present, value) should return existing value",
            v0(),
            getMap().putIfAbsent(k0(), v3()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertArrayEquals(testHash, avChannelBindings.getRaw(), "Value should match the provided hash");
        }
    
        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertNotNull(chunk);
            }
    
            @ParameterizedTest
            @DisplayName("Should create instance with various offset values")
            @CsvSource({ "0, 0, 1024", "1024, 2048, 4096", "9223372036854775807, 9223372036854775807, 2147483647", // Max long values
                    "-1, -1, -1", // Negative values (should still create instance)
                    "0, 9223372036854775807, 0" // Edge cases
            })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbPipeResourceTest.java

            assertEquals(SmbConstants.O_RDONLY, SmbPipeResource.PIPE_TYPE_RDONLY, "PIPE_TYPE_RDONLY should match SmbConstants.O_RDONLY");
        }
    
        /**
         * Test if the PIPE_TYPE_WRONLY constant has the correct value.
         */
        @Test
        void testPipeTypeWronly() {
            assertEquals(SmbConstants.O_WRONLY, SmbPipeResource.PIPE_TYPE_WRONLY, "PIPE_TYPE_WRONLY should match SmbConstants.O_WRONLY");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. tests/scopes_test.go

    	if len(users1) != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", len(users1))
    	}
    
    	DB.Scopes(NameIn1And2, NameIn2And3).Find(&users2)
    	if len(users2) != 1 {
    		t.Errorf("Should found one user's name is 2, but got %v", len(users2))
    	}
    
    	DB.Scopes(NameIn([]string{users[0].Name, users[2].Name})).Find(&users3)
    	if len(users3) != 2 {
    		t.Errorf("Should found two users's name in 1, 3, but got %v", len(users3))
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            // Check if fields were added (they should be added by the store method)
            assertNotNull("ID should be set", dataMap.get("id"));
            assertNotNull("Doc ID should be set", dataMap.get("doc_id"));
            assertNotNull("Click count should be set", dataMap.get("click_count"));
            assertNotNull("Favorite count should be set", dataMap.get("favorite_count"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/CIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle null message")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                CIFSException exception = new CIFSException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should handle null cause")
        void testNullCause() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CredentialsTest.java

     */
    @DisplayName("Credentials Interface Tests")
    class CredentialsTest extends BaseTest {
    
        @Mock
        private Credentials mockCredentials;
    
        @Test
        @DisplayName("Should define interface methods")
        void testCredentialsInterface() {
            // Verify interface methods exist
            assertDoesNotThrow(() -> {
                mockCredentials.unwrap(Credentials.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertTrue(messageBytes.length >= 12);
            // Message type should be 3 (little endian)
            assertEquals(3, messageBytes[8] & 0xFF);
            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should generate LM and NTLM responses")
        void testLMAndNTLMResponses() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top