Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2711 - 2720 of 6,076 for new1 (0.03 seconds)

  1. src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java

            final NumberConverter converter = new NumberConverter("##0");
            assertThat(converter.getAsObject("100"), is((Object) Long.valueOf("100")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsString() throws Exception {
            final NumberConverter converter = new NumberConverter("##0");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

            SmbAuthException e = new SmbAuthException(code);
            assertEquals(expectedMsg, e.getMessage(), "message for code " + Integer.toHexString(code));
            assertEquals(SmbException.getStatusByCode(code), e.getNtStatus(), "status for code " + Integer.toHexString(code));
        }
    
        @Test
        void negativeCodeDefaultsToUnsuccessful() {
            SmbAuthException e = new SmbAuthException(-1);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(
              null /* static method */, getParametersForSignature(new Object(), sig));
    
          Object[] failingParams = getParametersForSignature(null, sig);
          InvocationTargetException ite =
              assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/PreconditionsTest.java

        for (ImmutableList<Class<?>> sig : allSignatures(Object.class)) {
          Method checkArgumentMethod =
              Preconditions.class.getMethod("checkNotNull", sig.toArray(new Class<?>[] {}));
          checkArgumentMethod.invoke(
              null /* static method */, getParametersForSignature(new Object(), sig));
    
          Object[] failingParams = getParametersForSignature(null, sig);
          InvocationTargetException ite =
              assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

      }
    
      /**
       * An implementation of {@link BaseGraph#edges()} defined in terms of {@link Graph#nodes()} and
       * {@link #successors(Object)}.
       */
      @Override
      public Set<EndpointPair<N>> edges() {
        return new AbstractSet<EndpointPair<N>>() {
          @Override
          public UnmodifiableIterator<EndpointPair<N>> iterator() {
            return EndpointPairIterator.of(AbstractBaseGraph.this);
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return new CompactLinkedHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/GeneralRange.java

        T upperEndpoint = range.hasUpperBound() ? range.upperEndpoint() : null;
        BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
        return new GeneralRange<>(
            Ordering.natural(),
            range.hasLowerBound(),
            lowerEndpoint,
            lowerBoundType,
            range.hasUpperBound(),
            upperEndpoint,
            upperBoundType);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
            .matches("boiler <.*> plate");
      }
    
      private static class ThrowsOnToString {
        @Override
        public String toString() {
          throw new UnsupportedOperationException();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return new CompactLinkedHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactLinkedHashSet} instance containing the elements of the
       * given collection in the order returned by the collection's iterator.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactLinkedHashSet} containing those elements (minus duplicates)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmServletTest.java

         * @throws CIFSException
         */
        @BeforeEach
        void setUp() throws CIFSException {
            ntlmServlet = new TestNtlmServlet();
    
            // Mock ServletConfig to provide initialization parameters
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            initParams.put("jcifs.http.domainController", "dc.test.domain");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top