From ed1ed3cc17d58bc8c0fa2a115484a419315919c4 Mon Sep 17 00:00:00 2001 From: Masayuki Nii Date: Sat, 8 Jun 2024 19:02:32 +0900 Subject: [PATCH] Modified end-to-end test. --- spec/INTER-Mediator-UnitTest/Core/GenerateJSCode_Test.php | 2 ++ spec/INTER-Mediator-UnitTest/Core/IMUtil_Test.php | 2 ++ .../DB-FileMaker/DB_FMS_Test_Common.php | 1 + spec/INTER-Mediator-UnitTest/Editors/defedit_Test.php | 3 +++ spec/INTER-Mediator-UnitTest/Editors/pageedit_Test.php | 3 +++ spec/run/wdio-firefox.conf.js | 6 +++--- 6 files changed, 14 insertions(+), 3 deletions(-) diff --git a/spec/INTER-Mediator-UnitTest/Core/GenerateJSCode_Test.php b/spec/INTER-Mediator-UnitTest/Core/GenerateJSCode_Test.php index be6d76fa9..7c243a430 100755 --- a/spec/INTER-Mediator-UnitTest/Core/GenerateJSCode_Test.php +++ b/spec/INTER-Mediator-UnitTest/Core/GenerateJSCode_Test.php @@ -4,6 +4,8 @@ */ use INTERMediator\GenerateJSCode; +use PHPUnit\Framework\Attributes\PreserveGlobalState; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; use PHPUnit\Framework\TestCase; class GenerateJSCode_Test extends TestCase diff --git a/spec/INTER-Mediator-UnitTest/Core/IMUtil_Test.php b/spec/INTER-Mediator-UnitTest/Core/IMUtil_Test.php index 69cdc94e2..17b1bf607 100755 --- a/spec/INTER-Mediator-UnitTest/Core/IMUtil_Test.php +++ b/spec/INTER-Mediator-UnitTest/Core/IMUtil_Test.php @@ -4,6 +4,8 @@ */ use INTERMediator\Params; +use PHPUnit\Framework\Attributes\PreserveGlobalState; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; use PHPUnit\Framework\TestCase; use INTERMediator\IMUtil; diff --git a/spec/INTER-Mediator-UnitTest/DB-FileMaker/DB_FMS_Test_Common.php b/spec/INTER-Mediator-UnitTest/DB-FileMaker/DB_FMS_Test_Common.php index d09c3f8ad..0fba90a7d 100644 --- a/spec/INTER-Mediator-UnitTest/DB-FileMaker/DB_FMS_Test_Common.php +++ b/spec/INTER-Mediator-UnitTest/DB-FileMaker/DB_FMS_Test_Common.php @@ -4,6 +4,7 @@ */ use INTERMediator\IMUtil; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; use PHPUnit\Framework\TestCase; use INTERMediator\DB\Proxy; diff --git a/spec/INTER-Mediator-UnitTest/Editors/defedit_Test.php b/spec/INTER-Mediator-UnitTest/Editors/defedit_Test.php index ecb9d27f9..38bd6ccd4 100644 --- a/spec/INTER-Mediator-UnitTest/Editors/defedit_Test.php +++ b/spec/INTER-Mediator-UnitTest/Editors/defedit_Test.php @@ -6,6 +6,9 @@ namespace Editors; use INTERMediator\IMUtil; +use PHPUnit\Framework\Attributes\BackupGlobals; +use PHPUnit\Framework\Attributes\PreserveGlobalState; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; use PHPUnit\Framework\TestCase; class defedit_Test extends TestCase diff --git a/spec/INTER-Mediator-UnitTest/Editors/pageedit_Test.php b/spec/INTER-Mediator-UnitTest/Editors/pageedit_Test.php index a2d8b1e75..2253fe6cf 100644 --- a/spec/INTER-Mediator-UnitTest/Editors/pageedit_Test.php +++ b/spec/INTER-Mediator-UnitTest/Editors/pageedit_Test.php @@ -5,6 +5,9 @@ namespace Editors; +use PHPUnit\Framework\Attributes\BackupGlobals; +use PHPUnit\Framework\Attributes\PreserveGlobalState; +use PHPUnit\Framework\Attributes\RunInSeparateProcess; use PHPUnit\Framework\TestCase; class pageedit_Test extends TestCase diff --git a/spec/run/wdio-firefox.conf.js b/spec/run/wdio-firefox.conf.js index 16c103c7a..f3bf95432 100644 --- a/spec/run/wdio-firefox.conf.js +++ b/spec/run/wdio-firefox.conf.js @@ -49,9 +49,9 @@ exports.config = { // './test/specs/calc_lookup_page_mysql.e2e.js', // './test/specs/calc_lookup_page_postgresql.e2e.js', // './test/specs/calc_lookup_page_sqlite.e2e.js', - './test/specs/media_mysql.e2e.js', - './test/specs/media_postgresql.e2e.js', - './test/specs/media_sqlite.e2e.js', + // './test/specs/media_mysql.e2e.js', + // './test/specs/media_postgresql.e2e.js', + // './test/specs/media_sqlite.e2e.js', ], // Patterns to exclude. exclude: [],