JBoss Rich Faces SVN: r19964 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-11-05 11:17:18 -0400 (Fri, 05 Nov 2010)
New Revision: 19964
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
Log:
the test for limitToList should fail ('ajax rendered' components should not be rendered) RF-9535
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05 15:16:33 UTC (rev 19963)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05 15:17:18 UTC (rev 19964)
@@ -29,7 +29,7 @@
import static org.testng.Assert.assertEquals;
import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
-import static org.testng.Assert.assertNotSame;
+import static org.testng.Assert.assertSame;
import java.net.URL;
@@ -183,7 +183,7 @@
waitGui.failWith("Panel should be collapsed.").until(isDisplayed.locator(headerColps));
String newTime = selenium.getText(timeLoc);
- assertNotSame(newTime, timeValue, "Panel with ajaxRendered=true should not be rerendered.");
+ assertSame(newTime, timeValue, "Panel with ajaxRendered=true should not be rerendered.");
}
@Test
14 years, 2 months
JBoss Rich Faces SVN: r19963 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-11-05 11:16:33 -0400 (Fri, 05 Nov 2010)
New Revision: 19963
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
Log:
added issue tracking for RF-9421
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05 15:15:48 UTC (rev 19962)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/richCollapsiblePanel/TestRichCollapsiblePanel.java 2010-11-05 15:16:33 UTC (rev 19963)
@@ -125,6 +125,7 @@
}
@Test
+ @IssueTracking("https://jira.jboss.org/browse/RF-9421")
public void testBypassUpdates() {
JQueryLocator input = pjq("input[type=radio][name$=bypassUpdatesInput][value=true]");
selenium.click(input);
@@ -152,6 +153,7 @@
}
@Test
+ @IssueTracking("https://jira.jboss.org/browse/RF-9421")
public void testImmediate() {
JQueryLocator input = pjq("input[type=radio][name$=immediateInput][value=true]");
selenium.click(input);
14 years, 2 months
JBoss Rich Faces SVN: r19962 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/annotations.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-11-05 11:15:48 -0400 (Fri, 05 Nov 2010)
New Revision: 19962
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/annotations/IssueTracking.java
Log:
@IssueTracking value mandatory
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/annotations/IssueTracking.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/annotations/IssueTracking.java 2010-11-05 15:15:01 UTC (rev 19961)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/annotations/IssueTracking.java 2010-11-05 15:15:48 UTC (rev 19962)
@@ -33,5 +33,5 @@
@Target({ METHOD, TYPE })
@Retention(RetentionPolicy.RUNTIME)
public @interface IssueTracking {
- String[] value() default "";
+ String[] value();
}
14 years, 2 months
JBoss Rich Faces SVN: r19961 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-11-05 11:15:01 -0400 (Fri, 05 Nov 2010)
New Revision: 19961
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MetamerFailureLoggingTestListener.java
Log:
issue tracking was extended by possibility to annotate whole class
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MetamerFailureLoggingTestListener.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MetamerFailureLoggingTestListener.java 2010-11-05 15:14:10 UTC (rev 19960)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/MetamerFailureLoggingTestListener.java 2010-11-05 15:15:01 UTC (rev 19961)
@@ -23,6 +23,9 @@
import java.io.File;
import java.io.IOException;
+import java.util.Arrays;
+import java.util.LinkedList;
+import java.util.List;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang.StringUtils;
@@ -30,6 +33,8 @@
import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
import org.testng.ITestResult;
+import static java.util.Arrays.asList;
+
/**
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
@@ -49,9 +54,19 @@
@Override
protected void onFailure(ITestResult result) {
super.onFailure(result);
+
+ List<String> issueList = new LinkedList<String>();
IssueTracking issueTracking = result.getMethod().getMethod().getAnnotation(IssueTracking.class);
- if (issueTracking != null && issueTracking.value().length > 0) {
- String issues = StringUtils.join(issueTracking.value(), "\n");
+ if (issueTracking != null) {
+ issueList.addAll(asList(issueTracking.value()));
+ }
+ issueTracking = (IssueTracking) result.getMethod().getRealClass().getAnnotation(IssueTracking.class);
+ if (issueTracking != null) {
+ issueList.addAll(asList(issueTracking.value()));
+ }
+
+ if (!issueList.isEmpty()) {
+ String issues = StringUtils.join(issueList, "\n");
String filenameIdentification = getFilenameIdentification(result);
File issueTrackingOutputFile = new File(failuresOutputDir, filenameIdentification + "/issues.txt");
try {
14 years, 2 months
JBoss Rich Faces SVN: r19960 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush.
by richfaces-svn-commits@lists.jboss.org
Author: lfryc(a)redhat.com
Date: 2010-11-05 11:14:10 -0400 (Fri, 05 Nov 2010)
New Revision: 19960
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestCounter.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestInterval.java
Log:
rich:push - disabled push tests
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestCounter.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestCounter.java 2010-11-05 15:09:08 UTC (rev 19959)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestCounter.java 2010-11-05 15:14:10 UTC (rev 19960)
@@ -35,6 +35,7 @@
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
+@Test(enabled = false)
public class TestCounter extends AbstractPushTest {
private static final long SIMPLE_INTERVAL = 2500;
@@ -59,7 +60,7 @@
pushAndWait(1);
int endCounter = getCounter();
- assertNotSame(beginCounter < endCounter, format(
- "The counter before push is greater {0} or equal the end counter {1}", beginCounter, endCounter));
+ assertNotSame(beginCounter < endCounter,
+ format("The counter before push is greater {0} or equal the end counter {1}", beginCounter, endCounter));
}
}
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestInterval.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestInterval.java 2010-11-05 15:09:08 UTC (rev 19959)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jPush/TestInterval.java 2010-11-05 15:14:10 UTC (rev 19960)
@@ -42,6 +42,7 @@
* @author <a href="mailto:lfryc@redhat.com">Lukas Fryc</a>
* @version $Revision$
*/
+@Test(enabled = false)
public class TestInterval extends AbstractPushTest {
private static final int DEFAULT_COUNTER_STEP = 2;
14 years, 2 months
JBoss Rich Faces SVN: r19959 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2010-11-05 11:09:08 -0400 (Fri, 05 Nov 2010)
New Revision: 19959
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js
Log:
RF-9489
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js 2010-11-05 14:46:12 UTC (rev 19958)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inputNumberSpinner.js 2010-11-05 15:09:08 UTC (rev 19959)
@@ -84,6 +84,17 @@
this.__setValue(value);
}
},
+
+ destroy: function (event) {
+ if (this.intervalId) {
+ window.clearInterval(this.intervalId);
+ this.decreaseButton.css("backgroundPosition", " 50% 40%").unbind("mouseout", this.destroy)
+ .unbind("mouseup", this.destroy);
+ this.increaseButton.css("backgroundPosition", " 50% 40%").unbind("mouseout", this.destroy)
+ .unbind("mouseup", this.destroy);
+ this.intervalId = null;
+ }
+ },
__setValue: function (value, event, skipOnchange) {
if (!isNaN(value)) {
@@ -128,8 +139,8 @@
this.intervalId = window.setInterval(function() {
component.decrease(event);
}, this.delay);
- var proxy = jQuery.proxy(this.__clearInterval, this);
- this.decreaseButton.bind("mouseup", true, proxy).bind("mouseout", true, proxy)
+ var proxy = jQuery.proxy(this.destroy, this);
+ this.decreaseButton.bind("mouseup", proxy).bind("mouseout", proxy)
.css("backgroundPosition", "60% 60%");
event.preventDefault();
},
@@ -140,20 +151,10 @@
this.intervalId = window.setInterval(function() {
component.increase(event);
}, this.delay);
- var proxy = jQuery.proxy(this.__clearInterval, this);
+ var proxy = jQuery.proxy(this.destroy, this);
this.increaseButton.bind("mouseup", proxy).bind("mouseout", proxy)
.css("backgroundPosition", "60% 60%");
event.preventDefault();
- },
-
- __clearInterval: function (event) {
- window.clearInterval(this.intervalId);
- var button = this.increaseButton;
- if (event.data) { // decreaseButton
- button = this.decreaseButton;
- }
- button.css("backgroundPosition", " 50% 40%").unbind("mouseout", this.__clearInterval)
- .unbind("mouseup", this.__clearInterval);
}
});
}(window.RichFaces, jQuery));
\ No newline at end of file
14 years, 2 months
JBoss Rich Faces SVN: r19958 - modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax.
by richfaces-svn-commits@lists.jboss.org
Author: ppitonak(a)redhat.com
Date: 2010-11-05 10:46:12 -0400 (Fri, 05 Nov 2010)
New Revision: 19958
Modified:
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java
modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
Log:
https://jira.jboss.org/browse/RFPL-817
* tests for a4j:ajax fixed
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java 2010-11-05 14:39:20 UTC (rev 19957)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/AbstractTestCommand.java 2010-11-05 14:46:12 UTC (rev 19958)
@@ -150,6 +150,7 @@
String[] events = selenium.getEval(new JavaScript("window.metamerEvents")).split(" ");
+ assertEquals(events.length, 3, "3 events should be fired.");
assertEquals(events[0], "begin", "Attribute onbegin doesn't work");
assertEquals(events[1], "beforedomupdate", "Attribute onbeforedomupdate doesn't work");
assertEquals(events[2], "complete", "Attribute oncomplete doesn't work");
Modified: modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java
===================================================================
--- modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-11-05 14:39:20 UTC (rev 19957)
+++ modules/tests/metamer/trunk/ftest-source/src/main/java/org/richfaces/tests/metamer/ftest/a4jAjax/TestHGraphicImage.java 2010-11-05 14:46:12 UTC (rev 19958)
@@ -26,6 +26,7 @@
import java.net.URL;
import org.jboss.test.selenium.locator.JQueryLocator;
+import org.richfaces.tests.metamer.ftest.annotations.IssueTracking;
import org.testng.annotations.Test;
/**
@@ -49,6 +50,7 @@
}
@Test
+ @IssueTracking("https://jira.jboss.org/browse/RF-9665")
public void testSimpleClickUnicode() {
super.testClick(button, "ľščťžýáíéúôň фывацукйешгщь");
}
@@ -85,6 +87,6 @@
@Test
public void testRender() {
- super.testEvents(button);
+ super.testRender(button);
}
}
14 years, 2 months
JBoss Rich Faces SVN: r19957 - trunk/ui/input/ui/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2010-11-05 10:39:20 -0400 (Fri, 05 Nov 2010)
New Revision: 19957
Modified:
trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
Log:
https://jira.jboss.org/browse/RF-9567
Modified: trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java
===================================================================
--- trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-11-05 14:33:32 UTC (rev 19956)
+++ trunk/ui/input/ui/src/main/java/org/richfaces/renderkit/AutocompleteRendererBase.java 2010-11-05 14:39:20 UTC (rev 19957)
@@ -266,6 +266,8 @@
pvc.getRenderIds().add(
component.getClientId(context) + MetaComponentResolver.META_COMPONENT_SEPARATOR_CHAR
+ AbstractAutocomplete.ITEMS_META_COMPONENT_ID);
+
+ context.renderResponse();
}
}
14 years, 2 months
JBoss Rich Faces SVN: r19956 - trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-11-05 10:33:32 -0400 (Fri, 05 Nov 2010)
New Revision: 19956
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.ecss
Log:
add styles for IE transparency support
Modified: trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.ecss
===================================================================
--- trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.ecss 2010-11-05 14:28:44 UTC (rev 19955)
+++ trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/calendar.ecss 2010-11-05 14:33:32 UTC (rev 19956)
@@ -255,6 +255,7 @@
.rf-ca-edtr-shdw {
background: '#{richSkin.tableBackgroundColor}';
opacity: 0.5;
+ filter: 'alpha(opacity=50)';
}
.rf-ca-time-layout {
@@ -369,6 +370,7 @@
background-color: '#{richSkin.shadowBackgroundColor}';
position: absolute;
opacity: 0.3;
+ filter: 'alpha(opacity=30)';
}
.rf-ca-edtr-btn {
14 years, 2 months
JBoss Rich Faces SVN: r19955 - trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces.
by richfaces-svn-commits@lists.jboss.org
Author: amarkhel
Date: 2010-11-05 10:28:44 -0400 (Fri, 05 Nov 2010)
New Revision: 19955
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss
Log:
https://jira.jboss.org/browse/RF-9659
Modified: trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss 2010-11-05 14:04:44 UTC (rev 19954)
+++ trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/popupPanel.ecss 2010-11-05 14:28:44 UTC (rev 19955)
@@ -8,7 +8,7 @@
top: 0px;
z-index: -300;
opacity: 0.1;
- filter: 'alpha(opacity \5C 3D 10)';
+ filter: 'alpha(opacity=10)';
}
.rf-pp-shade {
@@ -19,13 +19,13 @@
left: 0px;
background-color: #D0D0D0;
opacity: 0.5;
- filter: 'alpha(opacity \5C 3D 50)';
+ filter: 'alpha(opacity=50)';
}
.rf-pp-shdw {
background-color: #000000;
opacity: 0.1;
- filter: 'alpha(opacity \5C 3D 10)';
+ filter: 'alpha(opacity=10)';
}
.rf-pp-cntr {
@@ -80,9 +80,9 @@
}
.rf-pp-hndlr {
opacity:0;
+ filter: 'alpha(opacity=0)';
position : absolute;
margin : -4px;
- filter : 'alpha(opacity \5C 3D 0)';
}
.rf-pp-hndlr-l {
14 years, 2 months