Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,930 for SMethod (0.5 sec)

  1. src/test/java/jcifs/util/transport/ResponseTest.java

            assertTrue(mockResponse.isReceived());
    
            // 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

        /**
         * Closes and disposes of this {@link Invoker} instance, releasing any resources it may hold.
         * This method is called automatically when using try-with-resources statements.
         *
         * <p>The default implementation does nothing. Subclasses should override this method
         * if they need to perform cleanup operations.</p>
         *
         * @throws InvokerException if an error occurs while closing the {@link Invoker}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         * Test readParameterWordsWireFormat method.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            byte[] buffer = new byte[0];
            int result = smbComOpenAndX.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test readBytesWireFormat method.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmServletTest.java

                ntlmServlet.service(request, response);
    
                // When NtlmSsp.authenticate returns null, the service method returns early
                // without setting session attributes
                verify(session, never()).setAttribute(anyString(), any());
            }
        }
    
        /**
         * Test the service method with a valid Basic Authorization header.
         * Simulates a successful Basic authentication.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                </chapter>
            ''')
    
            ClassDoc classDoc = classDoc('Class', content: content)
            MethodDoc method1 = methodDoc('methodName', id: 'method1Id', returnType: 'ReturnType1', description: 'method description', comment: 'method comment')
            MethodDoc method2 = methodDoc('methodName', id: 'method2Id', returnType: 'ReturnType2', description: 'overloaded description', comment: 'overloaded comment', paramTypes: ['ParamType'])
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        try {
          new NullPointerTester().testMethod(bar, method);
        } catch (AssertionError incorrectError) {
          String errorMessage =
              rootLocaleFormat("Should not have flagged method %s for %s", method.getName(), bar);
          assertWithMessage(errorMessage).that(incorrectError).isNull();
        }
      }
    
      public void verifyBarFail(Method method, TwoArg bar) {
        try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/PropertyDesc.java

        /**
         * Returns the getter method.
         *
         * @return the getter method
         */
        Method getReadMethod();
    
        /**
         * Returns whether the property has a getter method.
         *
         * @return whether the property has a getter method
         */
        boolean hasReadMethod();
    
        /**
         * Returns the setter method.
         *
         * @return the setter method
         */
        Method getWriteMethod();
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. cmd/kms-handlers_test.go

    	tests := []struct {
    		name   string
    		method string
    		path   string
    		query  map[string]string
    	}{
    		{
    			name:   "GET status",
    			method: http.MethodGet,
    			path:   kmsStatusPath,
    		},
    		{
    			name:   "GET metrics",
    			method: http.MethodGet,
    			path:   kmsMetricsPath,
    		},
    		{
    			name:   "GET apis",
    			method: http.MethodGet,
    			path:   kmsAPIsPath,
    		},
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            final ArrayMap<String, List<MethodDesc>> methodDescListMap = new ArrayMap<>();
            for (final Method method : beanClass.getMethods()) {
                if (method.isBridge() || method.isSynthetic()) {
                    continue;
                }
                final String methodName = method.getName();
                List<MethodDesc> list = methodDescListMap.get(methodName);
                if (list == null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  10. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        @DisplayName("Test deprecated getPassword() method warning")
        public void testDeprecatedGetPasswordWarning() {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TestPass123!");
    
            // This should log a warning about using deprecated method
            String password = auth.getPassword();
            assertNotNull(password);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
Back to top