Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1251 - 1260 of 8,997 for Class3 (0.1 seconds)

  1. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing directed {@link Graph} implementations defined in this package.
     */
    @NullUnmarked
    public abstract class AbstractStandardDirectedGraphTest extends AbstractGraphTest {
    
      @Override
      @Test
      public void nodes_checkReturnedSetMutability() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
        @ParameterizedTest
        @DisplayName("accepts any non-null/any string")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

            // Rerun test to work around Marshamallow class-loading issue b/456222735.
            super.runBare();
            return;
          }
          throw e;
        }
      }
    
      public void testNull() throws Exception {
        new NullPointerTester()
            .setDefault(CountDownLatch.class, new CountDownLatch(0))
            .setDefault(Semaphore.class, new Semaphore(999))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            // Node with different class
            MockNode nodeWithDifferentClass = new MockNode("div");
            nodeWithDifferentClass.addAttribute("class", "container");
            assertFalse(tag.matches(nodeWithDifferentClass));
    
            // Node without class attribute
            MockNode nodeWithoutClass = new MockNode("div");
            assertFalse(tag.matches(nodeWithoutClass));
    
            // Node with empty class
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

     * @author Jesse Wilson
     * @author Jared Levy
     * @author Hayward Chan
     * @author Chris Povirk
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class SortedMapGenerators {
      public static class ImmutableSortedMapGenerator extends TestStringSortedMapGenerator {
        @Override
        public SortedMap<String, String> create(Entry<String, String>[] entries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

                    from 'SomeFile.class'
                }
                tasks.register("buildDarwinZip", Zip) {
                    from 'SomeFile.txt'
                }"""
        }
    
        @Unroll
        def "plain class files in distribution #archiveType archives are detected"() {
            given:
            file("SomeFile.class") << """
                some dummy class file
            """
            buildFile << """
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      public static Method[] getHoleMethods() {
        return new Method[] {
          getMethod(NavigableSetNavigationTester.class, "testLowerHole"),
          getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
          getMethod(NavigableSetNavigationTester.class, "testCeilingHole"),
          getMethod(NavigableSetNavigationTester.class, "testHigherHole"),
        };
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        abstract String atomicHelperTypeForTest();
      }
    
      private static final class SafeAtomicHelper extends AtomicHelper {
        private static final AtomicReferenceFieldUpdater<
                ? super AggregateFutureState<?>, ? super @Nullable Set<Throwable>>
            seenExceptionsUpdater =
                newUpdater(AggregateFutureState.class, Set.class, "seenExceptionsField");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JavaClassPublicifier.java

    import java.util.List;
    import java.util.function.Consumer;
    
    import static org.objectweb.asm.Opcodes.ACC_PRIVATE;
    import static org.objectweb.asm.Opcodes.ACC_PUBLIC;
    
    /**
     * A task to manipulate an existing class file.
     */
    public class JavaClassPublicifier extends DefaultTask {
    
        private List<String> classFiles;
        private DirectoryProperty inputDir;
        private DirectoryProperty outputDir;
    
        public JavaClassPublicifier() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Empty {}
    
      @Generates
      Class<?> generateClass() {
        return pickInstance(
            ImmutableList.of(
                int.class, long.class, void.class, Object.class, Object[].class, Iterable.class),
            Object.class);
      }
    
      @Generates
      Object generateObject() {
        return generateString();
      }
    
      @Generates
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
Back to Top