manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1535814 - in /manifoldcf/branches/CONNECTORS-792: framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/ tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/
Date Fri, 25 Oct 2013 18:50:47 GMT
Author: kwright
Date: Fri Oct 25 18:50:46 2013
New Revision: 1535814

URL: http://svn.apache.org/r1535814
Log:
Fix jdbc UI test

Modified:
    manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_en_US.properties
    manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_ja_JP.properties
    manifoldcf/branches/CONNECTORS-792/tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/NavigationDerbyUI.java

Modified: manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_en_US.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_en_US.properties?rev=1535814&r1=1535813&r2=1535814&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_en_US.properties
(original)
+++ manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_en_US.properties
Fri Oct 25 18:50:46 2013
@@ -144,8 +144,8 @@ listgroups.Description=Description
 listgroups.View=View
 listgroups.Edit=Edit
 listgroups.Delete=Delete
-listgroups.AddNewGroup=Add a new group
-listgroups.AddaNewGroup=Add a new group
+listgroups.AddNewGroup=Add new authority group
+listgroups.AddaNewGroup=Add a new authority group
 
 listauthorities.ApacheManifoldCFListAuthorities=Apache ManifoldCF: List Authorities
 listauthorities.ListOfAuthorityConnections=List of Authority Connections
@@ -184,7 +184,7 @@ editgroup.EditAGroup=Edit a group
 editgroup.NameColon=Name:
 editgroup.DescriptionColon=Description:
 editgroup.Save=Save
-editgroup.SaveThisAuthorityGroup=Save this authority gorup
+editgroup.SaveThisAuthorityGroup=Save this authority group
 editgroup.Cancel=Cancel
 editgroup.CancelAuthorityGroupEditing=Cancel authority group editing
 

Modified: manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_ja_JP.properties?rev=1535814&r1=1535813&r2=1535814&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_ja_JP.properties
(original)
+++ manifoldcf/branches/CONNECTORS-792/framework/ui-core/src/main/native2ascii/org/apache/manifoldcf/ui/i18n/common_ja_JP.properties
Fri Oct 25 18:50:46 2013
@@ -184,7 +184,7 @@ editgroup.EditAGroup=Edit a group
 editgroup.NameColon=Name:
 editgroup.DescriptionColon=Description:
 editgroup.Save=Save
-editgroup.SaveThisAuthorityGroup=Save this authority gorup
+editgroup.SaveThisAuthorityGroup=Save this authority group
 editgroup.Cancel=Cancel
 editgroup.CancelAuthorityGroupEditing=Cancel authority group editing
 

Modified: manifoldcf/branches/CONNECTORS-792/tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/NavigationDerbyUI.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-792/tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/NavigationDerbyUI.java?rev=1535814&r1=1535813&r2=1535814&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-792/tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/NavigationDerbyUI.java
(original)
+++ manifoldcf/branches/CONNECTORS-792/tests/jdbc/src/test/java/org/apache/manifoldcf/jdbc_tests/NavigationDerbyUI.java
Fri Oct 25 18:50:46 2013
@@ -222,6 +222,18 @@ public class NavigationDerbyUI extends B
     
     // 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();
+    window = testerInstance.findWindow(null);
     link = window.findLink(testerInstance.createStringDescription("List authorities"));
     link.click();
     window = testerInstance.findWindow(null);
@@ -239,6 +251,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.jdbc.JDBCAuthority"));
+    selectbox = form.findSelectbox(testerInstance.createStringDescription("authoritygroup"));
+    selectbox.selectValue(testerInstance.createStringDescription("MyAuthorityConnection"));
     button = window.findButton(testerInstance.createStringDescription("Continue to next page"));
     button.click();
     // Credentials tab



Mime
View raw message