- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 589 for testcase (0.05 sec)
-
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testRenewCredentials() { assertFalse(context.renewCredentials("someLocation", new Exception("someError"))); } @Test void testClose() throws CIFSException { assertFalse(context.isCloseCalled()); boolean result = context.close(); assertFalse(result); // AbstractCIFSContext always returns false for close()
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
* Test getter and setter for componentName */ public void test_componentName_getterSetter() { assertNull(factory.getComponentName()); factory.setComponentName("testName"); assertEquals("testName", factory.getComponentName()); factory.setComponentName(null); assertNull(factory.getComponentName()); factory.setComponentName("");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
cmd/test-utils_test.go
// // STEP 1: Call the handler with the unsigned HTTP request (anonReq), assert for the `ErrAccessDenied` error response. func ExecObjectLayerAPIAnonTest(t *testing.T, obj ObjectLayer, testName, bucketName, objectName, instanceType string, apiRouter http.Handler, anonReq *http.Request, bucketPolicy *policy.BucketPolicy, ) { anonTestStr := "Anonymous HTTP request test"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP"); when(mockDelegate.getDefaultUsername()).thenReturn("testuser"); when(mockDelegate.getDefaultPassword()).thenReturn("testpass"); when(mockDelegate.getNativeLanman()).thenReturn("jCIFS"); // When String oemEncoding = delegatingConfig.getOemEncoding();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
/** * Unit tests for {@link LineBuffer} and {@link LineReader}. * * @author Chris Nokleberg */ @AndroidIncompatible // occasionally very slow @NullUnmarked public class LineBufferTest extends IoTestCase { public void testProcess() throws IOException { bufferHelper(""); bufferHelper("\n", "\n"); bufferHelper("\r\n", "\r\n"); bufferHelper("\n\r", "\n", "\r"); bufferHelper("\r", "\r");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
* * <p>For a tiny bit more testing, see {@link FileBackedOutputStreamAndroidIncompatibleTest}. * * @author Chris Nokleberg */ @NullUnmarked public class FileBackedOutputStreamTest extends IoTestCase { public void testThreshold() throws Exception { testThreshold(0, 100, true, false); testThreshold(10, 100, true, false); testThreshold(100, 100, true, false);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
/** * Unit tests for {@link LineBuffer} and {@link LineReader}. * * @author Chris Nokleberg */ @AndroidIncompatible // occasionally very slow @NullUnmarked public class LineBufferTest extends IoTestCase { public void testProcess() throws IOException { bufferHelper(""); bufferHelper("\n", "\n"); bufferHelper("\r\n", "\r\n"); bufferHelper("\n\r", "\n", "\r"); bufferHelper("\r", "\r");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link Resources}. * * @author Chris Nokleberg */ @NullUnmarked public class ResourcesTest extends IoTestCase { @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681 public static TestSuite suite() { TestSuite suite = new TestSuite(); suite.addTest(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
@Test @DisplayName("Test reset with key and lastName") void testResetWithKeyAndLastName() { // Reset with parameters should not throw exception assertDoesNotThrow(() -> transaction.reset(123, "testName")); // Transaction should be ready for reuse assertTrue(transaction.hasMoreElements()); } @Test @DisplayName("Test hasMoreElements") void testHasMoreElements() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)