Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for expectedly (0.11 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/component/DefaultComponentIdentifierFactoryTest.groovy

            def project = Mock(ProjectInternal)
            def expectedId = Stub(ProjectComponentIdentifier)
            def module = new ProjectBackedModule(project)
    
            when:
            def componentIdentifier = componentIdentifierFactory.createComponentIdentifier(module)
    
            then:
            project.owner >> Stub(ProjectState) {
                getComponentIdentifier() >> expectedId
            }
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. src/testing/iotest/reader_test.go

    	}
    
    	b = make([]byte, 5)
    	n, err := obr.Read(b)
    	if g, w := err, io.EOF; g != w {
    		t.Errorf("Error mismatch\n\tGot:  %v\n\tWant: %v", g, w)
    	}
    	if g, w := n, 0; g != w {
    		t.Errorf("Unexpectedly read %d bytes, wanted %d", g, w)
    	}
    }
    
    func TestHalfReader_nonEmptyReader(t *testing.T) {
    	msg := "Hello, World!"
    	buf := new(bytes.Buffer)
    	buf.WriteString(msg)
    	// empty read buffer
    	hr := HalfReader(buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 07:03:10 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

        boolean killed = false
    
        void setup() {
            toolingApi.requireIsolatedDaemons()
        }
    
        def "should received failed event when daemon disappears unexpectedly with TAPI higher 2.4"() {
            given:
            goodCode()
            def sync = server.expectAndBlock('sync')
    
            when:
            def result = []
            withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. releasenotes/notes/47538.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
    - 47423
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 11 13:19:22 UTC 2023
    - 216 bytes
    - Viewed (0)
  5. releasenotes/notes/48780.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: installation
    issue:
    - 47423
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 216 bytes
    - Viewed (0)
  6. pkg/kube/controllers/common_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:            "pod",
    			Namespace:       "ns",
    			OwnerReferences: []metav1.OwnerReference{},
    		},
    	})
    	if got := written.Load(); got != "" {
    		t.Fatalf("unexpectedly enqueued %v", got)
    	}
    
    	handler(&corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod",
    			Namespace: "ns",
    			OwnerReferences: []metav1.OwnerReference{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 15 15:34:49 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/sizeof_test.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"reflect"
    	"testing"
    	"unsafe"
    )
    
    // Assert that the size of important structures do not change unexpectedly.
    
    func TestSizeof(t *testing.T) {
    	const _64bit = unsafe.Sizeof(uintptr(0)) == 8
    
    	var tests = []struct {
    		val    interface{} // type as a value
    		_32bit uintptr     // size on 32bit platforms
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/sigfwd.go

    	fprintf(stderr, "ERROR: C SIGSEGV not thrown on caught?.\n");
    	exit(2);
    }
    
    static void segvhandler(int signum) {
    	if (signum == SIGSEGV) {
    		if (expectCSigsegv == 0) {
    			fprintf(stderr, "SIGSEGV caught in C unexpectedly\n");
    			exit(1);
    		}
    		fprintf(stdout, "OK\n");
    		exit(0);  // success
    	}
    }
    
    static void __attribute__ ((constructor)) sigsetup(void) {
    	if (getenv("GO_TEST_CGOSIGFWD") == NULL) {
    		return;
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 01 17:06:49 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/language/swift/SwiftPmRunner.groovy

            }
            return result
        }
    
        ExecOutput buildAndFails() {
            def result = run()
            if (result.exitCode == 0) {
                throw new AssertionError("Swift PM unexpectedly succeeded. Output:\n${result.out}")
            }
            return result
        }
    
        private ExecOutput run() {
            assert projectDir != null
            def builder = new ProcessBuilder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

            proc.waitForFinish()
        }
    
        void outputContainsKilledWorkerWarning() {
            if (OperatingSystem.current().windows) {
                outputContains(" exited unexpectedly with exit code 1.")
            } else {
                outputContains(" exited unexpectedly after being killed with signal 9.  This is likely because an external process has killed the worker.")
            }
        }
    
        TestFile pidFile(String rootPath = null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top