Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1111 - 1120 of 3,220 for test5 (0.04 seconds)

  1. cmd/object-api-putobject_test.go

    func md5Header(data []byte) map[string]string {
    	return map[string]string{"etag": getMD5Hash(data)}
    }
    
    // Wrapper for calling PutObject tests for both Erasure multiple disks and single node setup.
    func TestObjectAPIPutObjectSingle(t *testing.T) {
    	ExecExtendedObjectLayerTest(t, testObjectAPIPutObject)
    }
    
    // Tests validate correctness of PutObject.
    func testObjectAPIPutObject(obj ObjectLayer, instanceType string, t TestErrHandler) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        tester.testFailedFuture("failure");
      }
    
      public void testCancel() throws Exception {
        assertTrue(future.cancel(true));
        tester.testCancelledFuture();
      }
    
      /** Tests the initial state of the future. */
      public void testCreate() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ThreadFactoryBuilderTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.atomic.AtomicBoolean;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    import org.mockito.InOrder;
    
    /**
     * Tests for MoreExecutors.
     *
     * @author Kyle Littlefield (klittle)
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class MoreExecutorsTest extends JSR166TestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests offer operations on a queue. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalBwcGitPlugin.java

        }
    
        /**
         * We use a time based approach to make the bwc versions built deterministic and compatible with the current hash.
         * Most of the time we want to test against latest, but when running delayed exhaustive tests or wanting
         * reproducible builds we want this to be deterministic by using a hash that was the latest when the current
         * commit was made.
         * <p>
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 9.9K bytes
    - Click Count (0)
  8. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                        .replace("\"md5\":\\s+\"\\w+\"".toRegex(), "\"md5\": \"\"")
                    it.writeText(content)
                }
            }
        }
    
        // For local consumption by tests
        configurations.create("localLibsRepositoryElements") {
            attributes {
                attribute(Category.CATEGORY_ATTRIBUTE, project.objects.named("gradle-local-repository"))
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#merge}. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

      + Check for unnecessary whitespace with `git diff --check` before committing.
    + Make sure you have added the necessary tests (JUnit/[Core IT tests][core-it]) for your changes.
    + Run all the tests with `mvn -Prun-its verify` to assure nothing else was accidentally broken.
    + Submit a pull request to the repository in the Apache organization.
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 09:55:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top