- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 8,997 for Class3 (0.04 seconds)
-
src/test/java/jcifs/smb/CredentialsInternalTest.java
import jcifs.Credentials; @ExtendWith(MockitoExtension.class) class CredentialsInternalTest { @Mock CIFSContext mockContext; /** * Simple in-test implementation of CredentialsInternal to exercise the API surface. * It validates inputs, records calls, and delegates some behavior to collaborators * so we can verify interactions. */ static class TestCredentials implements CredentialsInternal {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
import jcifs.internal.smb2.persistent.HandleReconnector; import jcifs.internal.smb2.persistent.HandleType; import jcifs.internal.smb2.persistent.PersistentHandleManager; /** * Test class for HandleReconnector functionality */ public class HandleReconnectorTest { @Mock private PersistentHandleManager mockManager; private HandleReconnector reconnector; private HandleInfo testHandle; @BeforeEachCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged); this.userRealm = derRealm.getString(); break; case 3: // Principal ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged); ASN1Sequence nameSequence = ASN1Util.as(ASN1Sequence.class, ASN1Util.as(ASN1TaggedObject.class, principalSequence, 1));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/go/GoAction.java
return redirect(ErrorAction.class); } final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class); if (url == null) { saveError(messages -> messages.addErrorsDocumentNotFound(GLOBAL, form.docId)); return redirect(ErrorAction.class); } if (fessConfig.isSearchLog()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
/** * Get the full set of requirements for a tester class. * * @param testerClass a tester class * @return all the constraints implicitly or explicitly required by the class or any of its * superclasses. * @throws ConflictingRequirementsException if the requirements are mutually inconsistent. */ public static TesterRequirements getTesterRequirements(Class<?> testerClass)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Comprehensive test suite for DcerpcHandle class * Tests binding parsing, handle creation, bind operations, and communication */ @ExtendWith(MockitoExtension.class) @DisplayName("DcerpcHandle Test Suite") class DcerpcHandleTest { @Mock private CIFSContext mockContext; @Mock private DcerpcBinding mockBinding;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.3K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
@Test public void testDirectoryTraversal() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\..\\..\\windows\\system32"); }); } @Test public void testDirectoryTraversalDot() throws Exception { assertThrows(SmbException.class, () -> { validator.validatePath("\\share\\.\\..\\folder"); }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Mock both sends and return response when(tree.send(any(TransWaitNamedPipe.class), any(TransWaitNamedPipeResponse.class))).thenAnswer(inv -> inv.getArgument(1)); when(tree.send(any(TransCallNamedPipe.class), any(TransCallNamedPipeResponse.class))).thenAnswer(inv -> inv.getArgument(1)); int n = handle.sendrecv(new byte[3], 0, 3, new byte[8], 64);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt
@defaultMessage Do not violate java's access system java.lang.Class#getDeclaredClasses() @ Do not violate java's access system: Use getClasses() instead java.lang.Class#getDeclaredConstructor(java.lang.Class[]) @ Do not violate java's access system: Use getConstructor() instead java.lang.Class#getDeclaredConstructors() @ Do not violate java's access system: Use getConstructors() instead
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// When & Then - InvocationTargetException wraps the actual exception when using reflection Exception exception = assertThrows(Exception.class, () -> invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0), "Should throw exception for invalid structure size"); // Verify the actual cause is SMBProtocolDecodingExceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)