From 0d60e1e5b8fc24fa07a8eeb89c4110018428a3e3 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 29 Sep 2009 00:00:54 +0000 Subject: Remove session/conversation/request scope tests git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819776 13f79535-47bb-0310-9956-ffa450edef68 --- .../introspect/impl/ScopeProcessorTestCase.java | 36 ---------------------- 1 file changed, 36 deletions(-) (limited to 'java/sca/modules') 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 @@ -45,30 +45,6 @@ public class ScopeProcessorTestCase { assertEquals(JavaScopeImpl.COMPOSITE, type.getJavaScope()); } - @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()); @@ -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 { } -- cgit v1.2.3