Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 3,135 for class2 (0.27 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

    /**
     * Tests for the MsrpcGetMembersInAlias class.
     */
    class MsrpcGetMembersInAliasTest {
    
        private SamrAliasHandle aliasHandle;
        private LsarSidArray sids;
    
        @BeforeEach
        void setUp() {
            // Create mock objects for the constructor parameters
            aliasHandle = mock(SamrAliasHandle.class);
            sids = mock(LsarSidArray.class);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

                    "Default message should match the class contract");
            assertNull(ex.getCause(), "No cause expected from default constructor");
            assertTrue(ex instanceof SmbException, "Should be an SmbException");
    
            // toString should include the class name and the message
            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Test class for CreateContextResponse interface functionality
     */
    @DisplayName("CreateContextResponse Tests")
    class CreateContextResponseTest {
    
        /**
         * Test implementation of CreateContextResponse for testing purposes
         */
        static class TestCreateContextResponse implements CreateContextResponse {
            private byte[] name;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameQueryResponseTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class NameQueryResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            Request<CommonServerMessageBlockResponse> req = mock(Request.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
            // Stub tree send for varargs
            when(treeConnection.send(eq(resourceLoc), any(CommonServerMessageBlockRequest.class), isNull(), any(RequestParam[].class)))
                    .thenReturn(resp);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

     * would require complex stubbing of static methods.  Instead the tests
     * concentrate on the instance methods and simple static predicates
     * that are observable without network access.
     */
    @ExtendWith(MockitoExtension.class)
    class UniAddressTest {
    
        /* ---------------------------------------------------------------------
         * 0. Helper methods for parameterised tests
         * --------------------------------------------------------------------- */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                Class<?>[] paramTypes = new Class<?>[params.length];
                for (int i = 0; i < params.length; i++) {
                    if (params[i] instanceof byte[]) {
                        paramTypes[i] = byte[].class;
                    } else if (params[i] instanceof Integer) {
                        paramTypes[i] = int.class; // Use primitive int.class instead of Integer.class
                    } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/ScheduledJobDbm.java

    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class ScheduledJobDbm extends AbstractDBMeta {
    
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            Method calcMethod = findMethod(transport.getClass(), "calculatePreauthHash", byte[].class, int.class, int.class, byte[].class);
            calcMethod.setAccessible(true);
    
            byte[] input = "test data".getBytes();
            byte[] oldHash = new byte[64];
    
            assertThrows(Exception.class, () -> {
                calcMethod.invoke(transport, input, 0, input.length, oldHash);
            });
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/PathMappingDbm.java

    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class PathMappingDbm extends AbstractDBMeta {
    
        protected static final Class<?> suppressUnusedImportLocalDateTime = LocalDateTime.class;
    
        // ===================================================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top