- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for effects (1.7 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarOpenPolicy2Test.java
// Then // Verify that the super constructor is called with correct arguments // Note: Directly verifying super constructor calls is not straightforward in JUnit/Mockito. // We verify the effects of the super constructor by checking the fields of the created object. // Assert object_attributes fields assertNotNull(msrpcLsarOpenPolicy2.object_attributes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
interface EnumConsumer { void accept(RequestParam rp); } @Mock EnumConsumer consumer; @Test @DisplayName("Enum value can be passed to collaborators without side effects") void enumUsedWithCollaboratorHasNoSideEffects() { // Arrange: pick a value and a mocked consumer RequestParam rp = RequestParam.NO_RETRY; // Act: pass to the collaboratorRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
private static final double TIMING_TOLERANCE = 2.0; // 200% tolerance - JVM timing is inherently variable for timing variations @BeforeEach public void setUp() { // Warm up JVM to reduce JIT compilation effects for (int i = 0; i < 100; i++) { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3 // Verify cache behavior - after reset, spying on the same cache won't work // Since we're working with internal state, we'll verify the side effects assertEquals("DOM", s1.getDomainName()); assertEquals("user1", s1.getAccountName()); assertEquals("DOM", s2.getDomainName()); assertEquals("user2", s2.getAccountName());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
*/ @Size(max = 10000) public String appValue; /** * Default label value to use when no specific label is selected. * This affects which documents are included in search results by default. */ @Size(max = 1000) public String defaultLabelValue; /** * Default sort order for search results.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// Given the current implementation, direct modification of the passed array affects the AvPair. // If this is not desired, a defensive copy should be added in the AvPair constructor. assertEquals(0x05, avPair.getRaw()[0], "Modifying original raw array should affect AvPair's raw data if no defensive copy is made."); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
// Count how many registrations this affects int affectedRegistrations = 0; for (MockRegistration reg : registrations.values()) { if (reg.shareName.equalsIgnoreCase(resourceName) || reg.serverAddress.equals(resourceName)) { affectedRegistrations++; } } log.debug("Notification affects {} registrations", affectedRegistrations); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
assertArrayEquals(h2, h1, "nTOWFv1 should return NT hash"); assertEquals(16, h1.length, "NT hash length is 16 bytes"); } @Test @DisplayName("nTOWFv2: overloads produce same result and domain affects key") void testNTOWFv2_overloadsAndDomainSensitivity() { // Arrange String domain = "Domain"; String user = "User"; String password = "password"; // Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
*/ @ExtendWith(MockitoExtension.class) class KerberosAuthDataTest { @Mock private Map<Integer, KerberosKey> mockKeys; /** * Test parsing with an unknown auth type. * Expects an empty list of authorizations. * @throws PACDecodingException should not be thrown */ @Test void testParseUnknownAuthType() throws PACDecodingException { // GIVEN an unknown auth typeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/LogStream.java
*/ public static void setLevel(final int level) { LogStream.level = level; } /** * This must be called before <code>getInstance</code> is called or * it will have no effect. * * @param stream the PrintStream to use for logging */ public static void setInstance(final PrintStream stream) { inst = new LogStream(stream); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0)