Home
last modified time | relevance | path

Searched refs:matchedOp (Results 1 - 9 of 9) sorted by relevance

/foundation/filemanagement/app_file_service/tests/unittests/backup_tools/backup_tool/
H A Dtools_op_check_sa_test.cpp55 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
57 if (matchedOp != opeartions.end()) { in HWTEST_F()
58 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
63 if (matchedOp != opeartions.end()) { in HWTEST_F()
64 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
96 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
98 if (matchedOp != opeartions.end()) { in HWTEST_F()
99 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
104 if (matchedOp != opeartions.end()) { in HWTEST_F()
105 ret = matchedOp in HWTEST_F()
[all...]
H A Dtools_op_help_test.cpp60 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
61 if (matchedOp != opeartions.end()) { in HWTEST_F()
62 matchedOp->Execute(mapArgToVal); in HWTEST_F()
66 if (matchedOp != opeartions.end()) { in HWTEST_F()
67 matchedOp->Execute(mapArgToVal); in HWTEST_F()
H A Dtools_op_backup_test.cpp44 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in PerformBackupOperation() local
45 if (matchedOp != opeartions.end()) { in PerformBackupOperation()
46 auto ret = matchedOp->Execute(mapArgToVal); in PerformBackupOperation()
122 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
124 if (matchedOp != opeartions.end()) { in HWTEST_F()
125 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
133 if (matchedOp != opeartions.end()) { in HWTEST_F()
134 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
142 if (matchedOp != opeartions.end()) { in HWTEST_F()
143 ret = matchedOp in HWTEST_F()
[all...]
H A Dtools_op_incremental_backup_test.cpp67 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
68 if (matchedOp != opeartions.end()) { in HWTEST_F()
69 auto ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
104 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
106 if (matchedOp != opeartions.end()) { in HWTEST_F()
107 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
115 if (matchedOp != opeartions.end()) { in HWTEST_F()
116 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
124 if (matchedOp != opeartions.end()) { in HWTEST_F()
125 ret = matchedOp in HWTEST_F()
170 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); HWTEST_F() local
[all...]
H A Dtools_op_incremental_restore_test.cpp84 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
85 if (matchedOp != opeartions.end()) { in HWTEST_F()
86 auto ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
121 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
123 if (matchedOp != opeartions.end()) { in HWTEST_F()
124 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
132 if (matchedOp != opeartions.end()) { in HWTEST_F()
133 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
141 if (matchedOp != opeartions.end()) { in HWTEST_F()
142 ret = matchedOp in HWTEST_F()
186 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); HWTEST_F() local
[all...]
H A Dtools_op_restore_async_test.cpp93 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
94 if (matchedOp != opeartions.end()) { in HWTEST_F()
95 auto ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
134 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
135 if (matchedOp != opeartions.end()) { in HWTEST_F()
136 auto ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
174 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
176 if (matchedOp != opeartions.end()) { in HWTEST_F()
177 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
182 if (matchedOp ! in HWTEST_F()
[all...]
H A Dtools_op_test.cpp144 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
145 if (matchedOp != opeartions.end()) { in HWTEST_F()
146 matchedOp->Execute(mapArgToVal); in HWTEST_F()
H A Dtools_op_restore_test.cpp90 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
91 if (matchedOp != opeartions.end()) { in HWTEST_F()
92 auto ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
178 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in HWTEST_F() local
180 if (matchedOp != opeartions.end()) { in HWTEST_F()
181 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
187 if (matchedOp != opeartions.end()) { in HWTEST_F()
188 ret = matchedOp->Execute(mapArgToVal); in HWTEST_F()
193 if (matchedOp != opeartions.end()) { in HWTEST_F()
194 ret = matchedOp in HWTEST_F()
[all...]
/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dmain.cpp109 auto matchedOp = find_if(opeartions.begin(), opeartions.end(), tryOpSucceed); in ParseOpAndExecute() local
110 if (matchedOp != opeartions.end()) { in ParseOpAndExecute()
111 vector<ToolsOp::CmdInfo> argList = matchedOp->GetParams(); in ParseOpAndExecute()
114 flag = matchedOp->Execute(mapNameToArgs.value()); in ParseOpAndExecute()

Completed in 5 milliseconds