Skip to content

Commit 108fcda

Browse files
committed
fix: fix tests
1 parent adbdf81 commit 108fcda

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22
propertiesPluginEnvironmentNameProperty=platformVersion
33
# Supported platforms: 222, 233, 241
4-
platformVersion=241
4+
platformVersion=233
55

66
pluginGroup = com.phodal.autodev
77
pluginName = AutoDev

pycharm/src/test/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<idea-plugin package="cc.unitmesh" xmlns:xi="http://www.w3.org/2001/XInclude">
1+
<idea-plugin package="cc.unitmesh.python-test" xmlns:xi="http://www.w3.org/2001/XInclude">
22
<id>cc.unitmesh.devti</id>
33

44
<xi:include href="/META-INF/autodev-core.xml" xpointer="xpointer(/idea-plugin/*)"/>

rust/src/233/test/kotlin/cc/unitmesh/rust/context/RustClassContextBuilderTest.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ class RustClassContextBuilderTest: BasePlatformTestCase() {
3434
// when
3535
val decl = PsiTreeUtil.getChildrenOfTypeAsList(code, RsStructItem::class.java).first()
3636

37-
ApplicationManager.getApplication().extensionArea.registerExtensionPoint(
38-
"cc.unitmesh.variableContextBuilder",
39-
"cc.unitmesh.devti.context.builder.VariableContextBuilder",
40-
ExtensionPoint.Kind.BEAN_CLASS,
41-
true
42-
)
43-
4437
// then
4538
val result = RustClassContextBuilder().getClassContext(decl, false)!!
4639
assertEquals("Entry", result.name)

rust/src/test/resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<idea-plugin package="cc.unitmesh" xmlns:xi="http://www.w3.org/2001/XInclude">
1+
<idea-plugin package="cc.unitmesh.rust-test" xmlns:xi="http://www.w3.org/2001/XInclude">
22
<id>cc.unitmesh.devti</id>
33
<xi:include href="/META-INF/autodev-core.xml" xpointer="xpointer(/idea-plugin/*)"/>
44

0 commit comments

Comments
 (0)