mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
[#67] Mark exported test packages as internal
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
This commit is contained in:
parent
4a0a1591a7
commit
cd9290aa30
2 changed files with 6 additions and 4 deletions
|
@ -34,7 +34,7 @@ class Junit4Fragment2 extends AbstractStubGeneratingFragment {
|
|||
testingPackage,
|
||||
"org.eclipse.xtext.xbase.lib"
|
||||
)
|
||||
exportedPackages.add(grammar.runtimeTestBasePackage)
|
||||
exportedPackages.add(grammar.runtimeTestBasePackage+";x-internal=true")
|
||||
]
|
||||
}
|
||||
if (projectConfig.eclipsePluginTest.manifest != null) {
|
||||
|
@ -43,7 +43,7 @@ class Junit4Fragment2 extends AbstractStubGeneratingFragment {
|
|||
"org.eclipse.core.runtime",
|
||||
"org.eclipse.ui.workbench;resolution:=optional"
|
||||
)
|
||||
exportedPackages.add(grammar.eclipsePluginTestBasePackage)
|
||||
exportedPackages.add(grammar.eclipsePluginTestBasePackage+";x-internal=true")
|
||||
]
|
||||
}
|
||||
if (projectConfig.eclipsePlugin.manifest != null) {
|
||||
|
|
|
@ -74,7 +74,8 @@ public class Junit4Fragment2 extends AbstractStubGeneratingFragment {
|
|||
Set<String> _exportedPackages = it.getExportedPackages();
|
||||
Grammar _grammar = this.getGrammar();
|
||||
String _runtimeTestBasePackage = this._xtextGeneratorNaming.getRuntimeTestBasePackage(_grammar);
|
||||
_exportedPackages.add(_runtimeTestBasePackage);
|
||||
String _plus = (_runtimeTestBasePackage + ";x-internal=true");
|
||||
_exportedPackages.add(_plus);
|
||||
};
|
||||
ObjectExtensions.<ManifestAccess>operator_doubleArrow(_manifest_1, _function);
|
||||
}
|
||||
|
@ -94,7 +95,8 @@ public class Junit4Fragment2 extends AbstractStubGeneratingFragment {
|
|||
Set<String> _exportedPackages = it.getExportedPackages();
|
||||
Grammar _grammar = this.getGrammar();
|
||||
String _eclipsePluginTestBasePackage = this._xtextGeneratorNaming.getEclipsePluginTestBasePackage(_grammar);
|
||||
_exportedPackages.add(_eclipsePluginTestBasePackage);
|
||||
String _plus = (_eclipsePluginTestBasePackage + ";x-internal=true");
|
||||
_exportedPackages.add(_plus);
|
||||
};
|
||||
ObjectExtensions.<ManifestAccess>operator_doubleArrow(_manifest_3, _function_1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue