-<?php
-
-// load test harness
-require_once('PHPUnit2/Framework/IncompleteTestError.php');
-require_once('PHPUnit2/Framework/TestCase.php');
-
-// load piggy
-require_once('./../../framework/kernel.php');
-require_once('./../../includes/ApplicationController.php');
-
-/**
-* ApplicationController Test Suite
-*
-* @author Iris Studios, Inc.
-* @copyright Copyright ©2002 - [#]year[#], Iris Studios, Inc.
-* @version $Revision$
-* @package ViewSVN Tests
-*
-*/
-class ApplicationControllerTest extends PHPUnit2_Framework_TestCase
-{
- /**
- * Internal fixture: an instance of ApplicationController
- * @var object
- */
- protected $fixture;
-
- public function setUp()
- {
- $this->fixture = new ApplicationController(APPLICATION_CONTROLLER_BINARY_PATH, APPLICATION_CONTROLLER_REPOS_PATH);
- }
-
- // ###################################################################
- /**
- * Makes sure that when the controller is created the proper fields
- * have been set.
- */
- public function testNewControllerFields()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks that getRepositoryName() does not return empty.
- */
- public function testGetRepositoryName()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks that getRepositoryUri() in the controller matches the one
- * specified in the configuration.
- */
- public function testGetRepositoryUri()
- {
- $this->assertFalse(in_array($this->fixture->getRepositoryPath(), array('', '/')), 'Repository path is empty');
- $this->assertRegExp('#(.*)/$#', $this->fixture->getRepositoryPath(), 'Repository path does not end with a slash');
- }
-
- // ###################################################################
- /**
- * Checks that the command path to the SVN binary is not empty.
- */
- public function testGetSvnBinaryPath()
- {
- $this->assertNotEquals('', $this->fixture->getSvnPath(), 'SVN binary path is empty');
- }
-
- // ###################################################################
- /**
- * Checks that the revision number is set when passed via HTTP_GET or
- * HTTP_POST.
- */
- public function testHttpRequestedRevisionNumberSet()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks that the revision number is set when no arguments are passed.
- */
- public function testUnRequestedRevisionNumberSet()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks that the relative path always ends in a trailing slash if the
- * active node is a directory.
- */
- public function testRelativePathEndsWithSlash()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks that even without a HTTP request that a node is present.
- */
- public function testUnRequestedNodePresence()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Checks the validity of a HTTP_GET requested node.
- */
- public function testHttpRequestedNodePresence()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-
- // ###################################################################
- /**
- * Verifies the ability to fetch an arbitrary node.
- */
- public function testFetchArbitraryNode()
- {
- throw new PHPUnit2_Framework_IncompleteTestError;
- }
-}
-
-?>
\ No newline at end of file