Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for category2 (0.23 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/StyledTextOutputBackedRendererTest.groovy

            StyledTextOutputBackedRenderer renderer = new StyledTextOutputBackedRenderer(output)
            RenderableOutputEvent event1 = new StyledTextOutputEvent(tenAm, 'category', LogLevel.INFO, null, 'message')
            RenderableOutputEvent event2 = new StyledTextOutputEvent(tenAm, 'category2', LogLevel.INFO, null, 'message2')
    
            when:
            renderer.onOutput(new LogLevelChangeEvent(LogLevel.DEBUG))
            renderer.onOutput(event1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                        testMethod('noCatOk4').shouldPass()
                    }
                testCategory('CategoryA')
                testCategory('CategoryB').extendsCategory('CategoryA')
                testCategory('CategoryC')
                testCategory('CategoryD').extendsCategory('CategoryC')
                testCategory('CategoryZ')
            }
            testSourceGenerator.writeAllSources(testSources)
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.groovy

            }
    
            /**
             * Add a JUnit4 category class to the sources.  Note that these are not used by JUnit5 test generators.
             */
            Category testCategory(String name, String sourceSet = 'test') {
                Category category = new Category(name, sourceSet)
                categories << category
                return category
            }
    
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 14:54:49 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/attributes/Category.java

     *
     * @since 5.3
     */
    @UsedByScanPlugin
    public interface Category extends Named {
    
        Attribute<Category> CATEGORY_ATTRIBUTE = Attribute.of("org.gradle.category", Category.class);
    
        /**
         * The library category
         */
        String LIBRARY = "library";
    
        /**
         * The platform category
         */
        String REGULAR_PLATFORM = "platform";
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 30 17:48:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/junit-categories/kotlin/src/test/java/org/gradle/junit/CategoryA.java

    package org.gradle.junit;
    
    public interface CategoryA{
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 58 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/junit-categories/kotlin/src/test/java/org/gradle/junit/CategoryB.java

    package org.gradle.junit;
    
    public interface CategoryB{
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 58 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/junit-categories/groovy/src/test/java/org/gradle/junit/CategoryB.java

    package org.gradle.junit;
    
    public interface CategoryB{
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 58 bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                    testClass('SomeTestClass', sourceSet).with {
                        testMethod('ok1').withCategoryOrTag('CategoryA')
                        testMethod('ok2').withCategoryOrTag('CategoryB')
                    }
                    testCategory('CategoryA', sourceSet)
                    testCategory('CategoryB', sourceSet)
                }
            }
            testSourceGenerator.writeAllSources(testSources)
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/testing/junit-categories/groovy/src/test/java/org/gradle/junit/CategoryA.java

    package org.gradle.junit;
    
    public interface CategoryA{
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 58 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/testing/junit-categories/kotlin/src/test/java/org/gradle/junit/CategorizedJUnitTest.java

    package org.gradle.junit;
    
    import org.junit.Test;
    import org.junit.experimental.categories.Category;
    
    public class CategorizedJUnitTest {
    
        @Category(CategoryA.class)
        @Test
        public void a() {
            System.out.println("hello from CategorizedTest a.");
        }
    
        @Category(CategoryB.class)
        @Test
        public void b() {
            System.out.println("hello from CategorizedTest b.");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 402 bytes
    - Viewed (0)
Back to top