[wp-gsoc] [Summer of Code] #332: Test cases for WordPress_Importer

Summer of Code noreply at wordpress.org
Tue Jul 23 05:34:14 UTC 2013

#332: Test cases for WordPress_Importer
 Reporter:  frederick.ding           |       Owner:
     Type:  task                     |      Status:  new
 Priority:  normal                   |   Milestone:  2013 Midterm (Beta)
Component:  Migration & Portability  |  Resolution:
 Keywords:  needs-unit-tests         |

Comment (by frederick.ding):

 In [changeset:"2139"]:
 #!CommitTicketReference repository="" revision="2139"
 Add tests for WXR importer; see #332

 - `test_params()`: tests `set_param()`, `get_param()`, `get_all_params()`
 - `test_process_author_mappings_standalone()`: tests irreversible problems
   with `process_author_mappings()`
 - `test_process_author_mappings_standalone2()`: tests standard operation
   `process_author_mappings()` (separate from previous item due to
   irreversibility of error)
 - `self::set()`: uses Reflection to set otherwise inaccessible properties

Ticket URL: </ticket/332#comment:2>
Summer of Code </>
My example project

More information about the wp-gsoc mailing list