Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for setParameters (0.07 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> invokable = Invokable.from(constructor);
        assertEquals(2, invokable.getParameters().size());
        assertEquals(new TypeToken<Iterable<String>>() {}, invokable.getParameters().get(0).getType());
        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> invokable = Invokable.from(constructor);
        assertEquals(2, invokable.getParameters().size());
        assertEquals(new TypeToken<Iterable<String>>() {}, invokable.getParameters().get(0).getType());
        assertEquals(TypeToken.of(String.class), invokable.getParameters().get(1).getType());
      }
    
      public void testAnonymousClassDefaultConstructor() {
        final int i = 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

        }
    
        public void test_34_150_10_2() {
            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.1.point", "34,150");
            request.setParameter("geo.location.1.distance", "10km");
            request.setParameter("geo.location.2.point", "35,151");
            request.setParameter("geo.location.2.distance", "1km");
    
            final GeoInfo geoInfo = new GeoInfo(request);
            String result =
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
                    mojoDescriptor.getParameterMap().size());
    
            Parameter param2 = new Parameter();
            param2.setName("param2");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            request.setParameter("userCode", buf.toString());
            assertEquals("12345abcde12345ABCDE", userInfoHelper.getUserCodeFromRequest(request));
            request.setParameter("userCode", buf.toString() + "_");
            assertEquals("12345abcde12345ABCDE_", userInfoHelper.getUserCodeFromRequest(request));
            request.setParameter("userCode", buf.toString() + " ");
            assertNull(userInfoHelper.getUserCodeFromRequest(request));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            roleQueryHelperImpl.parameterKey = "fess1";
    
            getMockRequest().setParameter("aaa", "bbb");
            roleSet = buildByParameter(roleQueryHelperImpl, getMockRequest());
            assertEquals(0, roleSet.size());
    
            roleQueryHelperImpl.encryptedParameterValue = false;
            getMockRequest().setParameter("fess1", System.currentTimeMillis() / 1000 + "\nrole1,role2,role3");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

                TypeMetaData type = methodMetaData.getParameters().get(0).getType();
                getCurrentClass().addWriteableProperty(propName, type, rawCommentText, methodMetaData);
            }
        }
    
        private void extractParameters(MethodDeclaration n, MethodMetaData method) {
            for (Parameter parameter : n.getParameters()) {
                TypeMetaData typeMetaData = extractTypeName(parameter.getType());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              return Ordering.usingToString().compare(left.getParameters(), right.getParameters());
            }
          };
    
      private static final Ordering<Invokable<?, ?>> BY_NUMBER_OF_PARAMETERS =
          new Ordering<Invokable<?, ?>>() {
            @Override
            public int compare(Invokable<?, ?> left, Invokable<?, ?> right) {
              return Integer.compare(left.getParameters().size(), right.getParameters().size());
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                    }
                    PropertyDoc property = classDoc.findProperty(methodName);
                    boolean multiValued = false;
                    if (property != null && method.getParameters().size() == 1 && method.getParameters().get(0).getType().getSignature().equals(Closure.class.getName())) {
                        TypeMetaData type = property.getMetaData().getType();
                        if (type.getName().equals("java.util.List")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodTableRenderer.java

                signature.append("(");
                for (int i = 0; i < methodDoc.getMetaData().getParameters().size(); i++) {
                    if (i > 0) {
                        signature.append(", ");
                    }
                    signature.append(methodDoc.getMetaData().getParameters().get(i).getName());
                }
                signature.append(")");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top