[ https://issues.apache.org/jira/browse/SLING-5723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-5723: ----------------------------------- Description: Similar to {{Teleporter.withResources(...)}} also the methods # {{includeDependencyPrefix(...)}} # {{excludeDependencyPrefix(...)}} and # {{embeddedClass(...)}} should be accessible from the TeleporterRule. On server-side they should do nothing (similar to {{withResources(...)}}). Currently only a {{Customizer}} can access those via the {{ClientSideTeleporter}} class, which too often requires specific customizers. Also that allows to tweak that behaviour really per test-class and not only per {{Customizer}}. was: Similar to {{Teleporter.withResources(...)}} also the methods # {{includeDependencyPrefix(...)}} # {{excludeDependencyPrefix(...)}} and # {{embeddedClass(...)}} should be accessible from the TeleporterRule. On server-side they should do nothing (similar to {{withResources(...)}}). Currently only a {{Customizer}} can access those, which too often requires specific customizers. Also that allows to tweak that behaviour really per test-class and not only per {{Customizer}}. > includeDependencyPrefix(...), excludeDependencyPrefix(...) and > embeddedClass(...) should be accessible from Teleporter > ---------------------------------------------------------------------------------------------------------------------- > > Key: SLING-5723 > URL: https://issues.apache.org/jira/browse/SLING-5723 > Project: Sling > Issue Type: Bug > Components: Testing > Affects Versions: JUnit Tests Teleporter 1.0.6 > Reporter: Konrad Windszus > > Similar to {{Teleporter.withResources(...)}} also the methods > # {{includeDependencyPrefix(...)}} > # {{excludeDependencyPrefix(...)}} and > # {{embeddedClass(...)}} > should be accessible from the TeleporterRule. On server-side they should do > nothing (similar to {{withResources(...)}}). > Currently only a {{Customizer}} can access those via the > {{ClientSideTeleporter}} class, which too often requires specific > customizers. Also that allows to tweak that behaviour really per test-class > and not only per {{Customizer}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)