- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 1,038 for assertTrue (0.22 sec)
-
android/guava-tests/test/com/google/common/base/PredicatesTest.java
assertTrue(isNumber.apply(Integer.class)); assertTrue(isNumber.apply(Float.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_interface() { Predicate<Class<?>> isComparable = Predicates.subtypeOf(Comparable.class); assertTrue(isComparable.apply(Integer.class)); assertTrue(isComparable.apply(Float.class)); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 32.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
list.add("cool"); assertFalse(any(list, predicate)); list.add("pants"); assertTrue(any(list, predicate)); } public void testAll() { List<String> list = new ArrayList<>(); Predicate<String> predicate = equalTo("cool"); assertTrue(all(list, predicate)); list.add("cool"); assertTrue(all(list, predicate)); list.add("pants"); assertFalse(all(list, predicate)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 45.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/AsciiTest.java
} public void testEqualsIgnoreCase() { assertTrue(Ascii.equalsIgnoreCase("", "")); assertFalse(Ascii.equalsIgnoreCase("", "x")); assertFalse(Ascii.equalsIgnoreCase("x", "")); assertTrue(Ascii.equalsIgnoreCase(LOWER, UPPER)); assertTrue(Ascii.equalsIgnoreCase(UPPER, LOWER)); // Create new strings here to avoid early-out logic. assertTrue(Ascii.equalsIgnoreCase(new String(IGNORED), new String(IGNORED)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java
// Verify that toString includes the key fields assertNotNull(result); assertTrue(result.contains("SmbComReadAndXResponse")); assertTrue(result.contains("dataCompactionMode=1")); assertTrue(result.contains("dataLength=1024")); assertTrue(result.contains("dataOffset=54")); } // Helper method to write a 2-byte integer to a byte arrayRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
assertTrue(tree.matches("testShare", "testService")); assertTrue(tree.matches("TESTSHARE", "testService")); assertTrue(tree.matches("testshare", "TESTSERVICE")); // Test matching share with null service assertTrue(tree.matches("testShare", null)); // Test matching share with service starting with "??" assertTrue(tree.matches("testShare", "??otherService"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertEquals(buffer, region.getBuffer(), "Buffer should match"); assertEquals(1024, region.getSize(), "Size should match buffer size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access"); assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/AppendableWriterTest.java
writer.write("Hello"); assertFalse(spy.flushed); assertFalse(spy.closed); writer.flush(); assertTrue(spy.flushed); assertFalse(spy.closed); writer.close(); assertTrue(spy.flushed); assertTrue(spy.closed); } public void testCloseIsFinal() throws IOException { StringBuilder builder = new StringBuilder();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
public void testRemoveAll_allPresent() { assertTrue( "removeAll(intersectingCollection) should return true", collection.removeAll(MinimalCollection.of(e0()))); expectMissing(e0()); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveAll_somePresent() { assertTrue( "removeAll(intersectingCollection) should return true",
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
String json = item.toJsonString(); assertNotNull(json); assertTrue(json.contains("\"" + FieldNames.TEXT + "\":\"json test\"")); assertTrue(json.contains("\"" + FieldNames.QUERY_FREQ + "\":10")); assertTrue(json.contains("\"" + FieldNames.TAGS + "\"")); assertTrue(json.contains("tag1")); } @Test public void testKindEnum() { // Test Kind enumRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
String result = querySecurityDesc.toString(); assertNotNull(result); assertTrue(result.contains("NtTransQuerySecurityDesc")); assertTrue(result.contains("fid=0x" + Hexdump.toHexString(fid, 4))); assertTrue(result.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8))); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)