Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
New (empty) tests.
James Colea8d60388ba80
diff --git a/app/Generator/Chart/Bill/BillChartGenerator.php b/app/Generator/Chart/Bill/BillChartGenerator.phpindex 46bbbf25ea..c3583e0f94 100644--- a/app/Generator/Chart/Bill/BillChartGenerator.php+++ b/app/Generator/Chart/Bill/BillChartGenerator.php@@ -14,19 +14,19 @@ interface BillChartGenerator{/**- * @param Bill $bill- * @param Collection $entries+ * @param Collection $paid+ * @param Collection $unpaid** @return array*/- public function single(Bill $bill, Collection $entries);+ public function frontpage(Collection $paid, Collection $unpaid);/**- * @param Collection $paid- * @param Collection $unpaid+ * @param Bill $bill+ * @param Collection $entries** @return array*/- public function frontpage(Collection $paid, Collection $unpaid);+ public function single(Bill $bill, Collection $entries);}diff --git a/pu.sh b/pu.shindex c963bbf956..5daa2f6f0d 100755--- a/pu.sh+++ b/pu.sh@@ -10,7 +10,7 @@ thenfi# 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" ]thendiff --git a/tests/generators/ChartJsAccountChartGeneratorTest.php b/tests/generators/ChartJsAccountChartGeneratorTest.phpnew file mode 100644index 0000000000..cc5f9b713a--- /dev/null+++ b/tests/generators/ChartJsAccountChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/ChartJsBillChartGeneratorTest.php b/tests/generators/ChartJsBillChartGeneratorTest.phpnew file mode 100644index 0000000000..6c58c0ce3d--- /dev/null+++ b/tests/generators/ChartJsBillChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/ChartJsBudgetChartGeneratorTest.php b/tests/generators/ChartJsBudgetChartGeneratorTest.phpnew file mode 100644index 0000000000..9749a5dd0b--- /dev/null+++ b/tests/generators/ChartJsBudgetChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/ChartJsCategoryChartGeneratorTest.php b/tests/generators/ChartJsCategoryChartGeneratorTest.phpnew file mode 100644index 0000000000..343782815d--- /dev/null+++ b/tests/generators/ChartJsCategoryChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/ChartJsPiggyBankChartGeneratorTest.php b/tests/generators/ChartJsPiggyBankChartGeneratorTest.phpnew file mode 100644index 0000000000..e684baeca8--- /dev/null+++ b/tests/generators/ChartJsPiggyBankChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/ChartJsReportChartGeneratorTest.php b/tests/generators/ChartJsReportChartGeneratorTest.phpnew file mode 100644index 0000000000..a0e624c735--- /dev/null+++ b/tests/generators/ChartJsReportChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/GoogleAccountChartGeneratorTest.php b/tests/generators/GoogleAccountChartGeneratorTest.phpnew file mode 100644index 0000000000..823549befa--- /dev/null+++ b/tests/generators/GoogleAccountChartGeneratorTest.php@@ -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();+ }++}\ No newline at end of filediff --git a/tests/generators/GoogleBillChartGeneratorTest.php b/tests/generators/GoogleBillChartGeneratorTest.phpnew file mode 100644index 0000000000..e6f684bfef--- /dev/null+++ b/tests/generators/GoogleBillChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/GoogleBudgetChartGeneratorTest.php b/tests/generators/GoogleBudgetChartGeneratorTest.phpnew file mode 100644index 0000000000..0316c4da34--- /dev/null+++ b/tests/generators/GoogleBudgetChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/GoogleCategoryChartGeneratorTest.php b/tests/generators/GoogleCategoryChartGeneratorTest.phpnew file mode 100644index 0000000000..875652633a--- /dev/null+++ b/tests/generators/GoogleCategoryChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/GooglePiggyBankChartGeneratorTest.php b/tests/generators/GooglePiggyBankChartGeneratorTest.phpnew file mode 100644index 0000000000..15f467291a--- /dev/null+++ b/tests/generators/GooglePiggyBankChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of filediff --git a/tests/generators/GoogleReportChartGeneratorTest.php b/tests/generators/GoogleReportChartGeneratorTest.phpnew file mode 100644index 0000000000..f130e77594--- /dev/null+++ b/tests/generators/GoogleReportChartGeneratorTest.php@@ -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();+ }+}\ No newline at end of file