Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 2,685 for test (0.02 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DependencyManagement().equals(null));
    
            new DependencyManagement().equals(new DependencyManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DependencyManagement thing = new DependencyManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        }
    
        @Test
        void testReadModifiedPoms(@TempDir Path tempDir) throws Exception {
            // TODO a similar test should be created to test the dependency management (basically all usages
            // of DefaultModelBuilder.getCache() are affected by MNG-6530
    
            FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-compiler-plugin/0.1/maven-compiler-plugin-0.1.jar

    import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal testCompile * @requiresDependencyRe test * * @author Benjamin Bentmann */ public class TestMojo extends AbstractMojo { public void execute() { } } META-INF/maven/org.apache.maven.plugins/maven-compiler-plugin/pom.xml 4.0.0 org.apache.maven.plugins maven-compiler-plugin 0.1 maven-plugin Maven Integration Test Plugin A test plugin to assist testing of Maven core. 2009 maven-core-it file:///${basedir}/repo true true org.apache.maven...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

          createDirectedGraph("ab", "fe", "fg", "bc", "bd", "ed", "eh", "gh");
    
      @Test
      public void forGraph_breadthFirst_javadocExample_canBeIteratedMultipleTimes() {
        Iterable<Character> result = Traverser.forGraph(JAVADOC_GRAPH).breadthFirst('a');
    
        assertEqualCharNodes(result, "abcdef");
        assertEqualCharNodes(result, "abcdef");
      }
    
      @Test
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 47.4K bytes
    - Click Count (2)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setInstant() {
        val expected = Instant.ofEpochMilli(1000L)
        val headers =
          Headers
            .Builder()
            .add("Test-Instant", Instant.ofEpochMilli(0L))
            .set("Test-Instant", expected)
            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

            }
    
            params {
                text(
                    testTaskParameterName,
                    ":core:embeddedIntegTest",
                    display = ParameterDisplay.PROMPT,
                    allowEmpty = false,
                    description = "The test task you want to run",
                )
                text(
                    testNameParameterName,
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 19 08:02:04 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

    import org.junit.jupiter.api.AfterEach;
    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.assertNull;
    
    /**
     * Test for logging configuration behavior in LookupInvoker.
     * This test verifies that the fix for GH-11199 works correctly.
     */
    class LookupInvokerLoggingTest {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            return null; // Not used for this test.
        }
    
        @Test
        void testDirectory() {
            assertEquals(Path.of("src", "main", "java"), directory());
    
            scope = ProjectScope.TEST;
            assertEquals(Path.of("src", "test", "java"), directory());
    
            moduleName = "org.foo";
            assertEquals(Path.of("src", "org.foo", "test", "java"), directory());
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertContainsExactlyInAnyOrder(activation.getRequiredInactiveProfileIds(), "test1", "test2");
            assertContainsExactlyInAnyOrder(activation.getOptionalInactiveProfileIds(), "test3", "test4");
    
            activation = new ProfileActivation();
            performProfileActivation(parser.parse(options, new String[] {"-P", "-test1,+test2"}), activation);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt

        val text = "eile oli oliiviõli"
        val body = text.toResponseBody()
        assertThat(body.byteString()).isEqualTo(text.encodeUtf8())
      }
    
      @Test
      fun unicodeByteStringWithCharset() {
        val text = "eile oli oliiviõli".encodeUtf8()
        val body = text.toResponseBody("text/plain; charset=EBCDIC".toMediaType())
        assertThat(body.byteString()).isEqualTo(text)
      }
    
      @Test
      fun unicodeBytes() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top