Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 739 for testDfs (0.04 seconds)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertArrayEquals(roles, user.getRoleNames());
        }
    
        @Test
        public void test_getGroupNames() {
            // Test with multiple groups
            String[] groups = { "developers", "testers", "managers" };
            FessUser user = new TestFessUser("testuser", new String[] {}, groups, new String[] {});
            assertArrayEquals(groups, user.getGroupNames());
    
            // Test with single group
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/http/NetworkExplorerTest.java

    import jakarta.servlet.http.HttpSession;
    import jcifs.SmbResourceLocator;
    import jcifs.context.SingletonContext;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbFile;
    
    /**
     * Unit tests for the NetworkExplorer servlet.
     * Tests initialization, authentication handling, and servlet lifecycle.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class NetworkExplorerTest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Optional;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@code Comparators}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public class ComparatorsTest extends TestCase {
      public void testLexicographical() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Apr 12 15:07:59 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

    import java.util.EnumSet;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for an {@link EnumMultiset}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @J2ktIncompatible // EnumMultiset
    @NullUnmarked
    public class EnumMultisetTest extends TestCase {
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.Mock;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbSessionInternalTest {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Comprehensive tests for default compression service implementation.
     */
    public class DefaultCompressionServiceTest {
    
        private DefaultCompressionService compressionService;
        private byte[] testData;
        private byte[] largeTestData;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/PacMacTest.java

    import java.util.Map;
    
    import javax.crypto.spec.SecretKeySpec;
    import javax.security.auth.kerberos.KerberosKey;
    import javax.security.auth.kerberos.KerberosPrincipal;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for the PacMac class.
     */
    class PacMacTest {
    
        private static final byte[] TEST_DATA = "test data".getBytes();
        private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. cmd/admin-handlers-users_test.go

    	}
    
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    		c.Fatalf("unable to setup access management plugin for tests: %v", err)
    	}
    
    	s.RestartIAMSuite(c)
    }
    
    // TestIAM_AMPInternalIDPServerSuite - tests for access management plugin
    func TestIAM_AMPInternalIDPServerSuite(t *testing.T) {
    	for i, testCase := range iamTestSuites {
    		t.Run(
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        @Mock
        private Configuration config;
        @Mock
        private Credentials creds;
        @Mock
        private NameServiceClient nsc;
    
        // Minimal URLStreamHandler to allow creating smb:// URLs in tests
        private static final URLStreamHandler SMB_HANDLER = new URLStreamHandler() {
            @Override
            protected URLConnection openConnection(URL u) {
                return null; // not used
            }
        };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
Back to Top