tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r819776 - /tuscany/java/sca/modules/implementation-java/src/test/java/org/apache/tuscany/sca/implementation/java/introspect/impl/ScopeProcessorTestCase.java
Date Tue, 29 Sep 2009 00:00:54 GMT
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 {
     }



Mime
View raw message