Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for scope_test_ (0.06 sec)

  1. tests/scopes_test.go

    Jinzhu <******@****.***> 1705048941 +0800
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_TEST)));
        }
    
        @Test
        void testInclude_Test() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_TEST);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_SYSTEM)));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            assertEquals( "dependency artifact has wrong scope.", Artifact.SCOPE_TEST, artifact.getScope() );
    
            //check for back-propagation of default scope.
            assertEquals( "default scope NOT back-propagated to dependency.", Artifact.SCOPE_TEST, dep.getScope() );
            */
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

            } else if (Artifact.SCOPE_RUNTIME_PLUS_SYSTEM.equals(scope)) {
                systemScope = true;
                compileScope = true;
                runtimeScope = true;
            } else if (Artifact.SCOPE_TEST.equals(scope)) {
                systemScope = true;
                providedScope = true;
                compileScope = true;
                runtimeScope = true;
                testScope = true;
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                desiredScope = Artifact.SCOPE_COMPILE;
            }
    
            if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                desiredScope = Artifact.SCOPE_TEST;
            }
    
            if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
                desiredScope = Artifact.SCOPE_PROVIDED;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(scope)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         */
        public String getScope() {
            if (id == 1) {
                return Artifact.SCOPE_COMPILE;
            } else if (id == 2) {
                return Artifact.SCOPE_TEST;
    
            } else if (id == 3) {
                return Artifact.SCOPE_RUNTIME;
    
            } else if (id == 4) {
                return Artifact.SCOPE_PROVIDED;
            } else if (id == 5) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        // TODO into artifactScope handler
    
        String SCOPE_COMPILE = "compile";
    
        String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime";
    
        String SCOPE_TEST = "test";
    
        String SCOPE_RUNTIME = "runtime";
    
        String SCOPE_RUNTIME_PLUS_SYSTEM = "runtime+system";
    
        String SCOPE_PROVIDED = "provided";
    
        String SCOPE_SYSTEM = "system";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top