You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2009/09/29 02:00:54 UTC

svn commit: r819776 - /tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java

Author: rfeng
Date: Tue Sep 29 00:00:54 2009
New Revision: 819776

URL: http://svn.apache.org/viewvc?rev=819776&view=rev
Log:
Remove session/conversation/request scope tests

Modified:
    tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java

Modified: tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java?rev=819776&r1=819775&r2=819776&view=diff
==============================================================================
--- tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java (original)
+++ tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java Tue Sep 29 00:00:54 2009
@@ -46,30 +46,6 @@
     }
 
     @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 @@
     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 {
     }