Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 2,277 for Tests (0.02 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    final class InterruptionUtil {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  2. .ci/scripts/packaging-test.sh

    sudo chmod 0440 /etc/sudoers.d/elasticsearch_vars
    
    # Bats tests still use this locationa
    sudo rm -Rf /elasticsearch
    sudo mkdir -p /elasticsearch/qa/ && sudo chown jenkins /elasticsearch/qa/ && ln -s $PWD/qa/vagrant /elasticsearch/qa/
    
    # sudo sets it's own PATH thus we use env to override that and call sudo annother time so we keep the secure root PATH
    # run with --continue to run both bats and java tests even if one fails
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  4. tests/test_response_dependency.py

    """Test using special types (Response, Request, BackgroundTasks) as dependency annotations.
    
    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. .github/workflows/test-redistribute.yml

            run: |
              cd dist
              tar xvf fastapi*.tar.gz
          - name: Install test dependencies
            run: |
              cd dist/fastapi*/
              pip install --group tests --editable .[all]
          - name: Run source distribution tests
            run: |
              cd dist/fastapi*/
              bash scripts/test.sh
          - name: Build wheel distribution
            run: |
              cd dist
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 12:33:49 GMT 2026
    - 1.6K bytes
    - Click Count (0)
  6. README.md

    ### Contributing
    
    We welcome contributions! Please:
    1. Fork the repository
    2. Create a feature branch
    3. Make your changes with appropriate tests
    4. Run `mvn clean test` to ensure all tests pass
    5. Submit a pull request
    
    ### License
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. cmd/http-tracer_test.go

    		gotQuery := redactLDAPPwd(test.query)
    		if gotQuery != test.expectedQuery {
    			t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery)
    		}
    	}
    }
    
    // TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats.
    // This test specifically addresses the race between:
    // - Write operations via updateStats.
    // - Read operations via toServerHTTPStats(false).
    func TestRaulStatsRaceCondition(t *testing.T) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertEquals("123", groovyEngine.evaluate("return test", params));
        }
    
        @Test
        public void test_getName() {
            assertEquals("groovy", groovyEngine.getName());
        }
    
        // ===== Null-Safety Tests =====
    
        /**
         * Test that evaluate returns null for null template
         */
        @Test
        public void test_evaluate_nullTemplate() {
            final Map<String, Object> params = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  9. cmd/erasure-metadata-utils_test.go

    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		hashedOrder := hashOrder(testCase.objectName, 16)
    		if !reflect.DeepEqual(testCase.hashedOrder, hashedOrder) {
    			t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.hashedOrder, hashedOrder)
    		}
    	}
    
    	// Tests hashing order to fail for when order is '-1'.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.java

    import java.lang.reflect.Method;
    import java.util.Collection;
    import java.util.List;
    import junit.framework.Test;
    
    /**
     * Tests the {@link List} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    @AndroidIncompatible // test-suite builders
    public class OpenJdk6ListTests extends TestsForListsInJavaUtil {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top