/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 23 testing "-type l -a -type d -o -type p" \ 25 testing "-type l -type d -o -type p" "find dir -type l -type d -o -type p" \ 27 testing "-type l -o -type d -a -type p" \ 29 testing "-type l -o -type d -type p" "find dir -type l -o -type d -type p" \ 31 testing "-type l ( -type d -o -type l )" \ 33 testing "extra parentheses" \ 36 testing "( -type p -o -type d ) -type p" \ 38 testing "-type l -o -type d -type p -o -type f" \ 44 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 | 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 | 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 | sort.test | 6 [ -f testing.sh ] && . testing.sh 10 testing "unknown argument" 'sort --oops 2>/dev/null ; echo $?' "2\n" "" "" 11 testing "sort" "sort input" "a\nb\nc\n" "c\na\nb\n" "" 12 testing "#2" "sort input" "010\n1\n3\n" "3\n1\n010\n" "" 13 testing "stdin" "sort" "a\nb\nc\n" "" "b\na\nc\n" 14 testing "numeric" "sort -n input" "1\n3\n010\n" "3\n1\n010\n" "" 15 testing "reverse" "sort -r input" "wook\nwalrus\npoint\npabst\naargh\n" \ 17 testing "sort -o" "sort input -o output && cat output" "a\nb\nc\n" "c\na\nb\n" "" 18 testing "sort -o same" "sort input -o input && cat input" "a\nb\nc\n" "c\na\nb\n" "" 32 testing "one key" "sort -k4,4 input" \ [all …]
|
D | date.test | 3 [ -f testing.sh ] && . testing.sh 12 testing "-d @0" "TZ=$tz date -d @0" "Thu Jan 1 01:00:00 CET 1970\n" "" "" 13 testing "-d @0x123 invalid" "TZ=$tz date -d @0x123 2>/dev/null || echo expected error" "expected er… 18 SKIP_HOST=1 testing "-d MMDDhhmm" \ 20 SKIP_HOST=1 testing "-d MMDDhhmmYY.SS" \ 23 SKIP_HOST=1 testing "-d MMDDhhmmCCYY" \ 25 SKIP_HOST=1 testing "-d MMDDhhmmCCYY.SS" \ 29 testing "-d 1980-01-02" "TZ=$tz date -d 1980-01-02" "Wed Jan 2 00:00:00 CET 1980\n" "" "" 30 testing "-d 1980-01-02 12:34" "TZ=$tz date -d '1980-01-02 12:34'" "Wed Jan 2 12:34:00 CET 1980\n" … 31 testing "-d 1980-01-02 12:34:56" "TZ=$tz date -d '1980-01-02 12:34:56'" "Wed Jan 2 12:34:56 CET 19… [all …]
|
D | ifconfig.test | 22 [ -f testing.sh ] && . testing.sh 42 testing "dummy0 down and if config /-only" \ 48 testing "dummy0 up" \ 55 testing "dummy0 10.240.240.240" \ 62 testing "dummy0 netmask 255.255.240.0" \ 69 testing "dummy0 broadcast 10.240.240.255" \ 76 testing "dummy0 default" \ 83 testing "dummy0 mtu 1269" \ 90 testing "dummy0 add ::2 -- too small mtu" \ 97 testing "dummy0 mtu 2000" \ [all …]
|
D | cut.test | 7 [ -f testing.sh ] && . testing.sh 16 testing "-b a,a,a" "cut -b 3,3,3 abc.txt" "e\np\ne\n" "" "" 17 testing "-b overlaps" "cut -b 1-3,2-5,7-9,9-10 abc.txt" \ 19 testing "-b encapsulated" "cut -b 3-8,4-6 abc.txt" "e:two:\npha:be\ne quic\n" \ 21 testing "-bO overlaps" \ 24 testing "high-low error" "cut -b 8-3 abc.txt 2>/dev/null || echo err" "err\n" \ 27 testing "-c a-b" "cut -c 4-10 abc.txt" ":two:th\nha:beta\n quick \n" "" "" 28 testing "-c a-" "cut -c 41- abc.txt" "\ntheta:iota:kappa:lambda:mu\ndog\n" "" "" 29 testing "-c -b" "cut -c -39 abc.txt" \ 32 testing "-c a" "cut -c 40 abc.txt" "\n:\n \n" "" "" [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 | 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 | 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/grpc-grpc/test/cpp/ext/filters/census/ |
D | stats_plugin_end2end_test.cc | 35 namespace testing { namespace 42 using ::opencensus::stats::testing::TestUtils; 59 class StatsPluginEnd2EndTest : public ::testing::Test { 144 ::testing::UnorderedElementsAre(::testing::Pair( in TEST_F() 145 ::testing::ElementsAre(client_method_name_), 17))); in TEST_F() 147 ::testing::UnorderedElementsAre(::testing::Pair( in TEST_F() 148 ::testing::ElementsAre(server_method_name_), 17))); in TEST_F() 151 ::testing::Pair(::testing::ElementsAre("OK"), 1), in TEST_F() 152 ::testing::Pair(::testing::ElementsAre("CANCELLED"), 1), in TEST_F() 153 ::testing::Pair(::testing::ElementsAre("UNKNOWN"), 1), in TEST_F() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_matchers.h | 25 namespace testing { 27 class HloMatcher : public ::testing::MatcherInterface<const HloInstruction*> { 30 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloMatcher() 34 ::testing::MatchResultListener* listener) const override; 40 std::vector<::testing::Matcher<const HloInstruction*>> operands_; 51 ::testing::MatchResultListener* listener) const override; 62 std::vector<::testing::Matcher<const HloInstruction*>> operands) in HloComparisonMatcher() 66 ::testing::MatchResultListener* listener) const override; 76 HloGetTupleElementMatcher(::testing::Matcher<const HloInstruction*> operand, in HloGetTupleElementMatcher() 82 ::testing::MatchResultListener* listener) const override; [all …]
|
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/ |
D | TestServiceGrpc.java | 1 package io.grpc.testing.integration; 34 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, 35 io.grpc.testing.integration.EmptyProtos.Empty> getEmptyCallMethod; 39 requestType = io.grpc.testing.integration.EmptyProtos.Empty.class, 40 responseType = io.grpc.testing.integration.EmptyProtos.Empty.class, 42 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, 43 io.grpc.testing.integration.EmptyProtos.Empty> getEmptyCallMethod() { in getEmptyCallMethod() 44 …io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integratio… in getEmptyCallMethod() 49 …io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integrati… in getEmptyCallMethod() 55 io.grpc.testing.integration.EmptyProtos.Empty.getDefaultInstance())) in getEmptyCallMethod() [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/libaom/libaom/test/ |
D | cdef_test.cc | 31 typedef ::testing::tuple<cdef_filter_block_func, cdef_filter_block_func, 35 class CDEFBlockTest : public ::testing::TestWithParam<cdef_dir_param_t> { 188 typedef ::testing::tuple<find_dir_t, find_dir_t> find_dir_param_t; 190 class CDEFFindDirTest : public ::testing::TestWithParam<find_dir_param_t> { 288 using ::testing::make_tuple; 297 ::testing::Combine(::testing::Values(&cdef_filter_block_sse2), 298 ::testing::Values(&cdef_filter_block_c), 299 ::testing::Values(BLOCK_4X4, BLOCK_4X8, BLOCK_8X4, 301 ::testing::Range(0, 16), ::testing::Range(8, 13, 2))); 303 ::testing::Values(make_tuple(&cdef_find_dir_sse2, [all …]
|
/external/grpc-grpc/test/cpp/codegen/ |
D | compiler_test_golden | 3 // source: src/proto/grpc/testing/compiler_test.proto 27 #include "src/proto/grpc/testing/compiler_test.pb.h" 49 namespace testing { 59 return "grpc.testing.ServiceA"; 65 …MethodA1(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::testing:… 66 …ResponseReaderInterface< ::grpc::testing::Response>> AsyncMethodA1(::grpc::ClientContext* context,… 67 …return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::testing::Response>>(As… 69 …onseReaderInterface< ::grpc::testing::Response>> PrepareAsyncMethodA1(::grpc::ClientContext* conte… 70 …return std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< ::grpc::testing::Response>>(Pr… 77 …::grpc::ClientWriterInterface< ::grpc::testing::Request>> MethodA2(::grpc::ClientContext* context,… [all …]
|
D | compiler_test_mock_golden | 3 // source: src/proto/grpc/testing/compiler_test.proto 5 #include "src/proto/grpc/testing/compiler_test.pb.h" 6 #include "src/proto/grpc/testing/compiler_test.grpc.pb.h" 12 namespace testing { 16 …::Status(::grpc::ClientContext* context, const ::grpc::testing::Request& request, ::grpc::testing:… 17 …ntAsyncResponseReaderInterface< ::grpc::testing::Response>*(::grpc::ClientContext* context, const … 18 …ntAsyncResponseReaderInterface< ::grpc::testing::Response>*(::grpc::ClientContext* context, const … 19 …aw, ::grpc::ClientWriterInterface< ::grpc::testing::Request>*(::grpc::ClientContext* context, ::gr… 20 …:grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>*(::grpc::ClientContext* context, ::gr… 21 …:grpc::ClientAsyncWriterInterface< ::grpc::testing::Request>*(::grpc::ClientContext* context, ::gr… [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/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate_test.cc | 25 using ::testing::ElementsAre; 27 class DelegateTest : public testing::FlexModelTest { 54 AddTfOp(testing::kUnpack, {0}, {1, 2}); in TEST_F() 55 AddTfOp(testing::kUnpack, {3}, {4, 5}); in TEST_F() 56 AddTfOp(testing::kAdd, {1, 4}, {6}); in TEST_F() 57 AddTfOp(testing::kAdd, {2, 5}, {7}); in TEST_F() 58 AddTfOp(testing::kMul, {6, 7}, {8}); in TEST_F() 79 AddTfOp(testing::kAdd, {0, 1}, {2}); in TEST_F() 98 AddTfOp(testing::kAdd, {0, 1}, {2}); in TEST_F() 117 AddTfOp(testing::kUnpack, {0}, {1, 2}); in TEST_F() [all …]
|