Home
last modified time | relevance | path

Searched refs:test (Results 1 – 25 of 3475) sorted by relevance

12345678910>>...139

/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Di2s_test.c40 test->sampleRate, test->type, test->channelMode, test->samplePrecision, in I2sSetCfgTest()
41 test->channelIfMode, test->mclk, test->bclk, test->writeChannel, test->i2slFsSel); in I2sSetCfgTest()
71 test->sampleRate, test->type, test->channelMode, test->samplePrecision, in I2sGetCfgTest()
72 test->channelIfMode, test->mclk, test->bclk, test->writeChannel, test->i2slFsSel); in I2sGetCfgTest()
98 if (test == NULL || test->handle == NULL || test->wbuf == NULL) { in I2sEnableTest()
109 if (test == NULL || test->handle == NULL || test->wbuf == NULL) { in I2sDisableTest()
121 if (test == NULL || test->handle == NULL || test->wbuf == NULL) { in I2sPlayTest()
175 if (I2sRead(test->handle, test->rbuf, test->len, &test->len) != HDF_SUCCESS) { in I2sRecordTest()
200 if (test == NULL || test->handle == NULL || test->rbuf == NULL || test->wbuf == NULL) { in I2sReadTest()
205 if (I2sRead(test->handle, test->rbuf, test->len, &test->len) != HDF_SUCCESS) { in I2sReadTest()
[all …]
H A Dmipi_csi_test.c37 test->handle = MipiCsiOpen(test->cntlrId); in MipiCsiTestSetUp()
44 test->fails = 0; in MipiCsiTestSetUp()
235 ret = MipiCsiSetComboDevAttr(test->handle, &(test->attr)); in MipiCsiSetComboDevAttrTest()
251 ret = MipiCsiSetPhyCmvmode(test->handle, test->devno, test->cmvMode); in MipiCsiSetPhyCmvmodeTest()
296 ret = MipiCsiResetRx(test->handle, test->comboDev); in MipiCsiResetRxTest()
311 ret = MipiCsiUnresetRx(test->handle, test->comboDev); in MipiCsiUnresetRxTest()
326 ret = MipiCsiSetHsMode(test->handle, test->laneDivideMode); in MipiCsiSetHsModeTest()
341 ret = MipiCsiEnableClock(test->handle, test->comboDev); in MipiCsiEnableMipiClockTest()
356 ret = MipiCsiDisableClock(test->handle, test->comboDev); in MipiCsiDisableMipiClockTest()
505 __func__, test->total - test->fails, test->fails); in MipiCsiTestDoTest()
[all …]
H A Dmipi_dsi_test.c20 test->msgs.delay = 0; in MipiDsiTestMallocBuf()
28 if (test == NULL) { in MipiDsiTestSetUp()
34 test->handle = MipiDsiOpen(test->devNo); in MipiDsiTestSetUp()
43 test->fails = 0; in MipiDsiTestSetUp()
50 if (test == NULL) { in MipiDsiTestTearDown()
108 ret = MipiDsiTx(test->handle, &test->msgs); in MipiDsiTxRxTest()
134 ret = MipiDsiSetCfg(test->handle, &test->cfg); in MipiDsiTestByCmd()
157 if (test == NULL) { in MipiDsiTestDoTest()
174 test->total - test->fails, test->fails); in MipiDsiTestDoTest()
211 test.devNo = 0; in MipiDsiTestBind()
[all …]
H A Dregulator_test.c41 if (test == NULL || test->handle == NULL) { in RegulatorEnableTest()
52 if (test == NULL || test->handle == NULL) { in RegulatorDisableTest()
63 if (test == NULL || test->handle == NULL) { in RegulatorForceDisableTest()
74 if (test == NULL || test->handle == NULL) { in RegulatorSetVoltageTest()
83 if (RegulatorSetVoltage(test->handle, test->minUv, test->maxUv) != HDF_SUCCESS) { in RegulatorSetVoltageTest()
93 if (test == NULL || test->handle == NULL) { in RegulatorGetVoltageTest()
112 if (test == NULL || test->handle == NULL) { in RegulatorSetCurrentTest()
121 if (RegulatorSetCurrent(test->handle, test->minUa, test->maxUa) != HDF_SUCCESS) { in RegulatorSetCurrentTest()
131 if (test == NULL || test->handle == NULL) { in RegulatorGetCurrentTest()
150 if (test == NULL || test->handle == NULL) { in RegulatorGetStatusTest()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/testsuits/
H A Dtest_index.py28 test = Base(driver) variable in TestHcsTool
29 url = test.getfiledir()
98 self.test.add_node('root')
428 self.test.click(
446 self.test.click(
477 self.test.click(
482 self.test.click(
501 self.test.click(
520 self.test.click(
535 self.test.click(
[all …]
/ohos5.0/foundation/arkui/ui_lite/tools/qt/simulator/test/
H A Dtest.pro46 ../../../../test/framework/src/ui_test_group.cpp \
47 ../../../../test/framework/src/test_ability.cpp \
48 ../../../../test/framework/src/ui_test_app.cpp \
57 ../../../../test/uitest/test_clip/ui_test_clip.cpp \
103 ../../../../test/framework/include/ui_test_app.h \
105 ../../../../test/framework/include/ui_test.h \
114 ../../../../test/uitest/test_clip/ui_test_clip.h \
121 ../../../../test/uitest/test_font/ui_test_font.h \
161 ../../../../test/framework \
162 ../../../../test/framework/include \
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_thread_test.cpp146 EXPECT_EQ(test->data_, 0);
148 test->NotifyExitSync();
174 EXPECT_EQ(test->data_, 1);
176 test->NotifyExitSync();
201 EXPECT_EQ(test->data_, 0);
203 test->NotifyExitSync();
231 test->NotifyExitSync();
258 test->NotifyExitSync();
307 if (test->IsRunning()) {
336 test->NotifyExitAsync();
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/common/
H A Dapp_storage_test.ts24 test("added 'say' is in AppStrorage", AppStorage.has("say"));
28 test("added 'say' wrong value", AppStorage.get<string>("say") == "Hello");
34 test("added 'true' wrong boolean value", AppStorage.get<boolean>("true"));
71 test("prop value expected `Guido`.", prop.get() == "Guido");
77 test("prop changed value expected `Hanna`.", prop.get() == "Hanna");
78 test("link1 unchanged value expected `Guido`.", link1.get() == "Guido");
84 test("prop changed value expected `Anton`.", prop.get() == "Anton");
113 test("Followed by prop value change, value read back",
121 test("link to ObservedObject, get value", linktoObsObj.get().b == 201);
146 test("prop to ObservedObject, get value", proptoObsObj.get().b == 203);
[all …]
H A Dapp_storage_array_test.ts83 test("array", !ObservedObject.IsObservedObject([1, 2, 3]));
84 test("object", !ObservedObject.IsObservedObject({ a: 1 }));
85 test("number", !ObservedObject.IsObservedObject(1));
86 test("boolean", !ObservedObject.IsObservedObject(true));
87 test("undefined", !ObservedObject.IsObservedObject(undefined));
95 test("observed array", ObservedObject.IsObservedObject(arr1));
121 test(`hasChanged was called`, spyArrayChange.called);
134 test(`hasChanged was called`, spyArrayChange.called);
149 test(`hasChanged was called`, spyArrayChange.called);
158 test("link readback value OK", link.get().length == 3);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/
H A DBUILD.gn14 import("//build/test.gni")
28 "${bundle_framework_path}/test/sceneProject/systemtest/bundle_hsp/hsp_A:hsp_A",
33 "${bundle_framework_path}/test/sceneProject/systemtest/ohos_test:copy_ohos_test",
83 "${services_path}/test/moduletest/utils:tool_common",
109 "${bundle_framework_path}/test/sceneProject/systemtest/ohos_test:copy_ohos_test",
142 "${services_path}/test/moduletest/utils:tool_common",
167 "${bundle_framework_path}/test/sceneProject/systemtest/bundle_hsp/hsp_A:hsp_A",
176 "${bundle_framework_path}/test/sceneProject/systemtest/ohos_test:copy_ohos_test",
179 "${services_path}/test/moduletest/utils:tool_common",
216 "${services_path}/test/moduletest/utils:tool_common",
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/image_provider/
H A DBUILD.gn32 "$ace_root/test/mock/base/mock_event_report.cpp",
35 "$ace_root/test/mock/base/mock_image_source.cpp",
37 "$ace_root/test/mock/base/mock_localization.cpp",
40 "$ace_root/test/mock/base/mock_subwindow.cpp",
55 "$ace_root/test/mock/core/common/mock_udmf.cpp",
84 "$ace_root/test/unittest:ace_base",
85 "$ace_root/test/unittest:ace_components_base",
94 "$ace_root/test/unittest:ace_core_animation",
95 "$ace_root/test/unittest:ace_core_extra",
97 "$ace_root/test/unittest:ace_unittest_log",
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/thread_benchmark_test/
H A Dthread_benchmark_test.cpp170 test->NotifyExitSync(); in BENCHMARK_F()
172 …AssertEqual((pthread_equal(test->GetThread(), INVALID_THREAD_ID) != 0), (test->IsRunning() ? false… in BENCHMARK_F()
210 test->NotifyExitSync(); in BENCHMARK_F()
221 pthread_t thread = test->GetThread(); in ThreadTestProcedure()
236 test->NotifyExitSync(); in ThreadTestProcedure()
238 …AssertEqual((pthread_equal(test->GetThread(), INVALID_THREAD_ID) != 0), (test->IsRunning() ? false… in ThreadTestProcedure()
294 test->NotifyExitSync(); in BENCHMARK_F()
381 if (test->IsRunning()) { in BENCHMARK_F()
386 test->NotifyExitSync(); in BENCHMARK_F()
409 test->NotifyExitAsync(); in ThreadTestStart()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/
H A DBUILD.gn41 "$ace_root/test/mock/base/mock_ace_trace.cpp",
42 "$ace_root/test/mock/base/mock_drag_window.cpp",
43 "$ace_root/test/mock/base/mock_engine_helper.cpp",
44 "$ace_root/test/mock/base/mock_event_report.cpp",
46 "$ace_root/test/mock/base/mock_frame_report.cpp",
48 "$ace_root/test/mock/base/mock_image_source.cpp",
50 "$ace_root/test/mock/base/mock_localization.cpp",
51 "$ace_root/test/mock/base/mock_mouse_style.cpp",
52 "$ace_root/test/mock/base/mock_pixel_map.cpp",
54 "$ace_root/test/mock/base/mock_subwindow.cpp",
[all …]
/ohos5.0/base/inputmethod/imf/test/fuzztest/systemabilitystubfuzztest/
H A DBUILD.gn19 import("//build/test.gni")
85 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
100 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
117 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
134 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
153 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
170 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
187 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
205 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
222 "${inputmethod_path}/test/fuzztest/systemabilitystubfuzztest/common",
[all …]
/ohos5.0/foundation/resourceschedule/device_usage_statistics/test/unittest/
H A Dbundle_active_total_test.cpp91 test.Init(reportHandler);
92 test.Init(reportHandler1);
102 test.GetBundleMgr();
103 test.bundleMgr_ = nullptr;
104 test.GetBundleMgr();
129 test.bundleMgr_ = nullptr;
197 test.Init(reportHandler);
200 test.Init(reportHandler);
223 test.InitDatabaseTableInfo(test.ParseStartTime(test.eventTableName_)-1);
236 test.debugDatabase_ = true;
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/
H A DBUILD.gn17 import("//build/test.gni")
26 "//base/security/huks/test/unittest/huks_standard_test/three_stage_test/include",
29 "//base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/include",
46 "//base/security/huks/test/unittest/huks_common_test/include",
58 "//base/security/huks/test/unittest/huks_common_test/src/hks_test_aes_func.cpp",
159 # framework test
171 # interface test
179 # utils test
189 # service test
197 # engine test
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/rosen/
H A DBUILD.gn106 "$ace_root/test/mock/base/mock_pixel_map.cpp",
108 "$ace_root/test/mock/base/mock_subwindow.cpp",
141 "$ace_root/test/unittest:ace_base",
142 "$ace_root/test/unittest:ace_components_base",
150 "$ace_root/test/unittest:ace_core_animation",
151 "$ace_root/test/unittest:ace_core_extra",
153 "$ace_root/test/unittest:ace_unittest_log",
154 "$ace_root/test/unittest:ace_unittest_trace",
244 "$ace_root/test/unittest:ace_base",
254 "$ace_root/test/unittest:ace_core_extra",
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A DBUILD.gn16 import("//build/test.gni")
27 "${services_path}/ans/test/unittest/mock/include",
33 "${frameworks_module_ans_path}/test/unittest/ans_log_test.cpp",
35 "${frameworks_module_ans_path}/test/unittest/message_user_test.cpp",
47 "${frameworks_module_ans_path}/test/unittest/notification_flags_test.cpp",
58 "${frameworks_module_ans_path}/test/unittest/notification_slot_test.cpp",
63 "${frameworks_module_ans_path}/test/unittest/notification_test.cpp",
68 "${frameworks_module_ans_path}/test/unittest/reminder_helper_test.cpp",
72 "${frameworks_module_ans_path}/test/unittest/reminder_store_test.cpp",
127 "${services_path}/ans/test/unittest/mock/include",
[all …]
/ohos5.0/drivers/hdf_core/adapter/uhdf/test/unittest/platform/
H A DBUILD.gn14 import("//build/lite/config/test.gni")
23 output_dir = "$root_out_dir/test/unittest/hdf"
35 "$hdf_framework_path/test/unittest/include",
36 "$hdf_framework_path/test/unittest/platform/common",
64 "$hdf_framework_path/test/unittest/platform/common/adc_test.c",
66 "$hdf_framework_path/test/unittest/platform/common/pwm_test.c",
67 "$hdf_framework_path/test/unittest/platform/common/rtc_test.c",
68 "$hdf_framework_path/test/unittest/platform/common/spi_test.c",
118 output_dir = "$root_out_dir/test/unittest/hdf"
128 "$hdf_framework_path/test/unittest/include",
[all …]
/ohos5.0/base/update/updater/
H A DBUILD.gn23 "test/fuzztest/applypatch_fuzzer:ApplyPatchFuzzTest",
24 "test/fuzztest/binflow_fuzzer:BinFlowFuzzTest",
28 "test/fuzztest/package_fuzzer:PackageFuzzTest",
43 "test/unittest:updater_unittest",
47 "test/unittest/flashd_test:flashd_unittest",
50 "test/unittest/package:package_unittest",
51 "test/unittest/script:script_unittest",
52 "test/unittest/updater_binary:binary_unittest",
53 "test/unittest/utils:utils_test",
57 "test/unittest/script:user_instruction",
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Dhex_string_test.cpp81 EXPECT_EQ(HexStringToByte(test.c_str(), test.length(), nullptr, sizeof(byteBuffer)),
83 test = "1d2c4F1";
85 EXPECT_EQ(HexStringToByte(test.c_str(), test.length(), nullptr, sizeof(byteBuffer)),
90 test = "1d2c4Fq";
92 EXPECT_EQ(HexStringToByte(test.c_str(), test.length(), nullptr, sizeof(byteBuffer)),
94 test = "1d2c4F";
111 EXPECT_EQ(HexStringToByte(test.c_str(), test.length(), byteBuffer, sizeof(byteBuffer)),
113 test = "1d2c4f";
115 test = "gd2c4f";
116 EXPECT_EQ(HexStringToByte(test.c_str(), test.length(), byteBuffer, sizeof(byteBuffer)),
[all …]
/ohos5.0/foundation/multimedia/audio_framework/test/
H A DBUILD.gn20 "../frameworks/js/napi/audiomanager/test/unittest/audio_manager_test:jsunittest",
21 "../frameworks/js/napi/audiomanager/test/unittest/group_manager_test:jsunittest",
24 "../frameworks/js/napi/audiomanager/test/unittest/stream_manager_test:jsunittest",
46 "../frameworks/native/audioutils/test/unittest:audio_utils_unit_test",
54 "../frameworks/native/toneplayer/test/unittest:audio_toneplayer_unit_test",
55 "../services/audio_service/test/unittest:audio_balance_unit_test",
67 "../services/audio_service/test/unittest:audio_direct_sink_unit_test",
68 "../services/audio_service/test/unittest:none_mix_engine_unit_test",
98 "../frameworks/native/audiocapturer/test/benchmark:benchmarktest",
99 "../frameworks/native/audiopolicy/test/benchmark:benchmarktest",
[all …]
/ohos5.0/foundation/graphic/graphic_2d/
H A DBUILD.gn33 "frameworks/bootanimation/test:test",
34 "frameworks/opengl_wrapper/test:test",
35 "frameworks/vulkan_layers/test:test",
39 "rosen/modules/effect/test/unittest:test",
40 "rosen/modules/graphics_effect/test:test",
41 "rosen/test/frame_analyzer:test",
42 "rosen/test/frame_report:test",
43 "rosen/test/hyper_graphic_manager:test",
44 "rosen/test/render_frame_trace:test",
45 "rosen/test/render_service:test",
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/demuxer_test/
H A DBUILD.gn14 import("//build/test.gni")
51 "$av_codec_root_dir/test/unittest/format_test",
53 "$av_codec_root_dir/test/unittest/avsource_test",
58 "$av_codec_root_dir/test/nativedemo/include",
122 "$av_codec_root_dir/test/unittest/format_test",
124 "$av_codec_root_dir/test/unittest/avsource_test",
129 "$av_codec_root_dir/test/nativedemo/include",
181 "$av_codec_root_dir/test/unittest/format_test",
188 "$av_codec_root_dir/test/nativedemo/include",
247 "$av_codec_root_dir/test/unittest/format_test",
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A DBUILD.gn14 import("//build/lite/config/test.gni")
20 configs = [ "$ace_lite_root/test:test_common_config" ]
22 "$ace_lite_root/test/moduletest/common/base_test.cpp",
32 configs = [ "$ace_lite_root/test:test_common_config" ]
43 configs = [ "$ace_lite_root/test:test_common_config" ]
54 configs = [ "$ace_lite_root/test:test_common_config" ]
66 configs = [ "$ace_lite_root/test:test_common_config" ]
76 configs = [ "$ace_lite_root/test:test_common_config" ]
87 configs = [ "$ace_lite_root/test:test_common_config" ]
98 configs = [ "$ace_lite_root/test:test_common_config" ]
[all …]

12345678910>>...139