/external/grpc-grpc/src/ruby/spec/ |
compression_options_spec.rb | 28 expect { GRPC::Core::CompressionOptions.new.to_s }.to_not raise_error 33 expect(options.to_channel_arg_hash).to eq(options.to_hash) 44 expect(options.algorithm_enabled?(algorithm)).to be true 47 expect(options.disabled_algorithms).to be_empty 48 expect(options.default_algorithm).to be nil 49 expect(options.default_level).to be nil 50 expect(options.to_hash).to be_instance_of(Hash) 61 expect(options.algorithm_enabled?(algorithm)).to be false 62 expect(options.disabled_algorithms.include?(algorithm)).to be true 65 expect(options.default_algorithm).to be(:identity [all...] |
error_sanity_spec.rb | 31 # expect the error class to be a subclass of BadStatus 32 expect(error_class < GRPC::BadStatus) 37 expect(error_object.code).to eq(status_code) 40 expect(error_object.details).to eq('unknown cause') 41 expect(error_object.metadata).to eq({}) 46 expect(from_factory.is_a?(error_class)).to be(true)
|
/build/make/common/ |
math.mk | 30 math-expect := 31 math-expect-true := 32 math-expect := 33 math-expect-error := 42 define math-expect 50 math-expect-true = $(call math-expect,$(1),true) 51 math-expect-false = $(call math-expect,$(1),) 53 define math-expect-erro [all...] |
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/ |
tpmtoken_import_tests_exp02.sh | 1 #! /usr/bin/expect -f 32 expect -re "Enter PEM pass phrase:" 34 expect -re "Enter your TPM user password: " 37 expect -re "Import the object?" 40 expect -re "Import the object?" 42 expect timeout
|
tpmtoken_import_tests_exp05.sh | 1 #! /usr/bin/expect -f 32 expect -re "Enter PEM pass phrase:" 35 expect -re "Import the object?" 38 expect -re "Import the object?" 40 expect timeout
|
tpmtoken_import_tests_exp07.sh | 1 #! /usr/bin/expect -f 32 expect -re "Enter your TPM user password: " 35 expect -re "Import the object?" 38 expect -re "Import the object?" 40 expect timeout
|
tpmtoken_import_tests_exp08.sh | 1 #! /usr/bin/expect -f 32 expect -re "Enter PEM pass phrase:" 34 expect -re "Enter your TPM user password: " 37 expect -re "Import the object?" 39 expect timeout
|
/external/dtc/tests/ |
fdtget-runtest.sh | 6 EXPECT=tmp.expect.$$ 7 rm -f $LOG $EXPECT 8 trap "rm -f $LOG $EXPECT" 0 10 expect="$1" 11 printf '%b\n' "$expect" > $EXPECT 16 if cmp $EXPECT $LOG>/dev/null; then 21 cat $EXPECT
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_eof.py | 9 expect = "EOL while scanning string literal (<string>, line 1)"
14 self.assertEqual(str(msg), expect)
19 expect = ("EOF while scanning triple-quoted string literal "
24 self.assertEqual(str(msg), expect)
|
/external/elfutils/tests/ |
run-disasm-bpf.sh | 62 testfiles testfile-bpf-dis1.o testfile-bpf-dis1.expect 63 testrun_compare ${abs_top_builddir}/src/objdump -d testfile-bpf-dis1.o < testfile-bpf-dis1.expect
|
run-reloc-bpf.sh | 32 testfiles testfile-bpf-reloc.o testfile-bpf-reloc.expect 33 testrun_compare ${abs_top_builddir}/src/objdump -r testfile-bpf-reloc.o < testfile-bpf-reloc.expect
|
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_clear/ |
tpm_clear_tests_exp01.sh | 1 #! /usr/bin/expect -f 26 expect -re "Enter owner password: " 28 expect timeout
|
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_getpubek/ |
tpm_getpubek_tests_exp01.sh | 1 #! /usr/bin/expect -f 28 expect { 35 expect timeout
|
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_restrictpubek/ |
tpm_restrictpubek_tests_exp01.sh | 1 #! /usr/bin/expect -f 26 expect -re "Enter owner password: " 28 expect timeout
|
tpm_restrictpubek_tests_exp02.sh | 1 #! /usr/bin/expect -f 26 expect -re "Enter owner password: " 28 expect timeout
|
tpm_restrictpubek_tests_exp03.sh | 1 #! /usr/bin/expect -f 28 expect { 35 expect timeout
|
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_objects/ |
tpmtoken_objects_tests_exp01.sh | 1 #! /usr/bin/expect -f 26 expect -re "Enter your TPM user password: " 28 expect timeout
|
/external/python/cpython2/Lib/test/ |
test_eof.py | 8 expect = "EOL while scanning string literal (<string>, line 1)" 13 self.assertEqual(str(msg), expect) 18 expect = ("EOF while scanning triple-quoted string literal " 23 self.assertEqual(str(msg), expect)
|
/external/python/cpython3/Lib/test/ |
test_eof.py | 8 expect = "EOL while scanning string literal (<string>, line 1)" 13 self.assertEqual(str(msg), expect) 18 expect = ("EOF while scanning triple-quoted string literal " 23 self.assertEqual(str(msg), expect)
|
test_textwrap.py | 30 def check(self, result, expect): 31 self.assertEqual(result, expect, 33 self.show(expect), self.show(result))) 35 def check_wrap(self, text, width, expect, **kwargs): 37 self.check(result, expect) 39 def check_split(self, text, expect): 41 self.assertEqual(result, expect, 43 "but got %r" % (expect, result)) 89 expect = ["This is a paragraph that already has line", 97 self.check(result, expect) [all...] |
/external/grpc-grpc/src/ruby/spec/generic/ |
interceptor_registry_spec.rb | 29 expect(is.count).to eq 1 30 expect(is.first).to eq interceptor 42 expect(is.count).to eq 3 46 expect(i).to eq interceptor 48 expect(i).to eq interceptor2 50 expect(i).to eq interceptor3 61 expect { subject }.to raise_error(err)
|
rpc_desc_spec.rb | 41 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 42 expect(@call).to receive(:send_status).once.with(@bs_code, 'NOK', false, 48 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 49 expect(@call).to receive(:send_status).once.with(UNKNOWN, 56 expect(@call).to receive(:read_unary_request).once.and_return(Object.new) 57 expect(@call).to receive(:send_status).once.with( 63 expect(@call).to receive(:read_unary_request).once.and_raise(CallError) 67 expect(&blk).to_not raise_error 85 expect(@call).to receive(:read_unary_request).once.and_return(req) 86 expect(@call).to receive(:output_metadata).once.and_return(fake_md [all...] |
service_spec.rb | 47 expect(&blk).to_not raise_error 54 expect(GenericService.underscore('AnRPC')).to eq('an_rpc') 55 expect(GenericService.underscore('AMethod')).to eq('a_method') 56 expect(GenericService.underscore('PrintHTML')).to eq('print_html') 57 expect(GenericService.underscore('SeeHTMLBooks')).to eq('see_html_books') 66 expect(c.methods).to include(:rpc) 75 expect(c.rpc_descs).to include(:AnRpc) 76 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc) 86 expect(c.rpc_descs).to include(:AnRpc) 87 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc [all...] |
server_interceptors_spec.rb | 36 expect(interceptor).to receive(:request_response) 41 expect(stub.an_rpc(request)).to be_a(EchoMsg) 46 expect(interceptor).to receive(:request_response) 57 expect(op.trailing_metadata).to eq( 61 expect(msg).to be_a(EchoMsg) 71 expect(interceptor).to receive(:client_streamer) 76 expect(stub.a_client_streaming_rpc(requests)).to be_a(EchoMsg) 81 expect(interceptor).to receive(:client_streamer) 92 expect(op.trailing_metadata).to eq( 96 expect(msg).to be_a(EchoMsg [all...] |
/external/linux-kselftest/tools/testing/selftests/net/forwarding/ |
mirror_lib.sh | 30 local expect=$1; shift 38 ((expect <= delta && delta <= expect + 2)) 39 check_err $? "Expected to capture $expect packets, got $delta." 44 local expect=$1; shift 51 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 52 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 98 local expect=$1; shift 109 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 110 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect [all...] |