Author: jharting
Date: 2009-07-22 08:47:59 -0400 (Wed, 22 Jul 2009)
New Revision: 3127
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/clientProxy/ClientProxyTest.java
Log:
Recognized tests matching Chapter 5 assertions
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java 2009-07-22
10:37:56 UTC (rev 3126)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/initializer/InitializerMethodTest.java 2009-07-22
12:47:59 UTC (rev 3127)
@@ -39,9 +39,9 @@
@Test(groups = { "initializerMethod" })
@SpecAssertions({
@SpecAssertion(section = "3.8", id = "g"),
- @SpecAssertion(section = "5.5", id = "b"),
@SpecAssertion(section = "3.8.1", id = "a"),
- @SpecAssertion(section = "3.8.2", id = "aa")
+ @SpecAssertion(section = "3.8.2", id = "aa"),
+ @SpecAssertion(section = "5.6.4", id = "b")
})
public void testMultipleInitializerMethodsAreCalled()
{
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java 2009-07-22
10:37:56 UTC (rev 3126)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/implementation/simple/lifecycle/SimpleBeanLifecycleTest.java 2009-07-22
12:47:59 UTC (rev 3127)
@@ -35,7 +35,8 @@
@SpecAssertions({
@SpecAssertion(section = "3.1.4.2", id = "b"),
@SpecAssertion(section = "3.1.4.2", id = "c"),
- @SpecAssertion(section = "2.3.5", id = "d")
+ @SpecAssertion(section = "2.3.5", id = "d"),
+ @SpecAssertion(section = "5.6.3", id = "a")
})
public void testInjectionOfParametersIntoBeanConstructor()
{
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/clientProxy/ClientProxyTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/clientProxy/ClientProxyTest.java 2009-07-22
10:37:56 UTC (rev 3126)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/clientProxy/ClientProxyTest.java 2009-07-22
12:47:59 UTC (rev 3127)
@@ -43,23 +43,6 @@
}
@Test
- @SpecAssertion(section = "5.5", id = "a")
- public void testClientProxyNotUsedForPseudoScope() throws Exception
- {
- new RunInDependentContext()
- {
- @Override
- protected void execute() throws Exception
- {
- Bean<Fox> foxBean = getBeans(Fox.class).iterator().next();
- Fox fox = (Fox) getCurrentManager().getReference(foxBean,Fox.class,
getCurrentManager().createCreationalContext(foxBean));
- assert !getCurrentConfiguration().getBeans().isProxy(fox);
- }
-
- }.run();
- }
-
- @Test
@SpecAssertion(section = "unknown", id = "unknown")
public void testSimpleBeanClientProxyIsSerializable() throws IOException,
ClassNotFoundException
{