Renamed **/*Spec.groovy to **/*Tests.groovy to better follow conventions

This commit is contained in:
Rob Winch 2011-12-28 17:09:51 -06:00
parent 8ca2927761
commit 044861eb20
4 changed files with 4 additions and 4 deletions

View File

@ -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')

View File

@ -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

View File

@ -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)

View File

@ -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'() {