Author: kstam
Date: Tue Jun 28 18:48:29 2011
New Revision: 1140781

URL: http://svn.apache.org/viewvc?rev=1140781&view=rev
Log:
SCOUT-118, pickup up the UDDI version and passing it into the Finder test 
contructor

Modified:
    juddi/scout/trunk/src/test/java/org/apache/ws/scout/Finder.java
    
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR010OrganizationTest.java
    
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR015PrimaryContactTest.java
    
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR050ServiceBindingTest.java

Modified: juddi/scout/trunk/src/test/java/org/apache/ws/scout/Finder.java
URL: 
http://svn.apache.org/viewvc/juddi/scout/trunk/src/test/java/org/apache/ws/scout/Finder.java?rev=1140781&r1=1140780&r2=1140781&view=diff
==============================================================================
--- juddi/scout/trunk/src/test/java/org/apache/ws/scout/Finder.java (original)
+++ juddi/scout/trunk/src/test/java/org/apache/ws/scout/Finder.java Tue Jun 28 
18:48:29 2011
@@ -44,12 +44,6 @@ public class Finder
     private BusinessQueryManager bqm;
     private String uddiVersion;
     
-    public Finder(BusinessQueryManager bqm) {
-        super();
-        this.bqm = bqm;
-        this.uddiVersion = "2.0";
-    }
-    
     public Finder(BusinessQueryManager bqm, String version) {
        super();
        this.bqm = bqm;

Modified: 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR010OrganizationTest.java
URL: 
http://svn.apache.org/viewvc/juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR010OrganizationTest.java?rev=1140781&r1=1140780&r2=1140781&view=diff
==============================================================================
--- 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR010OrganizationTest.java
 (original)
+++ 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR010OrganizationTest.java
 Tue Jun 28 18:48:29 2011
@@ -103,7 +103,7 @@ public class JAXR010OrganizationTest ext
             blm = rs.getBusinessLifeCycleManager();
             bqm = rs.getBusinessQueryManager();
             Creator creator = new Creator(blm);
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             
             Collection<Organization> orgs = new ArrayList<Organization>();
             Organization organization = 
creator.createOrganization(this.getClass().getName());
@@ -162,7 +162,7 @@ public class JAXR010OrganizationTest ext
             bqm = rs.getBusinessQueryManager();
             System.out.println("We have the Business Query Manager");
             Printer printer = new Printer();
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
 
             Collection orgs = 
finder.findOrganizationsByName(this.getClass().getName());
             if (orgs == null) {
@@ -199,7 +199,7 @@ public class JAXR010OrganizationTest ext
     //      Get registry service and business query manager
             bqm = rs.getBusinessQueryManager();
             System.out.println("We have the Business Query Manager");
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             Remover remover = new Remover(blm);
             Collection orgs = 
finder.findOrganizationsByName(this.getClass().getName());
             for (Iterator orgIter = orgs.iterator(); orgIter.hasNext();)
@@ -223,7 +223,7 @@ public class JAXR010OrganizationTest ext
             bqm = rs.getBusinessQueryManager();
             blm = rs.getBusinessLifeCycleManager();
             System.out.println("We have the Business Query Manager");
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             Remover remover = new Remover(blm);
             Collection schemes = 
finder.findClassificationSchemesByName(this.getClass().getName());
             for (Iterator iter = schemes.iterator(); iter.hasNext();)

Modified: 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR015PrimaryContactTest.java
URL: 
http://svn.apache.org/viewvc/juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR015PrimaryContactTest.java?rev=1140781&r1=1140780&r2=1140781&view=diff
==============================================================================
--- 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR015PrimaryContactTest.java
 (original)
+++ 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR015PrimaryContactTest.java
 Tue Jun 28 18:48:29 2011
@@ -117,7 +117,7 @@ public class JAXR015PrimaryContactTest e
             blm = rs.getBusinessLifeCycleManager();
             bqm = rs.getBusinessQueryManager();
             Creator creator = new Creator(blm);
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             
             Collection<Organization> orgs = new ArrayList<Organization>();
             Organization organization = 
creator.createOrganization(this.getClass().getName());
@@ -199,7 +199,7 @@ public class JAXR015PrimaryContactTest e
             bqm = rs.getBusinessQueryManager();
             System.out.println("We have the Business Query Manager");
             Printer printer = new Printer();
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
 
             Collection orgs = 
finder.findOrganizationsByName(this.getClass().getName());
             if (orgs == null) {
@@ -267,7 +267,7 @@ public class JAXR015PrimaryContactTest e
     //      Get registry service and business query manager
             bqm = rs.getBusinessQueryManager();
             System.out.println("We have the Business Query Manager");
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             Remover remover = new Remover(blm);
             Collection orgs = 
finder.findOrganizationsByName(this.getClass().getName());
             for (Iterator orgIter = orgs.iterator(); orgIter.hasNext();)
@@ -291,7 +291,7 @@ public class JAXR015PrimaryContactTest e
             bqm = rs.getBusinessQueryManager();
             blm = rs.getBusinessLifeCycleManager();
             System.out.println("We have the Business Query Manager");
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
             Remover remover = new Remover(blm);
             Collection schemes = 
finder.findClassificationSchemesByName(this.getClass().getName());
             for (Iterator iter = schemes.iterator(); iter.hasNext();)

Modified: 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR050ServiceBindingTest.java
URL: 
http://svn.apache.org/viewvc/juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR050ServiceBindingTest.java?rev=1140781&r1=1140780&r2=1140781&view=diff
==============================================================================
--- 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR050ServiceBindingTest.java
 (original)
+++ 
juddi/scout/trunk/src/test/java/org/apache/ws/scout/registry/qa/JAXR050ServiceBindingTest.java
 Tue Jun 28 18:48:29 2011
@@ -94,7 +94,7 @@ public class JAXR050ServiceBindingTest e
             RegistryService rs = connection.getRegistryService();
             blm = rs.getBusinessLifeCycleManager();
             bqm = rs.getBusinessQueryManager();
-            Finder finder = new Finder(bqm);
+            Finder finder = new Finder(bqm, uddiversion);
 
             System.out.println("\nCreating temporary organization...\n");
             Organization tmpOrg = createTempOrg();



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to