/bootable/recovery/tests/component/ |
edify_test.cpp | 24 static void expect(const char* expr_str, const char* expected) { function 51 expect("a", "a"); 52 expect("\"a\"", "a"); 53 expect("\"\\x61\"", "a"); 54 expect("# this is a comment\n" 62 expect("a; b; c", "c"); 67 expect("a + b", "ab"); 68 expect("a + \n \"b\"", "ab"); 69 expect("a + b +\nc\n", "abc"); 72 expect("concat(a, b)", "ab") [all...] |
/system/security/keystore/ |
test-keystore | 34 function expect() { function 72 expect "1 No error" 80 expect "6 Permission denied" 84 expect "3 Uninitialized" 89 expect "1 No error" 91 expect "-rw------- keystore keystore 84 .masterkey" 95 expect "1 No error" 99 expect "5 Protocol error" 103 expect "1 No error" 107 expect "1 No error [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
ReturnTest.java | 61 String expect = retval.getText(); local 63 if ( expect.charAt(0)=='"' && expect.charAt(expect.length()-1)=='"' ) { 64 expect = expect.substring(1, expect.length()-1); 67 return expect;
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/d10v/ |
error-001.d | 4 # Test expect's dump_run_test baseline
|
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_init/ |
tpmtoken_init_tests_exp02.sh | 1 #! /usr/bin/expect -f 28 expect { 40 expect -re "Enter the TPM security officer password: " 43 expect -re "Enter new password: " 45 expect -re "Confirm password: " 47 expect -re "A new TPM user password is needed." 48 expect -re "Enter new password: " 50 expect -re "Confirm password: " 53 expect timeout
|
tpmtoken_init_tests_exp01.sh | 1 #! /usr/bin/expect -f 28 expect { 39 expect -re "Enter new password: " 41 expect -re "Confirm password: " 43 expect -re "A new TPM user password is needed." 44 expect -re "Enter new password: " 46 expect -re "Confirm password: " 50 expect timeout
|
tpmtoken_init_tests_exp03.sh | 1 #! /usr/bin/expect -f 28 expect { 38 expect -re "Enter new password: " 40 expect -re "Confirm password: " 42 expect -re "A new TPM user password is needed." 43 expect -re "Enter new password: " 45 expect -re "Confirm password: " 48 expect timeout
|
tpmtoken_init_tests_exp00.sh | 1 #! /usr/bin/expect -f 28 expect -re "Enter owner password: " 30 expect -re "Enter new SRK password: " 32 expect -re "Confirm password: " 34 expect timeout
|
/external/ltp/testcases/kdump/lib/ |
ssh.tcl | 12 expect { 21 expect
|
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_takeownership/ |
tpm_takeownership_tests_exp01.sh | 1 #! /usr/bin/expect -f 26 expect -re "Enter owner password: " 28 expect -re "Confirm password: " 30 expect -re "Enter SRK password: " 32 expect -re "Confirm password: " 34 expect timeout
|
/art/test/494-checker-instanceof-tests/src/ |
Main.java | 152 public static void expect(boolean expected, boolean actual) { method in class:Main 159 expect(false, classTypeTestNull()); method 160 expect(false, classTypeTestExactMain()); method 161 expect(true, classTypeTestExactSubMain()); method 164 expect(false, classTypeTestSubMainOrNull()); method 166 expect(true, classTypeTestSubMainOrNull()); method 169 expect(false, classTypeTestMainOrNull()); method 171 expect(false, classTypeTestMainOrNull()); method 173 expect(true, classTypeTestMainOrNull()); method 176 expect(false, classTypeTestUnrelated()) method 178 expect(false, classTypeTestUnrelated()); method 181 expect(false, classTypeTestFinalUnrelated()); method 183 expect(false, classTypeTestFinalUnrelated()); method 185 expect(false, interfaceTypeTestNull()); method 186 expect(false, interfaceTypeTestExactMain()); method 187 expect(true, interfaceTypeTestExactSubMain()); method 190 expect(false, interfaceTypeTestSubMainOrNull()); method 192 expect(true, interfaceTypeTestSubMainOrNull()); method 195 expect(false, interfaceTypeTestMainOrNull()); method 197 expect(false, interfaceTypeTestMainOrNull()); method 199 expect(true, interfaceTypeTestMainOrNull()); method 202 expect(false, interfaceTypeTestUnrelated()); method 204 expect(false, interfaceTypeTestUnrelated()); method 207 expect(false, interfaceTypeTestFinalUnrelated()); method 209 expect(false, interfaceTypeTestFinalUnrelated()); method [all...] |
/external/curl/lib/ |
objnames-test08.sh | 85 expect=16AFKPQR 87 echo "result: $outstr expected: $expect input: $argstr" 90 expect=16AFKPQ 92 echo "result: $outstr expected: $expect input: $argstr" 95 expect=16ABC 97 echo "result: $outstr expected: $expect input: $argstr" 100 expect=16 102 echo "result: $outstr expected: $expect input: $argstr" 105 expect=123 107 echo "result: $outstr expected: $expect input: $argstr [all...] |
objnames-test10.sh | 85 expect=16AFKPQRST 87 echo "result: $outstr expected: $expect input: $argstr" 90 expect=16AFKPQ 92 echo "result: $outstr expected: $expect input: $argstr" 95 expect=16ABC 97 echo "result: $outstr expected: $expect input: $argstr" 100 expect=16 102 echo "result: $outstr expected: $expect input: $argstr" 105 expect=123 107 echo "result: $outstr expected: $expect input: $argstr [all...] |
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/ |
CoreTutorialTest.java | 31 console.expect(containsLine("0 of 3 methods missed")); 32 console.expect(containsLine("1 of 5 complexity missed")); 33 console.expect(containsLine("Line 46: ")); 34 console.expect(containsLine("Line 47: green")); 35 console.expect(containsLine("Line 48: yellow")); 36 console.expect(containsLine("Line 49: red"));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_textwrap.py | 31 def check(self, result, expect):
32 self.assertEqual(result, expect,
34 self.show(expect), self.show(result)))
36 def check_wrap(self, text, width, expect, **kwargs):
38 self.check(result, expect)
40 def check_split(self, text, expect):
42 self.assertEqual(result, expect,
44 "but got %r" % (expect, result))
81 expect = ["This is a paragraph that already has line",
89 self.check(result, expect)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_textwrap.py | 31 def check(self, result, expect): 32 self.assertEqual(result, expect, 34 self.show(expect), self.show(result))) 36 def check_wrap(self, text, width, expect, **kwargs): 38 self.check(result, expect) 40 def check_split(self, text, expect): 42 self.assertEqual(result, expect, 44 "but got %r" % (expect, result)) 90 expect = ["This is a paragraph that already has line", 98 self.check(result, expect) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_textwrap.py | 31 def check(self, result, expect): 32 self.assertEqual(result, expect, 34 self.show(expect), self.show(result))) 36 def check_wrap(self, text, width, expect, **kwargs): 38 self.check(result, expect) 40 def check_split(self, text, expect): 42 self.assertEqual(result, expect, 44 "but got %r" % (expect, result)) 90 expect = ["This is a paragraph that already has line", 98 self.check(result, expect) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_textwrap.py | 31 def check(self, result, expect): 32 self.assertEqual(result, expect, 34 self.show(expect), self.show(result))) 36 def check_wrap(self, text, width, expect, **kwargs): 38 self.check(result, expect) 40 def check_split(self, text, expect): 42 self.assertEqual(result, expect, 44 "but got %r" % (expect, result)) 90 expect = ["This is a paragraph that already has line", 98 self.check(result, expect) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_textwrap.py | 31 def check(self, result, expect): 32 self.assertEqual(result, expect, 34 self.show(expect), self.show(result))) 36 def check_wrap(self, text, width, expect, **kwargs): 38 self.check(result, expect) 40 def check_split(self, text, expect): 42 self.assertEqual(result, expect, 44 "but got %r" % (expect, result)) 90 expect = ["This is a paragraph that already has line", 98 self.check(result, expect) [all...] |
/external/libcxx/test/libcxx/thread/thread.mutex/thread.lock/thread.lock.guard/ |
variadic_mutex_mangling.pass.cpp | 35 const std::string expect = "NSt3__110lock_guardIJNS_5mutexEEEE"; local 36 assert(typeid(std::lock_guard<std::mutex>).name() == expect);
|
/external/ltp/testcases/commands/tpm-tools/tpm/tpm_changeauth/ |
tpm_changeauth_tests_exp01.sh | 1 #! /usr/bin/expect -f 28 expect -re "Enter owner password: " 30 expect -re "Enter new owner password: " 32 expect -re "Confirm password: " 34 expect timeout
|
tpm_changeauth_tests_exp02.sh | 1 #! /usr/bin/expect -f 29 expect -re "Enter owner password: " 31 expect -re "Enter new SRK password: " 33 expect -re "Confirm password: " 35 expect timeout
|
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_setpasswd/ |
tpmtoken_setpasswd_tests_exp01.sh | 1 #! /usr/bin/expect -f 28 expect -re "Enter your TPM user password: " 30 expect -re "Enter new password: " 32 expect -re "Confirm password: " 34 expect timeout
|
tpmtoken_setpasswd_tests_exp02.sh | 1 #! /usr/bin/expect -f 28 expect -re "Enter the TPM security officer password: " 30 expect -re "Enter new password: " 32 expect -re "Confirm password: " 34 expect timeout
|
tpmtoken_setpasswd_tests_exp03.sh | 1 #! /usr/bin/expect -f 28 expect -re "Enter your TPM user password: " 30 expect -re "Enter new password: " 32 expect -re "Confirm password: " 34 expect timeout
|