This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- #4 Validate configuration - #5 Remove url from cloudbees-api.properties - #6 Choose properties file for the personal data
- Loading branch information
Showing
9 changed files
with
103 additions
and
65 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
29 changes: 0 additions & 29 deletions
29
src/main/java/org/jboss/arquillian/container/cloudbees/CloudbeesClientBuilder.java
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
34 changes: 34 additions & 0 deletions
34
src/test/java/org/jboss/arquillian/container/cloudbees/ServletAsClientWarTest.java
This file contains 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,34 @@ | |||
package org.jboss.arquillian.container.cloudbees; | |||
|
|||
import java.net.URL; | |||
import org.jboss.arquillian.container.cloudbees.web.Servlet1; | |||
|
|||
import org.jboss.arquillian.container.test.api.Deployment; | |||
import org.jboss.arquillian.container.test.api.RunAsClient; | |||
import org.jboss.arquillian.junit.Arquillian; | |||
import org.jboss.arquillian.test.api.ArquillianResource; | |||
import org.jboss.shrinkwrap.api.ShrinkWrap; | |||
import org.jboss.shrinkwrap.api.spec.WebArchive; | |||
import static org.junit.Assert.*; | |||
import org.junit.Test; | |||
import org.junit.runner.RunWith; | |||
|
|||
@RunWith(Arquillian.class) | |||
public class ServletAsClientWarTest { | |||
|
|||
@Deployment(testable = false) | |||
public static WebArchive createWarDeployment() throws Exception { | |||
return ShrinkWrap.create(WebArchive.class) | |||
.addClass(Servlet1.class); | |||
} | |||
|
|||
@Test @RunAsClient | |||
public void shouldRootBeInjected(@ArquillianResource URL baseURL) throws Exception { | |||
assertNotNull("Root URL has not been injected", baseURL); | |||
} | |||
|
|||
@Test @RunAsClient | |||
public void shouldServletBeInjected(@ArquillianResource(Servlet1.class) URL servletURL) throws Exception { | |||
assertNotNull("Servlet URL has not been injected", servletURL); | |||
} | |||
} |
This file contains 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
This file contains 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