branch_name = '6'; $branch->title = 'Testing 6'; $branch->directory = drupal_get_path('module', 'api') .'/tests/sample'; api_save_branch($branch); // Parse the code. api_update_all_branches(); while (job_queue_dequeue()) { } } }