Commit Graph
46 Commits
Author SHA1 Message Date
liumengyi 5de9c89ecd * [unittest] modify unittest for zanodeModel::getNodeByMac. 2025-06-06 16:15:50 +08:00
liumengyi d4d7f51f5b * [unittest] modify unittest for zanodeModel::getNodeByID. 2025-06-06 16:15:50 +08:00
caoyanyi 753bcabd70 * [unittest] adjust zanode unit test case. 2025-06-06 13:19:38 +08:00
liyang b6ab5a4147 * [task#125049, doing, 1h] Fix unit test for zanode. 2024-08-08 15:23:36 +08:00
liyang 354c300c86 * Modify unit test directory structure and data generation method. 2024-04-22 14:25:50 +08:00
caoyanyi 9cc09ae70c * Adjust zanode and zahost unit test case. 2024-03-15 16:57:02 +08:00
xieqiyu 9751261573 + Add the test file of linkAgentService. 2023-12-28 09:43:12 +08:00
xieqiyu 3da26a490e * Add the test file for updateImageStatus. 2023-12-28 09:20:06 +08:00
xieqiyu 970c1ccf10 * Delete unused test unit. 2023-12-28 09:20:06 +08:00
xieqiyu 0d0e15dc00 * Refatcor zanodeModel::getVncUrl. 2023-12-27 15:49:33 +08:00
xieqiyu 13fdb22f80 * Modify the test file of createSnapshot. 2023-12-27 15:25:58 +08:00
xieqiyu 0941f61b06 * Refactor zanodeModel::deleteSnapshot. 2023-12-27 14:50:47 +08:00
xieqiyu bf4e2d991e * Refactore zanodeModel::restoreSnapshot. 2023-12-27 14:06:03 +08:00
wangxuepeng fd3b3478b6 * Refactor zanode::destroy. 2023-12-27 13:50:41 +08:00
wangxuepeng e65da8db06 * Correnct unit test for zanode. 2023-12-27 13:50:40 +08:00
wangxuepeng 09d06f070d * Refactor zanodeModel::createImage. 2023-12-27 13:50:40 +08:00
xieqiyu 474b89f456 * Modify the test file of createsnapshot. 2023-12-27 10:49:32 +08:00
xieqiyu 9d10cb7814 * Modify the test file error. 2023-12-27 09:53:08 +08:00
xieqiyu 6473dd254d + Add extract fo create. 2023-12-26 21:25:24 +08:00
xieqiyu 6927587203 * Refactor zanodeModel::editSnapshot. 2023-12-26 21:22:57 +08:00
xieqiyu c5e8a4ce26 * Refactor zanodeModel::createDefaultSnapshot. 2023-12-26 20:48:47 +08:00
xieqiyu 0c9c2dc293 * Add the test file of createSnapshot. 2023-12-26 20:23:17 +08:00
liumengyi bf905a652c * Refactor zahostModel::getImageByID, and add its unit test. 2023-12-26 19:13:07 +08:00
liumengyi 51c853770b * Refactor zanodeModel::getCustomImage, and add its unit test. 2023-12-26 19:02:41 +08:00
liumengyi 5e4074f324 * Refactor zanodeModel::getSnapshotList, and add its unit test. 2023-12-26 18:40:28 +08:00
liumengyi 4d6dd9621d * Refactor zanodeModel::getNodeByID, and add its unit test, modify releated unit test. 2023-12-26 17:29:56 +08:00
liumengyi c91c2656d7 * Refactor zanodeModel::getNodeByMac, and add its unit test. 2023-12-26 16:34:34 +08:00
wangxuepeng 977b808b5e - Remove zanodeModel::updateHostByCallback. 2023-12-26 16:32:32 +08:00
xieqiyu 04331e7b3d * Refactor zanodeModel::create. 2023-12-26 16:22:35 +08:00
wangxuepeng d6a8215976 * Refactor zanodeModel::update. 2023-12-26 16:14:05 +08:00
liumengyi 6d58dcac92 * Modify comment. 2023-12-26 16:05:51 +08:00
liumengyi 65b0f318b4 * Remove unused function of zanodeModel::getScriptByID. 2023-12-26 15:42:42 +08:00
liumengyi 5db1b2fc67 * Refactor zanodeModel::getAutomationByProduct, and add its unit test. 2023-12-26 15:38:05 +08:00
liumengyi 54923e6f5e * Modify unit test result. 2023-12-26 15:34:32 +08:00
liumengyi ffbb78e31c * Refactor zanodeModel::getAutomationByID, and add its unit test. 2023-12-26 15:30:10 +08:00
wangxuepeng ec15cfff6f * Correct unit test for zanode. 2023-12-26 15:18:34 +08:00
liumengyi 8e6a95a8f4 * Modify comment. 2023-12-26 14:53:27 +08:00
liumengyi 094cea1dc2 * Refactor zanodeModel::setAutomationSetting, and add its unit test. 2023-12-26 14:48:07 +08:00
wangxuepeng 3f86ecb772 - Remove zanodeModel::getList. 2023-12-26 14:19:00 +08:00
wangxuepeng 6a034439cb * Refactor zanodeModel::getListByQuery. 2023-12-26 14:11:41 +08:00
liumengyi 252a0176f0 * Modify function name. 2023-12-26 13:42:10 +08:00
liumengyi fec05420fc * Refactor zanodeModel::isClickable, and add its unit test. 2023-12-26 13:26:04 +08:00
wangxuepeng 1859836392 * Refactor zaNodeModel::getPairs. 2023-12-26 09:57:33 +08:00
wangxuepeng 9d38e92bfa * Refactor zaNodeModel::getListByHost. 2023-12-25 14:33:32 +08:00
wangxuepeng fcfc1537ce * Refactor zaNodeModel::getHostByID. 2023-12-25 13:11:56 +08:00
wangxuepeng b38cc00a55 * Refactor zaNodeModel::getHostByIP. 2023-12-25 13:02:09 +08:00