Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 308 for retval (0.03 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

         *
         * @throws GeneralSecurityException if a security error occurs
         */
        @Test
        void testDecryptRc4() throws GeneralSecurityException {
            // This is a simplified test and does not use real encrypted data from Kerberos
            // It mainly tests the decryption logic path
            Key key = new KerberosKey(null, new byte[16], KerberosConstants.RC4_ENC_TYPE, 0);
            byte[] data = new byte[32]; // Dummy data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/LogStreamTest.java

                LogStream.setInstance(null);
            });
        }
    
        @Test
        void testPrintStreamDelegation() {
            // Test that LogStream properly delegates to underlying PrintStream
            // Use a real PrintStream with ByteArrayOutputStream to test delegation
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            PrintStream realStream = new PrintStream(baos);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            assertEquals(3, ruleManager.getRuleCount());
    
            // Remove rule
            assertTrue(ruleManager.removeRule(rule2));
            assertEquals(2, ruleManager.getRuleCount());
    
            // Get rule after removal
            matched = ruleManager.getRule(responseData);
            assertNull(matched); // No matching rule now
    
            // Add rule4 which matches
            ruleManager.addRule(rule4);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * Integration tests for lsarpc classes using real NdrBuffer implementations
     */
    class lsarpcIntegrationTest {
    
        @Test
        void testLsarDomainInfoEncodeDecodeRoundTrip() throws NdrException {
            // Create a domain info with test data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

        }
    
        @Test
        @DisplayName("renew: invokes getSubject and returns self")
        void testRenewInvokesGetSubjectAndReturnsSelf() {
            JAASAuthenticator auth = spy(new JAASAuthenticator());
            // Avoid real JAAS by stubbing getSubject
            doReturn(new Subject()).when(auth).getSubject();
    
            // Act
            CredentialsInternal result = auth.renew();
    
            // Assert interaction and return value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LinearTransformation.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.concurrent.LazyInit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * The representation of a linear transformation between real numbers {@code x} and {@code y}.
     * Graphically, this is the specification of a straight line on a plane. The transformation can be
     * expressed as {@code y = m * x + c} for finite {@code m} and {@code c}, unless it is a vertical
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess

               properties="$properties -Dfess.${1#--}=$2"
               shift 2
               ;;
          *) ARGV="$ARGV $1" ; shift
        esac
    done
    
    # Parse any command line options.
    args=`getopt vdhp:D:X: $ARGV`
    eval set -- "$args"
    
    while true; do
        case $1 in
            -v)
                "$JAVA" $FESS_JAVA_OPTS $fess_parms -cp "$FESS_CLASSPATH" $props \
                        org.codelibs.fess.Version
                exit 0
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            pairs.add(flags2);
    
            assertEquals(3, pairs.size(), "Should start with 3 pairs");
    
            AvPairs.remove(pairs, AvPair.MsvAvFlags);
    
            assertEquals(1, pairs.size(), "Should have 1 pair after removal");
            assertFalse(AvPairs.contains(pairs, AvPair.MsvAvFlags), "Should not contain MsvAvFlags");
            assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

       *
       * <p>This workaround should be removed at a distant future time when <a
       * href="https://issuetracker.google.com/issues/115932459">Android supports {@code
       * AnnotatedType}</a>.
       */
      @SuppressWarnings("removal") // b/318391980
      private static final class TypeVariableInvocationHandler implements InvocationHandler {
        private static final ImmutableMap<String, Method> typeVariableMethods;
    
        static {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/testing.md

    ///
    
    ## Separando testes { #separating-tests }
    
    Em uma aplicação real, você provavelmente teria seus testes em um arquivo diferente.
    
    E sua aplicação **FastAPI** também pode ser composta de vários arquivos/módulos, etc.
    
    ### Arquivo da aplicação **FastAPI** { #fastapi-app-file }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top