Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 7,303 for Class3 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/core/exception/ClassNotFoundRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when a class cannot be found.
     *
     * @author higa
     */
    public class ClassNotFoundRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = -9022468864937761059L;
    
        /**
         * The name of the class that could not be found.
         */
        private final String className;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

    /**
     * Tests for {@link jcifs.smb1.dcerpc.msrpc.MsrpcSamrConnect2} constructor.
     * <p>
     * The class under test is a simple wrapper around the base class that
     * sets internal fields in its constructor.
     * These tests verify that the constructor accepts various parameters
     * without throwing exceptions.
     */
    @ExtendWith(MockitoExtension.class)
    class MsrpcSamrConnect2Test {
    
        // Helper method to create a minimal SamrPolicyHandle instance.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectStart::class }).hasSize(2)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectFailed::class }).hasSize(1)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectEnd::class }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
        serverIpv4.close()
        serverIpv6.enqueue(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationPrecommitPlugin.java

     * Adds pom validation to every pom generation task.
     */
    public class PomValidationPrecommitPlugin extends PrecommitPlugin {
    
        @Override
        public TaskProvider<? extends Task> createTask(Project project) {
            TaskProvider<Task> validatePom = project.getTasks().register("validatePom");
            PublishingExtension publishing = project.getExtensions().getByType(PublishingExtension.class);
            publishing.getPublications().configureEach(publication -> {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Aug 11 07:30:51 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

     */
    @GwtCompatible
    @NullMarked
    public class ImmutableSetTest extends AbstractImmutableSetTest {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            SetTestSuiteBuilder.using(new ImmutableSetCopyOfGenerator())
                .named(ImmutableSetTest.class.getName())
                .withFeatures(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top