Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,120 for setOp (0.22 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/format/PrettyPrefixedLogHeaderFormatterTest.groovy

    import spock.lang.Specification
    
    class PrettyPrefixedLogHeaderFormatterTest extends Specification {
    
        def "formats header of failed operation that has status"() {
            setup:
            def formatter = new PrettyPrefixedLogHeaderFormatter()
    
            when:
            def formattedText = formatter.format(":test", "XYZ", true)
    
            then:
            formattedText.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/resource/local/UniquePathKeyFileStoreTest.groovy

        def "add skips action if file already exists"() {
            setup:
            def file = temporaryFolder.createFile("fsbase/a/a");
    
            when:
            def fileInStore = uniquePathKeyFileStore.add("a/a", action)
    
            then:
            fileInStore.file == file
            0 * action.execute(_)
        }
    
        def "move returns existing file if it already exists"() {
            setup:
            def source = temporaryFolder.createFile("some-file")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Aug 28 21:50:20 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. pkg/volume/secret/secret_test.go

    		t.Errorf("Got unexpected path: %s", volumePath)
    	}
    
    	err = mounter.SetUp(volume.MounterArgs{})
    	if err != nil {
    		t.Errorf("Failed to setup volume: %v", err)
    	}
    	if _, err := os.Stat(volumePath); err != nil {
    		if os.IsNotExist(err) {
    			t.Errorf("SetUp() failed, volume path not created: %s", volumePath)
    		} else {
    			t.Errorf("SetUp() failed: %v", err)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 19.5K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

        enum class Type {
          Handshake,
          Plaintext,
          Encrypted,
          Setup,
          Unknown,
        }
    
        val type: Type
          get() =
            when {
              message == "adding as trusted certificates" -> Type.Setup
              message == "Raw read" || message == "Raw write" -> Type.Encrypted
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/StacktraceIntegrationTest.groovy

        }
    
        def "can configure in gradle.properties file"() {
            setup:
            file('gradle.properties') << 'org.gradle.logging.stacktrace=full'
    
            when:
            fails()
    
            then:
            assertCauseWithStacktrace('show stacktrace was ALWAYS_FULL')
        }
    
        def "configuration is case-insensitive"() {
            setup:
            file('gradle.properties') << 'org.gradle.logging.stacktrace=FuLl'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

    import static org.gradle.integtests.tooling.fixture.TextUtil.normaliseLineSeparators
    
    @ToolingApiVersion('>=7.6')
    @TargetGradleVersion(">=7.6")
    class TestLauncherTestSpecCrossVersionSpec extends TestLauncherSpec {
    
        def setup() {
            withFailingTest() // ensures that withTestsFor statements are not ignored
        }
    
        @TargetGradleVersion('>=3.0 <7.6')
        def "older Gradle versions ignore withTestsFor calls"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelOutputLocationCrossVersionSpec.groovy

        def "Java project has default output location"() {
            setup:
            buildFile << "apply plugin: 'java'"
            EclipseProject project = loadToolingModel(EclipseProject)
    
            when:
            EclipseOutputLocation output = project.getOutputLocation()
    
            then:
            output.path == 'bin'
        }
    
        def "Custom output location defined in dsl"() {
            setup:
            buildFile <<
            """apply plugin: 'java'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_main_panic.txt

    ! go test -v -race main_panic/testmain_parallel_sub_panic_test.go
    ! stdout 'DATA RACE'
    -- main_panic/testmain_parallel_sub_panic_test.go --
    package testmain_parallel_sub_panic_test
    
    import "testing"
    
    func setup()    { println("setup()") }
    func teardown() { println("teardown()") }
    func TestA(t *testing.T) {
    	t.Run("1", func(t *testing.T) {
    		t.Run("1", func(t *testing.T) {
    			t.Parallel()
    			panic("A/1/1 panics")
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 19 21:07:59 UTC 2020
    - 603 bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTaskExecutionCrossVersionSpec.groovy

    import org.gradle.tooling.TestLauncher
    
    import java.util.regex.Pattern
    
    @TargetGradleVersion(">=7.6")
    @ToolingApiVersion(">=7.6")
    class TestLauncherTaskExecutionCrossVersionSpec extends ToolingApiSpecification {
    
        def setup() {
            file('build.gradle') << """
                plugins {
                    id 'java-library'
                }
    
                ${mavenCentralRepository()}
    
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. .github/workflows/containers.yml

            uses: actions/checkout@v4
            with:
              fetch-depth: 0
    
          - name: Configure JDK
            uses: actions/setup-java@v4
            with:
              distribution: 'zulu'
              java-version: 17
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v3
    
          - name: Run Container Tests
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Mar 23 12:00:11 UTC 2024
    - 911 bytes
    - Viewed (0)
Back to top