Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 627 for called (0.03 sec)

  1. src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java

         * Verifies that the encode method of a concrete implementation is called
         * and interacts with the NdrBuffer as expected.
         * @throws NdrException if encoding fails.
         */
        @Test
        void testEncode() throws NdrException {
            // When
            ndrObject.encode(mockBuffer);
    
            // Then
            // Verify that our mock buffer had the expected method called.
            verify(mockBuffer).enc_ndr_long(123);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ResponseTest.java

            // Verify the method was called
            verify(mockResponse, times(2)).isReceived();
        }
    
        @Test
        void testReceived() {
            // Call the method
            mockResponse.received();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).received();
        }
    
        @Test
        void testClearReceived() {
            // Call the method
            mockResponse.clearReceived();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java

        }
    
        @Test
        void testWrapMethodIsCalled() throws DcerpcException {
            // Test that the wrap method can be called without throwing an exception
            dcerpcSecurityProvider.wrap(mockNdrBuffer);
    
            // Verify that the wrap method was called exactly once with the mockNdrBuffer
            verify(dcerpcSecurityProvider, times(1)).wrap(mockNdrBuffer);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/CurlRequest.java

         * @param encoding the encoding
         * @return this CurlRequest instance
         * @throws CurlException if the method is called after the param method
         */
        public CurlRequest encoding(final String encoding) {
            if (paramList != null) {
                throw new CurlException("This method must be called before param method.");
            }
            this.encoding = encoding;
            return this;
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtException.java

                    result.append("Not listening on called name");
                    break;
                case NOT_LISTENING_CALLING:
                    result.append("Not listening for calling name");
                    break;
                case CALLED_NOT_PRESENT:
                    result.append("Called name not present");
                    break;
                case NO_RESOURCES:
                    result.append("Called name present, but insufficient resources");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbTransportTest.java

            verify(smbTransport).unwrap(SmbTransport.class); // Verify that the method was called
        }
    
        @Test
        void testClose() throws Exception {
            // Act
            smbTransport.close();
    
            // Assert
            verify(smbTransport).close(); // Verify that the close method was called
        }
    
        @Test
        void testGetRemoteAddress() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          assertEquals(method, calledMethod);
          assertEquals(method + " invoked more than once.", 0, called.get());
          for (int i = 0; i < passedArgs.length; i++) {
            assertEquals(
                "Parameter #" + i + " of " + method + " not forwarded", passedArgs[i], args[i]);
          }
          called.getAndIncrement();
          return returnValue;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

            registerSpecifiedProperty(propertyName); // synchronize if exists, basically for user's manual call
        }
    
        public void modifiedToSpecified() {
            if (__modifiedProperties.isEmpty()) {
                return; // basically no way when called in Framework (because called when SpecifyColumn exists)
            }
            __specifiedProperties = newModifiedProperties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            // First close call
            handle.close();
    
            // Act
            // Second close call
            handle.close();
    
            // Assert
            // sendrecv for open is called once
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class));
            // sendrecv for close is called only once, even if close() is called multiple times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. callbacks/create.go

    		callMethod(db, func(value interface{}, tx *gorm.DB) (called bool) {
    			if db.Statement.Schema.BeforeSave {
    				if i, ok := value.(BeforeSaveInterface); ok {
    					called = true
    					db.AddError(i.BeforeSave(tx))
    				}
    			}
    
    			if db.Statement.Schema.BeforeCreate {
    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top