[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/tests/phpunit/lib/ -> factory.php (summary)

(no description)

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

Defines 12 classes

GP_UnitTest_Factory:: (1 method):
  __construct()

GP_UnitTest_Factory_For_Project:: (1 method):
  __construct()

GP_UnitTest_Factory_For_User:: (1 method):
  create_admin()

GP_UnitTest_Factory_For_Translation_Set:: (3 methods):
  __construct()
  create_with_project()
  create_with_project_and_locale()

GP_UnitTest_Factory_For_Original:: (1 method):
  __construct()

GP_UnitTest_Factory_For_Translation:: (2 methods):
  __construct()
  create_with_original_for_translation_set()

GP_UnitTest_Factory_For_Locale:: (2 methods):
  __construct()
  create()

GP_UnitTest_Factory_For_Glossary:: (2 methods):
  __construct()
  create_with_project_set_and_locale()

GP_UnitTest_Factory_For_Thing:: (5 methods):
  __construct()
  create()
  generate_args()
  apply_callbacks()
  callback()

GP_UnitTest_Generator_Sequence:: (2 methods):
  __construct()
  next()

GP_UnitTest_Generator_Locale_Name:: (1 method):
  __construct()

GP_UnitTest_Factory_Callback_After_Create:: (2 methods):
  __construct()
  call()


Class: GP_UnitTest_Factory  - X-Ref

Class: GP_UnitTest_Factory_For_Project  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

Class: GP_UnitTest_Factory_For_User  - X-Ref

create_admin( $args = array()   X-Ref
No description

Class: GP_UnitTest_Factory_For_Translation_Set  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

create_with_project( $args = array()   X-Ref
No description

create_with_project_and_locale( $args = array()   X-Ref
No description

Class: GP_UnitTest_Factory_For_Original  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

Class: GP_UnitTest_Factory_For_Translation  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

create_with_original_for_translation_set( $set, $args = array()   X-Ref
No description

Class: GP_UnitTest_Factory_For_Locale  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

create( $args = array()   X-Ref
No description

Class: GP_UnitTest_Factory_For_Glossary  - X-Ref

__construct( $factory = null, $thing = null )   X-Ref
No description

create_with_project_set_and_locale( $args = array()   X-Ref
No description

Class: GP_UnitTest_Factory_For_Thing  - X-Ref

__construct( $factory, $thing, $default_generation_definitions = array()   X-Ref
Creates a new factory, which will create objects of a specific Thing

param: object $factory GLobal factory that can be used to create other objects on the system
param: object $thing Instance of a GP_Thing subclass. This factory will create objects of this type
param: array $default_generation_definitions Defines what default values should the properties of the object have. The default values

create( $args = array()   X-Ref
No description

generate_args( $args = array()   X-Ref
No description

apply_callbacks( $callbacks, $created )   X-Ref
No description

callback( $function )   X-Ref
No description

Class: GP_UnitTest_Generator_Sequence  - X-Ref

__construct( $template_string = '%s', $start = 1 )   X-Ref
No description

next()   X-Ref
No description

Class: GP_UnitTest_Generator_Locale_Name  - X-Ref

__construct()   X-Ref
No description

Class: GP_UnitTest_Factory_Callback_After_Create  - X-Ref

__construct( $callback )   X-Ref
No description

call( $object )   X-Ref
No description



Generated: Wed Nov 20 01:01:59 2019 Cross-referenced by PHPXref 0.7.1