Hi together, I finally got it working. One test case really seems to be broken!
Several additional modules are needed for unit testing (parsing.nb, java.source.base) And yes, also nb-javac is still needed! ;-) Regards Benjamin On 22.04.2020 15:08, Hector Espert wrote: > I don't know if they are runnable, probably, not. > > A piece of advice, check if this folder exists: > https://github.com/apache/netbeans/blob/4d61753a0600bb555a4fea5a1f0b29f1b909dd5b/enterprise/websvc.editor.hints/nbproject/project.properties#L20 > > El mié., 22 abr. 2020 a las 14:31, Benjamin Graf (<benjamin.g...@gmx.net>) > escribió: > >> Hi everybody, >> >> I try to add a new test case to a unit test in >> org.netbeans.modules.websvc.editor.hints but the whole test suite actually >> fails with an exception. >> >> Testcase: >> testRPCStyleWrappedParameterStyle(org.netbeans.modules.websvc.editor.hints.WSHintsTest): >> Caused an ERROR >> EnvironmentFactory missing >> java.lang.UnsupportedOperationException: EnvironmentFactory missing >> at >> org.netbeans.modules.parsing.impl.Utilities.getEnvFactory(Utilities.java:209) >> at >> org.netbeans.modules.parsing.impl.Utilities.createEnvironment(Utilities.java:216) >> at org.netbeans.modules.parsing.api.Source.<init>(Source.java:530) >> at org.netbeans.modules.parsing.api.Source.<init>(Source.java:99) >> at >> org.netbeans.modules.parsing.api.Source$MySourceAccessor.create(Source.java:868) >> at >> org.netbeans.modules.parsing.implspi.SourceFactory.newSource(SourceFactory.java:66) >> at >> org.netbeans.modules.parsing.implspi.SourceFactory$DefaultSourceFactory.createSource(SourceFactory.java:84) >> at org.netbeans.modules.parsing.api.Source._get(Source.java:539) >> at org.netbeans.modules.parsing.api.Source.create(Source.java:120) >> at org.netbeans.api.java.source.JavaSource.<init>(JavaSource.java:375) >> at org.netbeans.api.java.source.JavaSource._create(JavaSource.java:193) >> at >> org.netbeans.api.java.source.JavaSource.forFileObject(JavaSource.java:318) >> at >> org.netbeans.modules.websvc.editor.hints.WSHintsTestBase.testRule(WSHintsTestBase.java:102) >> at >> org.netbeans.modules.websvc.editor.hints.WSHintsTest.testRPCStyleWrappedParameterStyle(WSHintsTest.java:89) >> at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:77) >> at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:460) >> at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:386) >> at java.lang.Thread.run(Thread.java:748) >> >> >> Does anybody know if they actually are runable at all? >> >> Regards >> >> Benjamin >>
signature.asc
Description: OpenPGP digital signature