Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 2,990 for _shouldn (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Verify the object is created with expected configuration
            // totalParameterCount should be 2
            // totalDataCount should be 0
            // maxParameterCount should be 0
            // maxDataCount should be 800
            // maxSetupCount should be 0
            assertNotNull(trans2QueryFSInfo);
    
            // Since these are protected fields, we can't access them directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

         *
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus wrapped string
         * @param zterm whether the string should be zero terminated
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java

            registration.updateHeartbeat();
    
            // After update, should not be expired with long timeout
            assertFalse(registration.isExpired(60000));
    
            // Verify heartbeat was actually updated
            assertTrue(registration.getLastHeartbeat() > initialTime);
        }
    
        @Test
        void testExpiration() throws InterruptedException {
            // Registration should not be expired initially with long timeout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        firstException = expected;
        // Second time should also fail, with a cached causal chain.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
            assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        firstException = expected;
        // Second time should also fail, with a cached causal chain.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/HandlerTest.java

            // Act: relative path should exercise the 'else if' path in parseURL
            URL rel = new URL(base, "foo/bar", handler);
    
            // Assert
            assertEquals(SmbConstants.DEFAULT_PORT, rel.getPort(), "Default port should be applied");
            String actualPath = rel.getPath();
            assertNotNull(actualPath, "Path should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/HexdumpTest.java

            String output = baos.toString();
    
            assertNotNull(output);
            // Control characters should be displayed as dots
            assertTrue(output.contains("|......"));
            // Printable characters should be displayed as is
            assertTrue(output.contains(" AB~"));
            // High bytes should be dots
            assertTrue(output.contains("..."));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(
              e, obj + " must not be Object#equals to an arbitrary object of another class");
          return;
        }
        fail("Should get equal to incompatible class error");
      }
    
      /** Test proper handling where an object is not equal to one the user has said should be equal */
      public void testInvalidNotEqualsEqualObject() {
        equalsTester.addEqualityGroup(reference, notEqualObject1);
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

                    MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
            method.setAccessible(true);
    
            // This should fail because localhost doesn't support SMB multi-channel
            // but the method should not throw NullPointerException
            try {
                method.invoke(multiChannelManager, localhost, loopback);
                // If it doesn't throw, that's unexpected for localhost
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top