Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for suiteName (0.12 sec)

  1. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

            framework.detector
        }
    
        def "can configure TestNG with an Action"() {
            when:
            testTask.useTestNG { TestNGOptions options ->
                options.suiteName = 'Custom Suite'
            }
    
            then:
            testTask.options.suiteName == 'Custom Suite'
        }
    
        TestNGTestFramework createFramework() {
            new TestNGTestFramework(testTask, new DefaultTestFilter(), objects)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                ErrorMessageBuilder err = new ErrorMessageBuilder()
                err.title("The following test events were received but not verified")
                remainingEvents.each { err.candidate("${it} : Kind=${it.jvmTestKind} suiteName=${it.suiteName} className=${it.className} methodName=${it.methodName} displayName=${it.displayName}") }
                throw err.build()
            }
        }
    
        interface TestEventsSpec {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/testng/TestNGOptions.java

         */
        @Internal
        public String getSuiteName() {
            return suiteName;
        }
    
        public void setSuiteName(String suiteName) {
            this.suiteName = suiteName;
        }
    
        /**
         * Sets the default name of the test, if one is not specified in a suite XML file or in the source code.
         */
        @Internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestListenerBuildOperationAdapterIntegrationTest.groovy

        boolean emitsTestClassOperations = true
    
        @Override
        void checkForSuiteOperations(Iterator<BuildOperationRecord> iterator, String suiteName) {
            super.checkForSuiteOperations(iterator, suiteName)
            with(iterator.next()) {
                details.testDescriptor.name == "JUnit Jupiter"
                details.testDescriptor.composite == true
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        }
        return suite;
      }
    
      private ByteSink sink;
    
      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharSinkTester.java

      private final ImmutableList<String> expectedLines;
    
      private CharSink sink;
    
      public CharSinkTester(
          CharSinkFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.lines = getLines(string);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

            final String suiteName;
            final String suiteType;
            final String comment;
            final ScriptBlockImpl body = new ScriptBlockImpl();
    
            SuiteConfiguration(@Nullable String comment, String suiteName, String suiteType) {
                this.comment = comment;
                this.suiteName = suiteName;
                this.suiteType = suiteType;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/internal/NativeTestSuites.java

            for (final NativeComponentSpec component : components.values()) {
                final String suiteName = component.getName() + "Test";
                testSuites.create(suiteName, testSuiteSpecClass, new Action<S>() {
                    @Override
                    public void execute(S testSuite) {
                        testSuite.testing(component);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

      }
    
      private final ImmutableList<String> expectedLines;
    
      private CharSource source;
    
      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

            then:
            outputContains('MyTest > testMyMethod FAILED')
        }
    
        @Issue('https://github.com/gradle/gradle/issues/4924')
        def "re-executes test when options are changed in #suiteName"() {
            given:
            testSources.with {
                ['test', 'integTest'].each { sourceSet ->
                    testClass('SomeTestClass', sourceSet).with {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top