Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for assertSame (0.05 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
            assertSame(testRequestBuffer, negotiation.getRequestRaw());
            assertSame(testResponseBuffer, negotiation.getResponseRaw());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbSessionImplTest.java

            // Basic getters
            assertSame(configuration, session.getConfig(), "getConfig delegates to transportContext");
            assertEquals("EXAMPLE", session.getTargetDomain());
            assertEquals("server.example", session.getTargetHost());
            assertTrue(session.isInUse(), "New session starts in-use (usageCount=1)");
    
            // Transport and context delegation
            assertSame(cifsContext, session.getContext());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java

            } else {
                assertEquals(msg, ex.getMessage(), "Message should be stored as provided");
            }
            assertSame(cause, ex.getCause(), "Cause should be stored and retrievable");
            assertSame(cause, ex.getRootCause(), "Deprecated getRootCause should match getCause");
    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/BufferCacheTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNotSame;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.mockito.Mockito.doNothing;
    import static org.mockito.Mockito.when;
    
    import java.util.ArrayList;
    import java.util.List;
    
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertSame(EntryFactory.STRONG, EntryFactory.getFactory(Strength.STRONG, false, false));
        assertSame(EntryFactory.STRONG_ACCESS, EntryFactory.getFactory(Strength.STRONG, true, false));
        assertSame(EntryFactory.STRONG_WRITE, EntryFactory.getFactory(Strength.STRONG, false, true));
        assertSame(
            EntryFactory.STRONG_ACCESS_WRITE, EntryFactory.getFactory(Strength.STRONG, true, true));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            assertSame(mockConfig, ComponentUtil.getFessConfig());
        }
    
        public void test_getFessConfig_cached() {
            FessConfig mockConfig = new FessConfig.SimpleImpl();
            ComponentUtil.setFessConfig(mockConfig);
    
            FessConfig result1 = ComponentUtil.getFessConfig();
            FessConfig result2 = ComponentUtil.getFessConfig();
    
            assertSame(result1, result2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

    package jcifs.http;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.mockito.Mockito.when;
    
    import java.security.Principal;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      public void testEmpty_comparator() {
        SortedSet<String> set = of();
        assertSame(Ordering.natural(), set.comparator());
      }
    
      public void testEmpty_headSet() {
        SortedSet<String> set = of();
        assertSame(set, set.headSet("c"));
      }
    
      public void testEmpty_tailSet() {
        SortedSet<String> set = of();
        assertSame(set, set.tailSet("f"));
      }
    
      public void testEmpty_subSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(os4, "Output stream with full params should not be null");
                assertSame(mockOutputStream, os1, "Should return expected output stream");
                assertSame(mockOutputStream, os2, "Should return expected output stream");
                assertSame(mockOutputStream, os3, "Should return expected output stream");
                assertSame(mockOutputStream, os4, "Should return expected output stream");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            InvertibleCryptographer second = securityResourceProvider.providePrimaryInvertibleCryptographer();
    
            assertNotNull(first);
            assertNotNull(second);
            assertSame(first, second);
            assertSame(invertibleCryptographer, first);
        }
    
        public void test_providePrimaryInvertibleCryptographer_consistency() {
            // Test multiple calls return consistent results
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top