Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for getResult (0.05 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

        }
    
        private static final class ResultMsg extends TestMessage {
            void setResult(int r) {
                this.result = r;
            }
        }
    
        @Test
        void testGetResult() {
            ResultMsg m = new ResultMsg();
            assertNull(m.getResult());
            m.setResult(0xDEAD);
            DcerpcException e = m.getResult();
            assertEquals(0xDEAD, e.getErrorCode());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        class ResultHandlingTests {
    
            @Test
            @DisplayName("getResult should return null when result is 0")
            void testGetResultSuccess() throws Exception {
                // Given
                setResultField(bind, 0);
    
                // When
                DcerpcException result = bind.getResult();
    
                // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT");
        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
            // mechanism, token and mic are left null
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

                throw new PluginResolutionException(plugin, e.getResult().getExceptions(), e);
            } catch (DependencyResolutionException e) {
                List<Exception> exceptions = Stream.concat(
                                e.getResult().getCollectExceptions().stream(),
                                e.getResult().getArtifactResults().stream()
                                        .filter(r -> !r.isResolved())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 15:32:43 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        assertEquals(null, getResponse(methodName).getResult());
      }
    
      /**
       * Asserts that a prior call that had caused this thread to block or wait has since returned the
       * expected boolean value.
       */
      public void assertPriorCallReturns(boolean expected, @Nullable String methodName)
          throws Exception {
        assertEquals(expected, getResponse(methodName).getResult());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                        }
                    }
                } catch (InterruptedException e) {
                    rootSession.getResult().addException(e);
                    break;
                } catch (ExecutionException e) {
                    // TODO MNG-5766 changes likely made this redundant
                    rootSession.getResult().addException(e);
                    break;
                }
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveAllTester.java

      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllPropagatesToGet() {
        Collection<V> getResult = multimap().get(k0());
    
        multimap().removeAll(k0());
    
        assertEmpty(getResult);
        expectMissing(e0());
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAllMultipleValues() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java

            if (dispatcherResult.isEmpty()) {
                throw new InterruptedException();
            }
            if (NONE.equals(dispatcherResult.get("defaultDispatcher").getResult())) {
                context.terminal
                        .writer()
                        .println(messageBuilderFactory
                                .builder()
                                .warning(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
        /**
         * Gets the negotiation result code
         * @return the result code
         */
        public int getResult() {
            return this.result;
        }
    
        /**
         * Sets the negotiation result code
         * @param result the result code to set
         */
        public void setResult(final int result) {
            this.result = result;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top