Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 3,818 for Avoid (0.03 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java

    /**
     * Tests {@code Plugin}.
     *
     */
    class PluginTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Plugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Plugin().equals(null));
    
            new Plugin().equals(new Plugin());
        }
    
        @Test
        void testEqualsIdentity() {
            Plugin thing = new Plugin();
            assertTrue(thing.equals(thing));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java

    /**
     * Tests {@code Profile}.
     *
     */
    class ProfileTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Profile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Profile().equals(null));
    
            new Profile().equals(new Profile());
        }
    
        @Test
        void testEqualsIdentity() {
            Profile thing = new Profile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java

     *
     */
    class RepositoryPolicyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new RepositoryPolicy().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new RepositoryPolicy().equals(null));
    
            new RepositoryPolicy().equals(new RepositoryPolicy());
        }
    
        @Test
        void testEqualsIdentity() {
            RepositoryPolicy thing = new RepositoryPolicy();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

    /**
     * Tests {@code Resource}.
     *
     */
    class ResourceTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
            new Resource().equals(new Resource());
        }
    
        @Test
        void testEqualsIdentity() {
            Resource thing = new Resource();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "test?.txt";
            assertEquals(exp, transformer.getFileName(url, Constants.UTF_8));
        }
    
        public void test_decodeUrl_null() throws Exception {
            final FessFileTransformer transformer = createInstance();
            assertNull(transformer.decodeUrlAsName(null, true));
        }
    
        public void test_getHost_ok() {
            String url, exp;
            final FessFileTransformer transformer = createInstance();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
          Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) {
        new InteractionTester<T>(interfaceType, method).testInteraction(wrapperFunction);
      }
    
      private static <T> void testExceptionPropagation(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param project the project to attach the artifact to
         * @param path the path to the artifact file
         * @throws IllegalArgumentException if the session, project or path is null
         */
        default void attachArtifact(@Nonnull Session session, @Nonnull Project project, @Nonnull Path path) {
            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/BsCrawlingInfoParam.java

            return convertEmptyToNull(crawlingInfoId);
        }
    
        public void setCrawlingInfoId(String value) {
            registerModifiedProperty("crawlingInfoId");
            this.crawlingInfoId = value;
        }
    
        public Long getCreatedTime() {
            checkSpecifiedProperty("createdTime");
            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

          System.out.println(response.body().string());
        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
              sink.writeUtf8("Numbers\n");
              sink.writeUtf8("-------\n");
              for (int i = 2; i <= 997; i++) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
        TypeVariable<?> expected =
            TypeParameterTest.class.getDeclaredMethod("testCaptureTypeParameter")
                .getTypeParameters()[0];
        assertEquals(expected, variable);
      }
    
      public void testConcreteTypeRejected() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top