- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 3,612 for Test (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/pac/PacCredentialTypeTest.java
* This test is indirect as the constructor would throw an exception. * We can't instantiate the class with null, so we can't directly test this method's behavior with null. * However, the constructor logic `!isCredentialTypeCorrect()` covers this. * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
} @Test void testConstructor() { assertNotNull(setupAndX); assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command); assertEquals(mockSession, setupAndX.session); assertEquals(mockAuth, setupAndX.cred); } @Test void testConstructorWithAnonymousAuth() throws Exception { // Test with anonymous authenticationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java
// This test verifies the typo fix by ensuring the class compiles SpnegoAuthenticator authenticator = new SpnegoAuthenticator(); assertNotNull(authenticator); // The typo fix (SpengoConfig -> SpnegoConfig) is verified at compile time // If the class name was wrong, this test file wouldn't compile assertTrue(true); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
@Test public void test_webFileRulePattern_xhtmlXml() { // Test that application/xhtml+xml is correctly matched Pattern pattern = Pattern.compile(WEB_FILE_RULE_PATTERN); assertTrue(pattern.matcher("application/xhtml+xml").matches()); } @Test public void test_webFileRulePattern_rdfXml() { // Test that application/rdf+xml is correctly matchedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
assertNull(testBlock.getAndx()); } @Test @DisplayName("Test getBatchLimit returns 0 by default") void testGetBatchLimit() { testBlock = new TestAndXServerMessageBlock(mockConfig); assertEquals(0, testBlock.getBatchLimit(mockConfig, (byte) 0x25)); } @Test @DisplayName("Test encode without andx command") void testEncodeWithoutAndx() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
} @Test @DisplayName("Should test isErrorResponseStatus with various status codes") void testIsErrorResponseStatus() throws Exception { // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR); assertFalse(response.isErrorResponseStatus()); // Test with success statusCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
assertNotNull(result); assertTrue(result.contains("test@seed#with$special%chars")); } @Test public void test_clearCache() { // Test that clearCache doesn't throw exception popularWordHelper.clearCache(); // Verify cache is cleared (we can't directly test this without accessing the cache) // But we can test that it doesn't throw exceptions assertTrue(true); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
cmd/encryption-v1_test.go
} func TestDecryptObjectInfo(t *testing.T) { for i, test := range decryptObjectMetaTests { if encrypted, err := DecryptObjectInfo(&test.info, test.request); err != test.expErr { t.Errorf("Test %d: Decryption returned wrong error code: got %d , want %d", i, err, test.expErr) } else if _, enc := crypto.IsEncrypted(test.info.UserDefined); encrypted && enc != encrypted { t.Errorf("Test %d: Decryption thinks object is encrypted but it is not", i)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
assertEquals(2, excludedUrls.size()); assertTrue(excludedUrls.contains("http://test.com/1.html")); assertTrue(excludedUrls.contains("http://test.com/2.html")); assertFalse(excludedUrls.contains("http://test.com/0.html")); } @Test public void test_getExcludedUrlList_emptyList() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
} @Test @DisplayName("Test inheritance from ServerMessageBlock2Response") void testInheritance() { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); assertTrue(response instanceof ServerMessageBlock2Response); assertTrue(response instanceof ServerMessageBlock2); } @Test @DisplayName("Test OVERHEAD constant value")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0)