function CoderReviewUpgrade6xTest::testUpgrade6xBookAPI in Coder 7        
                          
                  
                        Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_6x.test \CoderReviewUpgrade6xTest::testUpgrade6xBookAPI()
File
 
   - coder_review/tests/coder_review_6x.test, line 224
Class
  
  - CoderReviewUpgrade6xTest 
Code
function testUpgrade6xBookAPI() {
  $this
    ->assertCoderReviewFail('  book_admin_orphan();');
  $this
    ->assertCoderReviewFail('  book_content();');
  $this
    ->assertCoderReviewFail('  book_form();');
  $this
    ->assertCoderReviewFail('  book_insert();');
  $this
    ->assertCoderReviewFail('  book_location();');
  $this
    ->assertCoderReviewFail('  book_location_down();');
  $this
    ->assertCoderReviewFail('  book_node_visitor_html_post();');
  $this
    ->assertCoderReviewFail('  book_node_visitor_html_pre();');
  $this
    ->assertCoderReviewFail('  book_recurse();');
  $this
    ->assertCoderReviewFail('  book_toc_recurse();');
  $this
    ->assertCoderReviewFail('  book_tree();');
  $this
    ->assertCoderReviewFail('  book_tree_recurse();');
  
  $this
    ->assertCoderReviewFail('  book_admin_edit($nid);');
  $this
    ->assertCoderReviewPass('  book_admin_edit($form_state, $node);');
  $this
    ->assertCoderReviewFail('  book_toc();');
  $this
    ->assertCoderReviewFail('  book_toc($exclude);');
  $this
    ->assertCoderReviewPass('  book_toc($bid, array(), $depth);');
  $this
    ->assertCoderReviewFail('  book_export_html($nid, $depth);');
  $this
    ->assertCoderReviewPass('  book_export_html($nid);');
  $this
    ->assertCoderReviewFail('  book_export();');
  $this
    ->assertCoderReviewFail('  book_export($type);');
  $this
    ->assertCoderReviewPass('  book_export($type, $nid);');
  $this
    ->assertCoderReviewFail('  book_outline($nid);');
  $this
    ->assertCoderReviewFail('  book_outline($node->nid);');
  $this
    ->assertCoderReviewPass('  book_outline($node);');
  $this
    ->assertCoderReviewFail('  book_prev($node);');
  $this
    ->assertCoderReviewPass('  book_prev($book_link);');
  $this
    ->assertCoderReviewFail('  book_next($node);');
  $this
    ->assertCoderReviewPass('  book_next($book_link);');
}