import java.util.ArrayList;
import java.util.Arrays;
-import java.util.HashSet;
import java.util.List;
-import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
-import java.util.UUID;
/**
import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.TreeMap;
-import java.util.UUID;
public class DefaultScope implements Scope {
import org.wamblee.system.graph.Edge;
import org.wamblee.system.graph.EdgeFilter;
-import org.wamblee.system.graph.EdgeSelector;
-import org.wamblee.system.graph.Node;
/**
* Filter used to explicitly connect required and provided interfaces within a
import org.wamblee.system.graph.Edge;
import org.wamblee.system.graph.EdgeFilter;
-import org.wamblee.system.graph.EdgeSelector;
-import org.wamblee.system.graph.Node;
/**
* Filter used to explicitly connect required and provided interfaces within a
*/
package org.wamblee.system.adapters;
-import java.util.Collections;
-import java.util.List;
-
import org.wamblee.system.container.Container;
import org.wamblee.system.core.Component;
-import org.wamblee.system.core.DefaultProvidedInterface;
import org.wamblee.system.core.ProvidedInterface;
import org.wamblee.system.core.RequiredInterface;
-import org.wamblee.system.core.RequiredInterfaceComparator;
import org.wamblee.system.core.Scope;
import org.wamblee.test.AssertionUtils;
*/
package org.wamblee.system.components;
-import org.wamblee.io.ClassPathResource;
import org.wamblee.persistence.DerbyDatabase;
import org.wamblee.system.container.Container;
*/
package org.wamblee.system.container;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
import org.wamblee.system.core.AbstractComponent;
import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.ProvidedInterface;
*/
package org.wamblee.system.container;
-import static org.mockito.Matchers.*;
-import static org.mockito.Mockito.*;
-
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
*/
package org.wamblee.system.core;
-import org.wamblee.system.core.DefaultRequiredInterface;
-import org.wamblee.system.core.RequiredInterface;
-
import junit.framework.TestCase;
public class DefaultRequiredInterfaceTest extends TestCase {
*/
package org.wamblee.system.graph;
-import java.util.Arrays;
-
+import static org.mockito.Matchers.*;
+import static org.mockito.Mockito.*;
import junit.framework.TestCase;
-import static org.mockito.Mockito.*;
-
import org.wamblee.system.container.Application;
import org.wamblee.system.core.Component;
import org.wamblee.system.core.Environment;
import junit.framework.TestCase;
-import org.wamblee.system.container.Application;
import org.wamblee.system.container.Container;
import org.wamblee.system.core.Component;
import org.wamblee.system.core.DefaultProvidedInterface;
-import org.wamblee.system.core.DefaultRequiredInterface;
import org.wamblee.system.core.Environment;
import org.wamblee.system.graph.DefaultEdge;
import org.wamblee.system.graph.DefaultNode;
import org.wamblee.system.graph.Edge;
import org.wamblee.system.graph.EdgeFilter;
-import org.wamblee.system.graph.Node;
public class ConnectExternalProvidedProvidedEdgeFilterTest extends TestCase {
*/
package org.wamblee.system.graph.component;
+import junit.framework.TestCase;
+
import org.wamblee.system.container.Application;
import org.wamblee.system.container.Container;
import org.wamblee.system.core.Component;
import org.wamblee.system.core.DefaultRequiredInterface;
-import org.wamblee.system.core.RequiredInterface;
import org.wamblee.system.graph.DefaultEdge;
import org.wamblee.system.graph.DefaultNode;
import org.wamblee.system.graph.Edge;
import org.wamblee.system.graph.EdgeFilter;
import org.wamblee.system.graph.Node;
-import junit.framework.TestCase;
-
public class ConnectRequiredExternallyRequiredEdgeFilterTest extends TestCase {
private Component<?> _comp;