Home
last modified time | relevance | path

Searched +full:localhost +full:- +full:test +full:- +full:mac (Results 1 – 25 of 112) sorted by relevance

12345

/external/pandora/mmi2grpc/mmi2grpc/
D__init__.py7 # https://www.apache.org/licenses/LICENSE-2.0
40 self, test: str, args: List[str], port: int = GRPC_PORT, **kwargs):
41 """Init IUT class for a given test.
44 test: PTS test id.
45 args: test arguments.
46 port: gRPC port exposed by the IUT test server.
49 self.test = test
55 """Resets the IUT when starting a PTS test."""
58 with grpc.insecure_channel(f'localhost:{self.port}') as channel:
65 def address(self) -> bytes:
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/macos/
Dgrpc_objc_bazel_test.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
29 sudo ln -s $(which python3) /usr/bin/python3 || true
34 # for kokoro mac workers, exact image version is store in a well-known location on disk
39 --remote_upload_local_results=true
41 --remote_default_exec_properties="grpc_cache_silo_key1=83d8e488-1ca9-40fd-929e-d37d13529c99"
43 --remote_default_exec_properties="grpc_cache_silo_key2=${KOKORO_IMAGE_VERSION}"
47 …# TODO(jtattermusch): ideally we'd say "//src/objective-c/examples/..." but not all the targets cu…
48 //src/objective-c/examples:Sample
49 //src/objective-c/examples:tvOS-sample
[all …]
/external/grpc-grpc/tools/internal_ci/macos/
Dgrpc_objc_bazel_test.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
29 sudo ln -s $(which python3) /usr/bin/python3 || true
34 # for kokoro mac workers, exact image version is store in a well-known location on disk
39 --remote_upload_local_results=true
41 --remote_default_exec_properties="grpc_cache_silo_key1=83d8e488-1ca9-40fd-929e-d37d13529c99"
43 --remote_default_exec_properties="grpc_cache_silo_key2=${KOKORO_IMAGE_VERSION}"
47 …# TODO(jtattermusch): ideally we'd say "//src/objective-c/examples/..." but not all the targets cu…
48 //src/objective-c/examples:Sample
49 //src/objective-c/examples:tvOS-sample
[all …]
/external/aws-crt-java/.github/workflows/
Dci.yml5 branches-ignore:
6 - 'main'
7 - 'docs'
13 PACKAGE_NAME: aws-crt-java
14 LINUX_BASE_IMAGE: ubuntu-18-x64
15 RUN: ${{ github.run_id }}-${{ github.run_number }}
19 AWS_REGION: us-east-1
20 AWS_DEVICE_FARM_REGION: us-west-2 # Device Farm only available in us-west-2 region
23 linux-compat:
24 runs-on: ubuntu-22.04 # latest
[all …]
/external/openthread/third_party/mbedtls/repo/tests/
Dssl-opt.sh3 # ssl-opt.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21 set -u
25 ulimit -f 20971520
35 : ${P_PXY:=../programs/test/udp_proxy}
36 : ${P_QUERY:=../programs/test/query_compile_time_config}
38 : ${GNUTLS_CLI:=gnutls-cli}
39 : ${GNUTLS_SERV:=gnutls-serv}
54 if git diff --quiet ../include/mbedtls/config.h 2>/dev/null; then
62 : ${MBEDTLS_TEST_PLATFORM:="$(uname -s | tr -c \\n0-9A-Za-z _)-$(uname -m | tr -c \\n0-9A-Za-z _)"}
[all …]
Dcontext-info.sh3 # context-info.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
11 set -eu
35 printf " -h|--help\tPrint this help.\n"
36 printf " -m|--memcheck\tUse valgrind to check the memory.\n"
39 # Print test name <name>
41 printf "%s %.*s " "$1" $(( 71 - ${#1} )) \
45 # Print header to the test output file <test name> <file path> <test command>
51 echo "* Test name: $1" >> $2
70 while [ $# -gt 0 ]; do
[all …]
/external/mbedtls/tests/
Dssl-opt.sh3 # ssl-opt.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
21 set -u
25 ulimit -f 20971520
35 : ${P_PXY:=../programs/test/udp_proxy}
36 : ${P_QUERY:=../programs/test/query_compile_time_config}
38 : ${GNUTLS_CLI:=gnutls-cli}
39 : ${GNUTLS_SERV:=gnutls-serv}
54 if git diff --quiet ../include/mbedtls/mbedtls_config.h 2>/dev/null; then
62 : ${MBEDTLS_TEST_PLATFORM:="$(uname -s | tr -c \\n0-9A-Za-z _)-$(uname -m | tr -c \\n0-9A-Za-z _)"}
[all …]
Dcontext-info.sh3 # context-info.sh
6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
11 set -eu
35 printf " -h|--help\tPrint this help.\n"
36 printf " -m|--memcheck\tUse valgrind to check the memory.\n"
39 # Print test name <name>
41 printf "%s %.*s " "$1" $(( 71 - ${#1} )) \
45 # Print header to the test output file <test name> <file path> <test command>
51 echo "* Test name: $1" >> $2
70 while [ $# -gt 0 ]; do
[all …]
/external/cronet/testing/scripts/
Drun_variations_smoke_tests.py3 # Use of this source code is governed by a BSD-style license that can be
5 """A smoke test to verify Chrome doesn't crash and basic rendering is functional
54 # Test cases to verify web elements can be rendered correctly.
63 'url': 'http://localhost:8000',
64 'expected_id': 'sites-chrome-userheader-title',
73 hostname = "localhost"
88 One of 'linux', 'win' and 'mac'.
95 return 'mac'
98 'Unsupported platform: %s. Only Linux (linux*) and Mac (darwin) and '
102 def _find_chrome_binary(): #pylint: disable=inconsistent-return-statements
[all …]
/external/grpc-grpc/doc/
Dcommand_line_tool.md11 > to grpc-tools repository as a stand alone application once it is mature
13 > user-friendliness. Other tools in the ecosystem, for example,
20 - Send unary rpc.
21 - Attach metadata and display received metadata.
22 - Handle common authentication to server.
23 - Infer request/response types from server reflection result.
24 - Find the request/response types from a given proto file.
25 - Read proto request in text form.
26 - Read request in wire form (for protobuf messages, this means serialized
28 - Display proto response in text form.
[all …]
/external/curl/tests/data/
Dtest3206 TLS-SRP
10 # Server-side
14 Content-type: text/html
28 <TR><TD>Cipher</TD><TD>AES-NNN-CBC</TD></TR>
29 <TR><TD>MAC</TD><TD>SHA1</TD></TR>
31 <hr><P>Your HTTP header was:<PRE>Host: localhost:9011
32 User-Agent: curl-test-suite
41 # Client-side
47 TLS-SRP
50 simple TLS-SRP HTTPS GET, check user in response
[all …]
/external/cronet/net/tools/testserver/
Dtestserver.py3 # Use of this source code is governed by a BSD-style license that can be
9 It supports several test URLs, as specified by the handlers in TestPageHandler.
71 b'test:test').decode()
98 """This is the catch-all response handler for requests that aren't handled
100 Note that we specify the content-length as without it the https connection
105 self.send_header('Content-Type', 'text/html')
106 self.send_header('Content-Length', len(contents))
113 """This is the catch-all response handler for CONNECT requests that aren't
119 self.send_header('Content-Type', 'text/html')
120 self.send_header('Content-Length', len(contents))
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_mac_test_helpers.mm1 // Mac OS X 10.6 or higher only.
44 // Test the +load instrumentation.
46 // it makes little sense to wrap the code below into a gTest test case.
51 "If your test didn't crash, AddressSanitizer is instrumenting "
90 // http://developer.apple.com/library/mac/#documentation/Performance/Reference/GCD_libdispatch_Ref/…
130 queue[2] = dispatch_get_global_queue(-2, 0);
159 // Do not wait for the worker to free the memory -- nobody is going to touch
192 // It's tricky to test dispatch_source_set_cancel_handler() separately,
193 // so we test both here.
221 -(int) access: (int)index {
[all …]
/external/autotest/client/common_lib/cros/network/
Dinterface.py3 # Use of this source code is governed by a BSD-style license that can be
99 DeviceInfo(compatible='qcom,wcn3990-wifi'): NAME_QUALCOMM_WCN3990,
139 self.host = local_host.LocalHost()
155 """@return the addresses (MAC, IP) associated with interface."""
174 # The "ip" command will return non-zero if the interface does
260 if re.match('^OF_COMPATIBLE_[0-9]+$', key):
283 logging.error('Device description not supported on non-wifi '
295 kernel_release = self._run('uname -r').stdout.strip()
298 module_path = self._run('find %s -name %s.ko -printf %%P' % (
331 # The "ip" command will return non-zero if the interface does
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
D_fork_interop_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
14 """Client-side fork interop tests as a unit test."""
44 # additional thread spawned by our _runner.py class. So in order to test our
60 'server_host': 'localhost',
71 "not supported on windows, and fork+exec networking blocked on mac",
75 "Core must be built with fork support to run this test.",
101 [sys.executable, "-c", start_server_script],
187 "-ex",
189 "-ex",
191 "-ex",
[all …]
/external/jsoup/src/test/java/org/jsoup/integration/
DUrlConnectTest.java14 import org.junit.jupiter.api.Test;
32 // todo: rebuild these into a local Jetty test server, so not reliant on the vagaries of the intern…
36 …public static String browserUa = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.…
38 @Test
49 @Test
65 @Test
75 @Test
82 @Test
90 @Test
100 @Test
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py34 from test.test_asyncio import utils as test_utils
35 from test import support
36 from test.support import socket_helper
37 from test.support import threading_helper
38 from test.support import ALWAYS_EQ, LARGEST, SMALLEST
46 """Return True if the platform is Mac OS 10.4 or older."""
299 self.assertTrue(0.08 <= t1-t0 <= 0.8, t1-t0)
406 # at least on Linux -- see man select.
467 ValueError, self.loop.add_signal_handler, -1, my_handler)
469 ValueError, self.loop.remove_signal_handler, -1)
[all …]
/external/perfetto/docs/contributing/
Dbuild-instructions.md6 A read-only mirror is also available at https://github.com/google/perfetto .
12 has non-NDK depedencies into Android internals. Profilers and internal HAL/AIDL
19 [AOSP->Chromium autoroller](https://autoroll.skia.org/r/perfetto-chromium-autoroll)
33 tools/install-build-deps [--android] [--ui] [--linux-arm]
36 `--android` will pull the Android NDK, emulator and other deps required
39 `--ui` will pull NodeJS and all the NPM modules required to build the
40 Web UI. See the [UI Development](#ui-development) section below for more.
42 `--linux-arm` will pull the sysroots for cross-compiling for Linux ARM/64.
44 WARNING: Note that if you're using an M1 or any later ARM Mac, your Python
51 as primary build system. See the [Build files](#build-files) section below for
[all …]
/external/autotest/server/
Dsite_linux_router.py3 # Use of this source code is governed by a BSD-style license that can be
68 @param test_name: string name of this test (e.g. 'network_WiFi_TestName').
86 # JetstreamHost assumes ap-daemons are running.
87 # Testbed routers run the testbed-ap profile with no ap-daemons.
88 # TODO(ecgh): crbug.com/757075 Fix testbed-ap JetstreamHost detection.
96 """Linux/mac80211-style WiFi Router support for WiFiTest class.
98 This class implements test methods/steps that communicate with a
100 be pre-configured to enable ssh access and have a mac80211-based
102 and any necessary modules are pre-loaded.
112 HOSTAPD_CONF_FILE_PATTERN = 'hostapd-test-%s.conf'
[all …]
/external/grpc-grpc/tools/run_tests/
Drun_interop_tests.py8 # http://www.apache.org/licenses/LICENSE-2.0
15 """Run interop (cross-language) tests in parallel."""
90 # disable this test on core-based languages,
137 self.client_cwd = "../grpc-dotnet/output/InteropTestsClient"
138 self.server_cwd = "../grpc-dotnet/output/InteropTestsWebsite"
169 self.client_cwd = "../grpc-dart/interop"
170 self.server_cwd = "../grpc-dart/interop"
171 self.http2_cwd = "../grpc-dart/interop"
206 self.client_cwd = "../grpc-java"
207 self.server_cwd = "../grpc-java"
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/
Drun_interop_tests.py8 # http://www.apache.org/licenses/LICENSE-2.0
15 """Run interop (cross-language) tests in parallel."""
86 # disable this test on core-based languages,
133 self.client_cwd = '../grpc-dotnet/output/InteropTestsClient'
134 self.server_cwd = '../grpc-dotnet/output/InteropTestsWebsite'
164 self.client_cwd = '../grpc-dart/interop'
165 self.server_cwd = '../grpc-dart/interop'
166 self.http2_cwd = '../grpc-dart/interop'
198 self.client_cwd = '../grpc-java'
199 self.server_cwd = '../grpc-java'
[all …]
/external/python/cpython2/Lib/
Dsmtplib.py17 >>> s=smtplib.SMTP("localhost")
26 sendmail-bugs@sendmail.org.
36 # ESMTP support, test code and doc fixes added by
145 # something weird here.. punt -ddm
163 Double leading '.', and change Unix newline '\\n', or Mac '\\r' into
164 Internet CRLF end-of-line.
183 def readline(self, size=-1):
281 A non-false value results in debug messages for connection and for all
294 def connect(self, host='localhost', port=0):
349 - server response code (e.g. '250', or such, if all goes well)
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib2.py2 from test import test_support
3 from test import test_urllib
62 "https://localhost", cafile="/nonexistent/path", context=context
71 However, .headers pre-dates those methods, and so real code will be using
75 code that previously saw all (urllib2 user)-provided headers in .headers
86 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"]
88 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"]
91 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError,
98 Note the case normalization of header names here, to .capitalize()-case.
99 This should be preserved for backwards-compatibility. (In the HTTP case,
[all …]
/external/python/cpython3/Lib/test/
Dtest_urllib2.py2 from test import support
3 from test.support import os_helper
4 from test.support import socket_helper
5 from test.support import warnings_helper
6 from test import test_urllib
94 interface. However, .headers pre-dates those methods, and so real code
98 reason: code that previously saw all (urllib2 user)-provided headers in
104 headers={"Spam-eggs": "blah"}
105 ).headers["Spam-eggs"], "blah")
107 headers={"spam-EggS": "blah"}
[all …]
/external/python/cpython3/Lib/idlelib/
DNEWS2x.txt3 *Release date: XX-XXX-2010*
5 - idle.py modified and simplified to better support developing experimental
8 - OutputWindow/PyShell right click menu "Go to file/line" wasn't working with
11 - Windows: Version string for the .chm help file changed, file not being
14 - Allow multiple IDLE GUI/subprocess pairs to exist simultaneously. Thanks to
18 - Remove port spec from run.py and fix bug where subprocess fails to
21 - Tk 8.5 Text widget requires 'wordprocessor' tabstyle attr to handle
24 - Issue #3549: On MacOS the preferences menu was not present
26 - IDLE would print a "Unhandled server exception!" message when internal
29 - Issue #4455: IDLE failed to display the windows list when two windows have
[all …]

12345