vaadin / flow

Vaadin Flow is a Java framework binding Vaadin web components to Java. This is part of Vaadin 10+.
Apache License 2.0
603 stars 165 forks source link

OSGi: enable AttachExistingElementIT test for OSGi #4423

Open denis-anisimov opened 6 years ago

denis-anisimov commented 6 years ago

This is a part of failing OSGi tests epic.

AttachExistingElementIT fails in OSGi. The reason should be investigated and test should be enabled.

denis-anisimov commented 5 years ago

The reason is not accessible internal Flow classes for the test bundle. So the classes which are used in the View code can't be loaded by the test bundle.

The test itself should work once all the classes are accissible.

So there is either lacking package in the export header in the flow-server bundle or the package is not imported by the test bundle manifest (I think there is a special declaration which excludes the package from import header).

So this hopefully should be just one line fix in the manifest bnd template file.