Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 171 for acct (0.03 sec)

  1. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertEquals(0, transport.getNumSessions());
    
            // Act: create new session (happy path)
            SmbSessionImpl s1 = transport.getSmbSession(ctx);
            assertNotNull(s1);
            assertEquals(1, transport.getNumSessions());
            s1.close();
    
            // Act: request again with same context -> reuse existing
            SmbSessionImpl s2 = transport.getSmbSession(ctx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

    class SmbEndOfFileExceptionTest {
    
        /**
         * Verifies the no-arg constructor sets the expected message, status, and no cause.
         */
        @Test
        void defaultConstructorSetsMessageAndStatus() {
            // Arrange & Act
            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

                boolean expectNew) {
            // Arrange: create an implementation instance
            SmbRenewableCredentials impl = supplier.get();
    
            // Act: call renew
            CredentialsInternal renewed = impl.renew();
    
            // Assert: verify behavior based on scenario
            if (expectSame) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // Need to mock getRequestProperty as well since it delegates to wrapped connection
            when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json");
    
            // Act
            ntlmConnection = new NtlmHttpURLConnection(mockConnection, mockCifsContext);
    
            // Assert
            assertEquals("GET", ntlmConnection.getRequestMethod());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            sqlException.setNextException(sqlException2);
            sqlException2.setNextException(sqlException3);
    
            final SQLRuntimeException sqlRuntimeException = new SQLRuntimeException(sqlException);
    
            // ## Act ##
            final String message = sqlRuntimeException.getMessage();
    
            // ## Assert ##
            System.out.println(message);
            assertContains(message, "ErrorCode=7650");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
            // Act: Call the method under test
            String actualUserName = ntlmRequest.getRemoteUser();
    
            // Assert: Verify that the returned user name is the expected one
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. cmd/testdata/config/invalid-types.yaml

            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
      ftp: # settings for MinIO to act as an ftp server
            address: ':8021'
            passive-port-range: '30000-40000'
      sftp: # settings for MinIO to act as an sftp server
            address: ':8022'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 836 bytes
    - Viewed (0)
  8. cmd/testdata/config/invalid-disks.yaml

            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
      ftp: # settings for MinIO to act as an ftp server
            address: ':8021'
            passive-port-range: '30000-40000'
      sftp: # settings for MinIO to act as an sftp server
            address: ':8022'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 863 bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            when(delegate.next()).thenReturn(e1, e2);
    
            NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, null);
    
            // Act & Assert
            assertTrue(itr.hasNext(), "Should have first element ready");
            SmbResource r1 = itr.next();
            assertNotNull(r1, "First adapted resource must not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/QueryStringBuilderTest.java

                    getAsQuery(Collections.singletonMap(k, new String[] { "2023-01-01", "2023-12-31" })));
        }
    
        public void test_conditions_occurrence() {
            final String k = "occt";
            assertEquals("allintitle:", getAsQuery(Collections.singletonMap(k, new String[] { "allintitle" })));
            assertEquals("allinurl:", getAsQuery(Collections.singletonMap(k, new String[] { "allinurl" })));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top