dcts_dsoft

Signed-off-by: songdawei <songdawei1@huawei.com>
This commit is contained in:
songdawei 2022-03-28 11:13:39 +00:00
parent 766619bf28
commit 231068d27b
5 changed files with 46 additions and 44 deletions

View File

@ -16,10 +16,10 @@ group("communication") {
testonly = true testonly = true
if (is_standard_system) { if (is_standard_system) {
deps = [ deps = [
"softbus_standard/network:SoftBusNetTest", "softbus_standard/network:DctsSoftBusNetTest",
"softbus_standard/transmission:SoftBusTransFileFunTest", "softbus_standard/transmission:DctsSoftBusTransFileFunTest",
"softbus_standard/transmission:SoftBusTransFunTest", "softbus_standard/transmission:DctsSoftBusTransFunTest",
"softbus_standard/transmission:SoftBusTransSessionFunTest", "softbus_standard/transmission:DctsSoftBusTransSessionFunTest",
] ]
} else { } else {
deps = [ "wifi_standard:ActsWifiJSTest" ] deps = [ "wifi_standard:ActsWifiJSTest" ]

View File

@ -12,8 +12,8 @@
# limitations under the License. # limitations under the License.
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
module_output_path = "dct/softbus_base/SoftBusNetTest" module_output_path = "dcts/softbus_base/DctsSoftBusNetTest"
ohos_moduletest_suite("SoftBusNetTest") { ohos_moduletest_suite("DctsSoftBusNetTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
"../common/SoftBus_Test_Permission.cpp", "../common/SoftBus_Test_Permission.cpp",

View File

@ -1,21 +1,21 @@
{ {
"kits": [ "description": "Config for DctsSoftBusNet test cases",
{ "driver": {
"push": [ "module-name": "DctsSoftBusNetTest",
"SoftBusTransFunTest ->/data/local/tmp/SoftBusTransFunTest"
],
"temp": "PushKit",
"post-push": [
"chmod -R 777 /data/local/tmp/*"
]
}
],
"dirver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "native-test-device-path": "/data/local/tmp",
"module-name": "SoftBusTransFunTest", "runtime-hint": "1s",
"runtime-hint": "ls", "type": "CppTest"
"native-test-device-path": "/data/local/tmp/"
}, },
"description": "configuration for SoftBusTransFunTest Tests" "kits": [
{
"post-push" : [
"chmod -R 777 /data/local/tmp/*"
],
"push": [
"DctsSoftBusNetTest->/data/local/tmp/DctsSoftBusNetTest"
],
"type": "PushKit"
}
]
} }

View File

@ -13,8 +13,8 @@
import("//test/xts/tools/build/suite.gni") import("//test/xts/tools/build/suite.gni")
module_output_path = "dct/softbus_base/SoftBusTransTest" module_output_path = "dcts/softbus_base/transmission"
ohos_moduletest_suite("SoftBusTransFunTest") { ohos_moduletest_suite("DctsSoftBusTransFunTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
"../common/SoftBus_Test_Permission.cpp", "../common/SoftBus_Test_Permission.cpp",
@ -49,7 +49,7 @@ ohos_moduletest_suite("SoftBusTransFunTest") {
] ]
external_deps = [ "dsoftbus_standard:softbus_client" ] external_deps = [ "dsoftbus_standard:softbus_client" ]
} }
ohos_moduletest_suite("SoftBusTransSessionFunTest") { ohos_moduletest_suite("DctsSoftBusTransSessionFunTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
"../common/SoftBus_Test_Permission.cpp", "../common/SoftBus_Test_Permission.cpp",
@ -85,7 +85,7 @@ ohos_moduletest_suite("SoftBusTransSessionFunTest") {
external_deps = [ "dsoftbus_standard:softbus_client" ] external_deps = [ "dsoftbus_standard:softbus_client" ]
} }
ohos_moduletest_suite("SoftBusTransFileFunTest") { ohos_moduletest_suite("DctsSoftBusTransFileFunTest") {
module_out_path = module_output_path module_out_path = module_output_path
sources = [ sources = [
"../common/SoftBus_Test_Permission.cpp", "../common/SoftBus_Test_Permission.cpp",

View File

@ -1,21 +1,23 @@
{ {
"kits": [ "description": "Config for DctsSoftBusTransFun test cases",
{ "driver": {
"push": [ "module-name": "DctsSoftBusTransTest",
"SoftBusTransFunTest ->/data/local/tmp/SoftBusTransFunTest"
],
"temp": "PushKit",
"post-push": [
"chmod -R 777 /data/local/tmp/*"
]
}
],
"dirver": {
"native-test-timeout": "120000", "native-test-timeout": "120000",
"type": "CppTest", "native-test-device-path": "/data/local/tmp",
"module-name": "SoftBusTransFunTest", "runtime-hint": "1s",
"runtime-hint": "ls", "type": "CppTest"
"native-test-device-path": "/data/local/tmp/"
}, },
"description": "configuration for SoftBusTransFunTest Tests" "kits": [
{
"post-push" : [
"chmod -R 777 /data/local/tmp/*"
],
"push": [
"DctsSoftBusTransFunTest->/data/local/tmp/DctsSoftBusTransFunTest",
"DctsSoftBusTransSessionFunTest->/data/local/tmp/DctsSoftBusTransSessionFunTest",
"DctsSoftBusTransFileFunTest->/data/local/tmp/DctsSoftBusTransFileFunTest"
],
"type": "PushKit"
}
]
} }