Third-party patches are essential for keeping RichFaces great. Contributing to the project helps to deliver functionality you need and allows you to share your code with other contributors and users. We want to keep it as easy as possible to contribute changes you made and we will work hard to deliver your contributions in upcoming releases. There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jboss.arquillian.warp.impl.client.deployment; | |
import org.jboss.arquillian.container.test.spi.client.deployment.ApplicationArchiveProcessor; | |
import org.jboss.arquillian.core.api.Instance; | |
import org.jboss.arquillian.core.spi.LoadableExtension; | |
import org.jboss.arquillian.test.spi.TestClass; | |
import org.jboss.arquillian.warp.ServerAssertion; | |
import org.jboss.arquillian.warp.WarpRemoteExtension; | |
import org.jboss.arquillian.warp.WarpTest; | |
import org.jboss.arquillian.warp.impl.testutils.SeparatedClassPath; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAjaxGetStock() { | |
browser.navigate().to(contextUrl + "restclient.jsp"); | |
Warp | |
.execute(new ClientAction() { | |
public void perform() { | |
browser.findElement(By.className("stockLink")).click(); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAjaxGetStock() { | |
browser.navigate().to(contextUrl + "restclient.jsp"); | |
Warp | |
.fromClient(new Activity() { | |
public void perform() { | |
browser.findElement(By.className("stockLink")).click(); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAjaxGetStock() { | |
browser.navigate().to(contextUrl + "restclient.jsp"); | |
Warp | |
.initiate(new Activity() { | |
public void perform() { | |
browser.findElement(By.className("stockLink")).click(); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAjaxGetStock() { | |
browser.navigate().to(contextUrl + "restclient.jsp"); | |
Warp | |
.given(request().endsWith("/stocks")) | |
.when(new Activity() { | |
public void perform() { | |
browser.findElement(By.className("stockLink")).click(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testAjaxGetStock() { | |
browser.navigate().to(contextUrl + "restclient.jsp"); | |
Warp | |
.initiate(new Activity() { | |
public void perform() { | |
browser.findElement(By.className("stockLink")).click(); | |
} | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunAsClient | |
@WarpTest | |
@RunWith(Arquillian.class) | |
public class TestFocusValidationAware { | |
... | |
@Test | |
public void testGlobalMessageIsIgnored() { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Warp.execute(new ClientAction() { | |
public void action() { | |
} | |
}.... | |
Warp.invoke(new ClientInvoker() { | |
public void invoke() { | |
} | |
}.... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
JBoss, Home of Professional Open Source | |
Copyright 2012, Red Hat Middleware LLC, and individual contributors | |
by the @authors tag. See the copyright.txt in the distribution for a | |
full listing of individual contributors. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. |