Skip to content

Commit c5fa199

Browse files
committed
fix(devti): migrate test data generation action to use AI
The test data generation action has been refactored to leverage AI capabilities for more efficient and customizable data generation. This change includes updating the action ID, class name, and package to reflect the new 'devti' (development tooling) module, and integrating the action with the 'ChatActionType' for seamless integration with our AI-based chat system.
1 parent 3f2a973 commit c5fa199

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/222/main/resources/META-INF/autodev-core.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@
216216
description="Ask AI write this code">
217217
</action>
218218

219-
<action id="cc.unitmesh.idea.actions.GenTestDataAction"
220-
class="cc.unitmesh.idea.actions.GenTestDataAction" text="Generate Test Data (APIs)"
219+
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
220+
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
221221
description="Ask AI generate test data">
222222

223223
<add-to-group group-id="GenerateGroup" anchor="last"/>

src/233/main/resources/META-INF/autodev-core.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@
221221
description="Ask AI write this code">
222222
</action>
223223

224-
<action id="cc.unitmesh.idea.actions.GenTestDataAction"
225-
class="cc.unitmesh.idea.actions.GenTestDataAction" text="Generate Test Data (APIs)"
224+
<action id="cc.unitmesh.devti.actions.chat.GenTestDataAction"
225+
class="cc.unitmesh.devti.actions.chat.GenTestDataAction" text="Generate Test Data (APIs)"
226226
description="Ask AI generate test data">
227227

228228
<add-to-group group-id="GenerateGroup" anchor="last"/>

java/src/main/kotlin/cc/unitmesh/idea/actions/GenTestDataAction.kt renamed to src/main/kotlin/cc/unitmesh/devti/actions/chat/GenTestDataAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package cc.unitmesh.idea.actions
1+
package cc.unitmesh.devti.actions.chat
22

33
import cc.unitmesh.devti.actions.chat.base.ChatBaseAction
44
import cc.unitmesh.devti.gui.chat.ChatActionType

0 commit comments

Comments
 (0)