- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 3,008 for Shouldn (0.07 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length(); // positive size -> accept
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsValue(null) should return false", getMap().containsValue(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when read caching is enabled assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when read caching is not enabled
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java
public void testOffer_supportedNotPresent() { assertTrue("offer(notPresent) should return true", getQueue().offer(e3())); expectAdded(e3()); } @CollectionFeature.Require({SUPPORTS_ADD, ALLOWS_NULL_VALUES}) public void testOffer_nullSupported() { assertTrue("offer(null) should return true", getQueue().offer(null)); expectAdded((E) null); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java
Object[] actual = getList().toArray(); assertArrayEquals("toArray() order should match list", createOrderedArray(), actual); } @CollectionSize.Require(absent = ZERO) public void testToArray_tooSmall() { Object[] actual = getList().toArray(new Object[0]); assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual); } public void testToArray_largeEnough() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java
* <p> * This method is called by Maven during initialization to collect all custom enum values * that should be registered. The returned collection should contain all the enum values * that this provider wants to contribute. * <p> * The values returned by this method should be created using the appropriate factory methods * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertTrue("Result for 7 days should be greater than 1 day", result7 > result1); assertTrue("Result for 1 day should be greater than 0 days", result1 > result0); // Verify that the differences are approximately correct long diff1 = result1 - result0; long diff7 = result7 - result0;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java
*/ @Nonnull Optional<String> directory(); /** * Should use inference when upgrading (remove redundant information). * * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty */ @Nonnull Optional<Boolean> infer(); /** * Should fix Maven 4 compatibility issues in POMs.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Aug 29 12:46:51 UTC 2025 - 3.6K bytes - Viewed (0)