Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3111 - 3120 of 4,422 for Final (0.18 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * Android.... The right long-term fix is probably to get MediumTests running under Android by
       * default and then suppress them strategically as needed.
       */
      public static final class ConcretePackageSanityTests extends AbstractPackageSanityTests {}
    
      private final AbstractPackageSanityTests sanityTests = new ConcretePackageSanityTests();
    
      public void testFindClassesToTest_testClass() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible
    @NullMarked
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

     * Test class for {@link LittleEndianDataOutputStream}.
     *
     * @author Keith Bottner
     */
    @NullUnmarked
    public class LittleEndianDataOutputStreamTest extends TestCase {
    
      private final ByteArrayOutputStream baos = new ByteArrayOutputStream();
      private final LittleEndianDataOutputStream out = new LittleEndianDataOutputStream(baos);
    
      public void testWriteLittleEndian() throws IOException {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

        private static class MockInvokerRequest {
            private final boolean verbose;
    
            MockInvokerRequest(boolean verbose) {
                this.verbose = verbose;
            }
    
            boolean effectiveVerbose() {
                return verbose;
            }
        }
    
        private static class MockOptions {
            private final boolean quiet;
    
            MockOptions(boolean quiet) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                    // No-op
                }
            }, "crawlingConfigHelper");
    
            // Fast mock SystemHelper with immediate force stop capability
            ComponentUtil.register(new SystemHelper() {
                private final AtomicBoolean forceStop = new AtomicBoolean(false);
    
                @Override
                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

    import jcifs.SmbConstants;
    
    /**
     * Test class for SmbShareInfo
     */
    class SmbShareInfoTest {
    
        private SmbShareInfo shareInfo;
        private static final String TEST_NET_NAME = "TestShare";
        private static final String TEST_REMARK = "Test share remark";
        private static final int TEST_TYPE = 0x00000000; // Standard share type
    
        @BeforeEach
        void setUp() {
            shareInfo = new SmbShareInfo();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    public class BigDecimalMathTest extends TestCase {
      private static final class RoundToDoubleTester {
        private final BigDecimal input;
        private final Map<RoundingMode, Double> expectedValues = new EnumMap<>(RoundingMode.class);
        private boolean unnecessaryShouldThrow = false;
    
        RoundToDoubleTester(BigDecimal input) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

    /**
     * Tests for the MessageDigestHashFunction.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class MessageDigestHashFunctionTest extends TestCase {
      private static final ImmutableSet<String> INPUTS = ImmutableSet.of("", "Z", "foobar");
    
      // From "How Provider Implementations Are Requested and Supplied" from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java

        }
        if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
          derivedFeatures.add(ListFeature.GENERAL_PURPOSE);
        }
        return derivedFeatures;
      }
    
      private static final class MultimapGetGenerator<K, V>
          extends MultimapTestSuiteBuilder.MultimapGetGenerator<K, V, ListMultimap<K, V>>
          implements TestListGenerator<V> {
        MultimapGetGenerator(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top