syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdisabat...@apache.org
Subject svn commit: r1380224 - in /incubator/syncope/branches/1_0_X/console/src: main/java/org/apache/syncope/console/pages/ReportModalPage.java main/java/org/apache/syncope/console/pages/Tasks.java test/java/org/apache/syncope/console/ConnInstanceTestITCase.java
Date Mon, 03 Sep 2012 12:56:44 GMT
Author: mdisabatino
Date: Mon Sep  3 12:56:44 2012
New Revision: 1380224

URL: http://svn.apache.org/viewvc?rev=1380224&view=rev
Log:
Fixes SYNCOPE-195 Default sorting order consistent

Modified:
    incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
    incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/Tasks.java
    incubator/syncope/branches/1_0_X/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java

Modified: incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java?rev=1380224&r1=1380223&r2=1380224&view=diff
==============================================================================
--- incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
(original)
+++ incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/ReportModalPage.java
Mon Sep  3 12:56:44 2012
@@ -487,7 +487,7 @@ public class ReportModalPage extends Bas
 
         public ReportExecutionsProvider(final ReportTO reportTO) {
             this.reportTO = reportTO;
-            setSort("startDate", SortOrder.ASCENDING);
+            setSort("startDate", SortOrder.DESCENDING);
             comparator = new SortableDataProviderComparator<ReportExecTO>(this);
         }
 

Modified: incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/Tasks.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/Tasks.java?rev=1380224&r1=1380223&r2=1380224&view=diff
==============================================================================
--- incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/Tasks.java
(original)
+++ incubator/syncope/branches/1_0_X/console/src/main/java/org/apache/syncope/console/pages/Tasks.java
Mon Sep  3 12:56:44 2012
@@ -75,7 +75,7 @@ public class Tasks extends BasePage {
 
             //Default sorting
             this.taskTO = taskTO;
-            setSort("startDate", SortOrder.ASCENDING);
+            setSort("startDate", SortOrder.DESCENDING);
             comparator = new SortableDataProviderComparator<TaskExecTO>(this);
         }
 
@@ -133,7 +133,7 @@ public class Tasks extends BasePage {
             super();
 
             //Default sorting
-            setSort("id", SortOrder.DESCENDING);
+            setSort("id", SortOrder.ASCENDING);
             comparator = new SortableDataProviderComparator<T>(this);
             this.paginatorRows = paginatorRows;
             this.restClient = restClient;

Modified: incubator/syncope/branches/1_0_X/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java
URL: http://svn.apache.org/viewvc/incubator/syncope/branches/1_0_X/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java?rev=1380224&r1=1380223&r2=1380224&view=diff
==============================================================================
--- incubator/syncope/branches/1_0_X/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java
(original)
+++ incubator/syncope/branches/1_0_X/console/src/test/java/org/apache/syncope/console/ConnInstanceTestITCase.java
Mon Sep  3 12:56:44 2012
@@ -121,7 +121,7 @@ public class ConnInstanceTestITCase exte
 
         selenium.waitForCondition("selenium.isElementPresent(\"//input[@name='version:textField']\");",
"30000");
 
-        selenium.click("//div[2]/form/div[2]/" + "div[2]/div/span/div[2]/div[27]/a/img");
+        selenium.click("//div[2]/form/div[2]/div[2]/div/span/div[2]/div[29]/a/img");
 
         selenium.waitForCondition(
                 "selenium.isElementPresent(\"//div/ul/li/span[contains(text(),'Successful
connection')]\");", "30000");



Mime
View raw message