- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 3,356 for xtest (0.2 sec)
-
src/test/java/jcifs/util/transport/TransportExceptionTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.CIFSException; /** * Test class for TransportException */ public class TransportExceptionTest { @Test @DisplayName("Test default constructor creates exception with null message") public void testDefaultConstructor() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
internal/crypto/key_test.go
func TestSealUnsealKey(t *testing.T) { for i, test := range sealUnsealKeyTests { key := GenerateKey(test.SealExtKey[:], rand.Reader) sealedKey := key.Seal(test.SealExtKey[:], test.SealIV, test.SealDomain, test.SealBucket, test.SealObject) if err := key.Unseal(test.UnsealExtKey[:], sealedKey, test.UnsealDomain, test.UnsealBucket, test.UnsealObject); err == nil && !test.ShouldPass { t.Errorf("Test %d should fail but passed successfully", i)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 6.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
} @Test void testReadModifiedPoms(@TempDir Path tempDir) throws Exception { // TODO a similar test should be created to test the dependency management (basically all usages // of DefaultModelBuilder.getCache() are affected by MNG-6530 FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
class CreateResponseTests { @Test @DisplayName("Should create correct response type") void testCreateResponse() { Smb2EchoResponse response = echoRequest.createResponse(mockContext, echoRequest); assertNotNull(response); assertInstanceOf(Smb2EchoResponse.class, response); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
import org.codelibs.fess.crawler.processor.ResponseProcessor; import org.dbflute.utflute.core.PlainTestCase; /** * Test class for RuleManager interface. * Tests the contract and behavior of RuleManager implementations. */ public class RuleManagerTest extends PlainTestCase { /** * Test implementation of RuleManager for testing purposes */ public static class TestRuleManager implements RuleManager {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
instanceField.set(null, null); } @Test void testConstructor() { // Test constructor creates a LogStream that extends PrintStream LogStream logStream = new LogStream(testStream); assertNotNull(logStream); assertTrue(logStream instanceof PrintStream); } @Test void testSetLevel() { // Test setting log level LogStream.setLevel(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
method.invoke(crawlerThread, urlQueue, responseData); verify(responseProcessor, times(1)).process(responseData); assertEquals("test-rule", responseData.getRuleId()); } /** * Test processResponse when no rule is found. */ public void test_processResponse_noRule() throws Exception { final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
assertEquals(expectedMimeType, mimeMap.getMimeType(extension)); } @Test @DisplayName("Should handle extensions with special characters") void testSpecialCharacterExtensions() throws IOException { // Test extensions that are definitely not in the map assertEquals("application/octet-stream", mimeMap.getMimeType("file.ext"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds") void ensureDFSResolved_success() throws Exception { // Arrange: default mock does nothing // Act: call method under test handle.ensureDFSResolved(); // Assert: interaction happened and did not throw
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; /** * Test for EnhancedCompositeBeanHelper to ensure it works correctly and provides performance benefits.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 8.7K bytes - Viewed (0)