Skip to content

Commit

Permalink
Removed tests duplicated in TCK
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@3267 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
jharting committed Jul 27, 2009
1 parent dbeb26f commit b76d63e
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 374 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Expand Up @@ -8,33 +8,6 @@
public class CircularDependencyTest extends AbstractWebBeansTest
{


@Test
public void testCircularInjectionOnTwoNormalBeans() throws Exception
{
getCurrentManager().getInstanceByType(Pig.class).getName();
assert Pig.success;
assert Food.success;
}

@Test
public void testCircularInjectionOnOneNormalAndOneDependentBean() throws Exception
{

getCurrentManager().getInstanceByType(Car.class).getName();
assert Petrol.success;
assert Car.success;
}

@Test
public void testCircularInjectionOnOneDependentAndOneNormalBean() throws Exception
{
getCurrentManager().getInstanceByType(Petrol.class).getName();
assert Petrol.success;
assert Car.success;
}


@Test
public void testCircularInjectionOnTwoSimpleDependentBeans() throws Exception
{
Expand All @@ -49,30 +22,6 @@ public void testDependentProducerMethodDeclaredOnDependentBeanWhichInjectsProduc
getCurrentManager().getInstanceByType(DependentSelfConsumingDependentProducer.class).ping();
}

@Test
public void testNormalProducerMethodDeclaredOnNormalBeanWhichInjectsProducedBean() throws Exception
{
getCurrentManager().getInstanceByType(NormalSelfConsumingNormalProducer.class).ping();
}

@Test
public void testNormalProducerMethodDeclaredOnDependentBeanWhichInjectsProducedBean() throws Exception
{
getCurrentManager().getInstanceByType(DependentSelfConsumingNormalProducer.class).ping();
}

@Test
public void testDependentProducerMethodDeclaredOnNormalBeanWhichInjectsProducedBean() throws Exception
{
getCurrentManager().getInstanceByType(NormalSelfConsumingDependentProducer.class).ping();
}

@Test
public void testNormalSelfConsumingProducer() throws Exception
{
createContextualInstance(Violation.class).ping();
}

@Test(groups="broken", timeOut=1000)
public void testDependentSelfConsumingProducer() throws Exception
{
Expand All @@ -85,28 +34,9 @@ public void testDependentCircularConstructors() throws Exception
getCurrentManager().getInstanceByType(Fish.class);
}

@Test
public void testNormalCircularConstructors() throws Exception
{
getCurrentManager().getInstanceByType(Bird.class);
}

@Test
public void testNormalAndDependentCircularConstructors() throws Exception
{
getCurrentManager().getInstanceByType(Planet.class);
}

@Test(groups="broken", timeOut=1000)
public void testSelfConsumingConstructorsOnDependentBean() throws Exception
{
getCurrentManager().getInstanceByType(Farm.class);
}

@Test
public void testSelfConsumingConstructorsOnNormalBean() throws Exception
{
getCurrentManager().getInstanceByType(House.class);
}

}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit b76d63e

Please sign in to comment.