From a8d60388ba80d017884da8ffcec67d0db6f39415 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 28 Jun 2015 10:38:51 +0200 Subject: [PATCH] New (empty) tests. --- .../Chart/Bill/BillChartGenerator.php | 16 ++--- pu.sh | 2 +- .../ChartJsAccountChartGeneratorTest.php | 52 ++++++++++++++++ .../ChartJsBillChartGeneratorTest.php | 44 +++++++++++++ .../ChartJsBudgetChartGeneratorTest.php | 60 ++++++++++++++++++ .../ChartJsCategoryChartGeneratorTest.php | 60 ++++++++++++++++++ .../ChartJsPiggyBankChartGeneratorTest.php | 36 +++++++++++ .../ChartJsReportChartGeneratorTest.php | 44 +++++++++++++ .../GoogleAccountChartGeneratorTest.php | 53 ++++++++++++++++ .../GoogleBillChartGeneratorTest.php | 44 +++++++++++++ .../GoogleBudgetChartGeneratorTest.php | 61 +++++++++++++++++++ .../GoogleCategoryChartGeneratorTest.php | 61 +++++++++++++++++++ .../GooglePiggyBankChartGeneratorTest.php | 35 +++++++++++ .../GoogleReportChartGeneratorTest.php | 44 +++++++++++++ 14 files changed, 603 insertions(+), 9 deletions(-) create mode 100644 tests/generators/ChartJsAccountChartGeneratorTest.php create mode 100644 tests/generators/ChartJsBillChartGeneratorTest.php create mode 100644 tests/generators/ChartJsBudgetChartGeneratorTest.php create mode 100644 tests/generators/ChartJsCategoryChartGeneratorTest.php create mode 100644 tests/generators/ChartJsPiggyBankChartGeneratorTest.php create mode 100644 tests/generators/ChartJsReportChartGeneratorTest.php create mode 100644 tests/generators/GoogleAccountChartGeneratorTest.php create mode 100644 tests/generators/GoogleBillChartGeneratorTest.php create mode 100644 tests/generators/GoogleBudgetChartGeneratorTest.php create mode 100644 tests/generators/GoogleCategoryChartGeneratorTest.php create mode 100644 tests/generators/GooglePiggyBankChartGeneratorTest.php create mode 100644 tests/generators/GoogleReportChartGeneratorTest.php diff --git a/app/Generator/Chart/Bill/BillChartGenerator.php b/app/Generator/Chart/Bill/BillChartGenerator.php index 46bbbf25ea..c3583e0f94 100644 --- a/app/Generator/Chart/Bill/BillChartGenerator.php +++ b/app/Generator/Chart/Bill/BillChartGenerator.php @@ -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); + } diff --git a/pu.sh b/pu.sh index c963bbf956..5daa2f6f0d 100755 --- a/pu.sh +++ b/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 diff --git a/tests/generators/ChartJsAccountChartGeneratorTest.php b/tests/generators/ChartJsAccountChartGeneratorTest.php new file mode 100644 index 0000000000..cc5f9b713a --- /dev/null +++ b/tests/generators/ChartJsAccountChartGeneratorTest.php @@ -0,0 +1,52 @@ +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 file diff --git a/tests/generators/ChartJsBillChartGeneratorTest.php b/tests/generators/ChartJsBillChartGeneratorTest.php new file mode 100644 index 0000000000..6c58c0ce3d --- /dev/null +++ b/tests/generators/ChartJsBillChartGeneratorTest.php @@ -0,0 +1,44 @@ +markTestIncomplete(); + } + + /** + * @covers FireflyIII\Generator\Chart\Bill\ChartJsBillChartGenerator::single + */ + public function testSingle() + { + $this->markTestIncomplete(); + } +} \ No newline at end of file diff --git a/tests/generators/ChartJsBudgetChartGeneratorTest.php b/tests/generators/ChartJsBudgetChartGeneratorTest.php new file mode 100644 index 0000000000..9749a5dd0b --- /dev/null +++ b/tests/generators/ChartJsBudgetChartGeneratorTest.php @@ -0,0 +1,60 @@ +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 file diff --git a/tests/generators/ChartJsCategoryChartGeneratorTest.php b/tests/generators/ChartJsCategoryChartGeneratorTest.php new file mode 100644 index 0000000000..343782815d --- /dev/null +++ b/tests/generators/ChartJsCategoryChartGeneratorTest.php @@ -0,0 +1,60 @@ +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 file diff --git a/tests/generators/ChartJsPiggyBankChartGeneratorTest.php b/tests/generators/ChartJsPiggyBankChartGeneratorTest.php new file mode 100644 index 0000000000..e684baeca8 --- /dev/null +++ b/tests/generators/ChartJsPiggyBankChartGeneratorTest.php @@ -0,0 +1,36 @@ +markTestIncomplete(); + } +} \ No newline at end of file diff --git a/tests/generators/ChartJsReportChartGeneratorTest.php b/tests/generators/ChartJsReportChartGeneratorTest.php new file mode 100644 index 0000000000..a0e624c735 --- /dev/null +++ b/tests/generators/ChartJsReportChartGeneratorTest.php @@ -0,0 +1,44 @@ +markTestIncomplete(); + } + + /** + * FireflyIII\Generator\Chart\Report\ChartJsReportChartGenerator::yearInOutSummarized + */ + public function testYearInOutSummarized() + { + $this->markTestIncomplete(); + } +} \ No newline at end of file diff --git a/tests/generators/GoogleAccountChartGeneratorTest.php b/tests/generators/GoogleAccountChartGeneratorTest.php new file mode 100644 index 0000000000..823549befa --- /dev/null +++ b/tests/generators/GoogleAccountChartGeneratorTest.php @@ -0,0 +1,53 @@ +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 file diff --git a/tests/generators/GoogleBillChartGeneratorTest.php b/tests/generators/GoogleBillChartGeneratorTest.php new file mode 100644 index 0000000000..e6f684bfef --- /dev/null +++ b/tests/generators/GoogleBillChartGeneratorTest.php @@ -0,0 +1,44 @@ +markTestIncomplete(); + } + + /** + * @covers FireflyIII\Generator\Chart\Bill\GoogleBillChartGenerator::single + */ + public function testSingle() + { + $this->markTestIncomplete(); + } +} \ No newline at end of file diff --git a/tests/generators/GoogleBudgetChartGeneratorTest.php b/tests/generators/GoogleBudgetChartGeneratorTest.php new file mode 100644 index 0000000000..0316c4da34 --- /dev/null +++ b/tests/generators/GoogleBudgetChartGeneratorTest.php @@ -0,0 +1,61 @@ +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 file diff --git a/tests/generators/GoogleCategoryChartGeneratorTest.php b/tests/generators/GoogleCategoryChartGeneratorTest.php new file mode 100644 index 0000000000..875652633a --- /dev/null +++ b/tests/generators/GoogleCategoryChartGeneratorTest.php @@ -0,0 +1,61 @@ +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 file diff --git a/tests/generators/GooglePiggyBankChartGeneratorTest.php b/tests/generators/GooglePiggyBankChartGeneratorTest.php new file mode 100644 index 0000000000..15f467291a --- /dev/null +++ b/tests/generators/GooglePiggyBankChartGeneratorTest.php @@ -0,0 +1,35 @@ +markTestIncomplete(); + } +} \ No newline at end of file diff --git a/tests/generators/GoogleReportChartGeneratorTest.php b/tests/generators/GoogleReportChartGeneratorTest.php new file mode 100644 index 0000000000..f130e77594 --- /dev/null +++ b/tests/generators/GoogleReportChartGeneratorTest.php @@ -0,0 +1,44 @@ +markTestIncomplete(); + } + + /** + * FireflyIII\Generator\Chart\Report\GoogleReportChartGenerator::yearInOutSummarized + */ + public function testYearInOutSummarized() + { + $this->markTestIncomplete(); + } +} \ No newline at end of file