Home
last modified time | relevance | path

Searched refs:Test (Results 1 – 25 of 1343) sorted by relevance

12345678910>>...54

/test/xts/acts/telephony/telephonyjstest/netmanager_http/entry/src/main/ets/test/
DResponseCodeJsunit.test.ets24 * @tc.desc Test ResponseCode property.
45 * @tc.desc Test Test ResponseCode property.
52 …console.log("-----------------------ResponseCode_ACCEPTED Test is starting-----------------------"…
55 console.log("-----------------------ResponseCode ACCEPTED Test end-----------------------");
67 * @tc.desc Test Test ResponseCode property.
74 …console.log("-----------------------ResponseCode NOT_AUTHORITATIVE Test is starting---------------…
77 …console.log("-----------------------ResponseCode NOT_AUTHORITATIVE Test end-----------------------…
89 * @tc.desc Test Test ResponseCode property.
96 …console.log("-----------------------ResponseCode NO_CONTENT Test is starting----------------------…
99 … console.log("-----------------------ResponseCode NO_CONTENT Test end-----------------------");
[all …]
DHttpRequestJsunit.test.ets22 console.log('Test afterEach start');
31 * @tc.desc Test Test httprequest property.
38 … console.log("-----------------------HttpRequest_request Test is starting-----------------------");
52 console.log("-----------------------HttpRequest_request Test end-----------------------");
65 * @tc.desc Test Test httprequest property.
72 …console.log("-----------------------HttpRequest_request_01 Test is starting-----------------------…
79 … console.log("-----------------------HttpRequest_request_01 Test end-----------------------");
92 * @tc.desc Test Test httprequest property.
99 …console.log("-----------------------HttpRequest_request_02 Test is starting-----------------------…
113 … console.log("-----------------------HttpRequest_request_02 Test end-----------------------");
[all …]
DHttpResponseJsunit.test.ets24 * @tc.desc Test Test HttpResponse property.
32 … console.log("-----------------------HttpResponse result Test is starting-----------------------");
46 console.log("-----------------------HttpResponse result Test end-----------------------");
60 * @tc.desc Test Test HttpResponse property.
68 …console.log("-----------------------HttpResponse result_01 Test is starting-----------------------…
75 … console.log("-----------------------HttpResponse result_01 Test end-----------------------");
89 * @tc.desc Test Test HttpResponse property.
97 …console.log("-----------------------HttpResponse result_02 Test is starting-----------------------…
111 … console.log("-----------------------HttpResponse result_02 Test end-----------------------");
129 * @tc.desc Test Test HttpResponse property.
[all …]
DRequestMethodJsunit.test.ets24 * @tc.desc Test Test HttpRequestMethod property.
32 …console.log("-----------------------HttpRequestMethod_options Test is starting--------------------…
46 … console.log("-----------------------HttpRequestMethod_options Test end-----------------------");
61 * @tc.desc Test Test HttpRequestMethod property.
69 …console.log("-----------------------HttpRequestMethod_options_01 Test is starting-----------------…
83 …console.log("-----------------------HttpRequestMethod_options_01 Test end-----------------------");
102 * @tc.desc Test Test HttpRequestMethod property.
110 …console.log("-----------------------HttpRequestMethod_GET Test is starting-----------------------"…
124 … console.log("-----------------------HttpRequestMethod_GET Test end-----------------------");
139 * @tc.desc Test Test HttpRequestMethod property.
[all …]
DHttpRequestOptionsJsunit.test.ets32 * @tc.desc Test Test HttpRequestOptions property.
39 …console.log("-----------------------HttpRequestOptions_method Test is starting--------------------…
53 … console.log("-----------------------HttpRequestOptions_method Test end-----------------------");
66 * @tc.desc Test Test HttpRequestOptions property.
73 …console.log("-----------------------HttpRequestOptions_method_01 Test is starting-----------------…
87 …console.log("-----------------------HttpRequestOptions_method_01 Test end-----------------------");
104 * @tc.desc Test Test HttpRequestOptions property.
111 …console.log("-----------------------HttpRequestOptions_extraData Test is starting-----------------…
133 …console.log("-----------------------HttpRequestOptions_extraData Test end-----------------------");
146 * @tc.desc Test Test HttpRequestOptions property.
[all …]
/test/xts/acts/telephony/telephonyjstest/observer/entry/src/main/ets/test/
DObserverJsunit.test.ets24 console.log("************* Observer Test start *************");
32 …console.log("************* Telephony_observer_observer_DataConnectState_0100 Test start **********…
47 …console.log("************* Telephony_observer_observer_DataConnectState_0100 Test end ************…
56 …console.log("************* Telephony_observer_observer_on_networkStateChange_0200 Test start *****…
72 …console.log("************* Telephony_observer_observer_on_networkStateChange_0200 Test end *******…
81 …console.log("************* Telephony_observer_observer_off_networkStateChange_0100 Test start ****…
96 …console.log("************* Telephony_observer_observer_off_networkStateChange_0100 Test end ******…
107 …console.log("************* Telephony_observer_observer_on_signalInfoChange_0200 Test start *******…
122 …console.log("************* Telephony_observer_observer_on_signalInfoChange_0200 Test end *********…
131 …console.log("************* Telephony_observer_observer_off_signalInfoChange_0100 Test start ******…
[all …]
/test/xts/acts/telephony/telephonyjstest/radiostatistic/entry/src/main/ets/test/
DDataJsunit.test.ets29 console.log("==========> data Test start ==========>");
39 console.log(`==========> ${caseName} Test start ==========>`);
41 console.log(`==========> ${caseName} Test end ==========>`);
52 console.log(`==========> ${caseName} Test start ==========>`);
54 console.log(`==========> ${caseName} Test end ==========>`);
65 console.log(`==========> ${caseName} Test start ==========>`);
67 console.log(`==========> ${caseName} Test end ==========>`);
78 console.log(`==========> ${caseName} Test start ==========>`);
80 console.log(`==========> ${caseName} Test end ==========>`);
91 console.log(`==========> ${caseName} Test start ==========>`);
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_2/src/
Dcamera_flashlight_test_v1_2.cpp26 cameraTest = std::make_shared<OHOS::Camera::Test>(); in SetUp()
67 cameraTest->hostCallbackV1_2 = new OHOS::Camera::Test::TestCameraHostCallbackV1_2();
82 cameraTest->hostCallbackV1_2 = new OHOS::Camera::Test::TestCameraHostCallbackV1_2();
100 cameraTest->hostCallbackV1_2 = new OHOS::Camera::Test::TestCameraHostCallbackV1_2();
118 cameraTest->hostCallbackV1_2 = new OHOS::Camera::Test::TestCameraHostCallbackV1_2();
121 EXPECT_EQ(OHOS::Camera::Test::statusCallback, HDI::Camera::V1_0::FLASHLIGHT_OFF);
125 EXPECT_EQ(OHOS::Camera::Test::statusCallback, HDI::Camera::V1_0::FLASHLIGHT_ON);
138 cameraTest->hostCallbackV1_2 = new OHOS::Camera::Test::TestCameraHostCallbackV1_2();
141 EXPECT_EQ(OHOS::Camera::Test::statusCallback, HDI::Camera::V1_0::FLASHLIGHT_ON);
145 EXPECT_EQ(OHOS::Camera::Test::statusCallback, HDI::Camera::V1_0::FLASHLIGHT_OFF);
[all …]
Dhdi_common_v1_2.cpp19 int64_t OHOS::Camera::Test::StreamConsumer::g_timestamp[2] = {0};
21 Test::ResultCallback Test::resultCallback_ = 0;
22 OHOS::HDI::Camera::V1_0::FlashlightStatus Test::statusCallback =
24 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
32 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
71 void Test::Init() in Init()
91 int32_t Test::DefferredImageTestInit() in DefferredImageTestInit()
104 imageProcessCallback_ = new OHOS::Camera::Test::TestImageProcessCallback(); in DefferredImageTestInit()
116 void Test::Open(int cameraId) in Open()
123 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
[all …]
/test/xts/acts/telephony/telephonyjstest/netmanager_socket/entry/src/main/ets/test/
DWebSocketJsunit.test.ets23 console.log("************* webSocket Test start*************");
31 …console.log("************* Telephony_WebSocket_WebSocket_createWebSocket_0100 Test start**********…
39 …console.log("************* Telephony_WebSocket_WebSocket_createWebSocket_0100 Test end************…
49 …console.log("************* Telephony_WebSocket_WebSocketRequestOptions_header_0100 Test start*****…
54 …console.log("************* Telephony_WebSocket_WebSocketRequestOptions_header_0100 Test end*******…
64 …console.log("************* Telephony_WebSocket_WebSocketCloseOptions_code_0100 Test start*********…
70 …console.log("************* Telephony_WebSocket_WebSocketCloseOptions_code_0100 Test end***********…
80 …console.log("************* Telephony_WebSocket_WebSocketCloseOptions_reason_0100 Test start*******…
86 …console.log("************* Telephony_WebSocket_WebSocketCloseOptions_reason_0100 Test end*********…
96 … console.log("************* Telephony_WebSocket_WebSocket_connect_0100 Test start*************");
[all …]
DSocketJsunit.test.ets68 console.log("************* socket Test start*************");
84 …console.log("************* Telephony_Socket_Socket_constructUDPSocketInstance_0100 Test start*****…
87 …console.log("************* Telephony_Socket_Socket_constructUDPSocketInstance_0100 Test end*******…
102 …console.log("************* Telephony_Socket_Socket_constructTCPSocketInstance_0100 Test start*****…
105 …console.log("************* Telephony_Socket_Socket_constructTCPSocketInstance_0100 Test end*******…
120 console.log("************* Telephony_Socket_Socket_NetAddress_0100 Test start*************");
129 console.log("************* Telephony_Socket_Socket_NetAddress_0100 Test end*************");
144 … console.log("************* Telephony_Socket_UDPSendOptions_data_0100 Test start*************");
154 console.log("************* Telephony_Socket_UDPSendOptions_data_0100 Test end*************");
169 …console.log("************* Telephony_Socket_ExtraOptionsBase_receiveBufferSize_0100 Test start****…
[all …]
DConnectionJsunit.test.ets41 console.log("************* connection Test start*************");
72 …console.log("************* Telephony_Connection_Connection_createNetConnection_0100 Test start****…
79 …console.log("************* Telephony_Connection_Connection_createNetConnection_0100 Test end******…
94 …console.log("************* Telephony_Connection_Connection_createNetConnection_0200 Test start****…
101 …console.log("************* Telephony_Connection_Connection_createNetConnection_0200 Test end******…
116 …console.log("************* Telephony_Connection_Connection_createNetConnection_0300 Test start****…
123 …console.log("************* Telephony_Connection_Connection_createNetConnection_0300 Test end******…
138 …console.log("************* Telephony_Connection_Connection_createNetConnection_0400 Test start****…
153 …console.log("************* Telephony_Connection_Connection_createNetConnection_0400 Test end******…
168 …console.log("************* Telephony_Connection_Connection_createNetConnection_0500 Test start****…
[all …]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
DonVisibleAreaChange.ets39 Text("Test Text Visible Change")
46 console.info("Test Text isVisible: " + isVisible + ", currentRatio:" + currentRatio)
48 console.info("Test Text is fully visible. currentRatio:" + currentRatio)
49 this.testTextStr = "Test Text is fully visible"
53 console.info("Test Text is completely invisible.")
54 this.testTextStr = "Test Text is completely invisible"
59 Text("Test Row Visible Change")
67 console.info("Test Row isVisible:" + isVisible + ", currentRatio:" + currentRatio)
69 console.info("Test Row is fully visible.")
70 this.testRowStr = "Test Row is fully visible"
[all …]
/test/xts/acts/validator/acts_validator/src/main/ets/pages/model/
DFlushData.ets20 let Test = null;
31 Test = data;
44 let Test = null;
55 Test = data;
68 let Test = null;
79 Test = data;
92 let Test = null;
103 Test = data;
116 let Test = null;
127 Test = data;
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_1/src/
Dhdi_common_v1_1.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
23 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
70 void Test::Init() in Init()
97 void Test::Open() in Open()
106 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
120 void Test::GetCameraMetadata() in GetCameraMetadata()
136 void Test::Close() in Close()
144 void Test::DefaultPreview( in DefaultPreview()
156 void Test::DefaultCapture( in DefaultCapture()
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/src/
Dhdi_common_v1_1.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
23 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
70 void Test::Init() in Init()
97 void Test::Open() in Open()
106 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
120 void Test::GetCameraMetadata() in GetCameraMetadata()
136 void Test::Close() in Close()
144 void Test::DefaultPreview( in DefaultPreview()
156 void Test::DefaultCapture( in DefaultCapture()
[all …]
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/src/
Dcommon.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
24 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
32 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
71 void Test::Init() in Init()
86 void Test::GetCameraMetadata() in GetCameraMetadata()
102 void Test::Open() in Open()
111 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
121 void Test::Close() in Close()
129 void Test::StartStream(std::vector<StreamIntent> intents) in StartStream()
233 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture()
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_0/src/
Dbenchmark_common.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
23 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
70 void Test::Init() in Init()
85 void Test::GetCameraMetadata() in GetCameraMetadata()
101 void Test::Open() in Open()
110 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
120 void Test::Close() in Close()
128 void Test::StartStream(std::vector<StreamIntent> intents) in StartStream()
232 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture()
[all …]
/test/xts/hats/hdf/camera/cameraMg/v1_0/src/
Dcommon.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
23 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
70 void Test::Init() in Init()
85 void Test::GetCameraMetadata() in GetCameraMetadata()
101 void Test::Open() in Open()
110 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
120 void Test::Close() in Close()
128 void Test::StartStream(std::vector<StreamIntent> intents) in StartStream()
232 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture()
[all …]
/test/xts/acts/driver/device_manager_ndk/entry/src/main/ets/test/
DUsbDdk.test.ets32 console.info("Test USB data Result = " + data);
47 console.info("Test USB data Result = " + data);
62 console.info("Test USB data Result = " + data);
77 console.info("Test USB data Result = " + data);
92 console.info("Test USB data Result = " + data);
107 console.info("Test USB data Result = " + data);
122 console.info("Test USB data Result = " + data);
137 console.info("Test USB data Result = " + data);
152 console.info("Test USB data Result = " + data);
167 console.info("Test USB data Result = " + data);
[all …]
/test/xts/acts/time/timeauthorityTest/entry/src/main/ets/test/
DtimeAuthority.test.ets39 …* afterEach: Test case-level clearance conditions, which are executed after each test case is exec…
52 * @tc.name Test systemTime.setTime
53 * @tc.desc Test systemTime_setTime API functionality.
80 * @tc.name Test systemTime.setTime Invalid value
81 * @tc.desc Test systemTime_setTime API functionality.
102 * @tc.name Test systemTime.setTime3
103 * @tc.desc Test systemTime_setTime API functionality.
125 * @tc.name Test systemTime.setTime4 Invalid value
126 * @tc.desc Test systemTime_setTime API functionality.
147 * @tc.name Test systemTime.setDate Invalid value
[all …]
/test/xts/acts/distributeddatamgr/relationalStoretest/relationalStoreNdktest/entry/src/main/ets/test/
DRdbTest.ets32 console.info("Test NAPI data= " + JSON.stringify(data));
47 console.info("Test NAPI data= " + JSON.stringify(data));
62 console.info("Test NAPI data= " + JSON.stringify(data));
76 console.info("Test NAPI data= " + JSON.stringify(data));
91 console.info("Test NAPI data= " + JSON.stringify(data));
106 console.info("Test NAPI data= " + JSON.stringify(data));
121 console.info("Test NAPI data= " + JSON.stringify(data));
136 console.info("Test NAPI data= " + JSON.stringify(data));
151 console.info("Test NAPI data= " + JSON.stringify(data));
166 console.info("Test NAPI data= " + JSON.stringify(data));
[all …]
/test/xts/hats/hdf/camera/cameraBenchmarkTest/v1_1/src/
Dbenchmark_common.cpp21 Test::ResultCallback Test::resultCallback_ = 0;
23 uint64_t Test::GetCurrentLocalTimeStamp() in GetCurrentLocalTimeStamp()
31 int32_t Test::DumpImageFile(int streamId, std::string suffix, const void* buffer, int32_t size) in DumpImageFile()
70 void Test::Init() in Init()
96 void Test::GetCameraMetadata(int cameraId) in GetCameraMetadata()
112 void Test::Open(int cameraId) in Open()
121 deviceCallback = new OHOS::Camera::Test::DemoCameraDeviceCallback(); in Open()
135 void Test::Close() in Close()
143 void Test::StartStream(std::vector<StreamIntent> intents) in StartStream()
259 void Test::StartCapture(int streamId, int captureId, bool shutterCallback, bool isStreaming) in StartCapture()
[all …]
/test/xts/acts/security/cryptoFramework/js_api10_test_oh41/src/main/ets/test/
DSecurityCryptoFwKeyGenerateECCBrainPool.test.ets47 * @tc.name Test createAsyKeyGenerator with wrong BrainPool, process is fail
69 * @tc.name Test getAsyKeySpec with BrainPool, process is successful
71 * @tc.desc 3. Test interface with Promise style
102 * @tc.name Test convertKey with BrainPoolGenerator, process is successful
104 * @tc.desc 3. Test interface with Promise style
125 * @tc.name Test convertKey with BrainPoolGenerator, process is successful
127 * @tc.desc 3. Test interface with Promise style
148 * @tc.name Test convertKey with BrainPoolGenerator, process is successful
150 * @tc.desc 3. Test interface with Promise style
171 * @tc.name Test convertKey with BrainPoolGenerator, process is successful
[all …]
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/test/
DGlobalJsunit.test.ets50 * @tc.desc Test setTimeout
65 * @tc.desc Test canIUse
80 * @tc.desc Test getApp
96 * @tc.desc Test createLocalParticleAbility
113 * @tc.desc Test console log printing
117 …console.log("-----------------------ACE_global_console_log Test is starting-----------------------…
126 console.log("-----------------------ACE_global_console_log Test end-----------------------");
133 * @tc.desc Test console info printing
137 …console.log("-----------------------ACE_global_console_info Test is starting----------------------…
146 console.log("-----------------------ACE_global_console_info Test end-----------------------");
[all …]

12345678910>>...54