hi rainer, @TestControl is just needed for cdi std.-scopes. for window-aware scopes you just need to activate a logical window (see e.g. [1]).
regards, gerhard [1] https://github.com/os890/ee6-ds-demo/blob/master/src/test/java/org/os890/demo/ee6/test/PageBeanTest.java http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2014-08-19 21:18 GMT+02:00 Rainer Schön <[email protected]>: > Hi all > > I run into a problem, when using CdiTestRunner, Weld-SE (2.1.2) and > Deltaspike (1.0.1) scopes like GroupedConversationScope. Even if I start > the scopes with @TestControl(startScopes = {RequestScoped.class, > SessionScoped.class, GroupedConversationScoped.class}) the latter scope > is not available and gives me a [WELD-001303: No active contexts for scope > type org.apache.deltaspike.core.api.scope.GroupedConversationScoped] > error. > > Any ideas, how this can be solved? > > Regards, Rainer >
