Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 901 for getName (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final Thread interruptee;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java

     */
    @Deprecated(since = "4.0.0")
    public interface ToolchainManager {
    
        // NOTE: Some plugins like Surefire access this field directly!
        @Deprecated
        String ROLE = ToolchainManager.class.getName();
    
        /**
         * Retrieve toolchain of specified type from build context. It is expected that
         * <code>maven-toolchains-plugin</code> contains the configuration to select the appropriate
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/RestTestUtil.java

         */
        public static Provider<RestIntegTestTask> registerTestTask(Project project, SourceSet sourceSet) {
            return registerTestTask(project, sourceSet, sourceSet.getName());
        }
    
        /**
         * Creates a {@link RestIntegTestTask} task with a custom name for the provided source set
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 16:26:11 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

     * assertions about them.
     */
    class TestLogHandler(
      private val logger: Logger,
    ) : TestRule,
      BeforeEachCallback,
      AfterEachCallback {
      constructor(loggerName: Class<*>) : this(Logger.getLogger(loggerName.getName()))
    
      private val logs = LinkedBlockingQueue<String>()
    
      private val handler =
        object : Handler() {
          override fun publish(logRecord: LogRecord) {
            logs += "${logRecord.level}: ${logRecord.message}"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");
        assertThat(Reflection.getPackageName(Iterable.class.getName())).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("NoPackage")).isEqualTo("");
        assertThat(Reflection.getPackageName(Map.Entry.class)).isEqualTo("java.util");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

        stack.runTearDown();
      }
    
      static final Exception EXCEPTION = new Exception();
    
      static final class ExampleClassUnderTest {
        static final Logger logger = Logger.getLogger(ExampleClassUnderTest.class.getName());
    
        static void foo() {
          logger.log(Level.INFO, "message", EXCEPTION);
        }
    
        private ExampleClassUnderTest() {}
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        List<Feature<?>> features = new ArrayList<>();
        features.add(NoRecurse.SUBMAP);
        features.addAll(parentBuilder.getFeatures());
    
        return newBuilderUsing(delegate, to, from)
            .named(parentBuilder.getName() + " subMap " + from + "-" + to)
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .withSetUp(parentBuilder.getSetUp())
            .withTearDown(parentBuilder.getTearDown())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

            assertTrue(junitJar.exists());
            final URL url = junitJar.toURI().toURL();
            final URLClassLoader loader = new URLClassLoader(new URL[] { url });
            loader.loadClass(TestCase.class.getName());
        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
            assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepositoryFactory.java

                    repositorySystem = container.lookup(RepositorySystem.class);
                } catch (ComponentLookupException e) {
                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                }
    
                if (mirrors) {
                    repositorySystem.injectMirror(session, repositories);
                }
    
                repositorySystem.injectProxy(session, repositories);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

            if (jarFiles != null) {
                for (final File file : jarFiles) {
                    buf.append(cpSeparator);
                    buf.append(basePath);
                    buf.append(file.getName());
                }
            }
        }
    
        /**
         * Creates a timeout task for this job execution.
         * If timeout is not set or is &lt;= 0, returns null.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top