- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 7,039 for klass (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
request.setFileInfoClass((byte) 0x08); Encodable mockInputBuffer = mock(Encodable.class); when(mockInputBuffer.encode(any(byte[].class), anyInt())).thenReturn(50); when(mockInputBuffer.size()).thenReturn(50); try { Field inputBufferField = Smb2QueryInfoRequest.class.getDeclaredField("inputBuffer"); inputBufferField.setAccessible(true);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
*/ class Trans2QueryPathInformationResponseTest { private Trans2QueryPathInformationResponse response; @BeforeEach void setUp() { response = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
import jcifs.NetbiosName; import jcifs.ResolverType; /** * Test class for NameServiceClientImpl focusing on public API methods. * Optimized for fast execution with minimal network calls. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) @DisplayName("NameServiceClientImpl Tests") class NameServiceClientImplTest { @Mock private CIFSContext mockContext;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
* protection against buffer overflow, integer overflow, and other attacks. */ public class Smb2NegotiateResponseInputValidationTest { private Configuration mockConfig; private Smb2NegotiateResponse response; @BeforeEach public void setUp() { mockConfig = Mockito.mock(Configuration.class); response = new Smb2NegotiateResponse(mockConfig); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
*/ ) { continue; } Class<?> clazz = info.load(); try { Method unused = clazz.getDeclaredMethod("writeReplace"); continue; // It overrides writeReplace, so it's safe. } catch (NoSuchMethodException e) { // This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 03:07:54 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
* helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest { // Simple base class to satisfy the extended CredentialsInternal contract static abstract class BaseCreds implements SmbRenewableCredentials { @Override public CredentialsInternal clone() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
import org.junit.jupiter.params.provider.NullSource; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class SMBSignatureValidationExceptionTest { // Happy path: default constructor creates an exception with no message/cause @Test @DisplayName("Default ctor: null message/cause and success status")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
import org.junit.jupiter.api.Test; import org.lastaflute.web.response.next.HtmlNext; public class FessHtmlPathTest extends UnitFessTestCase { @Test public void test_allPathsInitialized() throws Exception { // Get all public static final fields of HtmlNext type Field[] fields = FessHtmlPath.class.getDeclaredFields(); for (Field field : fields) { int modifiers = field.getModifiers();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
@Test void testUnwrap() throws SmbException { SID sid = new SID(adminSidString); SID unwrapped = sid.unwrap(SID.class); assertNotNull(unwrapped); assertEquals(sid, unwrapped); assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } /** * Test the resolve method. * * @throws IOException if an I/O error occurs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
FileEntry fe1 = mock(FileEntry.class); lenient().when(fe1.getName()).thenReturn("file1"); lenient().when(fe1.getFileIndex()).thenReturn(1); FileEntry fe2 = mock(FileEntry.class); lenient().when(fe2.getName()).thenReturn("file2"); when(fe2.getFileIndex()).thenReturn(2); FileEntry fe3 = mock(FileEntry.class); lenient().when(fe3.getName()).thenReturn("file3");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0)