Author: pete.muir(a)jboss.org
Date: 2009-06-26 11:53:39 -0400 (Fri, 26 Jun 2009)
New Revision: 2901
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/ExtensionsTest.java
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/DeploymentTest.java
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken2/AfterBeanDiscoveryFailureTest.java
Log:
Tests need a lot more work
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/DeploymentTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/DeploymentTest.java 2009-06-26
12:41:22 UTC (rev 2900)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/DeploymentTest.java 2009-06-26
15:53:39 UTC (rev 2901)
@@ -27,6 +27,8 @@
* Tests related to the final deployment phase of the lifecycle.
*
* Spec version: 20090519 (sort of)
+ *
+ * PLM: THis test is a total mess and needs rewriting for 20090519 :-)
*
* @author David Allen
*/
@@ -34,11 +36,12 @@
public class DeploymentTest extends AbstractJSR299Test
{
@Test
- @SpecAssertions({
- @SpecAssertion(section = "11.5.2", id = "a"),
- @SpecAssertion(section = "11.5.3", id = "a"),
- @SpecAssertion(section = "11.5.3", id = "d")
- })
+ @SpecAssertion(id="unknown", section="unknown")
+// @SpecAssertions({
+// @SpecAssertion(section = "11.5.2", id = "a"),
+// @SpecAssertion(section = "11.5.3", id = "a"),
+// @SpecAssertion(section = "11.5.3", id = "d")
+// })
public void testDeployedManagerEvent()
{
assert ManagerObserver.isManagerDeployed();
@@ -58,9 +61,10 @@
}
@Test(groups = { "ri-broken" })
- @SpecAssertions({
- @SpecAssertion(section = "11.2", id = "ac")
- })
+ @SpecAssertion(id="unknown", section="unknown")
+// @SpecAssertions({
+// @SpecAssertion(section = "11.2", id = "ac")
+// })
public void testOnlyEnabledBeansDeployed()
{
assert !getBeans(User.class).isEmpty();
Added:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/ExtensionsTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/ExtensionsTest.java
(rev 0)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/ExtensionsTest.java 2009-06-26
15:53:39 UTC (rev 2901)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
http://www.apache.org/licenses/LICENSE-2.0
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.jboss.jsr299.tck.tests.deployment.lifecycle;
+
+import org.jboss.jsr299.tck.AbstractJSR299Test;
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.testng.annotations.Test;
+
+/**
+ * @author pmuir
+ *
+ */
+@Artifact
+public class ExtensionsTest extends AbstractJSR299Test
+{
+
+ @Test
+ public void testBeforeBeanDiscoveryEventIsCalled()
+ {
+
+ }
+
+}
Property changes on:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/ExtensionsTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified:
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken2/AfterBeanDiscoveryFailureTest.java
===================================================================
---
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken2/AfterBeanDiscoveryFailureTest.java 2009-06-26
12:41:22 UTC (rev 2900)
+++
tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/deployment/lifecycle/broken2/AfterBeanDiscoveryFailureTest.java 2009-06-26
15:53:39 UTC (rev 2901)
@@ -44,7 +44,6 @@
@SpecAssertions({
@SpecAssertion(section = "11.5.2", id = "a"),
@SpecAssertion(section = "12.2", id = "e"),
- @SpecAssertion(section = "11.5.3", id = "a"),
@SpecAssertion(section = "12.2", id = "f")
})
public void testDeploymentFailsDuringValidation()