Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1761 - 1770 of 2,277 for Tests (0.02 seconds)

  1. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

    import org.elasticsearch.gradle.internal.test.Fixture
    import org.gradle.api.GradleException
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskProvider
    
    /**
     * A fixture for integration tests which runs in a separate process launched by Ant.
     */
    class AntFixture extends AntTask implements Fixture {
    
        /** The path to the executable that starts the fixture. */
        @Internal
        String executable
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  2. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/suppressions.xml

        <suppress checks="RegexpHeader"
                  files=".*[/\\]maven[/\\]src[/\\]main[/\\]java[/\\]org[/\\]apache[/\\].+"/>
    
        <!-- Ignore constant name for architecture tests since we want to use snake case there -->
        <suppress checks="ConstantName"
                  files=".*[/\\]architecture-test[/\\]src[/\\]test[/\\]java[/\\]org[/\\]gradle[/\\].+" />
        <suppress checks="ConstantName"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 19 16:48:15 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Maps#transformValues} when the backing map's views have iterators that don't
     * support {@code remove()}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
        // All we're testing is whether it throws.
        FileAttribute<?> unused = JavaNioCreator.userPermissions().get();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.lease.LeaseManager.LeaseEntry;
    
    @DisplayName("LeaseManager Tests")
    class LeaseManagerTest {
    
        private LeaseManager leaseManager;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  6. docs/debugging/README.md

    Example:
    
    ```sh
    minio server /data{1...4}
    ```
    
    The command takes no flags
    
    ```sh
    mc support diagnostics myminio/
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
        // Utility to build a minimal locator for connect tests
        private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) {
            return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share"));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    import jcifs.internal.dtyp.SecurityDescriptor;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Unit tests for NtTransQuerySecurityDescResponse class
     */
    class NtTransQuerySecurityDescResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NtTransQuerySecurityDescResponse response;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. tests/associations_has_one_test.go

    package tests_test
    
    import (
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:49:45 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  10. src/bytes/compare_test.go

    	{[]byte("abcdefgh"), []byte("abcdefgh"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghi"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghj"), -1},
    	{[]byte("abcdefghj"), []byte("abcdefghi"), 1},
    	// nil tests
    	{nil, nil, 0},
    	{[]byte(""), nil, 0},
    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    	{nil, []byte("a"), -1},
    }
    
    func TestCompare(t *testing.T) {
    	for _, tt := range compareTests {
    		numShifts := 16
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Click Count (0)
Back to Top