Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 1,559 for test (0.01 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.DefaultArtifactRepository;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertFalse;
    
    @Deprecated
    class DefaultMirrorSelectorTest {
        @Test
        void testMirrorWithMirrorOfPatternContainingANegationIsNotSelected() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/RepositoryUtilsTest.java

     */
    package org.apache.maven;
    
    import org.apache.maven.artifact.Artifact;
    import org.eclipse.aether.graph.Dependency;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    class RepositoryUtilsTest {
    
        @Test
        void testToArtifactMethodsReturnNullWhenInputParameterIsNull() {
            assertNull(RepositoryUtils.toArtifact((Dependency) null));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/projects/project-builder/mng-3023/pom.xml

      <groupId>org.apache.maven.its.mng3023</groupId>
      <artifactId>parent</artifactId>
      <version>1</version>
      <packaging>pom</packaging>
    
      <name>Maven Integration Test :: MNG-3023</name>
      <description>Test that reactor projects are included in dependency resolution.</description>
    
      <modules>
        <module>dependency</module>
        <module>consumer</module>
      </modules>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_response_status_code/test_tutorial001_tutorial002.py

    def test_create_item(client: TestClient):
        response = client.post("/items/", params={"name": "Test Item"})
        assert response.status_code == 201, response.text
        assert response.json() == {"name": "Test Item"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            target = createMetadataFromArtifact(artifact);
        }
    
        /*--- START test common metadata ---*/
        @Test
        void mergeEmptyMetadata() throws Exception {
            Metadata metadata = new Metadata();
            assertFalse(metadata.merge(new Metadata()));
        }
    
        @Test
        void mergeDifferentGAV() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    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 ConsoleIcon} enum.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

    import org.codehaus.plexus.testing.PlexusTest;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getTestFile;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @PlexusTest
    class ArtifactHandlerTest {
        @Inject
        PlexusContainer container;
    
        @Test
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
        void testAptConsistency() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    @PlexusTest
    @Deprecated
    class DefaultProfileManagerTest {
    
        @Inject
        PlexusContainer container;
    
        protected PlexusContainer getContainer() {
            return container;
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/testing-dependencies.md

    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip
    
    If you want to override a dependency only during some tests, you can set the override at the beginning of the test (inside the test function) and reset it at the end (at the end of the test function).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        "LOCALAPPDATA",
    
        // Used by Gradle test infrastructure
        "REPO_MIRROR_URLS",
        "YARNPKG_MIRROR_URL",
    
        // Used to find local java installations
        "SDKMAN_CANDIDATES_DIR",
    
        // temp dir
        "TMPDIR",
        "TMP",
        "TEMP",
    
        // Seems important on Windows
        "ALLUSERSPROFILE",
        "PUBLIC",
        "windir",
    
        // Used by performance test to recognize TeamCity buildId
        "BUILD_ID",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 15 18:27:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top