- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 1,141 for assertTrue (0.05 sec)
-
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
NbtAddress addr = addresses[0]; assertTrue(addr.groupName); assertEquals(3, addr.nodeType); assertTrue(addr.isBeingDeleted); assertTrue(addr.isInConflict); assertTrue(addr.isActive); assertTrue(addr.isPermanent); } @Test void readRDataWireFormat_shouldHandleMultipleNames() throws Exception {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
System.clearProperty("lasta.env"); final List<String> ptList = pathMappingHelper.getProcessTypeList(); assertEquals(2, ptList.size()); assertTrue(ptList.contains(Constants.PROCESS_TYPE_DISPLAYING)); assertTrue(ptList.contains(Constants.PROCESS_TYPE_BOTH)); } public void test_getProcessTypeList_nonCrawlerMode() { System.setProperty("lasta.env", "other"); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
*/ @Test public void putEdge_nodesNotInGraph() { assume().that(graphIsMutable()).isTrue(); graphAsMutableGraph.addNode(N1); assertTrue(graphAsMutableGraph.putEdge(N1, N5)); assertTrue(graphAsMutableGraph.putEdge(N4, N1)); assertTrue(graphAsMutableGraph.putEdge(N2, N3)); assertThat(graph.nodes()).containsExactly(N1, N5, N4, N2, N3).inOrder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java
import org.junit.runner.RunWith; import java.io.IOException; import java.security.cert.Certificate; import java.security.cert.X509Certificate; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * Simple test adaptable to show a failure in older versions of OkHttp * or Android SDKs. */ @RunWith(AndroidJUnit4.class) public class IssueReproductionTest {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionContainsTester<E> extends AbstractCollectionTester<E> { @CollectionSize.Require(absent = ZERO) public void testContains_yes() { assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
@CollectionSize.Require(SEVERAL) public void testRetainAll_duplicatesRemoved() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertTrue( "containsDuplicates.retainAll(subset) should return true", collection.retainAll(MinimalCollection.of(e2()))); expectContents(e2()); } @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TarExtractorTest.java
final String content = tarExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("テスト")); assertTrue(content.contains("テキスト")); } public void test_getText_maxSize() throws IOException { try (final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar")) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
try { // parse(String) Method parseMethod = KuromojiCSVUtil.class.getMethod("parse", String.class); assertTrue("parse should be static", java.lang.reflect.Modifier.isStatic(parseMethod.getModifiers())); assertTrue("parse should be public", java.lang.reflect.Modifier.isPublic(parseMethod.getModifiers()));Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals(0x1234, packet.nameTrnId); assertTrue(packet.isResponse); assertEquals(NameServicePacket.QUERY, packet.opCode); assertTrue(packet.isAuthAnswer); assertTrue(packet.isTruncated); assertTrue(packet.isRecurDesired); assertTrue(packet.isRecurAvailable); assertTrue(packet.isBroadcast); assertEquals(NameServicePacket.FMT_ERR, packet.resultCode);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertTrue(handle.hasCapability(123)); verify(treeConnection).hasCapability(123); // Exception path when(treeConnection.hasCapability(999)).thenThrow(new SmbException("Not connected")); SmbException ex = assertThrows(SmbException.class, () -> handle.hasCapability(999)); assertTrue(ex.getMessage().contains("Not connected")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0)