/bootable/recovery/tests/component/ |
edify_test.cpp | 24 static void expect(const std::string& expr_str, const char* expected) { function 50 expect("a", "a"); 51 expect("\"a\"", "a"); 52 expect("\"\\x61\"", "a"); 53 expect("# this is a comment\n" 61 expect("a; b; c", "c"); 66 expect("a + b", "ab"); 67 expect("a + \n \"b\"", "ab"); 68 expect("a + b +\nc\n", "abc"); 71 expect("concat(a, b)", "ab") [all...] |
/external/antlr/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;
|
/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/tests/ |
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"));
|
/external/python/cpython2/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)) 90 expect = ["This is a paragraph that already has line", 98 self.check(result, expect) [all...] |
/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...] |
/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
|
tpm_changeauth_tests_exp03.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 -re "Enter new owner password: " 37 expect -re "Confirm password: " 39 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
|
tpmtoken_setpasswd_tests_exp04.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
|
/external/deqp-deps/SPIRV-Tools/test/tools/opt/ |
flags.py | 16 import expect 37 class TestAssemblyFileAsOnlyParameter(expect.ValidObjectFile1_3): 47 class TestHelpFlag(expect.ReturnCodeIsZero, expect.StdoutMatch): 55 class TestValidPassFlags(expect.ValidObjectFile1_3, 56 expect.ExecutedListOfPasses): 132 class TestPerformanceOptimizationPasses(expect.ValidObjectFile1_3, 133 expect.ExecutedListOfPasses): 179 class TestSizeOptimizationPasses(expect.ValidObjectFile1_3, 180 expect.ExecutedListOfPasses) [all...] |
/external/swiftshader/third_party/SPIRV-Tools/test/tools/opt/ |
flags.py | 16 import expect 37 class TestAssemblyFileAsOnlyParameter(expect.ValidObjectFile1_3): 47 class TestHelpFlag(expect.ReturnCodeIsZero, expect.StdoutMatch): 55 class TestValidPassFlags(expect.ValidObjectFile1_3, 56 expect.ExecutedListOfPasses): 132 class TestPerformanceOptimizationPasses(expect.ValidObjectFile1_3, 133 expect.ExecutedListOfPasses): 179 class TestSizeOptimizationPasses(expect.ValidObjectFile1_3, 180 expect.ExecutedListOfPasses) [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/emitter/ |
EmitterState.java | 24 void expect() throws IOException; method in interface:EmitterState
|
/external/libcxx/test/support/test.support/ |
test_demangle.pass.cpp | 21 const char* expect; member in struct:__anon27949 30 const char* expect = TestCases[i].expect; local 33 ((void)expect); 35 assert(demangle(raw) == expect);
|