Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated dependencies and added tests

Signed-off-by: George Petsagourakis <petsagouris@gmail.com>
  • Loading branch information...
commit 74c31d672fc3f945486d10eca9a6d058d29814d0 1 parent 2300934
@petsagouris petsagouris authored committed
Showing with 94 additions and 0 deletions.
  1. +3 −0  composer.json
  2. +91 −0 tests/Phpmig/Test/Adapter/File/FlatTest.php
View
3  composer.json
@@ -16,11 +16,14 @@
}],
"require": {
"php": ">=5.3.2",
+ "pimple/pimple":"1.*",
"symfony/console": "2.*",
+ "symfony/yaml": "2.*",
"symfony/config": "2.*",
"symfony/class-loader": "2.*"
},
"require-dev": {
+ "phpunit/phpunit": "3.*",
"mockery/mockery": "*@dev"
},
"autoload": {
View
91 tests/Phpmig/Test/Adapter/File/FlatTest.php
@@ -0,0 +1,91 @@
+<?php
+namespace Phpmig\Test\Adapter\File;
+
+use \Phpmig\Adapter\File\Flat;
+/**
+ * Generated by PHPUnit_SkeletonGenerator 1.2.0 on 2012-11-08 at 14:04:35.
+ */
+class FlatTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * @var Flat
+ */
+ protected $object;
+
+ /**
+ * Sets up the fixture, for example, opens a network connection.
+ * This method is called before a test is executed.
+ */
+ protected function setUp()
+ {
+ $this->object = new Flat(__DIR__.'/good.log');
+ }
+
+ /**
+ * Tears down the fixture, for example, closes a network connection.
+ * This method is called after a test is executed.
+ */
+ protected function tearDown()
+ {
+ }
+
+ /**
+ * @covers Phpmig\Adapter\File\Flat::fetchAll
+ * @todo Implement testFetchAll().
+ */
+ public function testFetchAll()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Phpmig\Adapter\File\Flat::up
+ * @todo Implement testUp().
+ */
+ public function testUp()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Phpmig\Adapter\File\Flat::down
+ * @todo Implement testDown().
+ */
+ public function testDown()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Phpmig\Adapter\File\Flat::hasSchema
+ * @todo Implement testHasSchema().
+ */
+ public function testHasSchema()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+
+ /**
+ * @covers Phpmig\Adapter\File\Flat::createSchema
+ * @todo Implement testCreateSchema().
+ */
+ public function testCreateSchema()
+ {
+ // Remove the following lines when you implement this test.
+ $this->markTestIncomplete(
+ 'This test has not been implemented yet.'
+ );
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.