Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1611 - 1620 of 2,277 for Tests (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            return gitWrapper.listVersions(tagPattern)
                .filter(v -> v.isBefore(version));
        }
    
        /**
         * Used to make it possible to mock destructive operations in tests.
         */
        @VisibleForTesting
        @FunctionalInterface
        interface DeleteHelper {
            Set<File> deleteFiles(Set<File> filesToDelete);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  2. buildscripts/verify-healing-empty-erasure-set.sh

    	echo "Remove the contents of the disks belonging to '${1}' erasure set"
    
    	rm -rf ${WORK_DIR}/${1}/*/
    
    	set -x
    	start_minio_3_node $2
    }
    
    function main() {
    	# use same ports for all tests
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	perform_test "2" ${start_port}
    	perform_test "1" ${start_port}
    	perform_test "3" ${start_port}
    }
    
    (__init__ "$@" && main "$@")
    rv=$?
    purge "$WORK_DIR"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                    localLogMsg.get());
        }
    
        // ===== Access Denied Audit Log Tests =====
    
        @Test
        public void test_accessDenied() {
            activityHelper.useEcsFormat = false;
            activityHelper.accessDenied(OptionalThing.empty(), "/admin/user/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 11:45:43 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

     * @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.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public abstract class AbstractMultimapTester<
            K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  5. 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)
  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. fastapi/sse.py

    
    # Keep-alive comment, per the SSE spec recommendation
    KEEPALIVE_COMMENT = b": ping\n\n"
    
    # Seconds between keep-alive pings when a generator is idle.
    # Private but importable so tests can monkeypatch it.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Unit tests for the {@link PluginUpgradeStrategy} class.
     * Tests plugin version upgrades, plugin management additions, and Maven 4 compatibility.
     */
    @DisplayName("PluginUpgradeStrategy")
    class PluginUpgradeStrategyTest {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

    import com.fasterxml.jackson.module.kotlin.registerKotlinModule
    import common.Os
    import configurations.FunctionalTest
    import configurations.ParallelizationMethod
    import java.io.File
    
    /**
     * QuickCrossVersionTest only tests the last minor for each major version in the range.
     */
    val QUICK_CROSS_VERSION_BUCKETS =
        listOf(
            listOf("0.0", "5.0"), // 0.0 <= version < 5.0
            listOf("5.0", "6.0"), // 5.0 <=version < 6.0
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Feb 12 14:43:33 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/LineBufferTest.java

    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link LineBuffer} and {@link LineReader}.
     *
     * @author Chris Nokleberg
     */
    @AndroidIncompatible // occasionally very slow
    @NullUnmarked
    public class LineBufferTest extends IoTestCase {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top