Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 743 for crawled (0.09 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

                if (file != null) {
                    lastPath = file.getPath();
                }
                return true;
            }
        }
    
        @Nested
        @DisplayName("Happy path – accept is called and returns true")
        class HappyPath {
            @Test
            void acceptWithMockedFile() throws Exception {
                SmbFile mockFile = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

        static class TestSigningDigest extends SigningDigest {
            boolean called;
            int lastLength;
    
            TestSigningDigest() throws SmbException {
                super(new byte[16], false);
            }
    
            @Override
            void sign(byte[] data, int offset, int length, ServerMessageBlock request, ServerMessageBlock response) {
                called = true;
                lastLength = length;
            }
        }
    
    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. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      }
    
      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java

            assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
    
            // Since SamrOpenDomain's constructor is called, we implicitly test that the arguments
            // are passed up. Mockito cannot directly verify super() calls without PowerMock,
            // which is not ideal for simple constructor tests.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        public void healthy() {}
    
        /**
         * Called when the all of the component services have reached a terminal state, either
         * {@linkplain State#TERMINATED terminated} or {@linkplain State#FAILED failed}.
         */
        public void stopped() {}
    
        /**
         * Called when a component service has {@linkplain State#FAILED failed}.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
                verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrConnect4.class));
                verify(mockHandle, never()).sendrecv(any(MsrpcSamrConnect2.class));
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            assertEquals("first", e1.getName());
            assertEquals(acceptedName, e2.getName(), "Should return the first name accepted by filter");
    
            // Verify filter interactions: not called for '.' and '..', called for others
            verify(nameFilter, never()).accept(parent, ".");
            verify(nameFilter, never()).accept(parent, "..");
            ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * We mock a simple 200 OK response to test the handshake is called.
         * @throws IOException
         */
        @Test
        void testGettersTriggerHandshake() throws IOException {
            // Arrange
            // Spy on the connection to verify handshake() is called
            NtlmHttpURLConnection spiedConnection = spy(ntlmConnection);
            doNothing().when(spiedConnection).connect();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/CharStreamsTest.java

          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
            // if a buffer isn't being cleared correctly, this method will eventually start being called
            // with a len of 0 forever
            if (len <= 0) {
              fail("read called with a len of " + len);
            }
            // read fewer than the max number of chars to read
            // shouldn't be a problem unless the buffer is shrinking each call
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top