Removing the docs/ directory because we really no longer need it for anything
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 21 Apr 2007 21:36:22 +0000 (21:36 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 21 Apr 2007 21:36:22 +0000 (21:36 +0000)
docs/difftest.php [deleted file]
docs/phpunit/AllTests.php [deleted file]
docs/phpunit/ApplicationControllerTest.php [deleted file]
docs/phpunit/config.php [deleted file]
docs/spec.doc [deleted file]
docs/todo.txt [deleted file]

diff --git a/docs/difftest.php b/docs/difftest.php
deleted file mode 100644 (file)
index 9b5a136..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-<?php
-/*=====================================================================*\
-|| ###################################################################
-|| # ViewSVN [#]version[#]
-|| # Copyright ©2002-[#]year[#] Blue Static
-|| #
-|| # This program is free software; you can redistribute it and/or modify
-|| # it under the terms of the GNU General Public License as published by
-|| # the Free Software Foundation; version [#]gpl[#] of the License.
-|| #
-|| # This program is distributed in the hope that it will be useful, but
-|| # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-|| # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-|| # more details.
-|| #
-|| # You should have received a copy of the GNU General Public License along
-|| # with this program; if not, write to the Free Software Foundation, Inc.,
-|| # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-|| ###################################################################
-\*=====================================================================*/
-
-chdir('./../');
-require_once('./global.php');
-
-//$output = $viewsvn->svn->blame('bugtrack', '/trunk/index.php', 0);
-
-// diff /bugtrack/trunk/index@351:359
-
-$diff = new SVNDiff('bugtrack', '/trunk/', 314, 315);
-
-//print_r($diff);
-
-echo <<<HTML
-<style type="text/css">
-<!--
-       
-       .diff_add
-       {
-               background-color: #99EE99;
-       }
-       
-       .diff_del
-       {
-               background-color: #EE9999;
-       }
-       
-       table
-       {
-               font: normal 11px monospace;
-       }
-       
-//-->
-</style>
-HTML;
-
-foreach ($diff->fetch() AS $filename => $file)
-{
-       echo '<h2>' . $filename . '</h2>';
-       
-       foreach ($file AS $hunk)
-       {
-               echo '<table cellspacing="1" cellpadding="1" width="100%">';
-               
-               foreach ($hunk AS $key => $line)
-               {
-                       if ($key == 'hunk' AND isset($line['old']))
-                       {
-                               echo '
-                       <tr style="background-color: #F7F7F7">
-                               <td colspan="3">&nbsp;</td>
-                       </tr>';
-                               continue;
-                       }
-                       
-                       if ($line['act'] == '+')
-                       {
-                               $color = '#DDFFDD';
-                       }
-                       else if ($line['act'] == '-')
-                       {
-                               $color = '#FFDDDD';
-                       }
-                       else
-                       {
-                               $color = 'white';
-                       }
-                       
-                       echo '
-                       <tr style="background-color: #EEEEDD; border-width: 0px 1px 1px 0px">
-                               <td>' . $line['oldlineno'] . '</td>
-                               <td>' . $line['newlineno'] . '</td>
-                               <td style="background-color: ' . $color . '">' . $viewsvn->svn->format($line['line']) . '</td>
-                       </tr>';
-               }
-               
-               echo '
-               </table>';
-       }
-       
-       echo '<hr />';
-}
-
-/*=====================================================================*\
-|| ###################################################################
-|| # $HeadURL$
-|| # $Id$
-|| ###################################################################
-\*=====================================================================*/
-?>
\ No newline at end of file
diff --git a/docs/phpunit/AllTests.php b/docs/phpunit/AllTests.php
deleted file mode 100644 (file)
index a17a182..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-// load the test harness
-require_once('PHPUnit2/Framework/TestResult.php');
-require_once('PHPUnit2/Framework/TestSuite.php');
-require_once('PHPUnit2/Framework/Warning.php');
-require_once('PHPUnit2/Framework/IncompleteTestError.php');
-
-require_once('config.php');
-require_once('/Server/htdocs/tools/ISI_PHPUnit2_Output_HTML_Listener.php');
-require_once('PHPUnit2/TextUI/ResultPrinter.php');
-
-// setup the new test suite
-$result = new PHPUnit2_Framework_TestResult;
-$result->addListener(new ISI_PHPUnit2_Output_HTML_Listener);
-$suite = new PHPUnit2_Framework_TestSuite;
-
-// load tests
-$suite->addTestFile('ApplicationControllerTest.php');
-
-// run all the tests
-$suite->run($result);
-
-?>
\ No newline at end of file
diff --git a/docs/phpunit/ApplicationControllerTest.php b/docs/phpunit/ApplicationControllerTest.php
deleted file mode 100644 (file)
index 247cb01..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-<?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
diff --git a/docs/phpunit/config.php b/docs/phpunit/config.php
deleted file mode 100644 (file)
index f2dac5b..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-
-define('APPLICATION_CONTROLLER_BINARY_PATH', '/usr/local/bin/svn');
-define('APPLICATION_CONTROLLER_REPOS_PATH', 'file:///Server/htdocs/viewsvn/reposdir');
-
-?>
\ No newline at end of file
diff --git a/docs/spec.doc b/docs/spec.doc
deleted file mode 100644 (file)
index 3b66c3a..0000000
Binary files a/docs/spec.doc and /dev/null differ
diff --git a/docs/todo.txt b/docs/todo.txt
deleted file mode 100644 (file)
index f8129b8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-TODO LIST: $Id$
-###################################################################
-
-- allow changing of revision number
-- arbitrary diffs
-- arbitrary logs
-- repository switcher
-- sorting of columns
\ No newline at end of file