Renamed **/*Spec.groovy to **/*Tests.groovy to better follow conventions
This commit is contained in:
parent
8ca2927761
commit
044861eb20
|
@ -23,7 +23,7 @@ import spock.lang.*
|
||||||
*
|
*
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
class XsdDocumentedSpec extends Specification {
|
class XsdDocumentedTests extends Specification {
|
||||||
|
|
||||||
def ignoredIds = ['nsa-any-user-service','nsa-any-user-service-parents','nsa-authentication','nsa-ldap','nsa-method-security','nsa-web']
|
def ignoredIds = ['nsa-any-user-service','nsa-any-user-service-parents','nsa-authentication','nsa-ldap','nsa-method-security','nsa-web']
|
||||||
@Shared def appendix = new File('../docs/manual/src/docbook/appendix-namespace.xml')
|
@Shared def appendix = new File('../docs/manual/src/docbook/appendix-namespace.xml')
|
|
@ -25,7 +25,7 @@ import geb.spock.*
|
||||||
*
|
*
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
class BaseSpec extends GebReportingSpec {
|
class AbstractCasTests extends GebReportingSpec {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All relative urls will be interpreted against this. The host can change based upon a system property. This
|
* All relative urls will be interpreted against this. The host can change based upon a system property. This
|
|
@ -32,7 +32,7 @@ import spock.lang.*
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
@Stepwise
|
@Stepwise
|
||||||
class CasSampleProxySpec extends BaseSpec {
|
class CasSampleProxyTests extends AbstractCasTests {
|
||||||
HttpClient client = new HttpClient()
|
HttpClient client = new HttpClient()
|
||||||
@Shared String casServerUrl = LoginPage.url.replaceFirst('/login','')
|
@Shared String casServerUrl = LoginPage.url.replaceFirst('/login','')
|
||||||
@Shared JettyCasService service = new JettyCasService().init(casServerUrl)
|
@Shared JettyCasService service = new JettyCasService().init(casServerUrl)
|
|
@ -30,7 +30,7 @@ import spock.lang.Stepwise;
|
||||||
* @author Rob Winch
|
* @author Rob Winch
|
||||||
*/
|
*/
|
||||||
@Stepwise
|
@Stepwise
|
||||||
class CasSampleSpec extends BaseSpec {
|
class CasSampleTests extends AbstractCasTests {
|
||||||
@Shared String casServerLogoutUrl = LoginPage.url.replaceFirst('/login','/logout')
|
@Shared String casServerLogoutUrl = LoginPage.url.replaceFirst('/login','/logout')
|
||||||
|
|
||||||
def 'access home page with unauthenticated user succeeds'() {
|
def 'access home page with unauthenticated user succeeds'() {
|
Loading…
Reference in New Issue