Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 279 for assertSame (0.05 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable expected) {
          assertSame(exception, expected);
        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertEquals(testNamespace, crawlJob.namespace);
            assertSame(crawlJob, result);
        }
    
        // Test documentExpires setter
        public void test_documentExpires() {
            int testExpires = 30;
            CrawlJob result = crawlJob.documentExpires(testExpires);
            assertEquals(testExpires, crawlJob.documentExpires);
            assertSame(crawlJob, result);
    
            // Test with negative value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertNotNull(result);
            assertEquals(0, result.length);
            assertSame(StringUtil.EMPTY_STRINGS, result);
        }
    
        public void test_distinct_emptyArray() {
            // Test distinct with empty array
            String[] input = new String[0];
            String[] result = invokeDistinct(input);
            assertSame(input, result);
        }
    
        public void test_distinct_singleElement() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            assertNotNull(result);
            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
        }
    
        public void test_addErrorsFrontFooter() {
            String property = "testProperty";
            FessMessages result = messages.addErrorsFrontFooter(property);
            assertNotNull(result);
            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.Mockito.RETURNS_DEEP_STUBS;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException("Final message", intermediateCause);
    
            assertEquals("Final message", exception.getMessage());
            assertSame(intermediateCause, exception.getCause());
            assertSame(rootCause, exception.getCause().getCause());
        }
    
        @Test
        public void testToString() {
            String message = "Test error message";
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            assertEquals("val2", retrievedValues[1]);
            assertEquals("val3", retrievedValues[2]);
    
            // Call multiple times to ensure consistency
            assertSame(retrievedValues, param.getValues());
            assertSame(param.getValues(), param.getValues());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/spnego/SpnegoTokenTest.java

    import static org.junit.jupiter.api.Assertions.assertArrayEquals;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.io.IOException;
    
    import org.junit.jupiter.api.DisplayName;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    
                assertSame(challenge, nc.challenge);
                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null challenge")
            void testConstructorAcceptsNullChallenge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

    package jcifs.smb;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.clearInvocations;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoInteractions;
    import static org.mockito.Mockito.when;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top