ソースを参照

add basic tests

euromark 13 年 前
コミット
62346ab7a8

+ 20 - 0
Test/Case/Console/Command/CcShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('CcShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class CcShellTest extends MyCakeTestCase {
+
+	public $CcShell;
+
+	public function setUp() {
+		$this->CcShell = new CcShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->CcShell));
+		$this->assertInstanceOf('CcShell', $this->CcShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/CodeShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('CodeShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class CodeShellTest extends MyCakeTestCase {
+
+	public $CodeShell;
+
+	public function setUp() {
+		$this->CodeShell = new CodeShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->CodeShell));
+		$this->assertInstanceOf('CodeShell', $this->CodeShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/ConvertShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('ConvertShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class ConvertShellTest extends MyCakeTestCase {
+
+	public $ConvertShell;
+
+	public function setUp() {
+		$this->ConvertShell = new ConvertShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->ConvertShell));
+		$this->assertInstanceOf('ConvertShell', $this->ConvertShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/FolderSyncShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('FolderSyncShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class FolderSyncShellTest extends MyCakeTestCase {
+
+	public $FolderSyncShell;
+
+	public function setUp() {
+		$this->FolderSyncShell = new FolderSyncShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->FolderSyncShell));
+		$this->assertInstanceOf('FolderSyncShell', $this->FolderSyncShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/HashShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('HashShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class HashShellTest extends MyCakeTestCase {
+
+	public $HashShell;
+
+	public function setUp() {
+		$this->HashShell = new HashShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->HashShell));
+		$this->assertInstanceOf('HashShell', $this->HashShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/IndentShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('IndentShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class IndentShellTest extends MyCakeTestCase {
+
+	public $IndentShell;
+
+	public function setUp() {
+		$this->IndentShell = new IndentShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->IndentShell));
+		$this->assertInstanceOf('IndentShell', $this->IndentShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/IndexShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('IndexShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class IndexShellTest extends MyCakeTestCase {
+
+	public $IndexShell;
+
+	public function setUp() {
+		$this->IndexShell = new IndexShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->IndexShell));
+		$this->assertInstanceOf('IndexShell', $this->IndexShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/PhpTagShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('PhpTagShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class PhpTagShellTest extends MyCakeTestCase {
+
+	public $PhpTagShell;
+
+	public function setUp() {
+		$this->PhpTagShell = new PhpTagShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->PhpTagShell));
+		$this->assertInstanceOf('PhpTagShell', $this->PhpTagShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/ResetShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('ResetShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class ResetShellTest extends MyCakeTestCase {
+
+	public $ResetShell;
+
+	public function setUp() {
+		$this->ResetShell = new ResetShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->ResetShell));
+		$this->assertInstanceOf('ResetShell', $this->ResetShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/UserShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('UserShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class UserShellTest extends MyCakeTestCase {
+
+	public $UserShell;
+
+	public function setUp() {
+		$this->UserShell = new UserShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->UserShell));
+		$this->assertInstanceOf('UserShell', $this->UserShell);
+	}
+
+	//TODO
+}

+ 20 - 0
Test/Case/Console/Command/WhitespaceShellTest.php

@@ -0,0 +1,20 @@
+<?php
+
+App::uses('WhitespaceShell', 'Tools.Console/Command');
+App::uses('MyCakeTestCase', 'Tools.TestSuite');
+
+class WhitespaceShellTest extends MyCakeTestCase {
+
+	public $WhitespaceShell;
+
+	public function setUp() {
+		$this->WhitespaceShell = new WhitespaceShell();
+	}
+
+	public function testObject() {
+		$this->assertTrue(is_object($this->WhitespaceShell));
+		$this->assertInstanceOf('WhitespaceShell', $this->WhitespaceShell);
+	}
+
+	//TODO
+}