Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 2,020 for testng (0.15 sec)

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

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link LegacyRepositorySystem}.
     *
     */
    @PlexusTest
    @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. README.md

    mvn license:check
    mvn license:format
    
    # Generate test coverage report
    mvn jacoco:prepare-agent test jacoco:report
    
    # Generate API documentation
    mvn javadoc:javadoc
    ```
    
    ### Testing
    
    The project uses JUnit 4 with embedded OpenSearch for integration testing:
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=SuggesterTest
    
    # Run with verbose output
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. .github/workflows/maven.yml

    # This workflow will build a Java project with Maven
    # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
    
    name: Java CI with Maven
    
    on:
      push:
        branches:
        - master
        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
        env:
          PARENT_BRANCH: main
    
        steps:
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
            // However, given the current structure, testing the fields set by MsrpcEnumerateAliasesInDomain itself is the primary focus.
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 934 bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/pom.xml

          <scope>provided</scope>
        </dependency>
    
        <!-- Testing -->
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-testing</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 10:37:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            public byte[] getRawPayload() {
                return rawPayload;
            }
    
            // Expose headerStart for testing
            public int getHeaderStart() {
                return headerStart;
            }
        }
    
        /**
         * Test implementation of SmbComNTCreateAndXResponse for testing
         */
        private static class TestSmbComNTCreateAndXResponse extends SmbComNTCreateAndXResponse {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
      public void testDefaultState() throws Exception {
        assertThrows(TimeoutException.class, () -> future.get(5, MILLISECONDS));
      }
    
      public void testSetValue() throws Exception {
        assertTrue(future.set("value"));
        tester.testCompletedFuture("value");
      }
    
      public void testSetFailure() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top