Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 774 for tests (0.02 seconds)

  1. impl/maven-core/src/test/projects/plugin-manager/project-contributing-system-scope-plugin-dep/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
    
      <groupId>org.apache.maven.its.mng3586</groupId>
      <artifactId>test2</artifactId>
      <version>1.0</version>
    
      <name>Maven Integration Test :: MNG-3586</name>
      <description>
        Test that plugin dependencies with scope system are part of the plugin class realm.
      </description>
    
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    		),
    		"x.\n",
    	},
    	*/
    }
    
    func TestLex(t *testing.T) {
    	for _, test := range lexTests {
    		input := NewInput(test.name)
    		input.Push(NewTokenizer(test.name, strings.NewReader(test.input), nil))
    		result := drain(input)
    		if result != test.output {
    			t.Errorf("%s: got %q expected %q", test.name, result, test.output)
    		}
    	}
    }
    
    // lines joins the arguments together as complete lines.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            }
        }
    
        @Test
        void testGetLocation() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/path/DefaultUrlNormalizerTest.java

        }
    
        @Test
        void testNullSafe() {
            assertNull(normalize(null));
        }
    
        @Test
        void testTrailingSlash() {
            assertEquals("", normalize(""));
            assertEquals("http://server.org/dir", normalize("http://server.org/dir"));
            assertEquals("http://server.org/dir/", normalize("http://server.org/dir/"));
        }
    
        @Test
        void testRemovalOfParentRefs() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/resources/projects/scope/transitive-compile-dep.xml

      <groupId>maven-test</groupId>
      <artifactId>scope-compile</artifactId>
      <version>1.0</version>
      <dependencies>
    
        <dependency>
          <groupId>maven-test-compile</groupId>
          <artifactId>scope-default</artifactId>
          <version>1.0</version>
        </dependency>
    
        <dependency>
          <groupId>maven-test-compile</groupId>
          <artifactId>scope-test</artifactId>
          <version>1.0</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

                            + "stub-plugin-process-test-resources, "
                            + "stub-plugin-test-compile, "
                            + "stub-plugin-test, "
                            + "stub-plugin-package, "
                            + "stub-plugin-install], "
                            + "you should define versions in pluginManagement section of your pom.xml or parent");
        }
    
        @Test
        void testHandleBuildError() throws Exception {}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/resources/poms/validation/bad-plugin-dependency-scope.xml

              <dependency>
                <groupId>test</groupId>
                <artifactId>a</artifactId>
                <version>0.2</version>
              </dependency>
              <dependency>
                <groupId>test</groupId>
                <artifactId>b</artifactId>
                <version>0.2</version>
                <scope>compile</scope>
              </dependency>
              <dependency>
                <groupId>test</groupId>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

    import org.eclipse.aether.impl.VersionRangeResolver;
    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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test cases for the default {@code ModelResolver} implementation.
     *
     * @since 3.5.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. internal/kms/secret-key_test.go

    	}
    
    	for i, test := range decryptKeyTests {
    		dataKey, err := base64.StdEncoding.DecodeString(test.Plaintext)
    		if err != nil {
    			t.Fatalf("Test %d: failed to decode plaintext key: %v", i, err)
    		}
    		plaintext, err := KMS.Decrypt(t.Context(), &DecryptRequest{
    			Name:           test.KeyID,
    			Ciphertext:     []byte(test.Ciphertext),
    			AssociatedData: test.Context,
    		})
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    // It would be cool if there was a hook that I could use to set up a test environment.
    // I want to set up a local/remote repositories for testing but I don't want to have
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 10:49:22 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top