geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r774735 - in /geronimo/sandbox/blueprint/blueprint-core/src/test: java/org/apache/geronimo/blueprint/WiringTest.java resources/test-ambiguous.xml
Date Thu, 14 May 2009 11:38:48 GMT
Author: gnodet
Date: Thu May 14 11:38:48 2009
New Revision: 774735

URL: http://svn.apache.org/viewvc?rev=774735&view=rev
Log:
Remove the ambiguous test

Removed:
    geronimo/sandbox/blueprint/blueprint-core/src/test/resources/test-ambiguous.xml
Modified:
    geronimo/sandbox/blueprint/blueprint-core/src/test/java/org/apache/geronimo/blueprint/WiringTest.java

Modified: geronimo/sandbox/blueprint/blueprint-core/src/test/java/org/apache/geronimo/blueprint/WiringTest.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-core/src/test/java/org/apache/geronimo/blueprint/WiringTest.java?rev=774735&r1=774734&r2=774735&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-core/src/test/java/org/apache/geronimo/blueprint/WiringTest.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-core/src/test/java/org/apache/geronimo/blueprint/WiringTest.java
Thu May 14 11:38:48 2009
@@ -42,19 +42,6 @@
 
 public class WiringTest extends AbstractBlueprintTest {
 
-    public void testAmbiguous() throws Exception {
-        ComponentDefinitionRegistryImpl registry = parse("/test-ambiguous.xml");
-        RecipeBuilder i = new RecipeBuilder(new TestBlueprintContext(registry));
-        BlueprintObjectRepository repository = i.createRepository(registry);
-        BlueprintObjectInstantiator graph = new BlueprintObjectInstantiator(repository);
-        try {
-            graph.create("ambiguous");
-            fail("Should have failed");
-        } catch (Exception e) {
-            // Expected
-        }
-    }
-
     public void testWiring() throws Exception {
         ComponentDefinitionRegistryImpl registry = parse("/test-wiring.xml");
         RecipeBuilder i = new RecipeBuilder(new TestBlueprintContext(registry));



Mime
View raw message