Changeset 1453

Show
Ignore:
Timestamp:
03/23/08 00:56:18 (2 months ago)
Author:
mikey
Message:

added separate unit test for net::stubbles::websites::variantmanager::stubAbstractVariantFactory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/websites/variantmanager/stubAbstractVariantFactory.php

    r1301 r1453  
    11<?php 
    22/** 
    3  * Basic abstract implementation for a variant factory. 
     3 * Abstract base implementation for a variant factory. 
    44 *  
    55 * @author      Stephan Schmidt <stephan.schmidt@schlund.de> 
     
    1212); 
    1313/** 
    14  * Basic abstract implementation for a variant factory. 
     14 * Abstract base implementation for a variant factory. 
    1515 *  
    1616 * @package     stubbles 
  • trunk/src/main/php/net/stubbles/websites/variantmanager/stubVariantFactory.php

    r1301 r1453  
    2525     */ 
    2626    public function getVariantNames(); 
    27      
     27 
    2828    /** 
    2929     * get a variant by its name 
     
    3333     */ 
    3434    public function getVariantByName($variantName); 
    35      
     35 
    3636    /** 
    3737     * return the variant map 
  • trunk/src/test/php/net/stubbles/websites/variantmanager/VariantManagerTestSuite.php

    r1269 r1453  
    2424        $suite = new self(); 
    2525        $dir   = dirname(__FILE__); 
     26        $suite->addTestFile($dir . '/stubAbstractVariantFactoryTestCase.php'); 
     27        $suite->addTestFile($dir . '/stubVariantsMapTestCase.php'); 
     28        $suite->addTestFile($dir . '/stubVariantsPreInterceptorCookieVariantTestCase.php'); 
     29        $suite->addTestFile($dir . '/stubVariantsPreInterceptorProcessTestCase.php'); 
     30        $suite->addTestFile($dir . '/stubVariantXJConfFactoryTestCase.php'); 
     31         
     32        // types 
    2633        $suite->addTestFile($dir . '/types/stubAbstractVariantTestCase.php'); 
    2734        $suite->addTestFile($dir . '/types/stubDummyVariantTestCase.php'); 
     
    3037        $suite->addTestFile($dir . '/types/stubRequestParamVariantTestCase.php'); 
    3138        $suite->addTestFile($dir . '/types/stubRootVariantTestCase.php'); 
    32         $suite->addTestFile($dir . '/stubVariantsMapTestCase.php'); 
    33         $suite->addTestFile($dir . '/stubVariantsPreInterceptorCookieVariantTestCase.php'); 
    34         $suite->addTestFile($dir . '/stubVariantsPreInterceptorProcessTestCase.php'); 
    35         $suite->addTestFile($dir . '/stubVariantXJConfFactoryTestCase.php'); 
    3639        return $suite; 
    3740    }