Home
last modified time | relevance | path

Searched refs:test_string (Results 1 – 25 of 33) sorted by relevance

12

/external/ltp/scripts/tests/
Dtest_abspath.sh65 test_string=${i%:*}
68 result=$(_abspath "$test_string")
71 result_s="matches expected string _abspath(${test_string}) => $result == $expected_string)"
74 result_s="doesn't match expected string _abspath(${test_string}) => $result != $expected_string)"
88 test_string='""'
92 result_s="matches expected string abspath.sh ${test_string} => $result == $expected_string)"
95 result_s="doesn't match expected string abspath.sh ${test_string} => $result != $expected_string)"
105 test_string="\"\" ."
109 result_s="matches expected string abspath.sh ${test_string} => $result == $expected_string)"
112 result_s="doesn't match expected string abspath.sh ${test_string} => $result != $expected_string)"
/external/python/cpython2/Lib/test/
Dtest_struct.py437 test_string = 'Reykjavik rocks, eow!'
443 s.pack_into(writable_buf, 0, test_string)
444 from_buf = tobytes(writable_buf)[:len(test_string)]
445 self.assertEqual(from_buf, test_string)
448 s.pack_into(writable_buf, 10, test_string)
449 from_buf = tobytes(writable_buf)[:len(test_string)+10]
450 self.assertEqual(from_buf, test_string[:10] + test_string)
455 test_string)
457 test_string)
474 test_string = 'Reykjavik rocks, eow!'
[all …]
Dtest_plistlib.py130 def test_string(self): member in TestPlistlib
Dtest_marshal.py123 def test_string(self): member in StringTestCase
292 def test_string(self, size): member in LargeValuesTestCase
Dtest_tokenize.py187 def test_string(self): member in TokenizeTest
Dtest_repr.py24 def test_string(self): member in ReprTests
/external/libmojo/third_party/catapult/devil/devil/utils/
Dcmd_helper_test.py29 test_string = 'hello $TEST_VAR'
30 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.SingleQuote(test_string)
31 self.assertEquals(test_string,
50 test_string = 'hello $TEST_VAR'
51 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.DoubleQuote(test_string)
/external/libbrillo/brillo/
Dsecure_blob_unittest.cc113 std::string test_string("Test String"); in TEST_F() local
114 SecureBlob blob = SecureBlob(test_string.begin(), test_string.end()); in TEST_F()
115 EXPECT_EQ(blob.size(), test_string.length()); in TEST_F()
117 EXPECT_EQ(test_string.compare(result_string), 0); in TEST_F()
/external/toolchain-utils/cwp/performance/
Dexperiment_gen.py109 test_string = str(freq) + 'Freq'
110 experiment_file += EXPERIMENT % (test_string, bench_iters, test_iters,
115 test_string = str(period) + 'Period'
117 test_string, bench_iters, test_iters, '-c %s' % period, '' if
/external/libcups/cups/
Dtestlang.c31 static int test_string(cups_lang_t *language, const char *msgid);
85 errors += test_string(language, "No"); in main()
86 errors += test_string(language, "Yes"); in main()
260 test_string(cups_lang_t *language, /* I - Language */ in test_string() function
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper_test.py35 test_string = 'hello $TEST_VAR'
36 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.SingleQuote(test_string)
37 self.assertEquals(test_string,
56 test_string = 'hello $TEST_VAR'
57 cmd = 'TEST_VAR=world; echo %s' % cmd_helper.DoubleQuote(test_string)
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_formatparagraph.py192 test_string = (
195 result = fp.reformat_comment(test_string, 70, " ")
249 test_string = ( variable in FormatEventTest
293 text.insert('1.0', self.test_string)
305 text.insert('1.0', self.test_string)
/external/selinux/libsemanage/tests/
Dtest_utilities.c242 const char *test_string = "abaababbaaaba"; in test_semanage_str_count() local
244 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'z'), 0); in test_semanage_str_count()
245 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'a'), 8); in test_semanage_str_count()
246 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'b'), 5); in test_semanage_str_count()
/external/webrtc/webrtc/base/
Dbitbuffer_unittest.cc302 char test_string[] = "my precious"; in TEST() local
305 for (size_t i = 0; i < arraysize(test_string); ++i) { in TEST()
306 EXPECT_TRUE(buffer.WriteExponentialGolomb(test_string[i])); in TEST()
309 for (size_t i = 0; i < arraysize(test_string); ++i) { in TEST()
313 EXPECT_EQ(test_string[i], static_cast<char>(val)); in TEST()
/external/libmojo/third_party/jinja2/
Dtests.py75 def test_string(value): function
141 'string': test_string,
/external/autotest/client/bin/
Dfsinfo_unittest.py102 test_string = '-q -b 1234 -O fdasfa,fdasfdas -l adfas -k -L'
103 result = fsinfo.opt_string2dict(test_string)
/external/autotest/site_utils/lxc/
Dzygote_unittest.py136 test_string = 'jackdaws love my big sphinx of quartz.'
139 f.write(test_string)
156 self.assertEqual(test_string, test_output)
/external/clang/test/FixIt/
Dtypo.cpp42 bool test_string(std::string s) { in test_string() function
/external/protobuf/src/google/protobuf/
Darena_unittest.cc1111 string test_string = "hello world"; in FillArenaAwareFields() local
1113 message->set_optional_string(test_string); in FillArenaAwareFields()
1114 message->set_optional_bytes(test_string); in FillArenaAwareFields()
1119 message->set_oneof_string(test_string); in FillArenaAwareFields()
1120 message->set_oneof_bytes(test_string); in FillArenaAwareFields()
/external/autotest/client/common_lib/
Dglobal_config_unittest.py117 def test_string(self): member in global_config_test
Dcontrol_data_unittest.py267 def test_string(self): member in SetMethodTests
/external/autotest/site_utils/
Dgenerate_test_report518 def _PrintErrorLogs(self, test, test_string): argument
537 [test_string, self._Indent(line.rstrip())])
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc1165 std::string test_string(string_size, 'x'); in TEST() local
1166 StringLiteral big_literal(test_string.c_str()); in TEST()
1215 std::string test_string(string_size, 'x'); in TEST() local
1216 StringLiteral big_literal(test_string.c_str()); in TEST()
1270 std::string test_string(string_size, 'x'); in EmitReusedLoadLiteralStressTest() local
1271 StringLiteral big_literal(test_string.c_str()); in EmitReusedLoadLiteralStressTest()
1518 std::string test_string(string_size, 'x'); in TEST() local
1519 StringLiteral big_literal(test_string.c_str()); in TEST()
1561 std::string test_string(string_size, 'x'); in TEST() local
1562 StringLiteral big_literal(test_string.c_str()); in TEST()
[all …]
/external/clang/test/CodeGen/
Dbuiltins-systemz-vector-error.c65 void test_string(void) { in test_string() function
/external/jsmn/
Djsmn_test.c163 int test_string() { in test_string() function
608 test(test_string, "test string JSON data types"); in main()

12