Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,168 for someString (0.16 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmDefaultIntegrationTest.kt

                class SomeOverriddenPrecompiledScript : Some {
                    override fun something() {
                        println("precompiled overridden")
                    }
                }
    
                SomePrecompiledScript().something()
                SomeOverriddenPrecompiledScript().something()
                """
            )
            withBuildScript(
                """
                import some.Some
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            when:
            lexer.pushText("{@link <something> & &lt; </something>}")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartJavadocTag('link')
            1 * visitor.onText('<something> & &lt; </something>')
            1 * visitor.onEndJavadocTag('link')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            sourceFile << """
    #define SOME_STRING
    """
    
            then:
            macros == [unresolvedMacro('SOME_STRING')]
            macroFunctions.empty
        }
    
        def "finds object-like macro directive with empty body"() {
            when:
            sourceFile << """
    #define SOME_STRING    // ignore
    """
    
            then:
            macros == [unresolvedMacro('SOME_STRING')]
            macroFunctions.empty
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    * What went wrong:
    something bad
    > cause 1
    
    * Try:
    something
    
    Failure 2:
    
    * What went wrong:
    something else bad
    > cause 2
    
    * Try:
    something
    
    """
            when:
            def failure = OutputScrapingExecutionFailure.from(output, "")
    
            then:
            failure.assertHasCause("cause 1")
            failure.assertHasCause("cause 2")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/matcher_test.go

    			matches:   []string{"TestFoo/something/TestBaz"},
    			nomatches: []string{"TestFoo", "TestFoo/TestBaz", "TestFoo/something/TestBar"},
    		},
    		{
    			name:      "multiple",
    			input:     []string{"TestFoo/subset", "TestBar"},
    			matches:   []string{"TestBar", "TestBar/subtest", "TestFoo/subset"},
    			nomatches: []string{"TestFoo/something/subset", "TestFoo/something", "TestFoo", "TestFoo/TestBar"},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammarTest.kt

        @Test
        fun `will not parse @ followed by whitespace`() {
            kotlinGrammar.annotation.failToConsumeFrom("@ something")
            kotlinGrammar.annotation.failToConsumeFrom("@\nsomething")
            kotlinGrammar.annotation.failToConsumeFrom("@/*comment*/something")
            kotlinGrammar.annotation.failToConsumeFrom("@/*comment*/ something")
        }
    
        @Test
        fun `can parse single annotation`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. tests/test_custom_schema_fields.py

    class Item(BaseModel):
        name: str
    
        if PYDANTIC_V2:
            model_config = {
                "json_schema_extra": {
                    "x-something-internal": {"level": 4},
                }
            }
        else:
    
            class Config:
                schema_extra = {
                    "x-something-internal": {"level": 4},
                }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
        return {"name": "Foo item"}
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

                    new CaseSensitivityTestSpec(children, child, childIndex),
                    new CaseSensitivityTestSpec(children, "$child/a/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/A/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/e/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/E/other", childIndex),
                ]
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/counter/interface.go

    	// Call Add(1) before forking a goroutine, Add(-1) at the end of that goroutine.
    	// Call Add(-1) just before waiting on something from another goroutine (e.g.,
    	// just before a `select`).
    	// Call Add(1) just before doing something that unblocks a goroutine that is
    	// waiting on that something.
    	Add(delta int)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 16:12:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/mkdirTrap/groovy/build.gradle

        def localClassesDir = classesDir
        doLast {
            if (!localClassesDir.isDirectory()) {
                println 'The class directory does not exist. I can not operate'
                // do something
            }
            // do something
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 406 bytes
    - Viewed (0)
Back to top