Search in sources :

Example 1 with ResourceRichFacesImpl

use of com.liferay.faces.bridge.application.internal.ResourceRichFacesImpl in project liferay-faces-bridge-impl by liferay.

the class ResourceRichFacesImplTest method assertResourceRichFacesImplRequestPathEquals.

private static void assertResourceRichFacesImplRequestPathEquals(String expectedRequestPath, String providedRequestPath) {
    Resource resource = new ResourceMockImpl(providedRequestPath);
    resource = new ResourceRichFacesImpl(resource);
    Assert.assertEquals(expectedRequestPath, resource.getRequestPath());
}
Also used : Resource(javax.faces.application.Resource) ResourceRichFacesImpl(com.liferay.faces.bridge.application.internal.ResourceRichFacesImpl)

Aggregations

ResourceRichFacesImpl (com.liferay.faces.bridge.application.internal.ResourceRichFacesImpl)1 Resource (javax.faces.application.Resource)1