Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4061 - 4070 of 8,388 for isclass (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionForEachTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class CollectionForEachTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<E> elements = new ArrayList<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListLastIndexOfTester<E> extends AbstractListIndexOfTester<E> {
      @Override
      protected int find(Object o) {
        return getList().lastIndexOf(o);
      }
    
      @Override
      protected String getMethodName() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListToArrayTester<E> extends AbstractListTester<E> {
      // CollectionToArrayTester tests everything except ordering.
    
      public void testToArray_noArg() {
        Object[] actual = getList().toArray();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    /**
     * Apache HttpClient 5.x.
     *
     * https://hc.apache.org/httpcomponents-client-5.0.x/index.html
     *
     * Baseline test if we ned to validate OkHttp behaviour against other popular clients.
     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @StartStop
      private val server = MockWebServer()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.TimeUnit;
    import okhttp3.Call;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public class CancelCall {
      private final ScheduledExecutorService executor = Executors.newScheduledThreadPool(1);
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/InvalidArtifactRTException.java

     * under the License.
     */
    package org.apache.maven.artifact;
    
    /**
     * Exception thrown when the identity of an artifact can not be established,
     * e.g. one of groupId, artifactId, version or type is null.
     */
    public class InvalidArtifactRTException extends RuntimeException {
    
        private final String groupId;
        private final String artifactId;
        private final String version;
        private final String type;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/SimpleArtifactMetadataSource.java

    import org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest;
    import org.apache.maven.repository.legacy.metadata.ResolutionGroup;
    
    @Named("classpath")
    @Singleton
    @Deprecated
    public class SimpleArtifactMetadataSource implements ArtifactMetadataSource {
        @Override
        public ResolutionGroup retrieve(
                Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    class LegacyRepositorySystemTest {
        @Inject
        private LegacyRepositorySystem repositorySystem;
    
        @Test
        void testThatLocalRepositoryWithSpacesIsProperlyHandled() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

    import java.util.List;
    
    import org.eclipse.aether.graph.Dependency;
    
    /**
     * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DependencyResolutionException extends Exception {
    
        private final transient DependencyResolutionResult result;
        private final transient String detailMessage;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java

    import java.util.Comparator;
    import java.util.List;
    
    /**
     * Compares phases within the context of a specific lifecycle with secondary sorting based on the {@link PhaseId}.
     */
    public class PhaseComparator implements Comparator<String> {
        /**
         * The lifecycle phase ordering.
         */
        private final List<String> lifecyclePhases;
    
        /**
         * Constructor.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 23:04:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top