Skip to content

Commit ffd4c67

Browse files
authored
standardizes test directory, test names (GoogleCloudPlatform#315)
1 parent 1d9adab commit ffd4c67

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+40
-40
lines changed

appengine/flexible/analytics/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<php>
44
<env name="GA_TRACKING_ID" value="UA-78971600-1"/>
55
php>
66
<testsuites>
77
<testsuite>
8-
<directory>testsdirectory>
8+
<directory>testdirectory>
99
testsuite>
1010
testsuites>
1111
<logging>

appengine/flexible/cloudsql/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
<logging>

appengine/flexible/datastore/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
<logging>

appengine/flexible/drupal8/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<testsuites>
1919
<testsuite name="Drupal deployment test">
20-
<directory>testsdirectory>
20+
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
2323
phpunit>

appengine/flexible/laravel/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<testsuites>
1919
<testsuite name="Laravel deployment test">
20-
<directory>testsdirectory>
20+
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
2323
phpunit>

appengine/flexible/memcache/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
<logging>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
phpunit>

appengine/flexible/symfony/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<testsuites>
1919
<testsuite name="Symfony deployment test">
20-
<directory>testsdirectory>
20+
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
2323
phpunit>

appengine/flexible/twilio/test/TwilioTest.php renamed to appengine/flexible/twilio/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
use Silex\WebTestCase;
1818

19-
class TwilioTest extends WebTestCase
19+
class LocalTest extends WebTestCase
2020
{
2121
public function createApplication()
2222
{

appengine/standard/cloudsql/test/cloudsqlTest.php renamed to appengine/standard/cloudsql/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
use Silex\WebTestCase;
1818

19-
class cloudsqlTest extends WebTestCase
19+
class LocalTest extends WebTestCase
2020
{
2121
public function createApplication()
2222
{

appengine/standard/http/test/httpTest.php renamed to appengine/standard/http/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
use Silex\WebTestCase;
1818

19-
class httpTest extends WebTestCase
19+
class LocalTest extends WebTestCase
2020
{
2121
private $expected;
2222

appengine/standard/logging/test/loggingTest.php renamed to appengine/standard/logging/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use google\appengine\api\log\LogService;
1919

20-
class loggingTest extends PHPUnit_Framework_TestCase
20+
class LocalTest extends PHPUnit_Framework_TestCase
2121
{
2222
public function testNoLogs()
2323
{

appengine/standard/mail/test/mailTest.php renamed to appengine/standard/mail/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
class mailTest extends PHPUnit_Framework_TestCase
18+
class LocalTest extends PHPUnit_Framework_TestCase
1919
{
2020
public function testSendMail()
2121
{

appengine/standard/mailgun/test/mailgunTest.php renamed to appengine/standard/mailgun/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
use Silex\WebTestCase;
1818

19-
class mailgunTest extends WebTestCase
19+
class LocalTest extends WebTestCase
2020
{
2121
private $recipient;
2222

appengine/standard/mailjet/test/mailjetTest.php renamed to appengine/standard/mailjet/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
use Silex\WebTestCase;
1818

19-
class mailjetTest extends WebTestCase
19+
class LocalTest extends WebTestCase
2020
{
2121
public function createApplication()
2222
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
phpunit>

appengine/standard/modules/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<php>
1919
<env name="LOCAL_TEST_TARGETS" value="app.yaml backend.yaml"/>
2020
php>
2121
<testsuites>
2222
<testsuite name="PHP Modules API unit tests">
23-
<directory>testsdirectory>
23+
<directory>testdirectory>
2424
testsuite>
2525
testsuites>
2626
<logging>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
phpunit>

appengine/standard/storage/test/storageTest.php renamed to appengine/standard/storage/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Silex\WebTestCase;
1818
use google\appengine\api\cloud_storage\CloudStorageTools;
1919

20-
class storageTest extends WebTestCase
20+
class LocalTest extends WebTestCase
2121
{
2222
public function createApplication()
2323
{

appengine/standard/taskqueue/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<testsuites>
1919
<testsuite name="PHP Taskqueue API unit tests">
20-
<directory>testsdirectory>
20+
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
2323
<logging>

appengine/standard/twilio/test/twilioTest.php renamed to appengine/standard/twilio/test/LocalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use Silex\WebTestCase;
1919

20-
class twilioTest extends WebTestCase
20+
class LocalTest extends WebTestCase
2121
{
2222
public function createApplication()
2323
{

appengine/standard/users/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<phpunit bootstrap="tests/bootstrap.php">
17+
<phpunit bootstrap="test/bootstrap.php">
1818
<testsuites>
1919
<testsuite name="PHP Users API unit tests">
20-
<directory>testsdirectory>
20+
<directory>testdirectory>
2121
testsuite>
2222
testsuites>
2323
<logging>

appengine/wordpress/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
},
1414
"autoload": {
1515
"psr-4": { "Google\\Cloud\\Helper\\": "src/",
16-
"Google\\Cloud\\Test\\": "tests/"}
16+
"Google\\Cloud\\Test\\": "test/"}
1717
}
1818
}

appengine/wordpress/phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="./tests/bootstrap.php" colors="true">
2+
<phpunit bootstrap="./test/bootstrap.php" colors="true">
33
<testsuites>
44
<testsuite>
5-
<directory>testsdirectory>
5+
<directory>testdirectory>
66
testsuite>
77
testsuites>
88
phpunit>

appengine/wordpress/tests/FlexTest.php renamed to appengine/wordpress/test/DeployFlexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
use GuzzleHttp\Client;
2020

21-
class FlexTest extends \PHPUnit_Framework_TestCase
21+
class DeployFlexTest extends \PHPUnit_Framework_TestCase
2222
{
2323
private $client;
2424

appengine/wordpress/tests/StdTest.php renamed to appengine/wordpress/test/DeployStandardTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
use GuzzleHttp\Client;
2020

21-
class StdTest extends \PHPUnit_Framework_TestCase
21+
class DeployStandardTest extends \PHPUnit_Framework_TestCase
2222
{
2323
private $client;
2424

0 commit comments

Comments
 (0)