Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,810 for when (0.05 sec)

  1. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        void testRenewCredentials_NtlmAuthenticatorReturnsNull() {
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
                mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator);
                mockedNtlmAuthenticator.when(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * They are created when <dfn>resolving</dfn> an {@code ArtifactCoordinates} object. Resolving is the process
     * that selects a particular version and downloads the artifact into the local repository.
     * The {@link org.apache.maven.api.DownloadedArtifact} sub-interface is used when
     * an artifact has been resolved and the {@link org.apache.maven.api.ProducedArtifact} sub-interface when
     * an artifact is being produced by a project.</p>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

            doAnswer(invocation -> {
                MsrpcSamrOpenAlias rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenAlias.class));
    
            // Act
            SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            void testToStringWithNullChallengeThrowsNPE() {
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("ANYSERVER");
    
                NtlmChallenge nc = new NtlmChallenge(null, dc);
    
                // Hexdump.toHexString will throw NPE when accessing challenge.length
                assertThrows(NullPointerException.class, nc::toString);
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockAuth.domain = "TESTDOMAIN";
            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getName()).thenReturn("testuser");
            when(mockAuth.getDomain()).thenReturn("TESTDOMAIN");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtAddressTest.java

            NetbiosAddress mockNetbiosAddress20 = mock(NetbiosAddress.class);
            when(mockNetbiosAddress20.getNameType()).thenReturn(0x20);
            when(mockNetbiosAddress20.getHostName()).thenReturn("ACTUAL_SERVER_NAME");
    
            NetbiosAddress[] nodeStatusResponse = { mock(NetbiosAddress.class), mockNetbiosAddress20 };
            when(mockNameServiceClient.getNodeStatus(nbtAddress)).thenReturn(nodeStatusResponse);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/SMBSigningDigestTest.java

    import static org.mockito.ArgumentMatchers.anyInt;
    import static org.mockito.ArgumentMatchers.eq;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                            "acceptation": "I really want to do this"
                        }
                    ]
                }
            """])
    
            then:
            changes.acceptedChanges.size() == 2
        }
    
        def "parses more than one change from different files"() {
            when:
            def changes = AcceptedApiChanges.parse(["""
                {
                    "acceptedApiChanges": [
                        {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. cmd/batch-replicate_test.go

    #    credentials:
    #      accessKey: minioadmin # Required
    #      secretKey: minioadmin # Required
    #    # sessionToken: SESSION-TOKEN # Optional only available when rotating credentials are used
        snowball: # automatically activated if the source is local
          disable: true # optionally turn-off snowball archive transfer
    #      batch: 100 # upto this many objects per archive
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top