Commit 5029d45cd102a6ec62bece0eae675b592fd64f83
Exists in
master
Merge branch '2.4.0' of git@github.com:demoiselle/framework.git into 2.4.0
Showing
1 changed file
with
69 additions
and
12 deletions
Show diff stats
impl/extension/jsf/src/test/java/test/Tests.java
| @@ -44,6 +44,41 @@ import org.jboss.shrinkwrap.api.spec.WebArchive; | @@ -44,6 +44,41 @@ import org.jboss.shrinkwrap.api.spec.WebArchive; | ||
| 44 | import org.jboss.shrinkwrap.resolver.api.maven.Maven; | 44 | import org.jboss.shrinkwrap.resolver.api.maven.Maven; |
| 45 | import org.junit.Ignore; | 45 | import org.junit.Ignore; |
| 46 | 46 | ||
| 47 | +import br.gov.frameworkdemoiselle.annotation.NextView; | ||
| 48 | +import br.gov.frameworkdemoiselle.annotation.PreviousView; | ||
| 49 | +import br.gov.frameworkdemoiselle.annotation.Redirect; | ||
| 50 | +import br.gov.frameworkdemoiselle.internal.bootstrap.JsfBootstrap; | ||
| 51 | +import br.gov.frameworkdemoiselle.internal.configuration.ExceptionHandlerConfig; | ||
| 52 | +import br.gov.frameworkdemoiselle.internal.configuration.JsfSecurityConfig; | ||
| 53 | +import br.gov.frameworkdemoiselle.internal.context.ViewContext; | ||
| 54 | +import br.gov.frameworkdemoiselle.internal.implementation.AbstractExceptionHandler; | ||
| 55 | +import br.gov.frameworkdemoiselle.internal.implementation.ApplicationExceptionHandler; | ||
| 56 | +import br.gov.frameworkdemoiselle.internal.implementation.ApplicationExceptionHandlerFactory; | ||
| 57 | +import br.gov.frameworkdemoiselle.internal.implementation.AuthenticationExceptionHandler; | ||
| 58 | +import br.gov.frameworkdemoiselle.internal.implementation.AuthenticationExceptionHandlerFactory; | ||
| 59 | +import br.gov.frameworkdemoiselle.internal.implementation.AuthorizationExceptionHandler; | ||
| 60 | +import br.gov.frameworkdemoiselle.internal.implementation.AuthorizationExceptionHandlerFactory; | ||
| 61 | +import br.gov.frameworkdemoiselle.internal.implementation.FacesMessageAppender; | ||
| 62 | +import br.gov.frameworkdemoiselle.internal.implementation.FileRendererImpl; | ||
| 63 | +import br.gov.frameworkdemoiselle.internal.implementation.ParameterImpl; | ||
| 64 | +import br.gov.frameworkdemoiselle.internal.implementation.RedirectExceptionHandler; | ||
| 65 | +import br.gov.frameworkdemoiselle.internal.implementation.RedirectExceptionHandlerFactory; | ||
| 66 | +import br.gov.frameworkdemoiselle.internal.implementation.SecurityObserver; | ||
| 67 | +import br.gov.frameworkdemoiselle.internal.procuder.ParameterProducer; | ||
| 68 | +import br.gov.frameworkdemoiselle.internal.proxy.FacesContextProxy; | ||
| 69 | +import br.gov.frameworkdemoiselle.template.AbstractEditPageBean; | ||
| 70 | +import br.gov.frameworkdemoiselle.template.AbstractListPageBean; | ||
| 71 | +import br.gov.frameworkdemoiselle.template.AbstractPageBean; | ||
| 72 | +import br.gov.frameworkdemoiselle.template.EditPageBean; | ||
| 73 | +import br.gov.frameworkdemoiselle.template.ListPageBean; | ||
| 74 | +import br.gov.frameworkdemoiselle.template.PageBean; | ||
| 75 | +import br.gov.frameworkdemoiselle.util.Faces; | ||
| 76 | +import br.gov.frameworkdemoiselle.util.FileRenderer; | ||
| 77 | +import br.gov.frameworkdemoiselle.util.Locales; | ||
| 78 | +import br.gov.frameworkdemoiselle.util.PageNotFoundException; | ||
| 79 | +import br.gov.frameworkdemoiselle.util.Parameter; | ||
| 80 | +import br.gov.frameworkdemoiselle.util.Redirector; | ||
| 81 | + | ||
| 47 | @Ignore | 82 | @Ignore |
| 48 | public final class Tests { | 83 | public final class Tests { |
| 49 | 84 | ||
| @@ -60,18 +95,40 @@ public final class Tests { | @@ -60,18 +95,40 @@ public final class Tests { | ||
| 60 | 95 | ||
| 61 | return ShrinkWrap | 96 | return ShrinkWrap |
| 62 | .create(WebArchive.class) | 97 | .create(WebArchive.class) |
| 63 | - // .addClass(ServletAuthenticator.class) | ||
| 64 | - // .addClass(ServletAuthorizer.class) | ||
| 65 | - // .addClass(ServletFilter.class) | ||
| 66 | - // .addClass(ServletListener.class) | ||
| 67 | - // .addClass(HttpServletRequestProducer.class) | ||
| 68 | - // .addClass(HttpServletResponseProducer.class) | ||
| 69 | - // .addClass(HttpSessionProducer.class) | ||
| 70 | - // .addClass(ServletLocaleProducer.class) | ||
| 71 | - // .addClass(BasicAuthenticationFilter.class) | ||
| 72 | - // .addClass(HttpServletRequestProducerFilter.class) | ||
| 73 | - // .addClass(HttpServletResponseProducerFilter.class) | ||
| 74 | - // .addClass(InternalProcessorFilterImpl.class) | 98 | + .addClass(PageNotFoundException.class) |
| 99 | + .addClass(Locales.class) | ||
| 100 | + .addClass(Parameter.class) | ||
| 101 | + .addClass(Faces.class) | ||
| 102 | + .addClass(Redirector.class) | ||
| 103 | + .addClass(FileRenderer.class) | ||
| 104 | + .addClass(JsfSecurityConfig.class) | ||
| 105 | + .addClass(ExceptionHandlerConfig.class) | ||
| 106 | + .addClass(ViewContext.class) | ||
| 107 | + .addClass(AuthorizationExceptionHandlerFactory.class) | ||
| 108 | + .addClass(ApplicationExceptionHandler.class) | ||
| 109 | + .addClass(FileRendererImpl.class) | ||
| 110 | + .addClass(SecurityObserver.class) | ||
| 111 | + .addClass(FacesMessageAppender.class) | ||
| 112 | + .addClass(RedirectExceptionHandler.class) | ||
| 113 | + .addClass(AuthenticationExceptionHandlerFactory.class) | ||
| 114 | + .addClass(AuthenticationExceptionHandler.class) | ||
| 115 | + .addClass(ApplicationExceptionHandlerFactory.class) | ||
| 116 | + .addClass(ParameterImpl.class) | ||
| 117 | + .addClass(AuthorizationExceptionHandler.class) | ||
| 118 | + .addClass(RedirectExceptionHandlerFactory.class) | ||
| 119 | + .addClass(AbstractExceptionHandler.class) | ||
| 120 | + .addClass(FacesContextProxy.class) | ||
| 121 | + .addClass(JsfBootstrap.class) | ||
| 122 | + .addClass(ParameterProducer.class) | ||
| 123 | + .addClass(AbstractPageBean.class) | ||
| 124 | + .addClass(ListPageBean.class) | ||
| 125 | + .addClass(AbstractListPageBean.class) | ||
| 126 | + .addClass(AbstractEditPageBean.class) | ||
| 127 | + .addClass(PageBean.class) | ||
| 128 | + .addClass(EditPageBean.class) | ||
| 129 | + .addClass(PreviousView.class) | ||
| 130 | + .addClass(Redirect.class) | ||
| 131 | + .addClass(NextView.class) | ||
| 75 | .addAsResource(createFileAsset("src/main/resources/demoiselle-jsf-bundle.properties"), | 132 | .addAsResource(createFileAsset("src/main/resources/demoiselle-jsf-bundle.properties"), |
| 76 | "demoiselle-jsf-bundle.properties") | 133 | "demoiselle-jsf-bundle.properties") |
| 77 | .addAsWebInfResource(createFileAsset("src/test/resources/test/beans.xml"), "beans.xml") | 134 | .addAsWebInfResource(createFileAsset("src/test/resources/test/beans.xml"), "beans.xml") |