Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for getClass (0.06 sec)

  1. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            assertEquals(BooleanQuery.class, query.getClass());
            List<BooleanClause> clauses = ((BooleanQuery) query).clauses();
            assertEquals(TermQuery.class, clauses.get(0).getQuery().getClass());
            assertEquals("_default:fess", clauses.get(0).getQuery().toString());
            assertEquals(Occur.MUST, clauses.get(0).getOccur());
            assertEquals(TermQuery.class, clauses.get(1).getQuery().getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            return replacedAccessors;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
    
            UpgradedProperty that = (UpgradedProperty) o;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 13 19:17:41 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader()))
            .addEqualityGroup(
                new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()),
                new ResourceInfo(FILE, "a/b/c.txt", getClass().getClassLoader()))
            .addEqualityGroup(new ResourceInfo(FILE, "x.txt", getClass().getClassLoader()))
            .testEquals();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                        case "test:import:pom":
                            return new FileModelSource(new File(getClass()
                                    .getResource("/poms/depmgmt/import.xml")
                                    .getFile()));
                        case "test:other:pom":
                            return new FileModelSource(new File(getClass()
                                    .getResource("/poms/depmgmt/other-import.xml")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    
      public void testToArray_emptyArray() {
        E[] empty = getSubjectGenerator().createArray(0);
        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

            assertEquals(2, queryBuilderList.size());
            assertEquals("TermQueryBuilder", queryBuilderList.get(0).getClass().getSimpleName());
            assertEquals("BoolQueryBuilder", queryBuilderList.get(1).getClass().getSimpleName());
            final List<FieldSortBuilder> fieldSortBuilderList = cb.query().getFieldSortBuilderList();
            assertEquals(2, fieldSortBuilderList.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ResourcesTest.java

      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        public void testGetField_EmptyName() throws Exception {
            ClassUtil.getField(getClass(), "");
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetMethod_EmptyName() throws Exception {
            ClassUtil.getMethod(getClass(), "");
        }
    
        /**
         *
         */
        @Test
        public void testGetPrimitiveClass() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                DefaultVersion that = (DefaultVersion) o;
                return delegate.equals(that.delegate);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top