Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 860 for setMap (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    class Smb2WriteResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Smb2WriteResponse response;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2WriteResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

    class Smb2ChangeNotifyRequestTest {
    
        private Configuration mockConfig;
        private CIFSContext mockContext;
        private byte[] testFileId;
        private Smb2ChangeNotifyRequest request;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            testFileId = new byte[16];
            Arrays.fill(testFileId, (byte) 0xAB);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            @Override
            public byte[] toByteArray() throws IOException {
                // Simple implementation for testing purposes
                return new byte[0];
            }
        }
    
        @BeforeEach
        void setUp() {
            message = new TestNtlmMessage();
        }
    
        @Test
        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      ExecutorService executor;
    
      private ExecutionSequencer serializer;
      private SettableFuture<@Nullable Void> firstFuture;
      private TestCallable firstCallable;
    
      @Override
      public void setUp() throws Exception {
        executor = newCachedThreadPool();
        serializer = ExecutionSequencer.create();
        firstFuture = SettableFuture.create();
        firstCallable = new TestCallable(firstFuture);
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.config.PropertyConfiguration;
    
    public class SmbComWriteAndXResponseTest {
    
        private Configuration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        @Mock
        private HttpServletRequest mockRequest;
    
        @Mock
        private Principal mockPrincipal;
    
        private NtlmHttpServletRequest ntlmRequest;
    
        @BeforeEach
        void setUp() {
            // Create a new NtlmHttpServletRequest with mocked dependencies before each test
            ntlmRequest = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. CONTRIBUTING.md

    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    
    ```
    $ cat local.properties
    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. docs/contribute/contributing.md

    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    
    ```
    $ cat local.properties
    sdk.dir=PATH_TO_ANDROID_HOME/sdk
    org.gradle.caching=true
    ```
    
    Running Android Tests
    ---------------------
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private CreateContextRequest mockCreateContext;
    
        private Smb2CreateRequest request;
    
        @BeforeEach
        void setUp() {
            // Setup will be done in individual tests when needed
        }
    
        @Test
        @DisplayName("Test constructor with path initialization")
        void testConstructor() {
            // Test with normal path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

    class Trans2GetDfsReferralTest {
    
        @Mock
        private Configuration mockConfig;
    
        private Trans2GetDfsReferral trans2GetDfsReferral;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top