1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 16:22:22 +02:00

[ticket/12514] Remove get_ prefix from data providers

PHPBB3-12514
This commit is contained in:
Shitiz Garg 2014-06-18 01:11:21 +05:30
parent 80d9e4b2e3
commit c15ab1e87e
6 changed files with 22 additions and 22 deletions

View File

@ -65,7 +65,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -78,7 +78,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@ -89,7 +89,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function get_profile_value_data()
public function profile_value_data()
{
return array(
array(
@ -114,7 +114,7 @@ class phpbb_profilefield_type_bool_test extends phpbb_test_case
}
/**
* @dataProvider get_profile_value_data
* @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{

View File

@ -54,7 +54,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
);
}
public function get_profile_value_data()
public function profile_value_data()
{
return array(
array(
@ -79,7 +79,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
}
/**
* @dataProvider get_profile_value_data
* @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
@ -90,7 +90,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -127,7 +127,7 @@ class phpbb_profilefield_type_date_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{

View File

@ -68,7 +68,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -99,7 +99,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@ -110,7 +110,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function get_profile_value_data()
public function profile_value_data()
{
return array(
array(
@ -142,7 +142,7 @@ class phpbb_profilefield_type_dropdown_test extends phpbb_test_case
/**
* @dataProvider get_profile_value_data
* @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{

View File

@ -43,7 +43,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
);
}
public function get_profile_value_data()
public function profile_value_data()
{
return array(
array(
@ -99,7 +99,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
}
/**
* @dataProvider get_profile_value_data
* @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{
@ -110,7 +110,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -135,7 +135,7 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{

View File

@ -51,7 +51,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -142,7 +142,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{
@ -153,7 +153,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
$this->assertSame($expected, $result, $description);
}
public function get_profile_value_data()
public function profile_value_data()
{
return array(
array(
@ -185,7 +185,7 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
/**
* @dataProvider get_profile_value_data
* @dataProvider profile_value_data
*/
public function test_get_profile_value($value, $field_options, $expected, $description)
{

View File

@ -45,7 +45,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
);
}
public function get_validate_profile_field_data()
public function validate_profile_field_data()
{
return array(
array(
@ -88,7 +88,7 @@ class phpbb_profilefield_type_url_test extends phpbb_test_case
}
/**
* @dataProvider get_validate_profile_field_data
* @dataProvider validate_profile_field_data
*/
public function test_validate_profile_field($value, $field_options, $expected, $description)
{