/external/toybox/tests/ |
D | sed.test | 5 testing 'as cat' 'sed ""' "one\ntwo\nthree" "" "one\ntwo\nthree" 7 SKIP_HOST=1 testing 'sed - - twice' 'sed "" - -' "hello\n" "" "hello\n" 8 testing '-n' 'sed -n ""' "" "" "one\ntwo\nthree" 9 testing '-n p' 'sed -n p' "one\ntwo\nthree" "" "one\ntwo\nthree" 10 testing 'explicit pattern' 'sed -e p -n' "one\ntwo\nthree" "" \ 14 testing '' 'sed -n 1p' "one\n" "" "one\ntwo\nthree" 15 testing '' 'sed 2p' "one\ntwo\ntwo\nthree" "" "one\ntwo\nthree" 16 testing '' 'sed -n 2p' "two\n" "" "one\ntwo\nthree" 17 testing '-n $p' 'sed -n \$p' "three" "" "one\ntwo\nthree" 18 testing 'as cat #2' "sed -n '1,\$p'" "one\ntwo\nthree" "" "one\ntwo\nthree" [all …]
|
D | grep.test | 3 [ -f testing.sh ] && . testing.sh 10 testing "-c" "grep -c 123 input" "3\n" "123\ncount 123\n123\nfasdfasdf" "" 15 testing "-l" "grep -l test foo foo2 foo3" "foo\nfoo2\n" "" "" 18 testing "-q" "grep -q test input && echo yes" "yes\n" "this is a test\n" "" 19 testing "-E" "grep -E '[0-9]' input" "1234123asdfas123123\n1\n" \ 21 testing "-e" "grep -e '[0-9]' input" "1234123asdfas123123\n1\n" \ 23 testing "-e -e" "grep -e one -e two -e three input" \ 25 testing "-F" "grep -F is input" "this is test\nthis is test2\n" \ 31 testing "-H" "grep -H is foo foo2 foo3" "foo:this is test\nfoo:this is test2\nfoo2:hello this is te… 34 testing "-b" "grep -b is input" "0:this is test\n13:this is test2\n" \ [all …]
|
D | expr.test | 3 [ -f testing.sh ] && . testing.sh 5 testing "integer" "expr 5" "5\n" "" "" 6 testing "integer negative" "expr -5" "-5\n" "" "" 7 testing "string" "expr astring" "astring\n" "" "" 8 testing "addition" "expr 1 + 3" "4\n" "" "" 9 testing "5 + 6 * 3" "expr 5 + 6 \* 3" "23\n" "" "" 10 testing "( 5 + 6 ) * 3" "expr \( 5 + 6 \) \* 3" "33\n" "" "" 11 testing ">" "expr 3 \> 2" "1\n" "" "" 12 testing "* / same priority" "expr 4 \* 3 / 2" "6\n" "" "" 13 testing "/ * same priority" "expr 3 / 2 \* 4" "4\n" "" "" [all …]
|
D | dd.test | 6 [ -f testing.sh ] && . testing.sh 14 testing "count=2" "dd if=input count=2 ibs=1 $opt" "hi" "high\n" "" 15 testing "count= 2" "dd if=input 'count= 2' ibs=1 $opt" "hi" "high\n" "" 16 SKIP_HOST=1 testing "count=0x2" "dd if=input 'count=0x2' ibs=1 $opt" "hi" \ 18 testing "count=-2" "dd if=input 'count=-2' ibs=1 2>/dev/null || echo errored" "errored\n" "" "" 20 testing "if=(file)" "dd if=input $opt" "I WANT\n" "I WANT\n" "" 21 testing "of=(file)" "dd of=file $opt && cat file" "I WANT\n" "" "I WANT\n" 22 testing "if=file of=file" "dd if=input of=foo $opt && cat foo && rm -f foo" \ 24 testing "if=file | dd of=file" "dd if=input $opt | dd of=foo $opt && 26 testing "(stdout)" "dd $opt" "I WANT\n" "" "I WANT\n" [all …]
|
D | find.test | 3 [ -f testing.sh ] && . testing.sh 21 testing "-type l -a -type d -o -type p" \ 23 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \ 25 testing "-type l -o -type d -a -type p" \ 27 testing "-type l -o -type d -type p" "find dir -type l -o -type d -type p" \ 29 testing "-type l ( -type d -o -type l )" \ 31 testing "extra parentheses" \ 34 testing "( -type p -o -type d ) -type p" \ 36 testing "-type l -o -type d -type p -o -type f" \ 42 testing "-type f -a -print" \ [all …]
|
D | seq.test | 3 [ -f testing.sh ] && . testing.sh 7 testing "(exit with error)" "seq 2> /dev/null || echo yes" "yes\n" "" "" 8 testing "(exit with error)" "seq 1 2 3 4 2> /dev/null || echo yes" \ 10 testing "one argument" "seq 3" "1\n2\n3\n" "" "" 11 testing "two arguments" "seq 5 7" "5\n6\n7\n" "" "" 12 testing "two arguments reversed" "seq 7 5" "" "" "" 13 testing "two arguments equal" "seq 3 3" "3\n" "" "" 14 testing "two arguments equal, arbitrary negative step" "seq 1 -15 1" \ 16 testing "two arguments equal, arbitrary positive step" "seq 1 +15 1" \ 18 testing "count up by 2" "seq 4 2 8" "4\n6\n8\n" "" "" [all …]
|
D | ifconfig.test | 22 [ -f testing.sh ] && . testing.sh 38 testing "dummy0 down and if config /-only" \ 44 testing "dummy0 up" \ 51 testing "dummy0 10.240.240.240" \ 58 testing "dummy0 netmask 255.255.240.0" \ 65 testing "dummy0 broadcast 10.240.240.255" \ 72 testing "dummy0 default" \ 79 testing "dummy0 mtu 1269" \ 86 testing "dummy0 add ::2 -- too small mtu" \ 93 testing "dummy0 mtu 2000" \ [all …]
|
D | tail.test | 3 [ -f testing.sh ] && . testing.sh 9 testing "tail" "tail && echo yes" "oneyes\n" "" "one" 10 testing "file" "tail file1" \ 12 testing "-n in bounds" "tail -n 3 file1" "nine\nten\neleven\n" "" "" 13 testing "-n out of bounds" "tail -n 999 file1" "$BIGTEST" "" "" 14 testing "-n+ in bounds" "tail -n +3 file1" \ 16 testing "-n+ outof bounds" "tail -n +999 file1" "" "" "" 17 testing "-c in bounds" "tail -c 27 file1" \ 19 testing "-c out of bounds" "tail -c 999 file1" "$BIGTEST" "" "" 20 testing "-c+ in bounds" "tail -c +27 file1" \ [all …]
|
D | touch.test | 3 [ -f testing.sh ] && . testing.sh 7 testing "touch" "touch walrus && [ -e walrus ] && echo yes" "yes\n" "" "" 8 testing "1 2 3" "touch one two three && rm one two three && echo yes" "yes\n" \ 10 testing "-c" "touch -c walrus && [ -e walrus ] && echo yes" "yes\n" "" "" 11 testing "-c missing" "touch -c warrus && [ ! -e warrus ] && echo yes" \ 14 testing "-t" \ 19 testing "-t MMDDhhmm" \ 23 testing "-t YYMMDDhhmm" \ 27 testing "-t CCYYMMDDhhmm" \ 31 testing "-t seconds" \ [all …]
|
D | printf.test | 6 [ -f testing.sh ] && . testing.sh 13 testing "text" "$PRINTF TEXT" "TEXT" "" "" 14 testing "escapes" "$PRINTF 'one\ntwo\n\v\t\r\f\e\b\athree'" \ 16 testing "%b escapes" "$PRINTF %b 'one\ntwo\n\v\t\r\f\e\b\athree'" \ 18 testing "null" "$PRINTF 'x\0y' | od -An -tx1" ' 78 00 79\n' "" "" 19 testing "trailing slash" "$PRINTF 'abc\'" 'abc\' "" "" 37 testing "extra args" "$PRINTF 'abc%s!%ddef\n' X 42 ARG 36" \ 40 testing "'%3c'" "$PRINTF '%3c' x" " x" "" "" 41 testing "'%-3c'" "$PRINTF '%-3c' x" "x " "" "" 42 testing "'%+d'" "$PRINTF '%+d' 5" "+5" "" "" [all …]
|
D | readlink.test | 3 [ -f testing.sh ] && . testing.sh 9 testing "missing" "readlink notfound || echo yes" "yes\n" "" "" 14 testing "file" "readlink file || echo yes" "yes\n" "" "" 15 testing "-f dir" "readlink -f ." "$APWD\n" "" "" 16 testing "-f missing" "readlink -f notfound" "$APWD/notfound\n" "" "" 19 testing "link" "readlink link" "notfound\n" "" "" 20 testing "link->missing" "readlink -f link" "$APWD/notfound\n" "" "" 22 testing "stays relative" "readlink link" "../../\n" "" "" 25 testing "-f link->file" "readlink -f link" "$APWD/file\n" "" "" 27 testing "-f link->dir" "readlink -f link" "$APWD\n" "" "" [all …]
|
D | test.test | 3 [ -f testing.sh ] && . testing.sh 28 testing "-b" "type_test -b" "" "" "" 29 testing "-c" "type_test -c" "L" "" "" 30 testing "-d" "type_test -d" "d" "" "" 31 testing "-f" "type_test -f" "fs" "" "" 32 testing "-h" "type_test -h" "L" "" "" 33 testing "-L" "type_test -L" "L" "" "" 34 testing "-s" "type_test -s" "ds" "" "" 35 testing "-S" "type_test -S" "" "" "" 36 testing "-p" "type_test -p" "p" "" "" [all …]
|
D | sort.test | 6 [ -f testing.sh ] && . testing.sh 10 testing "sort" "sort input" "a\nb\nc\n" "c\na\nb\n" "" 11 testing "#2" "sort input" "010\n1\n3\n" "3\n1\n010\n" "" 12 testing "stdin" "sort" "a\nb\nc\n" "" "b\na\nc\n" 13 testing "numeric" "sort -n input" "1\n3\n010\n" "3\n1\n010\n" "" 14 testing "reverse" "sort -r input" "wook\nwalrus\npoint\npabst\naargh\n" \ 32 testing "one key" "sort -k4,4 input" \ 44 testing "key range with numeric option" "sort -k2,3n input" \ 55 testing "key range with numeric option and global reverse" \ 67 testing "key range with multiple options" "sort -k2,3rn input" \ [all …]
|
D | date.test | 3 [ -f testing.sh ] && . testing.sh 8 testing "-d @0" "TZ=UTC date -d @0 2>&1" "Thu Jan 1 00:00:00 GMT 1970\n" "" "" 9 testing "-d @0x123" "TZ=UTC date -d @0x123 2>&1" "date: bad date '@0x123'\n" "" "" 13 testing "-d 06021234" "TZ=UTC date -d 06021234 2>&1" "Sun Jun 2 12:34:00 UTC 1900\n" "" "" 14 testing "-d 060212341982" "TZ=UTC date -d 060212341982 2>&1" "Sun Jun 2 12:34:00 UTC 1982\n" "" "" 15 testing "-d 123" "TZ=UTC date -d 123 2>&1" "date: bad date '123'\n" "" "" 18 testing "-d 1110143115.30" "TZ=UTC date -d 1110143115.30 2>&1" "Sun Nov 10 14:31:30 UTC 1915\n" "" … 19 testing "-d 111014312015.30" "TZ=UTC date -d 111014312015.30 2>&1" "Sun Nov 10 14:31:30 UTC 2015\n"… 22 testing "Unix time missing @" "TZ=UTC date 1438053157 2>/dev/null || echo no" \ 26 testing "%N" "touch -d 2012-01-23T12:34:56.123456789 f && date -r f +%Y%m%d-%H%M%S.%N" "20120123-12… [all …]
|
D | chmod.test | 44 testing "$u$g$o $type" "chmod $u$g$o $type && 51 testing "750 dir 640 file" \ 56 testing "666 dir file" \ 61 testing "765 *" "chmod 765 * && 66 testing "u=r dir file" "chmod u=r dir file && 70 testing "u=w dir file" "chmod u=w dir file && 74 testing "u=x dir file" "chmod u=x dir file && 78 testing "u+r dir file" "chmod u+r dir file && 82 testing "u+w dir file" "chmod u+w dir file && 86 testing "u+x dir file" "chmod u+x dir file && [all …]
|
D | chattr.test | 3 [ -f testing.sh ] && . testing.sh 21 testing "[-/+]i FILE[write]" "$IN && echo "$_t" > testFile && 24 testing "[-/+]i FILE[re-write]" "$IN && echo "$_t" > testFile && 28 testing "[-/+]i FILE[append]" "$IN && echo "$_t" > testFile && 31 testing "[-/+]i FILE[move]" "$IN && echo "$_t" > testFile && 34 testing "[-/+]i FILE[delete]" "$IN && echo "$_t" > testFile && 37 testing "[-/+]i FILE[read]" "$IN && echo "$_t" > testFile && 40 testing "[-/+]a FILE[write]" "$IN && echo "$_t" > testFile && 43 testing "[-/+]a FILE[re-write]" "$IN && echo "$_t" > testFile && 48 testing "[-/+]a FILE[append]" "$IN && echo "$_t" > testFile && [all …]
|
/external/webrtc/webrtc/common_audio/resampler/ |
D | push_sinc_resampler_unittest.cc | 37 class PushSincResamplerTest : public ::testing::TestWithParam< 38 ::testing::tuple<int, int, double, double>> { 41 : input_rate_(::testing::get<0>(GetParam())), in PushSincResamplerTest() 42 output_rate_(::testing::get<1>(GetParam())), in PushSincResamplerTest() 43 rms_error_(::testing::get<2>(GetParam())), in PushSincResamplerTest() 44 low_freq_error_(::testing::get<3>(GetParam())) { in PushSincResamplerTest() 261 ::testing::Values( 270 ::testing::make_tuple(8000, 44100, kResamplingRMSError, -62.73), 271 ::testing::make_tuple(16000, 44100, kResamplingRMSError, -62.54), 272 ::testing::make_tuple(32000, 44100, kResamplingRMSError, -63.32), [all …]
|
/external/guava/guava-gwt/test/com/google/common/testing/ |
D | EqualsTesterTest_gwt.java | 16 package com.google.common.testing; 22 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testAddEqualObjectWithOArgConstructor() 28 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testAddNullEqualObject() 34 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testAddNullReference() 40 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testAddTwoEqualObjectsAtOnceWithNull() 46 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testEqualityGroups() 52 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testInvalidEqualsIncompatibleClass() 58 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testInvalidEqualsNull() 64 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testInvalidHashCode() 70 …com.google.common.testing.EqualsTesterTest testCase = new com.google.common.testing.EqualsTesterTe… in testInvalidNotEqualsEqualObject() [all …]
|
/external/v8/testing/gtest/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/fmtlib/test/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 145 ::testing::TestPartResultArray gtest_failures;\ 146 ::testing::internal::SingleFailureChecker gtest_checker(\ 147 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 149 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 150 ::testing::ScopedFakeTestPartResultReporter:: \ 154 } while (::testing::internal::AlwaysFalse()) 162 ::testing::TestPartResultArray gtest_failures;\ 163 ::testing::internal::SingleFailureChecker gtest_checker(\ 164 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/protobuf/gtest/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
D | gtest-spi.h | 40 namespace testing { 144 ::testing::TestPartResultArray gtest_failures;\ 145 ::testing::internal::SingleFailureChecker gtest_checker(\ 146 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ 148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\ 149 ::testing::ScopedFakeTestPartResultReporter:: \ 153 } while (::testing::internal::AlwaysFalse()) 161 ::testing::TestPartResultArray gtest_failures;\ 162 ::testing::internal::SingleFailureChecker gtest_checker(\ 163 >est_failures, ::testing::TestPartResult::kFatalFailure, (substr));\ [all …]
|