Ignore:
Timestamp:
12/17/09 19:28:55 (2 years ago)
Author:
CrawfordCurrie
Message:

Item2511: split macros out of the Foswiki.pm monster

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UnitTestContrib/test/unit/TOCTests.pm

    r2958 r5810  
    1616use Foswiki::UI::Edit; 
    1717use Foswiki::Form; 
     18use Foswiki::Macros::TOC; 
    1819use Unit::Request; 
    1920use Unit::Response; 
     
    9697    # Now generate the TOC 
    9798    my $topicObject = Foswiki::Meta->new( $fatwilly, $web, $topic ); 
    98     my $res = $fatwilly->_TOC( $text, $topicObject, $tocparams ); 
     99    my $res = $fatwilly->TOC( $text, $topicObject, $tocparams ); 
    99100 
    100101    eval 'use HTML::TreeBuilder; use HTML::Element;'; 
Note: See TracChangeset for help on using the changeset viewer.