mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/12514] Remove get_ prefix from data providers
PHPBB3-12514
This commit is contained in:
parent
80d9e4b2e3
commit
c15ab1e87e
6 changed files with 22 additions and 22 deletions
|
@ -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(
|
return array(
|
||||||
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)
|
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);
|
$this->assertSame($expected, $result, $description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_profile_value_data()
|
public function profile_value_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
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)
|
public function test_get_profile_value($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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(
|
return array(
|
||||||
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)
|
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);
|
$this->assertSame($expected, $result, $description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_validate_profile_field_data()
|
public function validate_profile_field_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
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)
|
public function test_validate_profile_field($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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(
|
return array(
|
||||||
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)
|
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);
|
$this->assertSame($expected, $result, $description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_profile_value_data()
|
public function profile_value_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
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)
|
public function test_get_profile_value($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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(
|
return array(
|
||||||
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)
|
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);
|
$this->assertSame($expected, $result, $description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_validate_profile_field_data()
|
public function validate_profile_field_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
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)
|
public function test_validate_profile_field($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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(
|
return array(
|
||||||
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)
|
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);
|
$this->assertSame($expected, $result, $description);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_profile_value_data()
|
public function profile_value_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
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)
|
public function test_get_profile_value($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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(
|
return array(
|
||||||
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)
|
public function test_validate_profile_field($value, $field_options, $expected, $description)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue