Return-Path: Delivered-To: apmail-tuscany-commits-archive@www.apache.org Received: (qmail 50133 invoked from network); 29 Sep 2009 00:01:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Sep 2009 00:01:18 -0000 Received: (qmail 38917 invoked by uid 500); 29 Sep 2009 00:01:18 -0000 Delivered-To: apmail-tuscany-commits-archive@tuscany.apache.org Received: (qmail 38854 invoked by uid 500); 29 Sep 2009 00:01:18 -0000 Mailing-List: contact commits-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list commits@tuscany.apache.org Received: (qmail 38845 invoked by uid 99); 29 Sep 2009 00:01:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 00:01:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 00:01:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D417F23889B8; Tue, 29 Sep 2009 00:00:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@tuscany.apache.org From: rfeng@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090929000054.D417F23889B8@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 { }