コード例 #1
0
 @Deployment
 public static WebArchive archiveWithDefaultRootUI() {
   return ArchiveProvider.createWebArchive(
       "default",
       InstrumentedUI.class,
       InstrumentedView.class,
       ScopedInstrumentedView.class,
       ViewWithoutAnnotation.class,
       RootUI.class,
       SecondUI.class,
       UnsecuredUI.class,
       WithAnnotationRegisteredView.class,
       UIWithCDISelfListener.class,
       UIWithCDIDependentListener.class,
       DependentCDIEventListener.class,
       InterceptedUI.class,
       InstrumentedInterceptor.class,
       InterceptedBean.class,
       RestrictedView.class,
       PlainUI.class,
       ParameterizedNavigationUI.class,
       EnterpriseUI.class,
       Boundary.class,
       SubUI.class,
       PlainAlternativeUI.class,
       NoViewProviderNavigationUI.class);
 }
コード例 #2
0
 @Deployment(name = "customURIMapping")
 public static WebArchive archiveWithCustomURIMapping() {
   return ArchiveProvider.createWebArchive("custom", RootWithCustomMappingUI.class);
 }
コード例 #3
0
 @Deployment(name = "uiPathCollision", managed = false)
 public static WebArchive multipleUIsWithSamePath() {
   return ArchiveProvider.createWebArchive(
       "uiPathCollision", PathCollisionUI.class, AnotherPathCollisionUI.class);
 }
コード例 #4
0
 @Deployment(name = "alternativeUiPathCollision")
 public static WebArchive alternativeAndActiveWithSamePath() {
   return ArchiveProvider.createWebArchive(
       "alternativeUiPathCollision", PlainUI.class, PlainColidingAlternativeUI.class);
 }
コード例 #5
0
 @Deployment(name = "multipleRoots", managed = false)
 public static WebArchive multipleRootsInWar() {
   return ArchiveProvider.createWebArchive(
       "multipleroots", RootWithCustomMappingUI.class, RootUI.class);
 }