4 require_once('PHPUnit2/Framework/IncompleteTestError.php');
5 require_once('PHPUnit2/Framework/TestCase.php');
8 require_once('./../../includes/ApplicationController.php');
11 * ApplicationController Test Suite
13 * @author Iris Studios, Inc.
14 * @copyright Copyright ©2002 - [#]year[#], Iris Studios, Inc.
16 * @package ViewSVN Tests
19 class ApplicationControllerTest
extends PHPUnit2_Framework_TestCase
23 public function setUp() {}
25 // ###################################################################
27 * Makes sure that when the controller is created the proper fields
30 public function testNewControllerFields()
32 throw new PHPUnit2_Framework_IncompleteTestError
;
35 // ###################################################################
37 * Checks that getRepositoryName() does not return empty.
39 public function testGetRepositoryName()
41 throw new PHPUnit2_Framework_IncompleteTestError
;
44 // ###################################################################
46 * Checks that getRepositoryUri() in the controller matches the one
47 * specified in the configuration.
49 public function testGetRepositoryUri()
51 throw new PHPUnit2_Framework_IncompleteTestError
;
54 // ###################################################################
56 * Checks that the command path to the SVN binary is not empty.
58 public function testGetSvnBinaryPath()
60 throw new PHPUnit2_Framework_IncompleteTestError
;
63 // ###################################################################
65 * Checks that the revision number is set when passed via HTTP_GET or
68 public function testHttpRequestedRevisionNumberSet()
70 throw new PHPUnit2_Framework_IncompleteTestError
;
73 // ###################################################################
75 * Checks that the revision number is set when no arguments are passed.
77 public function testUnRequestedRevisionNumberSet()
79 throw new PHPUnit2_Framework_IncompleteTestError
;
82 // ###################################################################
84 * Checks that the relative path always ends in a trailing slash if the
85 * active node is a directory.
87 public function testRelativePathEndsWithSlash()
89 throw new PHPUnit2_Framework_IncompleteTestError
;
92 // ###################################################################
94 * Checks that even without a HTTP request that a node is present.
96 public function testUnRequestedNodePresence()
98 throw new PHPUnit2_Framework_IncompleteTestError
;
101 // ###################################################################
103 * Checks the validity of a HTTP_GET requested node.
105 public function testHttpRequestedNodePresence()
107 throw new PHPUnit2_Framework_IncompleteTestError
;
110 // ###################################################################
112 * Verifies the ability to fetch an arbitrary node.
114 public function testFetchArbitraryNode()
116 throw new PHPUnit2_Framework_IncompleteTestError
;