incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1229644 - in /incubator/lcf/trunk: connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/ connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/ tests/jc...
Date Tue, 10 Jan 2012 17:13:36 GMT
Author: kwright
Date: Tue Jan 10 17:13:35 2012
New Revision: 1229644

URL: http://svn.apache.org/viewvc?rev=1229644&view=rev
Log:
Enhance the UI test for jcifs, and fix a problem introduced yesterday during the i18n enhancements
for the connector.

Modified:
    incubator/lcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
    incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_en_US.properties
    incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_ja_JP.properties
    incubator/lcf/trunk/tests/jcifs/src/test/java/org/apache/manifoldcf/jcifs_tests/NavigationDerbyUI.java

Modified: incubator/lcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java?rev=1229644&r1=1229643&r2=1229644&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
(original)
+++ incubator/lcf/trunk/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
Tue Jan 10 17:13:35 2012
@@ -4396,7 +4396,7 @@ public class SharedDriveConnector extend
     if (uriMap.getMatchCount() > 0)
     {
       out.print(
-"    <td class=\"description\"><nobr>" + Messages.getBodyString(locale,"SharedDriveConnector.URLMapping")
+ "</nobr></td>\n"+
+"    <td class=\"description\"><nobr>" + Messages.getBodyString(locale,"SharedDriveConnector.URLMappingColon")
+ "</nobr></td>\n"+
 "    <td class=\"value\">\n"+
 "      <table class=\"displaytable\">\n"
       );

Modified: incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_en_US.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_en_US.properties?rev=1229644&r1=1229643&r2=1229644&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_en_US.properties
(original)
+++ incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_en_US.properties
Tue Jan 10 17:13:35 2012
@@ -92,6 +92,6 @@ SharedDriveConnector.NoPathNameMetadataA
 SharedDriveConnector.PathValueMapping=Path-value mapping:
 SharedDriveConnector.FileNameMapping=File name mapping:
 SharedDriveConnector.NoFileNameMappingsSpecified=No file name mappings specified
-SharedDriveConnector.URLMapping=URL mapping:
+SharedDriveConnector.URLMappingColon=URL Mapping:
 SharedDriveConnector.MaximumDocumentLength=Maximum document length:
 

Modified: incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_ja_JP.properties
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_ja_JP.properties?rev=1229644&r1=1229643&r2=1229644&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_ja_JP.properties
(original)
+++ incubator/lcf/trunk/connectors/jcifs/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/sharedrive/common_ja_JP.properties
Tue Jan 10 17:13:35 2012
@@ -91,6 +91,6 @@ SharedDriveConnector.NoPathNameMetadataA
 SharedDriveConnector.PathValueMapping=パスー値パターン:
 SharedDriveConnector.FileNameMapping=ファイル名パターン:
 SharedDriveConnector.NoFileNameMappingsSpecified=ファイル名パターンを指定してください
-SharedDriveConnector.URLMapping=URLパターン:
+SharedDriveConnector.URLMappingColon=URLパターン:
 SharedDriveConnector.MaximumDocumentLength=最大コンテンツ長:
 

Modified: incubator/lcf/trunk/tests/jcifs/src/test/java/org/apache/manifoldcf/jcifs_tests/NavigationDerbyUI.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/tests/jcifs/src/test/java/org/apache/manifoldcf/jcifs_tests/NavigationDerbyUI.java?rev=1229644&r1=1229643&r2=1229644&view=diff
==============================================================================
--- incubator/lcf/trunk/tests/jcifs/src/test/java/org/apache/manifoldcf/jcifs_tests/NavigationDerbyUI.java
(original)
+++ incubator/lcf/trunk/tests/jcifs/src/test/java/org/apache/manifoldcf/jcifs_tests/NavigationDerbyUI.java
Tue Jan 10 17:13:35 2012
@@ -115,7 +115,6 @@ public class NavigationDerbyUI extends B
     textarea = form.findTextarea(testerInstance.createStringDescription("username"));
     textarea.setValue(testerInstance.createStringDescription("foo"));
     
-    // MHL
     // Go back to the Name tab
     link = window.findLink(testerInstance.createStringDescription("Name tab"));
     link.click();
@@ -149,7 +148,36 @@ public class NavigationDerbyUI extends B
     button = window.findButton(testerInstance.createStringDescription("Continue to next screen"));
     button.click();
     // Visit all the connector tabs.
-    // MHL
+    // Paths
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("Paths tab"));
+    link.click();
+    // Security
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("Security tab"));
+    link.click();
+    // Metadata
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("Metadata tab"));
+    link.click();
+    // Content Length
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("Content Length tab"));
+    link.click();
+    // File Mapping
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("File Mapping tab"));
+    link.click();
+    // URL Mapping
+    window = testerInstance.findWindow(null);
+    form = window.findForm(testerInstance.createStringDescription("editjob"));
+    link = window.findLink(testerInstance.createStringDescription("URL Mapping tab"));
+    link.click();
     
     // Save the job
     window = testerInstance.findWindow(null);



Mime
View raw message