mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
New (empty) tests.
This commit is contained in:
parent
83ec60254c
commit
a8d60388ba
@ -13,14 +13,6 @@ use Illuminate\Support\Collection;
|
||||
interface BillChartGenerator
|
||||
{
|
||||
|
||||
/**
|
||||
* @param Bill $bill
|
||||
* @param Collection $entries
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function single(Bill $bill, Collection $entries);
|
||||
|
||||
/**
|
||||
* @param Collection $paid
|
||||
* @param Collection $unpaid
|
||||
@ -29,4 +21,12 @@ interface BillChartGenerator
|
||||
*/
|
||||
public function frontpage(Collection $paid, Collection $unpaid);
|
||||
|
||||
/**
|
||||
* @param Bill $bill
|
||||
* @param Collection $entries
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function single(Bill $bill, Collection $entries);
|
||||
|
||||
}
|
||||
|
2
pu.sh
2
pu.sh
@ -10,7 +10,7 @@ then
|
||||
fi
|
||||
|
||||
# directories to look in:
|
||||
dirs=("controllers" "database" "factories" "helpers" "models" "middleware" "repositories" "support")
|
||||
dirs=("controllers" "database" "factories" "generators" "helpers" "models" "middleware" "repositories" "support")
|
||||
|
||||
if [ ! -z "$1" ]
|
||||
then
|
||||
|
52
tests/generators/ChartJsAccountChartGeneratorTest.php
Normal file
52
tests/generators/ChartJsAccountChartGeneratorTest.php
Normal file
@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ChartJsAccountChartGeneratorTest
|
||||
*/
|
||||
class ChartJsAccountChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\ChartJsAccountChartGenerator::all
|
||||
*/
|
||||
public function testAll()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\ChartJsAccountChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\ChartJsAccountChartGenerator::single
|
||||
*/
|
||||
public function testSingle()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
44
tests/generators/ChartJsBillChartGeneratorTest.php
Normal file
44
tests/generators/ChartJsBillChartGeneratorTest.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleBillChartGeneratorTest
|
||||
*/
|
||||
class ChartJsBillChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Bill\ChartJsBillChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Bill\ChartJsBillChartGenerator::single
|
||||
*/
|
||||
public function testSingle()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
60
tests/generators/ChartJsBudgetChartGeneratorTest.php
Normal file
60
tests/generators/ChartJsBudgetChartGeneratorTest.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ChartJsBudgetChartGeneratorTest
|
||||
*/
|
||||
class ChartJsBudgetChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\ChartJsBudgetChartGenerator::budget
|
||||
*/
|
||||
public function testBudget()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\ChartJsBudgetChartGenerator::budgetLimit
|
||||
*/
|
||||
public function testBudgetLimit()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\ChartJsBudgetChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\ChartJsBudgetChartGenerator::year
|
||||
*/
|
||||
public function testYear()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
60
tests/generators/ChartJsCategoryChartGeneratorTest.php
Normal file
60
tests/generators/ChartJsCategoryChartGeneratorTest.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ChartJsCategoryChartGeneratorTest
|
||||
*/
|
||||
class ChartJsCategoryChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\ChartJsCategoryChartGenerator::all
|
||||
*/
|
||||
public function testAll()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\ChartJsCategoryChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\ChartJsCategoryChartGenerator::month
|
||||
*/
|
||||
public function testMonth()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\ChartJsCategoryChartGenerator::year
|
||||
*/
|
||||
public function testYear()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
36
tests/generators/ChartJsPiggyBankChartGeneratorTest.php
Normal file
36
tests/generators/ChartJsPiggyBankChartGeneratorTest.php
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ChartJsPiggyBankChartGeneratorTest
|
||||
*/
|
||||
class ChartJsPiggyBankChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\PiggyBank\ChartJsPiggyBankChartGenerator::history
|
||||
*/
|
||||
public function testHistory()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
44
tests/generators/ChartJsReportChartGeneratorTest.php
Normal file
44
tests/generators/ChartJsReportChartGeneratorTest.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class ChartJsReportChartGeneratorTest
|
||||
*/
|
||||
class ChartJsReportChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* FireflyIII\Generator\Chart\Report\ChartJsReportChartGenerator::yearInOut
|
||||
*/
|
||||
public function testYearInOut()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* FireflyIII\Generator\Chart\Report\ChartJsReportChartGenerator::yearInOutSummarized
|
||||
*/
|
||||
public function testYearInOutSummarized()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
53
tests/generators/GoogleAccountChartGeneratorTest.php
Normal file
53
tests/generators/GoogleAccountChartGeneratorTest.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleAccountChartGeneratorTest
|
||||
*/
|
||||
class GoogleAccountChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\GoogleAccountChartGenerator::all
|
||||
*/
|
||||
public function testAll()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\GoogleAccountChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Account\GoogleAccountChartGenerator::single
|
||||
*/
|
||||
public function testSingle()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
}
|
44
tests/generators/GoogleBillChartGeneratorTest.php
Normal file
44
tests/generators/GoogleBillChartGeneratorTest.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleBillChartGeneratorTest
|
||||
*/
|
||||
class GoogleBillChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Bill\GoogleBillChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Bill\GoogleBillChartGenerator::single
|
||||
*/
|
||||
public function testSingle()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
61
tests/generators/GoogleBudgetChartGeneratorTest.php
Normal file
61
tests/generators/GoogleBudgetChartGeneratorTest.php
Normal file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleBudgetChartGeneratorTest
|
||||
*/
|
||||
class GoogleBudgetChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\GoogleBudgetChartGenerator::budget
|
||||
*/
|
||||
public function testBudget()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\GoogleBudgetChartGenerator::budgetLimit
|
||||
*/
|
||||
public function testBudgetLimit()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\GoogleBudgetChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Budget\GoogleBudgetChartGenerator::year
|
||||
*/
|
||||
public function testYear()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
61
tests/generators/GoogleCategoryChartGeneratorTest.php
Normal file
61
tests/generators/GoogleCategoryChartGeneratorTest.php
Normal file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleCategoryChartGeneratorTest
|
||||
*/
|
||||
class GoogleCategoryChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\GoogleCategoryChartGenerator::all
|
||||
*/
|
||||
public function testAll()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\GoogleCategoryChartGenerator::frontpage
|
||||
*/
|
||||
public function testFrontpage()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\GoogleCategoryChartGenerator::month
|
||||
*/
|
||||
public function testMonth()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\Category\GoogleCategoryChartGenerator::year
|
||||
*/
|
||||
public function testYear()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
35
tests/generators/GooglePiggyBankChartGeneratorTest.php
Normal file
35
tests/generators/GooglePiggyBankChartGeneratorTest.php
Normal file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GooglePiggyBankChartGeneratorTest
|
||||
*/
|
||||
class GooglePiggyBankChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
/**
|
||||
* @covers FireflyIII\Generator\Chart\PiggyBank\GooglePiggyBankChartGenerator::history
|
||||
*/
|
||||
public function testHistory()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
44
tests/generators/GoogleReportChartGeneratorTest.php
Normal file
44
tests/generators/GoogleReportChartGeneratorTest.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class GoogleReportChartGeneratorTest
|
||||
*/
|
||||
class GoogleReportChartGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is called before the first test of this test class is run.
|
||||
*
|
||||
* @since Method available since Release 3.4.0
|
||||
*/
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
}
|
||||
|
||||
/**
|
||||
* FireflyIII\Generator\Chart\Report\GoogleReportChartGenerator::yearInOut
|
||||
*/
|
||||
public function testYearInOut()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
/**
|
||||
* FireflyIII\Generator\Chart\Report\GoogleReportChartGenerator::yearInOutSummarized
|
||||
*/
|
||||
public function testYearInOutSummarized()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user