Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for TESTNG (0.1 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

    import org.gradle.internal.time.Clock;
    import org.gradle.util.internal.CollectionUtils;
    import org.gradle.util.internal.GFileUtils;
    import org.testng.IMethodInstance;
    import org.testng.IMethodInterceptor;
    import org.testng.ISuite;
    import org.testng.ITestContext;
    import org.testng.ITestListener;
    import org.testng.TestNG;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         * might be useful for advanced TestNG users who prefer the reports generated by the TestNG library. If you cannot live without some specific TestNG reporter please use {@link #listeners}
         * property. If you really want to use all default TestNG reporters (e.g. generate the old reports):
         *
         * <pre class='autoTested'>
         * plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelBySuitesNotSupportedIntegrationTest.groovy

     */
    
    package org.gradle.testing.testng
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.DefaultTestExecutionResult
    
    import static org.hamcrest.CoreMatchers.containsString
    
    class TestNGParallelBySuitesNotSupportedIntegrationTest extends AbstractIntegrationSpec {
    
        def "run tests using TestNG version not supporting suiteThreadPoolSize changing"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            file('src/test/java/SomeTest.java') << '''
                public class SomeTest {
                    @org.testng.annotations.Test(groups = {"group to include"})
                    public void pass() {}
                }
            '''.stripIndent()
            file('suite.xml') << '''
                <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
                <suite name="MySuite">
                  <test name="MyTest">
                    <classes>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm-infrastructure/build.gradle.kts

        api(libs.jsr305)
        api(libs.junit)
        api(libs.testng)
        api(libs.bsh) {
            because("""We need to create a capability conflict between "org.beanshell:bsh", and "org.beanshell:beanshell" by explicitly including this lib
                version of bsh, instead of depending on the transitive version contributed by testng.  This lib contributes the "beanshell" capability,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.testng
    
    import org.gradle.api.internal.tasks.testing.filter.DefaultTestFilter
    import org.gradle.api.model.ObjectFactory
    import org.gradle.api.tasks.testing.Test
    import org.gradle.api.tasks.testing.testng.TestNGOptions
    import org.gradle.internal.actor.ActorFactory
    import org.gradle.internal.id.IdGenerator
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

            return workerProcessBuilder -> workerProcessBuilder.sharedPackages("org.testng");
        }
    
        @Override
        public boolean getUseDistributionDependencies() {
            // We have no (default) implementation dependencies (see above).
            // The user must add their TestNG dependency to the test's runtimeClasspath themselves
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates sample source using testng instead of junit with #scriptDsl build scripts"() {
            when:
            run('init', '--type', 'java-library', '--test-framework', 'testng', '--dsl', scriptDsl.id, '--java-version', JavaVersion.current().majorVersion)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
  9. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNgTestClassProcessorFactory.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing.testng;
    
    import org.gradle.api.internal.tasks.testing.TestClassProcessor;
    import org.gradle.api.internal.tasks.testing.WorkerTestClassProcessorFactory;
    import org.gradle.internal.actor.ActorFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

        }
    
        void "executes test from suite"() {
            def suite = dir.file("suite.xml") << """<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
    <suite name="AwesomeSuite">
      <test name="AwesomeTest">
        <classes>
          <class name="${ATestNGClass.name}"/>
        </classes>
      </test>
    </suite>"""
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top