Home
last modified time | relevance | path

Searched refs:mock (Results 1 – 17 of 17) sorted by relevance

/build/soong/android/
Dfixture_test.go64 … path validation failed", `cannot add output path "out/Android.bp" to the mock file system`, func(…
69 … path validation failed", `cannot add output path "out/Android.bp" to the mock file system`, func(…
76 … path validation failed", `cannot add output path "out/Android.bp" to the mock file system`, func(…
/build/blueprint/pathtools/
Dglob_test.go497 mock := MockFs(mockFiles)
501 testGlob(t, mock, testCase, FollowSymlinks)
556 mock := MockFs(mockFiles)
560 testGlob(t, mock, testCase, FollowSymlinks)
605 mock := MockFs(mockFiles)
609 testGlob(t, mock, testCase, FollowSymlinks)
653 mock := MockFs(mockFiles)
657 testGlob(t, mock, testCase, DontFollowSymlinks)
755 mock := MockFs(mockFiles)
759 testGlob(t, mock, testCase, FollowSymlinks)
[all …]
Dfs_test.go95 mock := symlinkMockFs()
99 got := mock.followSymlinks(test.from)
108 mock := symlinkMockFs()
122 f(t, mock, "")
/build/make/tools/tool_event_logger/
Dtool_event_logger_test.py20 from unittest import mock
164 @mock.patch.object(clearcut_client, 'Clearcut')
175 @mock.patch.object(clearcut_client, 'Clearcut')
/build/soong/finder/fs/
DAndroid.bp16 // mock filesystem
/build/soong/scripts/hiddenapi/
Danalyze_bcpf_test.py21 import unittest.mock
181 analyzer.build_file_read_output = unittest.mock.Mock(
185 analyzer.run_command = unittest.mock.Mock()
/build/soong/tests/
Dlib.sh12 mock=$(mktemp -t -d st.XXXXX)
13 echo "$mock"
/build/make/tests/inherits_in_regular_variables/
Dtest.rbc30 # a good way to intercept its output or mock rblf_cli
/build/make/ci/
Dbuild_test_suites_test.py33 from unittest import mock
45 os_environ_patcher = mock.patch.dict('os.environ', {})
49 subprocess_run_patcher = mock.patch('subprocess.run')
/build/make/core/
Dsysprop_config.mk221 ADDITIONAL_SYSTEM_PROPERTIES += ro.allow.mock.location=0
229 ADDITIONAL_SYSTEM_PROPERTIES += ro.allow.mock.location=1
Dandroid_manifest.mk99 android.test.mock \
Ddex_preopt_odex_install.mk131 android.test.mock
/build/bazel/scripts/bp2build_progress/
Dbp2build_progress_test.py21 import unittest.mock
121 @unittest.mock.patch(
176 @unittest.mock.patch(
232 @unittest.mock.patch(
289 @unittest.mock.patch(
365 @unittest.mock.patch(
442 @unittest.mock.patch(
552 @unittest.mock.patch(
629 @unittest.mock.patch(
675 @unittest.mock.patch(
/build/make/tools/
Dtest_post_process_props.py21 from unittest.mock import *
/build/make/target/product/
Dbase_system.mk28 android.test.mock \
/build/make/tools/rbcrun/
Dgo.sum11 github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
/build/soong/dexpreopt/
DDEXPREOPT_IMPLEMENTATION.md211 - android.test.mock (SDK 30)