Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for spock (0.05 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.model.ClassMetaDataRepository
    import spock.lang.Specification
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    
    class TypeNameResolverTest extends Specification {
        final ClassMetaDataRepository<ClassMetaData> metaDataRepository = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. CONTRIBUTING.md

    ## Making your change
    
    ### Code change guidelines
    
    All code contributions should contain the following:
    
    * Create unit tests using [Spock](https://spockframework.org/spock/docs/2.0/index.html) for new classes or methods that you introduce.
    * Create integration tests that exercise a Gradle build for the bug/feature. 
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook
    
    import spock.lang.Specification
    
    class BasicJavadocLexerTest extends Specification {
        final BasicJavadocLexer lexer = new BasicJavadocLexer(new JavadocScanner(""))
        final visitor = Mock(JavadocLexer.TokenVisitor)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model
    
    import spock.lang.Specification
    
    class MethodMetaDataTest extends Specification {
        final ClassMetaData owner = Mock()
        final MethodMetaData method = new MethodMetaData('method', owner)
    
        def formatsSignature() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  5. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

            val testFrameworkChoice = if (descriptor.testFrameworks.size > 1) """
    Select test framework:
      1: JUnit 4
      2: TestNG
      3: Spock
      4: JUnit Jupiter
    Enter selection (default: JUnit Jupiter) [1..4]
    """ else ""
            val packageNameChoice = if (descriptor.supportsPackage()) "\nEnter target Java version (min: 7, default: 21):\n" else ""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val snappy = "org.iq80.snappy:snappy"
        val servletApi = "javax.servlet:javax.servlet-api"
        val socksProxy = "com.github.bbottema:java-socks-proxy-server"
        val spock = "org.spockframework:spock-core"
        val spockJUnit4 = "org.spockframework:spock-junit4"
        val sshdCore = "org.apache.sshd:sshd-core"
        val sshdOsgi = "org.apache.sshd:sshd-osgi"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.cleanup.services
    
    import spock.lang.Specification
    
    class LeakingProcessKillPatternTest extends Specification {
    
        def "matches worker process started in test on Windows"() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 12 03:42:46 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. cni/pkg/constants/constants.go

    	CNIAgentLogScope      = "cni-agent"
    	CNIPluginLogScope     = "cni-plugin"
    	CNIAddEventPath       = "/cmdadd"
    	UDSLogPath            = "/log"
    	CNIEventSocketName    = "pluginevent.sock"
    	LogUDSSocketName      = "log.sock"
    	CNIPluginKubeconfName = "istio-cni-kubeconfig"
    	// K8s liveness and readiness endpoints
    	LivenessEndpoint   = "/healthz"
    	ReadinessEndpoint  = "/readyz"
    	ReadinessPort      = "8000"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. common/scripts/run.sh

    # following command only
    # shellcheck disable=SC2086
    "${CONTAINER_CLI}" run \
        --rm \
        "${DOCKER_RUN_OPTIONS[@]}" \
        --init \
        --sig-proxy=true \
        ${DOCKER_SOCKET_MOUNT:--v /var/run/docker.sock:/var/run/docker.sock} \
        $CONTAINER_OPTIONS \
        --env-file <(env | grep -v ${ENV_BLOCKLIST}) \
        -e IN_BUILD_CONTAINER=1 \
        -e TZ="${TIMEZONE:-$TZ}" \
        --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Sep 14 00:03:12 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher_test.go

    	handlers := setupHandlers(ctx, client, dpServer, "istio-system")
    
    	// We are not going to start the server, so the sockpath is irrelevant
    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		label.IoIstioDataplaneMode.Name, constants.DataplaneModeAmbient))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top