summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-29 00:00:54 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-09-29 00:00:54 +0000
commit0d60e1e5b8fc24fa07a8eeb89c4110018428a3e3 (patch)
tree407eea7a500c12137a942fb99fb43dd6c0cf0a2b /java/sca/modules
parente9c8ce586e2734306adbd9062c45c9d7e7ad8f07 (diff)
Remove session/conversation/request scope tests
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819776 13f79535-47bb-0310-9956-ffa450edef68
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 {
}