Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 434 for category2 (0.18 sec)

  1. platforms/documentation/docs/src/snippets/testing/junit-categories/groovy/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)
  2. tensorflow/c/experimental/ops/gen/generate_cpp_main.cc

      }
    
     private:
      std::vector<tensorflow::Flag> Flags() {
        return {
            tensorflow::Flag("help", &help_, "Print this help message."),
            tensorflow::Flag("category", &category_,
                             "Category for generated ops (e.g. 'math', 'array')."),
            tensorflow::Flag(
                "namespace", &name_space_,
                "Compact C++ namespace, default is 'tensorflow::ops'."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/testing/junit-categories/groovy/build.gradle

        mavenCentral()
    }
    
    dependencies {
        testImplementation 'junit:junit:4.13'
    }
    
    // tag::test-categories[]
    test {
        useJUnit {
            includeCategories 'org.gradle.junit.CategoryA'
            excludeCategories 'org.gradle.junit.CategoryB'
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 316 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/junit-categories/kotlin/build.gradle.kts

    }
    
    dependencies {
        testImplementation("junit:junit:4.13")
    }
    
    // tag::test-categories[]
    tasks.test {
        useJUnit {
            includeCategories("org.gradle.junit.CategoryA")
            excludeCategories("org.gradle.junit.CategoryB")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 320 bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4CategoriesNotSupportedIntegrationTest.groovy

                    testImplementation "junit:junit:4.4"
                }
    
                test {
                    useJUnit {
                        includeCategories 'org.gradle.CategoryA'
                        excludeCategories 'org.gradle.CategoryC'
                    }
                }
            """
    
            when:
            fails('test')
    
            then:
            def result = new DefaultTestExecutionResult(testDirectory)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/PlatformSupport.java

    @ServiceScope(Scope.Global.class)
    public class PlatformSupport {
        private final Category library;
        private final Category regularPlatform;
        private final Category enforcedPlatform;
    
        public PlatformSupport(NamedObjectInstantiator instantiator) {
            library = instantiator.named(Category.class, Category.LIBRARY);
            regularPlatform = instantiator.named(Category.class, Category.REGULAR_PLATFORM);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/trieval.go

    	mayNeedNorm = 0x2000
    )
    
    // A category corresponds to a category defined in the IDNA mapping table.
    type category uint16
    
    const (
    	unknown              category = 0 // not currently defined in unicode.
    	mapped               category = 1
    	disallowedSTD3Mapped category = 2
    	deviation            category = 3
    )
    
    const (
    	valid               category = 0x08
    	validNV8            category = 0x18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 04:45:15 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/GroupingProgressLogEventGeneratorTest.groovy

            then:
            1 * downstreamListener.onOutput({ it.toString() == "[LIFECYCLE] [category] <Normal>Header Execute :a</Normal>" })
            then:
            1 * downstreamListener.onOutput({ it.toString() == "[WARN] [category] a message" })
            then:
            1 * downstreamListener.onOutput({ it.toString() == "[LIFECYCLE] [category] " })
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

                            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, "custom"))
                        }
                    }
    
                    sample2 {
                        assert canBeResolved
    
                        attributes {
                            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, Usage.JAVA_RUNTIME))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/ProgressStartEventSerializerTest.groovy

            result.category == CATEGORY
            result.description == DESCRIPTION
            result.loggingHeader == "header"
            result.status == "status"
            result.totalProgress == 10
            result.buildOperationStart
            result.buildOperationId == new OperationIdentifier(42L)
            result.buildOperationCategory == category
    
            where:
            category << BuildOperationCategory.values()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top