Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 838 for useEmpty (0.06 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/AbstractProjectInheritanceTestCase.java

        }
    
        @Override
        @BeforeEach
        public void setUp() throws Exception {
            super.setUp();
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            EmptyLifecycleBindingsInjector.lifecycleRegistry = lifecycleRegistry;
            EmptyLifecycleBindingsInjector.packagingRegistry = packagingRegistry;
        }
    
        public static void useEmpty() {
            lifecycleRegistry = emptyLifecycleRegistry;
            packagingRegistry = emptyPackagingRegistry;
        }
    
        private static Plugin newPlugin(String artifactId, String... goals) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

        assertThat(certificatePinner.findMatchingPins("example.com.notexample.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("notexample.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("example.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("a.b.example.com")).isEmpty()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RelocatedArtifact.java

            this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null;
            this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null;
            this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null;
            this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
            this.version = (version != null && !version.isEmpty()) ? version : null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class))).isEmpty();
        assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class))).isEmpty();
      }
    
      public void testFindClassesToTest_noCorrespondingTestClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    			default:
    				return errUnknownXMLTag
    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. internal/ringbuffer/ring_buffer_test.go

    	// var _ io.StringWriter = rb
    	var _ io.ByteReader = rb
    	var _ io.ByteWriter = rb
    }
    
    func TestRingBuffer_Write(t *testing.T) {
    	rb := New(64)
    
    	// check empty or full
    	if !rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is true but got false")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    	if rb.Length() != 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java

         * Test method for
         * {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Collection)}
         * .
         */
        @Test
        public void testIsEmptyCollectionOfQ() {
            Collection<String> c = null;
            assertThat(CollectionsUtil.isEmpty(c), is(true));
            c = new ArrayList<String>();
            assertThat(CollectionsUtil.isEmpty(c), is(true));
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java

        }
        assertEquals(expectedSize, size2);
      }
    
      @CollectionSize.Require(ZERO)
      public void testIsEmptyYes() {
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmptyNo() {
        assertFalse(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testSizeNullKey() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapIsEmptyTester.java

      @CollectionSize.Require(ZERO)
      public void testIsEmpty_yes() {
        assertTrue("isEmpty() should return true", getMap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testIsEmpty_no() {
        assertFalse("isEmpty() should return false", getMap().isEmpty());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top