[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/testcases/tests_testlib/ -> test_factory.php (summary)

(no description)

File Size: 144 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

GP_Thing_Test_Factory:: (2 methods):
  create()
  save()

GP_Test_Unittest_Factory:: (19 methods):
  create_factory()
  test_generator_sequence_should_start_with_1()
  test_generator_sequence_should_generate_consecutive_values()
  test_generator_sequence_should_include_value_in_template()
  test_generator_sequence_should_start_with_2()
  test_generator_sequence_should_generate_consecutive_values_in_template()
  test_generator_locale_name_should_start_with_aa()
  test_generator_locale_name_should_generate_consecutive_values()
  test_factory_for_thing_should_construct_with_factory_and_thing_object()
  test_factory_for_thing_generate_args_should_not_touch_args_if_no_generation_definitions()
  test_factory_for_thing_generate_args_should_not_touch_args_if_different_generation_defintions()
  test_factory_for_thing_generate_args_should_set_undefined_scalar_values()
  test_factory_for_thing_generate_args_should_use_generator()
  test_factory_for_thing_generate_args_should_return_error_on_bad_default_value()
  test_factory_for_thing_generate_args_should_use_default_generator_definition_if_non_given()
  test_factory_for_thing_create_should_call_create_once()
  create_thing_mock_with_name_field_and_with_create_which_should_be_called_once_with()
  test_factory_for_thing_create_should_use_function_generator()
  create_thing_stub_with_name_and_full_name_which_on_create_returns_mock_whose_save_should_be_called_with()


Class: GP_Thing_Test_Factory  - X-Ref

create( $args )   X-Ref
No description

save( $args )   X-Ref
No description

Class: GP_Test_Unittest_Factory  - X-Ref

create_factory( $field_names = array()   X-Ref
No description

test_generator_sequence_should_start_with_1()   X-Ref
No description

test_generator_sequence_should_generate_consecutive_values()   X-Ref
No description

test_generator_sequence_should_include_value_in_template()   X-Ref
No description

test_generator_sequence_should_start_with_2()   X-Ref
No description

test_generator_sequence_should_generate_consecutive_values_in_template()   X-Ref
No description

test_generator_locale_name_should_start_with_aa()   X-Ref
No description

test_generator_locale_name_should_generate_consecutive_values()   X-Ref
No description

test_factory_for_thing_should_construct_with_factory_and_thing_object()   X-Ref
No description

test_factory_for_thing_generate_args_should_not_touch_args_if_no_generation_definitions()   X-Ref
No description

test_factory_for_thing_generate_args_should_not_touch_args_if_different_generation_defintions()   X-Ref
No description

test_factory_for_thing_generate_args_should_set_undefined_scalar_values()   X-Ref
No description

test_factory_for_thing_generate_args_should_use_generator()   X-Ref
No description

test_factory_for_thing_generate_args_should_return_error_on_bad_default_value()   X-Ref
No description

test_factory_for_thing_generate_args_should_use_default_generator_definition_if_non_given()   X-Ref
No description

test_factory_for_thing_create_should_call_create_once()   X-Ref
No description

create_thing_mock_with_name_field_and_with_create_which_should_be_called_once_with( $expected_create_args )   X-Ref
No description

test_factory_for_thing_create_should_use_function_generator()   X-Ref
No description

create_thing_stub_with_name_and_full_name_which_on_create_returns_mock_whose_save_should_be_called_with( $create_args, $expected_save_args )   X-Ref
No description



Generated: Fri Apr 19 01:01:21 2024 Cross-referenced by PHPXref 0.7.1