Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,377 for _shouldn (0.07 sec)

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

      @CollectionSize.Require(absent = ZERO)
      public void testAddAll_supportedSomePresent() {
        assertTrue(
            "addAll(somePresent) should return true",
            collection.addAll(MinimalCollection.of(e3(), e0())));
        assertTrue("should contain " + e3(), collection.contains(e3()));
        assertTrue("should contain " + e0(), collection.contains(e0()));
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream instance2 = LogStream.getInstance();
    
            // Each setInstance should create a new LogStream
            assertNotNull(instance1);
            assertNotNull(instance2);
            // The second setInstance replaces the first, so they should not be the same
            assertNotSame(instance1, instance2);
            // Getting instance again should return the same as instance2
            assertSame(instance2, LogStream.getInstance());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            assertNotNull(pacString, "The PacUnicodeString object should not be null.");
    
            // Verify that the getters return the correct values
            assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
            assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

            assertEquals("testdomain", config.getDefaultDomain());
        }
    
        @Test
        @DisplayName("Should handle null properties gracefully")
        void testNullProperties() throws CIFSException {
            // PropertyConfiguration doesn't handle null properties
            // It should throw NullPointerException
            assertThrows(NullPointerException.class, () -> {
                new PropertyConfiguration(null);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            iterator.close();
            iterator.close(); // Second close should be safe
    
            // Then: Tree handle should be released only once
            verify(treeHandle, times(1)).release();
        }
    
        @Test
        @DisplayName("Iterator should handle filter that rejects all entries")
        void testIterator_FilterRejectsAll() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertTrue(response.isValidTid());
        }
    
        @Test
        @DisplayName("Should return null for getService")
        void testGetService() {
            // When
            String service = response.getService();
    
            // Then
            assertNull(service);
        }
    
        @Test
        @DisplayName("Should prepare next request correctly when received")
        void testPrepareWhenReceived() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

        class WireFormatTests {
    
            @Test
            @DisplayName("Should read parameters wire format")
            void testReadParametersWireFormat() {
                byte[] buffer = new byte[10];
                int result = response.readParametersWireFormat(buffer, 0, 2);
                assertEquals(2, result);
            }
    
            @Test
            @DisplayName("Should write setup wire format")
            void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/https/HandlerTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Should create handler with null context")
            void testConstructorWithNullContext() {
                // When
                Handler testHandler = new Handler(null);
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget);
            assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget);
        }
    
        public void test_expired_method_exists() throws Exception {
            assertNotNull("expired method should exist", HotThreadMonitorTarget.class.getMethod("expired"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get share")
            void testGetShare() {
                assertNull(referralData.getShare());
            }
    
            @Test
            @DisplayName("Should get path")
            void testGetPath() {
                assertNull(referralData.getPath());
            }
    
            @Test
            @DisplayName("Should get expiration")
            void testGetExpiration() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top