mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
[devkit] Extension attributes: support Integer, cleanup
GitOrigin-RevId: e874942961803b0ad33fbaea1f3f79c5635c8502
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d24ad8a703
commit
668b4c0707
@@ -32,8 +32,11 @@
|
||||
|
||||
<myService serviceImplementation="foo.MyRunnable" os="mac"/>
|
||||
|
||||
<myService serviceImplementation="foo.MyRunnable" timeUnit="seconds"/>
|
||||
<myService serviceImplementation="foo.MyRunnable" timeUnit="<error descr="Cannot resolve 'INVALID_VALUE' in java.util.concurrent.TimeUnit">INVALID_VALUE</error>"/>
|
||||
<myService serviceImplementation="foo.MyRunnable" timeUnit="seconds" integerNullable="<error descr="Cannot convert empty string to target class 'java.lang.Integer'"></error>" intProperty="42"/>
|
||||
<myService serviceImplementation="foo.MyRunnable" timeUnit="<error descr="Cannot resolve 'INVALID_VALUE' in java.util.concurrent.TimeUnit">INVALID_VALUE</error>"
|
||||
integerNullable="<error descr="Cannot convert string 'INVALID_VALUE' to target class 'java.lang.Integer'">INVALID_VALUE</error>"
|
||||
intProperty="<error descr="Cannot convert string 'INVALID_VALUE' to target class 'java.lang.Integer'">INVALID_VALUE</error>"
|
||||
/>
|
||||
|
||||
<myPlugin.foo.bar implementation="java.util.ArrayList" os="<error descr="Unknown enum value 'INVALID_VALUE'">INVALID_VALUE</error>"/>
|
||||
<completion.contributor/>
|
||||
|
||||
@@ -161,7 +161,9 @@ class PluginXmlFunctionalTest extends JavaCodeInsightFixtureTestCase {
|
||||
"import com.intellij.util.xmlb.annotations.Attribute; " +
|
||||
"public class MyServiceDescriptor { " +
|
||||
" @Attribute public String serviceImplementation; " +
|
||||
" @Attribute public java.util.concurrent.TimeUnit timeUnit;" +
|
||||
" @Attribute public java.util.concurrent.TimeUnit timeUnit; " +
|
||||
" @Attribute public java.lang.Integer integerNullable; " +
|
||||
" @Attribute public int intProperty; " +
|
||||
"}")
|
||||
|
||||
configureByFile()
|
||||
|
||||
Reference in New Issue
Block a user