Author: kwright
Date: Wed Mar 26 18:58:51 2014
New Revision: 1582012

URL: http://svn.apache.org/r1582012
Log:
Move nullauthority tests to connector

Added:
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/BaseUIDerby.java
      - copied, changed from r1579604, 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/BaseUIDerby.java
    
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/NavigationDerbyUI.java
      - copied, changed from r1579604, 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/NavigationDerbyUI.java
Removed:
    
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/BaseUIDerby.java
    
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/NavigationDerbyUI.java

Copied: 
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/BaseUIDerby.java
 (from r1579604, 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/BaseUIDerby.java)
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/BaseUIDerby.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/BaseUIDerby.java&p1=manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/BaseUIDerby.java&r1=1579604&r2=1582012&rev=1582012&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/BaseUIDerby.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/BaseUIDerby.java
 Wed Mar 26 18:58:51 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.nullauthority_tests;
+package org.apache.manifoldcf.authorities.authorities.nullauthority.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;

Copied: 
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/NavigationDerbyUI.java
 (from r1579604, 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/NavigationDerbyUI.java)
URL: 
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/NavigationDerbyUI.java?p2=manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/NavigationDerbyUI.java&p1=manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/NavigationDerbyUI.java&r1=1579604&r2=1582012&rev=1582012&view=diff
==============================================================================
--- 
manifoldcf/branches/CONNECTORS-912/tests/nullauthority/src/test/java/org/apache/manifoldcf/nullauthority_tests/NavigationDerbyUI.java
 (original)
+++ 
manifoldcf/branches/CONNECTORS-912/connectors/nullauthority/connector/src/test/java/org/apache/manifoldcf/authorities/authorities/nullauthority/tests/NavigationDerbyUI.java
 Wed Mar 26 18:58:51 2014
@@ -16,7 +16,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-package org.apache.manifoldcf.nullauthority_tests;
+package org.apache.manifoldcf.authorities.authorities.nullauthority.tests;
 
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
@@ -58,9 +58,22 @@ public class NavigationDerbyUI extends B
     textarea.setValue(testerInstance.createStringDescription("admin"));
     button = 
window.findButton(testerInstance.createStringDescription("Login"));
     button.click();
+    
+    // Define an authority connection via the UI
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("List 
authority groups"));
+    link.click();
+    window = testerInstance.findWindow(null);
+    link = window.findLink(testerInstance.createStringDescription("Add new 
authority group"));
+    link.click();
     window = testerInstance.findWindow(null);
+    form = 
window.findForm(testerInstance.createStringDescription("editgroup"));
+    textarea = 
form.findTextarea(testerInstance.createStringDescription("groupname"));
+    
textarea.setValue(testerInstance.createStringDescription("MyAuthorityConnection"));
+    button = window.findButton(testerInstance.createStringDescription("Save 
this authority group"));
+    button.click();
 
-    // Define an authority connection via the UI
+    window = testerInstance.findWindow(null);
     link = window.findLink(testerInstance.createStringDescription("List 
authorities"));
     link.click();
     window = testerInstance.findWindow(null);
@@ -78,6 +91,8 @@ public class NavigationDerbyUI extends B
     form = 
window.findForm(testerInstance.createStringDescription("editconnection"));
     selectbox = 
form.findSelectbox(testerInstance.createStringDescription("classname"));
     
selectbox.selectValue(testerInstance.createStringDescription("org.apache.manifoldcf.authorities.authorities.nullauthority.NullAuthority"));
+    selectbox = 
form.findSelectbox(testerInstance.createStringDescription("authoritygroup"));
+    
selectbox.selectValue(testerInstance.createStringDescription("MyAuthorityConnection"));
     button = 
window.findButton(testerInstance.createStringDescription("Continue to next 
page"));
     button.click();
     // Go back to the Name tab


Reply via email to