- Sort Score
- Result 10 results
- Languages All
Results 1691 - 1700 of 3,963 for void (0.04 sec)
-
src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java
*/ @Test public void testGetFromStream() throws Exception { final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/aaa.html"; final String contentType = MimeTypeUtil.guessContentType(path); assertEquals("text/html", contentType); } /** * @throws Exception */ @Test public void testGetFromStream_gif() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
import jcifs.CIFSException; /** * Test class for TransportException */ public class TransportExceptionTest { @Test @DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() { // Create exception with default constructor TransportException exception = new TransportException(); // Verify the exception is created and has no message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebAuthenticationBhv.java
public void insert(WebAuthentication entity) { doInsert(entity, null); } public void insert(WebAuthentication entity, RequestOptionCall<IndexRequestBuilder> opLambda) { entity.asDocMeta().indexOption(opLambda); doInsert(entity, null); } public void update(WebAuthentication entity) { doUpdate(entity, null); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
return concat(strongImplementations(), weakImplementations()); } public void testNull() throws Exception { for (Striped<?> striped : allImplementations()) { new NullPointerTester().testAllPublicInstanceMethods(striped); } } public void testSizes() { // not bothering testing all variations, since we know they share implementations
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
return concat(strongImplementations(), weakImplementations()); } public void testNull() throws Exception { for (Striped<?> striped : allImplementations()) { new NullPointerTester().testAllPublicInstanceMethods(striped); } } public void testSizes() { // not bothering testing all variations, since we know they share implementations
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
void mock_noInteractions() { // Arrange/Act: do nothing // Assert: verify no interactions verifyNoInteractions(mockEntry); } // --- Fake implementation tests (happy path and edge cases) --- @Test @DisplayName("Fake implementation returns provided values (happy path)") void fakeImplementation_happyPath() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
private Configuration config; @Mock private Address address; @Mock private Smb2NegotiateResponse negotiateResponse; private SmbTransportImpl transport; @BeforeEach void setUp() throws Exception { when(context.getConfig()).thenReturn(config); when(config.isSigningEnforced()).thenReturn(false); when(config.getSessionTimeout()).thenReturn(30_000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
@SuppressWarnings("deprecation") @Override public void tearDown() throws Exception { stop(); join(); if (uncaughtThrowable != null) { throw new AssertionError("Uncaught throwable in " + getName(), uncaughtThrowable); } } /** * Causes this thread to call the named void method, and asserts that the call returns normally. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsPagingResultBean.java
return took; } public void setTook(long took) { this.took = took; } public int getTotalShards() { return totalShards; } public void setTotalShards(int totalShards) { this.totalShards = totalShards; } public int getSuccessfulShards() { return successfulShards; } public void setSuccessfulShards(int successfulShards) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
import org.junit.jupiter.api.Test; import jcifs.internal.util.SMBUtil; public class AvTimestampTest { /** * Test constructor with raw bytes. */ @Test public void testConstructorWithRawBytes() { byte[] rawBytes = new byte[8]; SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0)