- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 8,784 for KClass (0.11 seconds)
-
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/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java
* * @author higa */ public class NoSuchConstructorRuntimeException extends ClRuntimeException { private static final long serialVersionUID = 8688818589925114466L; /** * The target class. */ private final Class<?> targetClass; /** * The parameter types. */ private final Class<?>[] argTypes; /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 2.1K 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) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
* @author Jared Levy * @author Hayward Chan */ @GwtCompatible @NullMarked public class SetGenerators { public static class ImmutableSetCopyOfGenerator extends TestStringSetGenerator { @Override protected Set<String> create(String[] elements) { return ImmutableSet.copyOf(elements); } } public static class ImmutableSetUnsizedBuilderGenerator extends TestStringSetGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K 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)