- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 1,040 for verifyCn (0.08 seconds)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify lease state assertEquals(leaseState, SMBUtil.readInt4(buffer, 40)); // Verify directory-specific data assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
indexUpdateCallback.commit(); // Verify documents were sent assertEquals(1, indexingHelper.sendDocumentsCalled); assertEquals(0, indexUpdateCallback.docList.size()); } @Test public void test_commit_withEmptyCache() { // Execute commit with no documents indexUpdateCallback.commit(); // Verify no indexing happened
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
@Test public void test_constructor() { // Verify suffix is set correctly assertEquals(PagerCreator.SUFFIX, "Pager"); // Verify name suffix is set assertEquals("Pager", pagerCreator.getNameSuffix()); // Verify instance def is SESSION assertEquals(InstanceDefFactory.SESSION, pagerCreator.getInstanceDef()); // Verify auto binding def is NONECreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Verify the decision consulted the configuration // getConfig() is called twice: once in Kerb5Authenticator and once in NtlmPasswordAuthenticator verify(tc, times(2)).getConfig(); verify(config, times(1)).isAllowNTLMFallback(); verify(config, times(1)).isUseRawNTLM(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java
.thenReturn(UpgradeResult.empty()); checkGoal.execute(context); // Verify that the Check-specific header is logged verify(context.logger).info("Maven Upgrade Tool - Check"); } finally { // Clean up - delete all files in the directory first try {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 4.9K bytes - Click Count (0) -
cmd/xl-storage_unix_test.go
t.Fatalf("Initializing xlStorage failed with %s.", err) } // Attempt to create a volume to verify the permissions later. // MakeVol creates directory with 0777 perms. if err = disk.MakeVol(t.Context(), testCase.volName); err != nil { t.Fatalf("Creating a volume failed with %s expected to pass.", err) } // Attempt to create a file to verify the permissions later. // AppendFile creates file with 0666 perms.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
when(mockConfig.isRequireSecureNegotiate()).thenReturn(true); when(mockDigest.verify(buffer, 0, 100, 0, response)).thenReturn(false); boolean result = response.verifySignature(buffer, 0, 100); assertTrue(result); verify(mockDigest).verify(buffer, 0, 100, 0, response); } } @Nested @DisplayName("Expiration Tests")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Assert: delegate interactions occur when usage transitions happen verify(delegate, times(1)).acquire(); verify(delegate, times(1)).release(); } @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
// Convert to string to check formatting String result = DomUtils.toXml(document); // If pluginManagement was added, verify proper formatting if (result.contains("<pluginManagement>")) { // Verify that the XML formatting is correct - no malformed closing tags assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was called and tid was set verify(session).send(request, response); assertEquals(123, request.tid); } @Test void testSendWithDfs() throws SmbException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.2K bytes - Click Count (0)