Hi,
I have another question
about tycho surefire.
I wrote a test project
for one of my plugins. The plugin is build successfully but
when the testplugin should be executed surefire comes up
with this exception:
Failed to execute goal
org.eclipse.tycho:tycho-surefire-plugin:1.2.0:test
(default-test) on project server.tests: An unexpected error
occured while launching the test runtime (return code 13).
Where
ca I find more information about the possible failure?
The
mentioned logfile in “work\data\.metadata\.log”
does not exist.
The Test is just as
simple as:
package server.tests;
import org.junit.Test;
import
static org.junit.Assert.assertTrue;
/**
*
@author Stefan Nöbauer
*/
public
class BlaBlaTest {
@Test
public
void isBlablaTest() {
assertTrue(true);
}
}
Manifest.mf
Manifest-Version:
1.0
Bundle-ManifestVersion:
2
Bundle-Name:
Tests
Bundle-SymbolicName:
server.tests
Bundle-Version:
1.0.0.qualifier
Bundle-Vendor:
KGU
Fragment-Host:
com.teamcenter.presentation.contmgmt.server;bundle-version="1.0.0"
Automatic-Module-Name:
server.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.junit;bundle-version="4.12.0"
Export-Package:
server.tests
When I select a
different host plugin the test plugin “server.tests” is
executed fine!
Regards
Stefan