/external/libbrillo/brillo/message_loops/ |
mock_message_loop.h | 35 ON_CALL(*this, PostDelayedTask(::testing::_, ::testing::_, ::testing::_)) 36 .WillByDefault(::testing::Invoke( 44 ::testing::_, ::testing::_, ::testing::_, ::testing::_, ::testing::_)) 45 .WillByDefault(::testing::Invoke [all...] |
/external/toybox/tests/ |
gunzip.test | 3 [ -f testing.sh ] && . testing.sh 5 #testing "name" "command" "result" "infile" "stdin" 12 testing "with input files" "gunzip f1.gz f2.gz && 20 testing "no files (stdin to stdout)" "cat f.gz | gunzip > f && 27 testing "with input files and -c" "gunzip -c f1.gz f2.gz > out && 37 testing "-k" "gunzip -k f1.gz && cat f1 && zcat f1.gz" \ 47 testing "permissions/times preservation" \
|
rm.test | 6 [ -f testing.sh ] && . testing.sh 8 #testing "name" "command" "result" "infile" "stdin" 11 testing "text-file" "rm file.txt && [ ! -e file.txt ] && echo 'yes'" "yes\n" "" "" 15 testing "empty directory" "rm -r dir && [ ! -d dir ] && echo 'yes'" "yes\n" "" "" 19 testing "text file(mode 000)" "rm -f file.txt && [ ! -e file.txt ] && echo 'yes'" \ 25 testing "-r (multiple files and dirs)" \ 33 testing "-rf (present + missing files and dirs)" \ 39 # testing with nested dirs. 42 testing "-r nested_dir" "rm -r dir1/dir2/ 2>/dev/null & [all...] |
tar.test | 6 [ -f testing.sh ] && . testing.sh 8 #testing "name" "command" "result" "infile" "stdin" 13 testing "tgz - compession, extraction and data validation" "tar -czf dir.tgz dir/ && [ -e dir.tgz ] && echo 'yes'; rm -rf dir; tar -xf dir.tgz && [ -f dir/dir1/file ] && cat dir/dir1/file; rm -rf dir.tgz" "yes\nThis is testdata\n" "" "" 18 testing "tar.gz - compession, extraction and data validation" "tar -czf dir.tar.gz dir/ && [ -e dir.tar.gz ] && echo 'yes'; rm -rf dir; tar -xf dir.tar.gz && [ -f dir/dir1/file ] && cat dir/dir1/file; rm -rf dir.tar.gz" "yes\nThis is testdata\n" "" "" 23 testing "verbose compression" "tar -cvzf dir.tgz dir/; rm -rf dir.tgz" "dir/\ndir/dir1/\ndir/dir1/file\n" "" "" 28 testing "- compession and extraction of a file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f testFile ] && echo 'yes'; rm -rf testFile.tgz" "yes\nyes\n" "" "" 32 testing "- compession and extraction of a empty file" "tar -czf testFile.tgz testFile && [ -e testFile.tgz ] && echo 'yes'; rm -rf testFile; tar -xf testFile.tgz && [ -f testFile ] && echo 'yes'; rm -rf testFile.tgz" "yes\nyes\n" "" "" 37 testing "-t option" "tar -czf dir.tar.gz dir/; rm -rf dir; tar -tf dir.tar.gz | sort; rm -rf dir.tar.gz" "dir/\ndir/dir1/\ndir/dir1/file1\ndir/dir1/file2\ndir/dir1/file3\ndir/dir1/file4\n" "" "" 45 testing "create with files excluded : -X" "tar -czf dir.tgz dir/ -X exclude_file ; rm -rf dir ; tar -tf di (…) [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
rand_test.go | 10 "testing" 13 func BenchmarkFastrand(b *testing.B) { 14 b.RunParallel(func(pb *testing.PB) { 21 func BenchmarkFastrandHashiter(b *testing.B) { 26 b.RunParallel(func(pb *testing.PB) { 37 func BenchmarkFastrandn(b *testing.B) { 39 b.Run(strconv.Itoa(int(n)), func(b *testing.B) {
|
/prebuilts/go/linux-x86/src/runtime/ |
rand_test.go | 10 "testing" 13 func BenchmarkFastrand(b *testing.B) { 14 b.RunParallel(func(pb *testing.PB) { 21 func BenchmarkFastrandHashiter(b *testing.B) { 26 b.RunParallel(func(pb *testing.PB) { 37 func BenchmarkFastrandn(b *testing.B) { 39 b.Run(strconv.Itoa(int(n)), func(b *testing.B) {
|
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/ |
AssertOk.h | 38 inline ::testing::AssertionResult assertIsOk(const char* expr, const Return<T>& ret) { 39 return ::testing::AssertionResult(ret.isOk()) 45 inline ::testing::AssertionResult continueIfIsOk(const char* expr, const Return<T>& ret, 53 inline ::testing::AssertionResult assertResult(const char* e_expr, const char* r_expr, 55 return ::testing::AssertionResult(expected == result) 56 << "Value of: " << r_expr << "\n Actual: " << ::testing::PrintToString(result) 57 << "\nExpected: " << e_expr << "\nWhich is: " << ::testing::PrintToString(expected); 62 inline ::testing::AssertionResult assertResult(const char* e_expr, const char* r_expr, 70 inline ::testing::AssertionResult assertResult(const char* e_expr, const char* r_expr, 74 return ::testing::AssertionSuccess(); // result is in expecte [all...] |
/external/guava/guava-gwt/test/com/google/common/collect/testing/ |
IteratorTesterTest_gwt.java | 16 package com.google.common.collect.testing; 19 return "com.google.common.collect.testing.testModule"; 22 com.google.common.collect.testing.IteratorTesterTest testCase = new com.google.common.collect.testing.IteratorTesterTest(); 27 com.google.common.collect.testing.IteratorTesterTest testCase = new com.google.common.collect.testing.IteratorTesterTest(); 32 com.google.common.collect.testing.IteratorTesterTest testCase = new com.google.common.collect.testing.IteratorTesterTest(); 37 com.google.common.collect.testing.IteratorTesterTest testCase = new com.google.common.collect.testing.IteratorTesterTest() [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/nettest/ |
conntest_go17.go | 9 import "testing" 11 func testConn(t *testing.T, mp MakePipe) { 13 t.Run("BasicIO", func(t *testing.T) { timeoutWrapper(t, mp, testBasicIO) }) 14 t.Run("PingPong", func(t *testing.T) { timeoutWrapper(t, mp, testPingPong) }) 15 t.Run("RacyRead", func(t *testing.T) { timeoutWrapper(t, mp, testRacyRead) }) 16 t.Run("RacyWrite", func(t *testing.T) { timeoutWrapper(t, mp, testRacyWrite) }) 17 t.Run("ReadTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testReadTimeout) }) 18 t.Run("WriteTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testWriteTimeout) }) 19 t.Run("PastTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testPastTimeout) }) 20 t.Run("PresentTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testPresentTimeout) } [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/nettest/ |
conntest_go17.go | 9 import "testing" 11 func testConn(t *testing.T, mp MakePipe) { 13 t.Run("BasicIO", func(t *testing.T) { timeoutWrapper(t, mp, testBasicIO) }) 14 t.Run("PingPong", func(t *testing.T) { timeoutWrapper(t, mp, testPingPong) }) 15 t.Run("RacyRead", func(t *testing.T) { timeoutWrapper(t, mp, testRacyRead) }) 16 t.Run("RacyWrite", func(t *testing.T) { timeoutWrapper(t, mp, testRacyWrite) }) 17 t.Run("ReadTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testReadTimeout) }) 18 t.Run("WriteTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testWriteTimeout) }) 19 t.Run("PastTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testPastTimeout) }) 20 t.Run("PresentTimeout", func(t *testing.T) { timeoutWrapper(t, mp, testPresentTimeout) } [all...] |
/external/webrtc/webrtc/common_audio/resampler/ |
push_sinc_resampler_unittest.cc | 14 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gtest/include/gtest/gtest.h" 37 class PushSincResamplerTest : public ::testing::TestWithParam< 38 ::testing::tuple<int, int, double, double>> { 41 : input_rate_(::testing::get<0>(GetParam())), 42 output_rate_(::testing::get<1>(GetParam())), 43 rms_error_(::testing::get<2>(GetParam())), 44 low_freq_error_(::testing::get<3>(GetParam())) { 257 // testing. All thresholds are in dbFS, http://en.wikipedia.org/wiki/DBFS. 261 ::testing::Values [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/test/ |
divconst_test.go | 8 "testing" 13 func BenchmarkDivconstI64(b *testing.B) { 21 func BenchmarkDivconstU64(b *testing.B) { 29 func BenchmarkDivconstI32(b *testing.B) { 37 func BenchmarkDivconstU32(b *testing.B) { 45 func BenchmarkDivconstI16(b *testing.B) { 53 func BenchmarkDivconstU16(b *testing.B) { 61 func BenchmarkDivconstI8(b *testing.B) { 69 func BenchmarkDivconstU8(b *testing.B) {
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/test/ |
divconst_test.go | 8 "testing" 13 func BenchmarkDivconstI64(b *testing.B) { 21 func BenchmarkDivconstU64(b *testing.B) { 29 func BenchmarkDivconstI32(b *testing.B) { 37 func BenchmarkDivconstU32(b *testing.B) { 45 func BenchmarkDivconstI16(b *testing.B) { 53 func BenchmarkDivconstU16(b *testing.B) { 61 func BenchmarkDivconstI8(b *testing.B) { 69 func BenchmarkDivconstU8(b *testing.B) {
|
/device/google/wahoo/wifi_offload/test/ |
chre_interface_test.cpp | 39 class ChreInterfaceTest : public ::testing::Test { 48 std::unique_ptr<testing::NiceMock<MockChreInterfaceCallbacks>> chre_interface_callback_{ 49 new testing::NiceMock<MockChreInterfaceCallbacks>()}; 54 EXPECT_CALL(*chre_interface_callback_, handleConnectionEvents(testing::_)); 60 EXPECT_CALL(*chre_interface_callback_, handleMessage(testing::_, testing::_)); 63 ON_CALL(*chre_interface_callback_, handleMessage(testing::_, testing::_)) 65 DoAll(testing::SaveArg<0>(&messageType), testing::SaveArg<1>(&buffer_recvd))) [all...] |
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
OpenJdk6ListTests.java | 17 package com.google.common.collect.testing; 19 import static com.google.common.collect.testing.testers.CollectionToArrayTester.getToArrayIsPlainObjectArrayMethod; 20 import static com.google.common.collect.testing.testers.ListAddTester.getAddSupportedNullPresentMethod; 21 import static com.google.common.collect.testing.testers.ListListIteratorTester.getListIteratorFullyModifiableMethod; 22 import static com.google.common.collect.testing.testers.ListSetTester.getSetNullSupportedMethod; 23 import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListLargeListMethod; 24 import static com.google.common.collect.testing.testers.ListSubListTester.getSubListOriginalListSetAffectsSubListMethod; 25 import static com.google.common.collect.testing.testers.ListSubListTester.getSubListSubListRemoveAffectsOriginalLargeListMethod; 27 import com.google.common.collect.testing.testers.CollectionAddTester; 28 import com.google.common.collect.testing.testers.ListAddAtIndexTester [all...] |
OpenJdk6MapTests.java | 17 package com.google.common.collect.testing; 19 import static com.google.common.collect.testing.testers.CollectionAddAllTester.getAddAllUnsupportedNonePresentMethod; 20 import static com.google.common.collect.testing.testers.CollectionAddAllTester.getAddAllUnsupportedSomePresentMethod; 21 import static com.google.common.collect.testing.testers.CollectionAddTester.getAddUnsupportedNotPresentMethod; 22 import static com.google.common.collect.testing.testers.CollectionCreationTester.getCreateWithNullUnsupportedMethod; 23 import static com.google.common.collect.testing.testers.MapCreationTester.getCreateWithNullKeyUnsupportedMethod; 24 import static com.google.common.collect.testing.testers.MapEntrySetTester.getContainsEntryWithIncomparableKeyMethod; 25 import static com.google.common.collect.testing.testers.MapEntrySetTester.getContainsEntryWithIncomparableValueMethod; 26 import static com.google.common.collect.testing.testers.MapPutAllTester.getPutAllNullKeyUnsupportedMethod; 27 import static com.google.common.collect.testing.testers.MapPutTester.getPutNullKeyUnsupportedMethod [all...] |
/external/selinux/libsepol/cil/test/integration_testing/ |
nonmls.conf | 2 class testing 12 class testing 56 allow typea_t typeb_t : testing write; 57 allow typea_t typeb_t : testing {open close}; 58 type_transition typea_t typeb_t : testing typec_t;
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
cgo_linux_test.go | 7 import "testing" 9 func TestSetgid(t *testing.T) { testSetgid(t) } 10 func Test6997(t *testing.T) { test6997(t) } 11 func TestBuildID(t *testing.T) { testBuildID(t) } 12 func Test9400(t *testing.T) { test9400(t) }
|
cgo_stubs_android_test.go | 7 import "testing" 10 func test6997(t *testing.T) {} 11 func test3775(t *testing.T) {} 12 func test8694(t *testing.T) {} 13 func testSigaltstack(t *testing.T) {}
|
/prebuilts/go/darwin-x86/src/math/big/ |
gcd_test.go | 12 "testing" 22 func runGCD(b *testing.B, aSize, bSize uint) { 26 b.Run("WithoutXY", func(b *testing.B) { 29 b.Run("WithXY", func(b *testing.B) { 34 func runGCDExt(b *testing.B, aSize, bSize uint, calcXY bool) { 50 func BenchmarkGCD10x10(b *testing.B) { runGCD(b, 10, 10) } 51 func BenchmarkGCD10x100(b *testing.B) { runGCD(b, 10, 100) } 52 func BenchmarkGCD10x1000(b *testing.B) { runGCD(b, 10, 1000) } 53 func BenchmarkGCD10x10000(b *testing.B) { runGCD(b, 10, 10000) } 54 func BenchmarkGCD10x100000(b *testing.B) { runGCD(b, 10, 100000) [all...] |
/prebuilts/go/darwin-x86/src/runtime/internal/sys/ |
intrinsics_test.go | 5 "testing" 8 func TestCtz64(t *testing.T) { 16 func TestCtz32(t *testing.T) { 25 func TestBswap64(t *testing.T) { 32 func TestBswap32(t *testing.T) {
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
cgo_linux_test.go | 7 import "testing" 9 func TestSetgid(t *testing.T) { testSetgid(t) } 10 func Test6997(t *testing.T) { test6997(t) } 11 func TestBuildID(t *testing.T) { testBuildID(t) } 12 func Test9400(t *testing.T) { test9400(t) }
|
cgo_stubs_android_test.go | 7 import "testing" 10 func test6997(t *testing.T) {} 11 func test3775(t *testing.T) {} 12 func test8694(t *testing.T) {} 13 func testSigaltstack(t *testing.T) {}
|
/prebuilts/go/linux-x86/src/math/big/ |
gcd_test.go | 12 "testing" 22 func runGCD(b *testing.B, aSize, bSize uint) { 26 b.Run("WithoutXY", func(b *testing.B) { 29 b.Run("WithXY", func(b *testing.B) { 34 func runGCDExt(b *testing.B, aSize, bSize uint, calcXY bool) { 50 func BenchmarkGCD10x10(b *testing.B) { runGCD(b, 10, 10) } 51 func BenchmarkGCD10x100(b *testing.B) { runGCD(b, 10, 100) } 52 func BenchmarkGCD10x1000(b *testing.B) { runGCD(b, 10, 1000) } 53 func BenchmarkGCD10x10000(b *testing.B) { runGCD(b, 10, 10000) } 54 func BenchmarkGCD10x100000(b *testing.B) { runGCD(b, 10, 100000) [all...] |
/prebuilts/go/linux-x86/src/runtime/internal/sys/ |
intrinsics_test.go | 5 "testing" 8 func TestCtz64(t *testing.T) { 16 func TestCtz32(t *testing.T) { 25 func TestBswap64(t *testing.T) { 32 func TestBswap32(t *testing.T) {
|