Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for testFoo (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        }
        assertThat(map).containsExactlyEntriesIn(expected).inOrder();
      }
    
      /** No-op test so that the class has at least one method, making Maven's test runner happy. */
      public void testNoop() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/IntMathTest.java

            assertTrue(isPerfectSquare);
          } catch (ArithmeticException e) {
            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // 2147483646^2 expected=4
      public void testPow() {
        for (int i : ALL_INTEGER_CANDIDATES) {
          for (int pow : EXPONENTS) {
            assertEquals(i + "^" + pow, BigInteger.valueOf(i).pow(pow).intValue(), IntMath.pow(i, pow));
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/IntMathTest.java

            assertTrue(isPerfectSquare);
          } catch (ArithmeticException e) {
            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // 2147483646^2 expected=4
      public void testPow() {
        for (int i : ALL_INTEGER_CANDIDATES) {
          for (int pow : EXPONENTS) {
            assertEquals(i + "^" + pow, BigInteger.valueOf(i).pow(pow).intValue(), IntMath.pow(i, pow));
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/LongMathTest.java

            assertTrue(isPerfectSquare);
          } catch (ArithmeticException e) {
            assertFalse(isPerfectSquare);
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testPow() {
        for (long i : ALL_LONG_CANDIDATES) {
          for (int exp : EXPONENTS) {
            assertEquals(LongMath.pow(i, exp), valueOf(i).pow(exp).longValue());
          }
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with existing file
        @Test
        public void test_getThumbnailFile_exists() throws IOException {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "testdoc");
    
            String filename = thumbnailManager.getImageFilename(docMap);
            File thumbnailFile = new File(tempDir, filename);
            thumbnailFile.getParentFile().mkdirs();
            thumbnailFile.createNewFile();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        for (long a : TEST_LONGS) {
          assertThrows(
              ArithmeticException.class,
              () -> UnsignedLong.fromLongBits(a).dividedBy(UnsignedLong.ZERO));
        }
      }
    
      public void testMod() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            if (b != 0) {
              UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

            assertEquals("/etc/passwd", AdminLogAction.sanitizeFilename("../../etc/passwd"));
            assertEquals("test.log", AdminLogAction.sanitizeFilename("..test.log"));
            assertEquals("testlog", AdminLogAction.sanitizeFilename("test..log"));
        }
    
        @Test
        public void test_sanitizeFilename_removesMultipleDoubleDots() {
            // "...." becomes "" (two ".." are removed)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testAbsent() {
        Optional<String> optionalName = Optional.absent();
        assertFalse(optionalName.isPresent());
      }
    
      public void testOf() {
        assertThat(Optional.of("training").get()).isEqualTo("training");
      }
    
      public void testOf_null() {
        assertThrows(NullPointerException.class, () -> Optional.of(null));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableListMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableListMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableListMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableSetMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
Back to Top