Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for testAdd (0.22 sec)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode));
          }
        }
      }
    
      public void testMod() {
        for (int x : ALL_INTEGER_CANDIDATES) {
          for (int m : POSITIVE_INTEGER_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize ProtwordsFile
            protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            protwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                assertTrue(generator.generate("test_id", outputFile));
            } finally {
                outputFile.delete();
            }
        }
    
        public void test_generate_outputFile_null() throws Exception {
            generator.setCommandList(Collections.singletonList("echo test"));
            try {
                generator.generate("test_id", null);
                fail("Should throw exception for null output file");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            assertSame(crawlJob, result);
        }
    
        // Test webConfigIds setter
        public void test_webConfigIds() {
            String[] testIds = { "web1", "web2", "web3" };
            CrawlJob result = crawlJob.webConfigIds(testIds);
            assertArrayEquals(testIds, crawlJob.webConfigIds);
            assertSame(crawlJob, result);
    
            // Test with null
            result = crawlJob.webConfigIds(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  5. android/pom.xml

                        <version>24</version>
                        <vendor>temurin</vendor>
                      </jdk>
                      <testJdk>
                        <version>${surefire.toolchain.version}</version>
                        <vendor>temurin</vendor>
                      </testJdk>
                    </toolchains>
                  </configuration>
                </execution>
              </executions>
            </plugin>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. pom.xml

                        <version>24</version>
                        <vendor>temurin</vendor>
                      </jdk>
                      <testJdk>
                        <version>${surefire.toolchain.version}</version>
                        <vendor>temurin</vendor>
                      </testJdk>
                    </toolchains>
                  </configuration>
                </execution>
              </executions>
            </plugin>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

        for (long x : ALL_LONG_CANDIDATES) {
          assertThrows(ArithmeticException.class, () -> LongMath.mod(x, 0));
        }
      }
    
      @AndroidIncompatible // slow
      @GwtIncompatible // TODO
      public void testMod() {
        for (long x : ALL_LONG_CANDIDATES) {
          for (long m : POSITIVE_LONG_CANDIDATES) {
            assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicates.java

            ? Predicates.<T>isNull()
            : new IsEqualToPredicate(target).withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object being tested is an instance of
       * the given class. If the object being tested is {@code null} this predicate evaluates to {@code
       * false}.
       *
       * <p>If you want to filter an {@code Iterable} to narrow its type, consider using {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
     *     .testEquals(); // or testNulls(), testSerializable() etc.
     * </pre>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top