- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,038 for assertTrue (0.04 sec)
-
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype"); // Assert throwing/catching behavior with assertThrows SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> { throw new SMBProtocolDecodingException(); }, "Should be throwable via assertThrows");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertNull(ex.getMessage(), "Default message should be null"); assertNull(ex.getCause(), "Default cause should be null"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException"); assertTrue(ex instanceof IOException, "Should be an IOException"); } @Test @DisplayName("Should create SpnegoException with message") void testWithMessage() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
String bulkLine = SuggestUtil.createBulkLine("test_index", "_doc", item); assertNotNull(bulkLine); assertTrue(bulkLine.contains("test_index")); assertTrue(bulkLine.contains("_doc")); assertTrue(bulkLine.contains("test text")); assertTrue(bulkLine.contains("reading1")); assertTrue(bulkLine.contains("reading2")); } @Test(expected = SuggesterException.class)
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
inOrder.verify(creds, atLeastOnce()).isAnonymous(); } @Test @DisplayName("isIPC is true for IPC$ or no share") void testIsIpc() { assertTrue(locator("smb://server/IPC$/").isIPC()); assertTrue(locator("smb://server/").isIPC()); assertFalse(locator("smb://server/share/").isIPC()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertTrue("addAll(n, hasDuplicates) should return true", getList().addAll(0, elementsToAdd)); expectAdded(0, e0(), e1(), e0(), e1()); } @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX) @CollectionFeature.Require(ALLOWS_NULL_VALUES) public void testAddAllAtIndex_nullSupported() { List<E> containsNull = singletonList(null);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
assertFalse(service.startUpCalled); service.startAsync().awaitRunning(); assertTrue(service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); enterRun.await(); // to avoid stopping the service until run() is invoked service.stopAsync().awaitTerminated(); assertTrue(service.shutDownCalled); assertEquals(Service.State.TERMINATED, service.state()); executionThread.join();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 12.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
fail("Should throw exception from close()"); } catch (Exception e) { assertTrue(e.getMessage().contains("Intentional close failure")); } // Listener should have been called before the exception assertTrue("Listener should be called before close()", listenerCalled.get()); assertTrue(component.isCloseCalled()); } /** * Test destroyObject with null PooledObject
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 13:07:01 UTC 2025 - 36.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
assertTrue(BigIntegerMath.isPowerOfTwo(result)); assertThat(result).isAtLeast(x); assertThat(result).isLessThan(x.add(x)); } } public void testFloorPowerOfTwo() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { BigInteger result = BigIntegerMath.floorPowerOfTwo(x); assertTrue(BigIntegerMath.isPowerOfTwo(result));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Nov 19 01:35:24 UTC 2025 - 27.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
assertTrue(result.contains("SmbFindFileBothDirectoryInfo")); assertTrue(result.contains("nextEntryOffset=100")); assertTrue(result.contains("fileIndex=200")); assertTrue(result.contains("creationTime=")); assertTrue(result.contains("lastAccessTime=")); assertTrue(result.contains("lastWriteTime=")); assertTrue(result.contains("changeTime="));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
String result = response.toString(); assertNotNull(result); assertTrue(result.contains("Trans2FindFirst2Response")); assertTrue(result.contains("sid=")); assertTrue(result.contains("searchCount=")); assertTrue(result.contains("isEndOfSearch=")); assertTrue(result.contains("lastName=")); } @Test void testReadParametersWireFormat_NotFindFirst() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)