New test files.

This commit is contained in:
James Cole
2016-12-06 09:16:36 +01:00
parent 2ca584f097
commit a05c8ca351
49 changed files with 615 additions and 110 deletions

View File

@@ -1,10 +1,20 @@
<?php
/**
* AccountControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class AccountControllerTest extends TestCase
{
@@ -32,10 +42,10 @@ class AccountControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByBudget
* Implement testExpenseByBudget().
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseBudget
* Implement testExpenseBudget().
*/
public function testExpenseByBudget()
public function testExpenseBudget()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@@ -44,10 +54,10 @@ class AccountControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseByCategory
* Implement testExpenseByCategory().
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseCategory
* Implement testExpenseCategory().
*/
public function testExpenseByCategory()
public function testExpenseCategory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@@ -68,10 +78,10 @@ class AccountControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::incomeByCategory
* Implement testIncomeByCategory().
* @covers FireflyIII\Http\Controllers\Chart\AccountController::incomeCategory
* Implement testIncomeCategory().
*/
public function testIncomeByCategory()
public function testIncomeCategory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(

View File

@@ -1,10 +1,20 @@
<?php
/**
* BillControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class BillControllerTest extends TestCase
{

View File

@@ -1,10 +1,20 @@
<?php
/**
* BudgetControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class BudgetControllerTest extends TestCase
{
@@ -67,6 +77,18 @@ class BudgetControllerTest extends TestCase
);
}
/**
* @covers FireflyIII\Http\Controllers\Chart\BudgetController::periodNoBudget
* Implement testPeriodNoBudget().
*/
public function testPeriodNoBudget()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.

View File

@@ -1,10 +1,20 @@
<?php
/**
* CategoryControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class CategoryControllerTest extends TestCase
{
@@ -67,6 +77,18 @@ class CategoryControllerTest extends TestCase
);
}
/**
* @covers FireflyIII\Http\Controllers\Chart\CategoryController::reportPeriodNoCategory
* Implement testReportPeriodNoCategory().
*/
public function testReportPeriodNoCategory()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Chart\CategoryController::specificPeriod
* Implement testSpecificPeriod().

View File

@@ -1,10 +1,20 @@
<?php
/**
* CategoryReportControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class CategoryReportControllerTest extends TestCase
{

View File

@@ -1,10 +1,20 @@
<?php
/**
* PiggyBankControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:40.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class PiggyBankControllerTest extends TestCase
{

View File

@@ -1,10 +1,20 @@
<?php
/**
* ReportControllerTest.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International License.
*
* See the LICENSE file for details.
*/
namespace Chart;
use TestCase;
/**
* Generated by PHPUnit_SkeletonGenerator on 2016-12-04 at 07:07:41.
* Generated by PHPUnit_SkeletonGenerator on 2016-12-06 at 08:13:19.
*/
class ReportControllerTest extends TestCase
{
@@ -32,10 +42,10 @@ class ReportControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Chart\ReportController::yearInOut
* Implement testYearInOut().
* @covers FireflyIII\Http\Controllers\Chart\ReportController::operations
* Implement testOperations().
*/
public function testYearInOut()
public function testOperations()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@@ -44,10 +54,10 @@ class ReportControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Chart\ReportController::yearInOutSummarized
* Implement testYearInOutSummarized().
* @covers FireflyIII\Http\Controllers\Chart\ReportController::sum
* Implement testSum().
*/
public function testYearInOutSummarized()
public function testSum()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(