Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for unclosed4 (0.18 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitEnclosedRunnerIntegrationTest.groovy

        }
    
        @Issue('https://github.com/gradle/gradle/issues/2319')
        def 'can run tests in Enclosed runner'() {
            given:
            file('src/test/java/EnclosedTest.java') << """
                ${testFrameworkImports}
                import org.junit.experimental.runners.Enclosed;
    
                @RunWith( Enclosed.class )
                public class EnclosedTest {
                    public static class InnerClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. test/fixedbugs/bug346.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "os"
    
    func main() {
    	// Test unclosed closure.
    	{
    		x := 4
    		a, b, c, d := func(i int) (p int, q int, r int, s int) { return 1, i, 3, x }(2)
    
    		if a != 1 || b != 2 || c != 3 || d != 4 {
    			println("1# abcd: expected 1 2 3 4 got", a, b, c, d)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 13 12:12:18 UTC 2015
    - 743 bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ClassModelRuleSourceValidationTest.groovy

            type                               | reason
            OuterClass.AnInterface             | "Must be a class, not an interface"
            OuterClass.InnerInstanceClass      | "Enclosed classes must be static and non private"
            new RuleSource() {}.getClass()     | "Enclosed classes must be static and non private"
            OuterClass.HasTwoConstructors      | "Cannot declare a constructor that takes arguments"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/etag.go

    func ServeHTTPWithETag(
    	object runtime.Object,
    	hash string,
    	targetGV schema.GroupVersion,
    	serializer runtime.NegotiatedSerializer,
    	w http.ResponseWriter,
    	req *http.Request,
    ) {
    	// ETag must be enclosed in double quotes:
    	// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
    	quotedHash := strconv.Quote(hash)
    	w.Header().Set("ETag", quotedHash)
    	w.Header().Set("Vary", "Accept")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        data: String,
      ) {
        get().log("[ES] onEvent", Platform.INFO, null)
        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
      override fun onClosed(eventSource: EventSource) {
        get().log("[ES] onClosed", Platform.INFO, null)
        events.add(Closed)
        drainCancelQueue(eventSource)
      }
    
      override fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

          events.add(Closing(code, reason))
        }
      }
    
      override fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
        Platform.get().log("[WS $name] onClosed $code", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onClosed(webSocket, code, reason)
        } else {
          events.add(Closed(code, reason))
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. okhttp-sse/api/okhttp-sse.api

    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public abstract class okhttp3/sse/EventSourceListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/sse/EventSource;)V
    	public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    	public fun onFailure (Lokhttp3/sse/EventSource;Ljava/lang/Throwable;Lokhttp3/Response;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 14:39:59 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

        id: String?,
        type: String?,
        data: String,
      ) {
      }
    
      /**
       * TODO description.
       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
       * Invoked when an event source has been closed due to an error reading from or writing to the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

    import org.gradle.api.internal.tasks.testing.filter.TestSelectionMatcher;
    import org.gradle.api.tasks.testing.TestFailure;
    import org.gradle.internal.concurrent.ThreadSafe;
    import org.junit.experimental.runners.Enclosed;
    import org.junit.runner.Description;
    import org.junit.runner.Request;
    import org.junit.runner.RunWith;
    import org.junit.runner.Runner;
    import org.junit.runner.manipulation.Filter;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top