Class GP_Test_Unittest_Factory

Description

Located in /t/tests_testlib/test_factory.php (line 13)

PHPUnit_Framework_TestCase
   |
   --GP_UnitTestCase
      |
      --GP_Test_Unittest_Factory
Method Summary
Variables

Inherited Variables

Inherited from GP_UnitTestCase

GP_UnitTestCase::$url
Methods
create_factory (line 15)
void create_factory ([ $field_names = array()], [ $defaults = array()])
  • $field_names
  • $defaults
test_factory_for_thing_create_should_call_create_once (line 105)
void test_factory_for_thing_create_should_call_create_once ()
test_factory_for_thing_create_should_use_function_generator (line 120)
void test_factory_for_thing_create_should_use_function_generator ()
test_factory_for_thing_generate_args_should_not_touch_args_if_different_generation_defintions (line 75)
void test_factory_for_thing_generate_args_should_not_touch_args_if_different_generation_defintions ()
test_factory_for_thing_generate_args_should_not_touch_args_if_no_generation_definitions (line 69)
void test_factory_for_thing_generate_args_should_not_touch_args_if_no_generation_definitions ()
test_factory_for_thing_generate_args_should_return_error_on_bad_default_value (line 95)
void test_factory_for_thing_generate_args_should_return_error_on_bad_default_value ()
test_factory_for_thing_generate_args_should_set_undefined_scalar_values (line 81)
void test_factory_for_thing_generate_args_should_set_undefined_scalar_values ()
test_factory_for_thing_generate_args_should_use_default_generator_definition_if_non_given (line 100)
void test_factory_for_thing_generate_args_should_use_default_generator_definition_if_non_given ()
test_factory_for_thing_generate_args_should_use_generator (line 86)
void test_factory_for_thing_generate_args_should_use_generator ()
test_factory_for_thing_should_construct_with_factory_and_thing_object (line 64)
void test_factory_for_thing_should_construct_with_factory_and_thing_object ()
test_generator_locale_name_should_generate_consecutive_values (line 56)
void test_generator_locale_name_should_generate_consecutive_values ()
test_generator_locale_name_should_start_with_aa (line 51)
void test_generator_locale_name_should_start_with_aa ()
test_generator_sequence_should_generate_consecutive_values (line 26)
void test_generator_sequence_should_generate_consecutive_values ()
test_generator_sequence_should_generate_consecutive_values_in_template (line 44)
void test_generator_sequence_should_generate_consecutive_values_in_template ()
test_generator_sequence_should_include_value_in_template (line 34)
void test_generator_sequence_should_include_value_in_template ()
test_generator_sequence_should_start_with_1 (line 21)
void test_generator_sequence_should_start_with_1 ()
test_generator_sequence_should_start_with_2 (line 39)
void test_generator_sequence_should_start_with_2 ()

Inherited Methods

Inherited From GP_UnitTestCase

GP_UnitTestCase::assertDiscardWhitespace()
GP_UnitTestCase::assertEqualFields()
GP_UnitTestCase::assertWPError()
GP_UnitTestCase::clean_up_global_scope()
GP_UnitTestCase::setUp()
GP_UnitTestCase::set_admin_user_as_current()
GP_UnitTestCase::set_normal_user_as_current()
GP_UnitTestCase::start_transaction()
GP_UnitTestCase::tearDown()
GP_UnitTestCase::temp_filename()

Documentation generated on Fri, 18 May 2012 01:46:07 +0100 by phpDocumentor 1.4.3