summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java
index 4e05deae82..758584221d 100644
--- a/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java
+++ b/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java
@@ -46,30 +46,6 @@ public class ScopeProcessorTestCase {
}
@Test
- public void testSessionScope() throws IntrospectionException {
- ScopeProcessor processor = new ScopeProcessor(new DefaultAssemblyFactory());
- JavaImplementation type = javaImplementationFactory.createJavaImplementation();
- processor.visitClass(Session.class, type);
- assertEquals(JavaScopeImpl.INVALID, type.getJavaScope());
- }
-
- @Test
- public void testConversationalScope() throws IntrospectionException {
- ScopeProcessor processor = new ScopeProcessor(new DefaultAssemblyFactory());
- JavaImplementation type = javaImplementationFactory.createJavaImplementation();
- processor.visitClass(Conversation.class, type);
- assertEquals(JavaScopeImpl.INVALID, type.getJavaScope());
- }
-
- @Test
- public void testRequestScope() throws IntrospectionException {
- ScopeProcessor processor = new ScopeProcessor(new DefaultAssemblyFactory());
- JavaImplementation type = javaImplementationFactory.createJavaImplementation();
- processor.visitClass(Request.class, type);
- assertEquals(JavaScopeImpl.INVALID, type.getJavaScope());
- }
-
- @Test
public void testStatelessScope() throws IntrospectionException {
ScopeProcessor processor = new ScopeProcessor(new DefaultAssemblyFactory());
JavaImplementation type = javaImplementationFactory.createJavaImplementation();
@@ -94,18 +70,6 @@ public class ScopeProcessorTestCase {
private class Composite {
}
- @org.oasisopen.sca.annotation.Scope("SESSION")
- private class Session {
- }
-
- @org.oasisopen.sca.annotation.Scope("CONVERSATION")
- private class Conversation {
- }
-
- @org.oasisopen.sca.annotation.Scope("REQUEST")
- private class Request {
- }
-
@org.oasisopen.sca.annotation.Scope("STATELESS")
private class Stateless {
}