/third_party/boost/boost/test/ |
D | unit_test_suite.hpp | 36 #define BOOST_TEST_CASE_NAME( test_function, test_name ) \ argument 38 test_name , \ 136 #define BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES( test_name, n ) \ argument 144 #define BOOST_FIXTURE_TEST_CASE_WITH_DECOR( test_name, F, decorators ) \ argument 145 struct test_name : public F { void test_method(); }; \ 147 static void BOOST_AUTO_TC_INVOKER( test_name )() \ 149 BOOST_TEST_CHECKPOINT('"' << #test_name << "\" fixture ctor"); \ 150 test_name t; \ 151 BOOST_TEST_CHECKPOINT('"' << #test_name << "\" fixture setup"); \ 153 BOOST_TEST_CHECKPOINT('"' << #test_name << "\" test entry"); \ [all …]
|
/third_party/unity/auto/ |
D | parse_output.rb | 67 def push_xml_output_passed(test_name) argument 68 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '"/>' 72 def push_xml_output_failed(test_name, reason) argument 73 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">' 79 def push_xml_output_ignored(test_name, reason) argument 80 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '">' 89 test_name = test_suite_name.split(@path_delim) 92 base_name = test_name[test_name.size - 1].split('.')[0] 115 test_name = array[1] 117 printf "%-40s PASS\n", test_name [all …]
|
/third_party/googletest/googletest/include/gtest/hwext/ |
D | gtest-ext.h | 13 #define GTEST_TEST_UNIQUE_ID_(test_case_name, test_name, file_line) \ argument 14 test_case_name##_##test_name##_##file_line 18 # define HWTEST(test_case_name, test_name, test_flags) \ argument 19 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist… 20 TEST(test_case_name, test_name) 24 # define HWTEST_F(test_case_name, test_name, test_flags) \ argument 25 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist… 26 TEST_F(test_case_name, test_name) 29 # define HWTYPED_TEST(test_case_name, test_name, test_flags) \ argument 30 …UNIQUE_ID_(test_case_name, test_name, __LINE__) = testing::ext::TestDefManager::instance()->regist… [all …]
|
/third_party/e2fsprogs/tests/f_mmp/ |
D | script | 3 echo "make the test image ..." > $test_name.log 4 $MKE2FS -q -F -o Linux -b 4096 -O mmp -E mmp_update_interval=1 $TMPFILE 100 >> $test_name.log 2>&1 7 echo "mke2fs -O mmp failed" > $test_name.failed 8 echo "$test_name: $test_description: failed" 19 # this will cause debugfs to create the $test_name.mark file once it has 21 MARKFILE=$test_name.new 24 echo "set mmp sequence to EXT2_MMP_SEQ_FSCK..." >> $test_name.log 26 $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 & ) > /dev/null 2>&1 & 27 echo "wait until debugfs has started ..." >> $test_name.log 32 echo "kill debugfs abruptly (simulates e2fsck failure) ..." >> $test_name.log [all …]
|
/third_party/cJSON/tests/unity/auto/ |
D | parse_output.rb | 50 test_name = test_suite_name.split('/') 52 base_name = test_name[test_name.size - 1].split('.') 60 test_name = array[last_item - 1] 62 printf "%-40s PASS\n", test_name 66 @array_list.push ' <testcase classname="' + @test_suite + '" name="' + test_name + '"/>' 74 test_name = array[1].sub(')', '') 78 @array_list.push ' <testcase classname="' + test_suite + '" name="' + test_name + '"/>' 84 test_name = array[last_item - 2] 87 printf "%-40s IGNORED\n", test_name 89 if test_name.start_with? 'TEST(' [all …]
|
/third_party/e2fsprogs/tests/t_mmp_fail/ |
D | script | 3 $MKE2FS -q -F -o Linux -I 128 -b 1024 -O mmp $TMPFILE 100 > $test_name.log 2>&1 6 echo "mke2fs -O mmp failed" > $test_name.failed 7 echo "$test_name: $test_description: failed" 11 $TUNE2FS -O project $TMPFILE >> $test_name.log 2>&1 14 echo "'tune2fs -O project' succeeded on small inode" > $test_name.failed 15 echo "$test_name: $test_description: failed" 18 $TUNE2FS -o bad_option $TMPFILE >> $test_name.log 2>&1 21 echo "'tune2fs -o bad_option' succeeded" > $test_name.failed 22 echo "$test_name: $test_description: failed" 25 $E2MMPSTATUS -i $TMPFILE >> $test_name.log 2>&1 [all …]
|
/third_party/e2fsprogs/tests/j_corrupt_ext_jnl_sb_csum/ |
D | script | 2 OUT=$test_name.log 4 EXP=$test_name.tmp 11 …d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name… 12 …"$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_na… 14 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img > $OUT.new 2>&1 18 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img >> $OUT.new 2>&1 22 rm -f $TMPFILE $test_name.img $test_name.img.jnl $OUT.new 28 echo "$test_name: $test_description: ok" 29 touch $test_name.ok 31 echo "$test_name: $test_description: failed" [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/ |
D | CMakeLists.txt | 17 foreach (test_name IN ITEMS ${TEST_PROGS}) 18 if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.c) 19 add_executable (${test_name} ${test_name}.c) 20 elseif (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${test_name}.cc) 21 add_executable (${test_name} ${test_name}.cc) 23 message (FATAL_ERROR "No source file found for test ${test_name}") 25 target_link_libraries (${test_name} harfbuzz harfbuzz-subset) 27 set_property (TARGET ${test_name} PROPERTY RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) 28 add_test (NAME ${test_name} COMMAND ${test_name}) 30 add_test (${test_name} ${test_name})
|
/third_party/e2fsprogs/tests/j_corrupt_ext_jnl_sb_block/ |
D | script | 2 OUT=$test_name.log 4 EXP=$test_name.tmp 11 …d "$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img "$JOURNAL_DUMP_DIR/$test_name… 12 …"$JOURNAL_DUMP_DIR" -a -w "$JOURNAL_DUMP_DIR" && cp $test_name.img.jnl "$JOURNAL_DUMP_DIR/$test_na… 14 $FSCK $FSCK_OPT -N test_filesys -j $test_name.img.jnl $test_name.img > $OUT.new 2>&1 18 rm -f $TMPFILE $test_name.img $test_name.img.jnl $OUT.new 24 echo "$test_name: $test_description: ok" 25 touch $test_name.ok 27 echo "$test_name: $test_description: failed" 28 diff $DIFF_OPTS $EXP $OUT > $test_name.failed [all …]
|
/third_party/e2fsprogs/tests/t_quota_1on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 24 $TUNE2FS -O quota $TMPFILE >> $test_name.log 2>&1 27 echo "tune2fs -O quota failed with $status" > $test_name.failed 28 echo "$test_name: $test_description: failed" 32 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/third_party/e2fsprogs/tests/t_project_1on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 23 $TUNE2FS -O project $TMPFILE >> $test_name.log 2>&1 26 echo "tune2fs -O project failed with $status" > $test_name.failed 27 echo "$test_name: $test_description: failed" 31 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/third_party/e2fsprogs/tests/t_project_3on/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 dd if=/dev/zero of=$TMPFILE.2 bs=1048576 count=1 >> $test_name.log 2>&1 17 cat <<- EOF | $DEBUGFS -w $TMPFILE >> $test_name.log 2>&1 23 $TUNE2FS -Q prj $TMPFILE >> $test_name.log 2>&1 26 echo "tune2fs -Q project failed with $status" > $test_name.failed 27 echo "$test_name: $test_description: failed" 31 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/third_party/e2fsprogs/tests/ |
D | test_one.in | 37 test_name=`echo $test_dir | sed -e 's;.*/;;'` 43 echo "The test '$test_name' does not exist." 56 echo "$test_name: $test_description: skipped (slow test)" 60 rm -f $test_name.ok $test_name.failed $test_name.log $test_name.slow 63 TMPFILE=$(mktemp ${TMPDIR:-/tmp}/e2fsprogs-tmp-$test_name.XXXXXX) 70 test_base=`echo $test_name | sed -e 's/_.*//'` 75 echo "$test_name: Missing test script $default_script!" 80 echo "$test_name: *** took $elapsed seconds to finish ***" | 81 tee $test_name.slow 82 echo "$test_name: consider adding $test_dir/is_slow_test"
|
/third_party/e2fsprogs/tests/t_quota_add/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -b 4096 -O quota -E quotatype=prjquota $TMPFILE 10000 > $test_name.log 2>&1 11 echo "mke2fs failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 17 $TUNE2FS -Q $type $TMPFILE >> $test_name.log 2>&1 20 echo "tune2fs -O quota failed with $status" > $test_name.failed 21 echo "$test_name: $test_description: failed" 30 echo "user and $type quota entries are different" >$test_name.failed 31 echo "$test_name: $test_description: failed" 36 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 [all …]
|
/third_party/e2fsprogs/tests/t_quota_2off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -b 4096 -O quota $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -O ^quota $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^quota failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/third_party/boost/libs/safe_numerics/test/ |
D | CMakeLists.txt | 61 foreach(test_name ${run_test_list}) 62 test_run_pass(${test_name}) 63 set_target_properties(${test_name} PROPERTIES FOLDER "safe numeric runtime tests") 64 endforeach(test_name) 72 foreach(test_name ${compile_fail_test_list}) 73 test_compile_fail(${test_name}) 74 set_target_properties(${test_name} PROPERTIES FOLDER "safe numeric compile fail tests") 75 endforeach(test_name) 104 foreach(test_name ${safe_constexpr_test_list}) 105 test_compile_pass(${test_name}) [all …]
|
/third_party/e2fsprogs/tests/t_project_4off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 -O quota,project $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota,project failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -Q ^prj $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^project failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/third_party/e2fsprogs/tests/t_project_2off/ |
D | script | 4 echo "$test_name: $test_description: skipped" 8 $MKE2FS -q -F -o Linux -I 256 -b 4096 -O quota,project $TMPFILE 100 > $test_name.log 2>&1 11 echo "mke2fs -O quota,project failed" > $test_name.failed 12 echo "$test_name: $test_description: failed" 16 $TUNE2FS -O ^project $TMPFILE >> $test_name.log 2>&1 19 echo "tune2fs -O ^project failed" > $test_name.failed 20 echo "$test_name: $test_description: failed" 24 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok [all …]
|
/third_party/python/Lib/test/libregrtest/ |
D | runtest.py | 168 def get_abs_module(ns: Namespace, test_name: str) -> str: 169 if test_name.startswith('test.') or ns.testdir: 170 return test_name 173 return 'test.' + test_name 176 def _runtest(ns: Namespace, test_name: str) -> TestResult: 202 result = _runtest_inner(ns, test_name, 215 result = _runtest_inner(ns, test_name, 233 def runtest(ns: Namespace, test_name: str) -> TestResult: 245 return _runtest(ns, test_name) 251 return Failed(test_name) [all …]
|
/third_party/e2fsprogs/tests/t_mmp_1on/ |
D | script | 3 $MKE2FS -q -F -o Linux -b 4096 $TMPFILE 100 > $test_name.log 2>&1 6 echo "mke2fs failed" > $test_name.failed 7 echo "$test_name: $test_description: failed" 11 $TUNE2FS -O mmp -E mmp_update_interval=1 $TMPFILE >> $test_name.log 2>&1 14 echo "tune2fs -O mmp failed with $status" > $test_name.failed 15 echo "$test_name: $test_description: failed" 19 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 22 echo "$test_name: $test_description: ok" 23 touch $test_name.ok 25 echo "e2fsck with MMP enabled failed with $status" > $test_name.failed [all …]
|
/third_party/e2fsprogs/tests/t_mmp_2off/ |
D | script | 3 $MKE2FS -q -F -o Linux -b 4096 -O mmp $TMPFILE 100 > $test_name.log 2>&1 6 echo "mke2fs -O mmp failed" > $test_name.failed 7 echo "$test_name: $test_description: failed" 11 $TUNE2FS -O ^mmp $TMPFILE >> $test_name.log 2>&1 14 echo "tune2fs -O ^mmp failed" > $test_name.failed 15 echo "$test_name: $test_description: failed" 19 $FSCK $FSCK_OPT $TMPFILE >> $test_name.log 2>&1 22 echo "$test_name: $test_description: ok" 23 touch $test_name.ok 25 echo "e2fsck after MMP disable failed" > $test_name.failed [all …]
|
/third_party/protobuf/conformance/ |
D | conformance_test.cc | 83 const string& test_name, const string& input) in ConformanceRequestSetting() argument 89 test_name_(test_name) { in ConformanceRequestSetting() 178 void ConformanceTestSuite::ReportSuccess(const string& test_name) { in ReportSuccess() argument 179 if (expected_to_fail_.erase(test_name) != 0) { in ReportSuccess() 183 test_name.c_str()); in ReportSuccess() 184 unexpected_succeeding_tests_.insert(test_name); in ReportSuccess() 189 void ConformanceTestSuite::ReportFailure(const string& test_name, in ReportFailure() argument 194 if (expected_to_fail_.erase(test_name) == 1) { in ReportFailure() 199 StringAppendF(&output_, "WARNING, test=%s: ", test_name.c_str()); in ReportFailure() 201 StringAppendF(&output_, "ERROR, test=%s: ", test_name.c_str()); in ReportFailure() [all …]
|
/third_party/cef/tests/ceftests/ |
D | test_util.h | 99 #define RC_TEST_BASE(test_case_name, test_name, test_class, test_mode, \ argument 101 TEST(test_case_name, test_name) { \ 119 #define RC_TEST_GROUP_IN_MEMORY(test_case_name, test_name, test_class, \ argument 121 RC_TEST_BASE(test_case_name, test_name##RCNone, test_class, test_mode, \ 123 RC_TEST_BASE(test_case_name, test_name##RCGlobal, test_class, test_mode, \ 125 RC_TEST_BASE(test_case_name, test_name##RCGlobalWithHandler, test_class, \ 127 RC_TEST_BASE(test_case_name, test_name##RCCustomInMemory, test_class, \ 129 RC_TEST_BASE(test_case_name, test_name##RCCustomInMemoryWithHandler, \ 133 #define RC_TEST_GROUP_ON_DISK(test_case_name, test_name, test_class, \ argument 135 RC_TEST_BASE(test_case_name, test_name##RCCustomOnDisk, test_class, \ [all …]
|
/third_party/e2fsprogs/tests/f_super_bad_csum/ |
D | script | 11 OUT1=$test_name.1.log 12 rm -f $test_name.failed $test_name.ok 19 OUT2=$test_name.2.log 26 echo "$test_name: $test_description: ok" 27 touch $test_name.ok 29 echo "$test_name: $test_description: failed" 30 diff -u $EXP1 $OUT1 >> $test_name.failed 31 diff -u $EXP2 $OUT2 >> $test_name.failed
|
/third_party/e2fsprogs/tests/f_del_dup_quota/ |
D | script | 10 OUT1=$test_name.1.log 19 OUT2=$test_name.2.log 25 rm -f $test_name.failed $test_name.ok 27 echo "$test_name: $test_description: ok" 28 touch $test_name.ok 30 echo "$test_name: $test_description: failed" 31 diff -u $EXP1 $OUT1 >> $test_name.failed 32 diff -u $EXP2 $OUT2 >> $test_name.failed
|