Skip to content

Commit

Permalink
use more expressive test file names
Browse files Browse the repository at this point in the history
Make test purpose clearer by using more expressive test file names that reflect
test purpose.
  • Loading branch information
lavarou committed Jan 7, 2025
1 parent ce4c0fa commit 9b4df67
Show file tree
Hide file tree
Showing 20 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
and a query is executed via PDOStatement::execute() with value bound,
the agent should
- not generate errors
- record datastore metrics
- record a datastore metrics
- record a datastore span event
Moreover, when the query execution time exceeds the explain threshold,
the agent should record a slow sql trace without explain plan.
Expand Down Expand Up @@ -101,7 +101,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from information_schema.tables where table_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_master limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_master where tbl_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_schema limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_schema where tbl_name = ? limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_1.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_basic.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_schema limit 1;';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
]
*/

require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_2.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../test_prepared_stmt_bind_value.inc');
require_once(realpath (dirname ( __FILE__ )) . '/../../../../include/config.php');

$query = 'select * from sqlite_schema where tbl_name = ? limit 1;';
Expand Down

0 comments on commit 9b4df67

Please sign in to comment.