Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2401 - 2410 of 4,407 for Avoid (0.04 sec)

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

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionToStringTester<E> extends AbstractCollectionTester<E> {
      public void testToString_minimal() {
        assertNotNull("toString() should not return null", collection.toString());
      }
    
      @CollectionSize.Require(ZERO)
      @CollectionFeature.Require(absent = NON_STANDARD_TOSTRING)
      public void testToString_size0() {
        assertEquals("emptyCollection.toString should return []", "[]", collection.toString());
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
            return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null);
        }
    
        @Test
        void testIncludeCompile() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                .withPluginClasspath()
                .withArguments(args)
                .forwardOutput()
        }
    
        private void assertNoDeadLinks() {
            assert linkErrors.exists()
            assert linkErrors.text.stripTrailing().endsWith('All clear!')
        }
    
        private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) {
            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 16:24:54 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

        @Test
        void testNoArgsConstructor() {
            // Test the no-argument constructor
            ConnectionTimeoutException exception = new ConnectionTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testStringConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java

     *
     */
    class ActivationOSTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ActivationOS().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationOS().equals(null));
    
            new ActivationOS().equals(new ActivationOS());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationOS thing = new ActivationOS();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/PluginConfigurationTest.java

     *
     */
    class PluginConfigurationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new PluginConfiguration().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new PluginConfiguration().equals(null));
    
            new PluginConfiguration().equals(new PluginConfiguration());
        }
    
        @Test
        void testEqualsIdentity() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ReportPluginTest.java

     *
     */
    class ReportPluginTest {
    
        @Test
        void testHashCodeNullSafe() {
            new ReportPlugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ReportPlugin().equals(null));
    
            new ReportPlugin().equals(new ReportPlugin());
        }
    
        @Test
        void testEqualsIdentity() {
            ReportPlugin thing = new ReportPlugin();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ReportingTest.java

    /**
     * Tests {@code Reporting}.
     *
     */
    class ReportingTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Reporting().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Reporting().equals(null));
    
            new Reporting().equals(new Reporting());
        }
    
        @Test
        void testEqualsIdentity() {
            Reporting thing = new Reporting();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDocumentationExtension.java

        public ReleaseNotes getReleaseNotes() {
            return releaseNotes;
        }
    
        public void releaseNotes(Action<? super ReleaseNotes> action) {
            action.execute(releaseNotes);
        }
    
        public UserManual getUserManual() {
            return userManual;
        }
    
        public void userManual(Action<? super UserManual> action) {
            action.execute(userManual);
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         */
        protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException;
    
        /**
         * Receives a DCERPC fragment from the remote endpoint
         * @param buf the buffer to receive the fragment
         * @param isDirect whether to use direct reception
         * @throws IOException if an I/O error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top