New (empty) tests.

This commit is contained in:
James Cole 2015-06-28 10:38:51 +02:00
parent 83ec60254c
commit a8d60388ba
14 changed files with 603 additions and 9 deletions

View File

@ -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
View File

@ -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

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}