Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dummyAddr (0.14 sec)

  1. src/net/http/serve_test.go

    func (l *oneConnListener) Addr() net.Addr {
    	return dummyAddr("test-address")
    }
    
    func (a dummyAddr) Network() string {
    	return string(a)
    }
    
    func (a dummyAddr) String() string {
    	return string(a)
    }
    
    type noopConn struct{}
    
    func (noopConn) LocalAddr() net.Addr                { return dummyAddr("local-addr") }
    func (noopConn) RemoteAddr() net.Addr               { return dummyAddr("remote-addr") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/PropertiesToDaemonParametersConverterTest.groovy

            ex.message.contains '/invalid/path'
        }
    
        def "shows nice message for invalid java home"() {
            def dummyDir = temp.createDir("foobar")
            when:
            converter.convert([(DaemonBuildOptions.JavaHomeOption.GRADLE_PROPERTY): dummyDir.absolutePath], params)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message.contains 'org.gradle.java.home'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top