Allow to run an entire folder of tests

We now can do something like:

```sh
./vendor/bin/phpunit tests/PhpSpreadsheetTests/Reader/
```
This commit is contained in:
Adrien Crivelli 2020-05-17 18:35:55 +09:00
parent 7517cdd008
commit e868e58d20
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
229 changed files with 364 additions and 369 deletions

View File

@ -40,7 +40,7 @@ class CalculationTest extends TestCase
public function providerBinaryComparisonOperation() public function providerBinaryComparisonOperation()
{ {
return require 'data/CalculationBinaryComparisonOperation.php'; return require 'tests/data/CalculationBinaryComparisonOperation.php';
} }
/** /**
@ -351,6 +351,6 @@ class CalculationTest extends TestCase
public function dataProviderBranchPruningFullExecution() public function dataProviderBranchPruningFullExecution()
{ {
return require 'data/Calculation/Calculation.php'; return require 'tests/data/Calculation/Calculation.php';
} }
} }

View File

@ -26,7 +26,7 @@ class FinancialTest extends TestCase
public function providerAMORDEGRC() public function providerAMORDEGRC()
{ {
return require 'data/Calculation/Financial/AMORDEGRC.php'; return require 'tests/data/Calculation/Financial/AMORDEGRC.php';
} }
/** /**
@ -42,7 +42,7 @@ class FinancialTest extends TestCase
public function providerAMORLINC() public function providerAMORLINC()
{ {
return require 'data/Calculation/Financial/AMORLINC.php'; return require 'tests/data/Calculation/Financial/AMORLINC.php';
} }
/** /**
@ -58,7 +58,7 @@ class FinancialTest extends TestCase
public function providerCOUPDAYBS() public function providerCOUPDAYBS()
{ {
return require 'data/Calculation/Financial/COUPDAYBS.php'; return require 'tests/data/Calculation/Financial/COUPDAYBS.php';
} }
/** /**
@ -74,7 +74,7 @@ class FinancialTest extends TestCase
public function providerCOUPDAYS() public function providerCOUPDAYS()
{ {
return require 'data/Calculation/Financial/COUPDAYS.php'; return require 'tests/data/Calculation/Financial/COUPDAYS.php';
} }
/** /**
@ -90,7 +90,7 @@ class FinancialTest extends TestCase
public function providerCOUPDAYSNC() public function providerCOUPDAYSNC()
{ {
return require 'data/Calculation/Financial/COUPDAYSNC.php'; return require 'tests/data/Calculation/Financial/COUPDAYSNC.php';
} }
/** /**
@ -106,7 +106,7 @@ class FinancialTest extends TestCase
public function providerCOUPNCD() public function providerCOUPNCD()
{ {
return require 'data/Calculation/Financial/COUPNCD.php'; return require 'tests/data/Calculation/Financial/COUPNCD.php';
} }
/** /**
@ -122,7 +122,7 @@ class FinancialTest extends TestCase
public function providerCOUPNUM() public function providerCOUPNUM()
{ {
return require 'data/Calculation/Financial/COUPNUM.php'; return require 'tests/data/Calculation/Financial/COUPNUM.php';
} }
/** /**
@ -138,7 +138,7 @@ class FinancialTest extends TestCase
public function providerCOUPPCD() public function providerCOUPPCD()
{ {
return require 'data/Calculation/Financial/COUPPCD.php'; return require 'tests/data/Calculation/Financial/COUPPCD.php';
} }
/** /**
@ -154,7 +154,7 @@ class FinancialTest extends TestCase
public function providerCUMIPMT() public function providerCUMIPMT()
{ {
return require 'data/Calculation/Financial/CUMIPMT.php'; return require 'tests/data/Calculation/Financial/CUMIPMT.php';
} }
/** /**
@ -170,7 +170,7 @@ class FinancialTest extends TestCase
public function providerCUMPRINC() public function providerCUMPRINC()
{ {
return require 'data/Calculation/Financial/CUMPRINC.php'; return require 'tests/data/Calculation/Financial/CUMPRINC.php';
} }
/** /**
@ -186,7 +186,7 @@ class FinancialTest extends TestCase
public function providerDB() public function providerDB()
{ {
return require 'data/Calculation/Financial/DB.php'; return require 'tests/data/Calculation/Financial/DB.php';
} }
/** /**
@ -202,7 +202,7 @@ class FinancialTest extends TestCase
public function providerDDB() public function providerDDB()
{ {
return require 'data/Calculation/Financial/DDB.php'; return require 'tests/data/Calculation/Financial/DDB.php';
} }
/** /**
@ -218,7 +218,7 @@ class FinancialTest extends TestCase
public function providerDISC() public function providerDISC()
{ {
return require 'data/Calculation/Financial/DISC.php'; return require 'tests/data/Calculation/Financial/DISC.php';
} }
/** /**
@ -234,7 +234,7 @@ class FinancialTest extends TestCase
public function providerDOLLARDE() public function providerDOLLARDE()
{ {
return require 'data/Calculation/Financial/DOLLARDE.php'; return require 'tests/data/Calculation/Financial/DOLLARDE.php';
} }
/** /**
@ -250,7 +250,7 @@ class FinancialTest extends TestCase
public function providerDOLLARFR() public function providerDOLLARFR()
{ {
return require 'data/Calculation/Financial/DOLLARFR.php'; return require 'tests/data/Calculation/Financial/DOLLARFR.php';
} }
/** /**
@ -266,7 +266,7 @@ class FinancialTest extends TestCase
public function providerEFFECT() public function providerEFFECT()
{ {
return require 'data/Calculation/Financial/EFFECT.php'; return require 'tests/data/Calculation/Financial/EFFECT.php';
} }
/** /**
@ -282,7 +282,7 @@ class FinancialTest extends TestCase
public function providerFV() public function providerFV()
{ {
return require 'data/Calculation/Financial/FV.php'; return require 'tests/data/Calculation/Financial/FV.php';
} }
/** /**
@ -298,7 +298,7 @@ class FinancialTest extends TestCase
public function providerFVSCHEDULE() public function providerFVSCHEDULE()
{ {
return require 'data/Calculation/Financial/FVSCHEDULE.php'; return require 'tests/data/Calculation/Financial/FVSCHEDULE.php';
} }
/** /**
@ -314,7 +314,7 @@ class FinancialTest extends TestCase
public function providerINTRATE() public function providerINTRATE()
{ {
return require 'data/Calculation/Financial/INTRATE.php'; return require 'tests/data/Calculation/Financial/INTRATE.php';
} }
/** /**
@ -330,7 +330,7 @@ class FinancialTest extends TestCase
public function providerIPMT() public function providerIPMT()
{ {
return require 'data/Calculation/Financial/IPMT.php'; return require 'tests/data/Calculation/Financial/IPMT.php';
} }
/** /**
@ -346,7 +346,7 @@ class FinancialTest extends TestCase
public function providerIRR() public function providerIRR()
{ {
return require 'data/Calculation/Financial/IRR.php'; return require 'tests/data/Calculation/Financial/IRR.php';
} }
/** /**
@ -362,7 +362,7 @@ class FinancialTest extends TestCase
public function providerISPMT() public function providerISPMT()
{ {
return require 'data/Calculation/Financial/ISPMT.php'; return require 'tests/data/Calculation/Financial/ISPMT.php';
} }
/** /**
@ -378,7 +378,7 @@ class FinancialTest extends TestCase
public function providerMIRR() public function providerMIRR()
{ {
return require 'data/Calculation/Financial/MIRR.php'; return require 'tests/data/Calculation/Financial/MIRR.php';
} }
/** /**
@ -394,7 +394,7 @@ class FinancialTest extends TestCase
public function providerNOMINAL() public function providerNOMINAL()
{ {
return require 'data/Calculation/Financial/NOMINAL.php'; return require 'tests/data/Calculation/Financial/NOMINAL.php';
} }
/** /**
@ -410,7 +410,7 @@ class FinancialTest extends TestCase
public function providerNPER() public function providerNPER()
{ {
return require 'data/Calculation/Financial/NPER.php'; return require 'tests/data/Calculation/Financial/NPER.php';
} }
/** /**
@ -426,7 +426,7 @@ class FinancialTest extends TestCase
public function providerNPV() public function providerNPV()
{ {
return require 'data/Calculation/Financial/NPV.php'; return require 'tests/data/Calculation/Financial/NPV.php';
} }
/** /**
@ -444,7 +444,7 @@ class FinancialTest extends TestCase
public function providerPRICE() public function providerPRICE()
{ {
return require 'data/Calculation/Financial/PRICE.php'; return require 'tests/data/Calculation/Financial/PRICE.php';
} }
/** /**
@ -460,7 +460,7 @@ class FinancialTest extends TestCase
public function providerPRICEDISC() public function providerPRICEDISC()
{ {
return require 'data/Calculation/Financial/PRICEDISC.php'; return require 'tests/data/Calculation/Financial/PRICEDISC.php';
} }
/** /**
@ -476,7 +476,7 @@ class FinancialTest extends TestCase
public function providerPV() public function providerPV()
{ {
return require 'data/Calculation/Financial/PV.php'; return require 'tests/data/Calculation/Financial/PV.php';
} }
/** /**
@ -494,7 +494,7 @@ class FinancialTest extends TestCase
public function providerRATE() public function providerRATE()
{ {
return require 'data/Calculation/Financial/RATE.php'; return require 'tests/data/Calculation/Financial/RATE.php';
} }
/** /**
@ -511,7 +511,7 @@ class FinancialTest extends TestCase
public function providerXIRR() public function providerXIRR()
{ {
return require 'data/Calculation/Financial/XIRR.php'; return require 'tests/data/Calculation/Financial/XIRR.php';
} }
/** /**
@ -527,7 +527,7 @@ class FinancialTest extends TestCase
public function providerPDURATION() public function providerPDURATION()
{ {
return require 'data/Calculation/Financial/PDURATION.php'; return require 'tests/data/Calculation/Financial/PDURATION.php';
} }
/** /**
@ -543,7 +543,7 @@ class FinancialTest extends TestCase
public function providerRRI() public function providerRRI()
{ {
return require 'data/Calculation/Financial/RRI.php'; return require 'tests/data/Calculation/Financial/RRI.php';
} }
/** /**
@ -559,7 +559,7 @@ class FinancialTest extends TestCase
public function providerSLN() public function providerSLN()
{ {
return require 'data/Calculation/Financial/SLN.php'; return require 'tests/data/Calculation/Financial/SLN.php';
} }
/** /**
@ -575,6 +575,6 @@ class FinancialTest extends TestCase
public function providerSYD() public function providerSYD()
{ {
return require 'data/Calculation/Financial/SYD.php'; return require 'tests/data/Calculation/Financial/SYD.php';
} }
} }

View File

@ -41,6 +41,6 @@ class FormulaAsStringTest extends TestCase
public function providerFunctionsAsString() public function providerFunctionsAsString()
{ {
return require 'data/Calculation/FunctionsAsString.php'; return require 'tests/data/Calculation/FunctionsAsString.php';
} }
} }

View File

@ -32,6 +32,6 @@ class DateDifTest extends TestCase
public function providerDATEDIF() public function providerDATEDIF()
{ {
return require 'data/Calculation/DateTime/DATEDIF.php'; return require 'tests/data/Calculation/DateTime/DATEDIF.php';
} }
} }

View File

@ -32,7 +32,7 @@ class DateTest extends TestCase
public function providerDATE() public function providerDATE()
{ {
return require 'data/Calculation/DateTime/DATE.php'; return require 'tests/data/Calculation/DateTime/DATE.php';
} }
public function testDATEtoUnixTimestamp() public function testDATEtoUnixTimestamp()

View File

@ -31,7 +31,7 @@ class DateValueTest extends TestCase
public function providerDATEVALUE() public function providerDATEVALUE()
{ {
return require 'data/Calculation/DateTime/DATEVALUE.php'; return require 'tests/data/Calculation/DateTime/DATEVALUE.php';
} }
public function testDATEVALUEtoUnixTimestamp() public function testDATEVALUEtoUnixTimestamp()

View File

@ -36,6 +36,6 @@ class DayTest extends TestCase
public function providerDAY() public function providerDAY()
{ {
return require 'data/Calculation/DateTime/DAY.php'; return require 'tests/data/Calculation/DateTime/DAY.php';
} }
} }

View File

@ -32,6 +32,6 @@ class Days360Test extends TestCase
public function providerDAYS360() public function providerDAYS360()
{ {
return require 'data/Calculation/DateTime/DAYS360.php'; return require 'tests/data/Calculation/DateTime/DAYS360.php';
} }
} }

View File

@ -31,6 +31,6 @@ class DaysTest extends TestCase
public function providerDAYS() public function providerDAYS()
{ {
return require 'data/Calculation/DateTime/DAYS.php'; return require 'tests/data/Calculation/DateTime/DAYS.php';
} }
} }

View File

@ -31,7 +31,7 @@ class EDateTest extends TestCase
public function providerEDATE() public function providerEDATE()
{ {
return require 'data/Calculation/DateTime/EDATE.php'; return require 'tests/data/Calculation/DateTime/EDATE.php';
} }
public function testEDATEtoUnixTimestamp() public function testEDATEtoUnixTimestamp()

View File

@ -31,7 +31,7 @@ class EoMonthTest extends TestCase
public function providerEOMONTH() public function providerEOMONTH()
{ {
return require 'data/Calculation/DateTime/EOMONTH.php'; return require 'tests/data/Calculation/DateTime/EOMONTH.php';
} }
public function testEOMONTHtoUnixTimestamp() public function testEOMONTHtoUnixTimestamp()

View File

@ -30,6 +30,6 @@ class HourTest extends TestCase
public function providerHOUR() public function providerHOUR()
{ {
return require 'data/Calculation/DateTime/HOUR.php'; return require 'tests/data/Calculation/DateTime/HOUR.php';
} }
} }

View File

@ -30,6 +30,6 @@ class IsoWeekNumTest extends TestCase
public function providerISOWEEKNUM() public function providerISOWEEKNUM()
{ {
return require 'data/Calculation/DateTime/ISOWEEKNUM.php'; return require 'tests/data/Calculation/DateTime/ISOWEEKNUM.php';
} }
} }

View File

@ -30,6 +30,6 @@ class MinuteTest extends TestCase
public function providerMINUTE() public function providerMINUTE()
{ {
return require 'data/Calculation/DateTime/MINUTE.php'; return require 'tests/data/Calculation/DateTime/MINUTE.php';
} }
} }

View File

@ -30,6 +30,6 @@ class MonthTest extends TestCase
public function providerMONTH() public function providerMONTH()
{ {
return require 'data/Calculation/DateTime/MONTH.php'; return require 'tests/data/Calculation/DateTime/MONTH.php';
} }
} }

View File

@ -29,6 +29,6 @@ class NetworkDaysTest extends TestCase
public function providerNETWORKDAYS() public function providerNETWORKDAYS()
{ {
return require 'data/Calculation/DateTime/NETWORKDAYS.php'; return require 'tests/data/Calculation/DateTime/NETWORKDAYS.php';
} }
} }

View File

@ -30,6 +30,6 @@ class SecondTest extends TestCase
public function providerSECOND() public function providerSECOND()
{ {
return require 'data/Calculation/DateTime/SECOND.php'; return require 'tests/data/Calculation/DateTime/SECOND.php';
} }
} }

View File

@ -29,7 +29,7 @@ class TimeTest extends TestCase
public function providerTIME() public function providerTIME()
{ {
return require 'data/Calculation/DateTime/TIME.php'; return require 'tests/data/Calculation/DateTime/TIME.php';
} }
public function testTIMEtoUnixTimestamp() public function testTIMEtoUnixTimestamp()

View File

@ -30,7 +30,7 @@ class TimeValueTest extends TestCase
public function providerTIMEVALUE() public function providerTIMEVALUE()
{ {
return require 'data/Calculation/DateTime/TIMEVALUE.php'; return require 'tests/data/Calculation/DateTime/TIMEVALUE.php';
} }
public function testTIMEVALUEtoUnixTimestamp() public function testTIMEVALUEtoUnixTimestamp()

View File

@ -29,6 +29,6 @@ class WeekDayTest extends TestCase
public function providerWEEKDAY() public function providerWEEKDAY()
{ {
return require 'data/Calculation/DateTime/WEEKDAY.php'; return require 'tests/data/Calculation/DateTime/WEEKDAY.php';
} }
} }

View File

@ -29,6 +29,6 @@ class WeekNumTest extends TestCase
public function providerWEEKNUM() public function providerWEEKNUM()
{ {
return require 'data/Calculation/DateTime/WEEKNUM.php'; return require 'tests/data/Calculation/DateTime/WEEKNUM.php';
} }
} }

View File

@ -29,6 +29,6 @@ class WorkDayTest extends TestCase
public function providerWORKDAY() public function providerWORKDAY()
{ {
return require 'data/Calculation/DateTime/WORKDAY.php'; return require 'tests/data/Calculation/DateTime/WORKDAY.php';
} }
} }

View File

@ -29,6 +29,6 @@ class YearFracTest extends TestCase
public function providerYEARFRAC() public function providerYEARFRAC()
{ {
return require 'data/Calculation/DateTime/YEARFRAC.php'; return require 'tests/data/Calculation/DateTime/YEARFRAC.php';
} }
} }

View File

@ -30,6 +30,6 @@ class YearTest extends TestCase
public function providerYEAR() public function providerYEAR()
{ {
return require 'data/Calculation/DateTime/YEAR.php'; return require 'tests/data/Calculation/DateTime/YEAR.php';
} }
} }

View File

@ -28,6 +28,6 @@ class BesselITest extends TestCase
public function providerBESSELI() public function providerBESSELI()
{ {
return require 'data/Calculation/Engineering/BESSELI.php'; return require 'tests/data/Calculation/Engineering/BESSELI.php';
} }
} }

View File

@ -28,6 +28,6 @@ class BesselJTest extends TestCase
public function providerBESSEJ() public function providerBESSEJ()
{ {
return require 'data/Calculation/Engineering/BESSELJ.php'; return require 'tests/data/Calculation/Engineering/BESSELJ.php';
} }
} }

View File

@ -28,6 +28,6 @@ class BesselKTest extends TestCase
public function providerBESSELK() public function providerBESSELK()
{ {
return require 'data/Calculation/Engineering/BESSELK.php'; return require 'tests/data/Calculation/Engineering/BESSELK.php';
} }
} }

View File

@ -28,6 +28,6 @@ class BesselYTest extends TestCase
public function providerBESSELY() public function providerBESSELY()
{ {
return require 'data/Calculation/Engineering/BESSELY.php'; return require 'tests/data/Calculation/Engineering/BESSELY.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Bin2DecTest extends TestCase
public function providerBIN2DEC() public function providerBIN2DEC()
{ {
return require 'data/Calculation/Engineering/BIN2DEC.php'; return require 'tests/data/Calculation/Engineering/BIN2DEC.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Bin2HexTest extends TestCase
public function providerBIN2HEX() public function providerBIN2HEX()
{ {
return require 'data/Calculation/Engineering/BIN2HEX.php'; return require 'tests/data/Calculation/Engineering/BIN2HEX.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Bin2OctTest extends TestCase
public function providerBIN2OCT() public function providerBIN2OCT()
{ {
return require 'data/Calculation/Engineering/BIN2OCT.php'; return require 'tests/data/Calculation/Engineering/BIN2OCT.php';
} }
} }

View File

@ -27,6 +27,6 @@ class BitAndTest extends TestCase
public function providerBITAND() public function providerBITAND()
{ {
return require 'data/Calculation/Engineering/BITAND.php'; return require 'tests/data/Calculation/Engineering/BITAND.php';
} }
} }

View File

@ -27,6 +27,6 @@ class BitLShiftTest extends TestCase
public function providerBITLSHIFT() public function providerBITLSHIFT()
{ {
return require 'data/Calculation/Engineering/BITLSHIFT.php'; return require 'tests/data/Calculation/Engineering/BITLSHIFT.php';
} }
} }

View File

@ -27,6 +27,6 @@ class BitOrTest extends TestCase
public function providerBITOR() public function providerBITOR()
{ {
return require 'data/Calculation/Engineering/BITOR.php'; return require 'tests/data/Calculation/Engineering/BITOR.php';
} }
} }

View File

@ -27,6 +27,6 @@ class BitRShiftTest extends TestCase
public function providerBITRSHIFT() public function providerBITRSHIFT()
{ {
return require 'data/Calculation/Engineering/BITRSHIFT.php'; return require 'tests/data/Calculation/Engineering/BITRSHIFT.php';
} }
} }

View File

@ -27,6 +27,6 @@ class BitXorTest extends TestCase
public function providerBITXOR() public function providerBITXOR()
{ {
return require 'data/Calculation/Engineering/BITXOR.php'; return require 'tests/data/Calculation/Engineering/BITXOR.php';
} }
} }

View File

@ -26,6 +26,6 @@ class ComplexTest extends TestCase
public function providerCOMPLEX() public function providerCOMPLEX()
{ {
return require 'data/Calculation/Engineering/COMPLEX.php'; return require 'tests/data/Calculation/Engineering/COMPLEX.php';
} }
} }

View File

@ -50,6 +50,6 @@ class ConvertUoMTest extends TestCase
public function providerCONVERTUOM() public function providerCONVERTUOM()
{ {
return require 'data/Calculation/Engineering/CONVERTUOM.php'; return require 'tests/data/Calculation/Engineering/CONVERTUOM.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Dec2BinTest extends TestCase
public function providerDEC2BIN() public function providerDEC2BIN()
{ {
return require 'data/Calculation/Engineering/DEC2BIN.php'; return require 'tests/data/Calculation/Engineering/DEC2BIN.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Dec2HexTest extends TestCase
public function providerDEC2HEX() public function providerDEC2HEX()
{ {
return require 'data/Calculation/Engineering/DEC2HEX.php'; return require 'tests/data/Calculation/Engineering/DEC2HEX.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Dec2OctTest extends TestCase
public function providerDEC2OCT() public function providerDEC2OCT()
{ {
return require 'data/Calculation/Engineering/DEC2OCT.php'; return require 'tests/data/Calculation/Engineering/DEC2OCT.php';
} }
} }

View File

@ -26,6 +26,6 @@ class DeltaTest extends TestCase
public function providerDELTA() public function providerDELTA()
{ {
return require 'data/Calculation/Engineering/DELTA.php'; return require 'tests/data/Calculation/Engineering/DELTA.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ErfCTest extends TestCase
public function providerERFC() public function providerERFC()
{ {
return require 'data/Calculation/Engineering/ERFC.php'; return require 'tests/data/Calculation/Engineering/ERFC.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ErfPreciseTest extends TestCase
public function providerERFPRECISE() public function providerERFPRECISE()
{ {
return require 'data/Calculation/Engineering/ERFPRECISE.php'; return require 'tests/data/Calculation/Engineering/ERFPRECISE.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ErfTest extends TestCase
public function providerERF() public function providerERF()
{ {
return require 'data/Calculation/Engineering/ERF.php'; return require 'tests/data/Calculation/Engineering/ERF.php';
} }
} }

View File

@ -26,6 +26,6 @@ class GeStepTest extends TestCase
public function providerGESTEP() public function providerGESTEP()
{ {
return require 'data/Calculation/Engineering/GESTEP.php'; return require 'tests/data/Calculation/Engineering/GESTEP.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Hex2BinTest extends TestCase
public function providerHEX2BIN() public function providerHEX2BIN()
{ {
return require 'data/Calculation/Engineering/HEX2BIN.php'; return require 'tests/data/Calculation/Engineering/HEX2BIN.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Hex2DecTest extends TestCase
public function providerHEX2DEC() public function providerHEX2DEC()
{ {
return require 'data/Calculation/Engineering/HEX2DEC.php'; return require 'tests/data/Calculation/Engineering/HEX2DEC.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Hex2OctTest extends TestCase
public function providerHEX2OCT() public function providerHEX2OCT()
{ {
return require 'data/Calculation/Engineering/HEX2OCT.php'; return require 'tests/data/Calculation/Engineering/HEX2OCT.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ImAbsTest extends TestCase
public function providerIMABS() public function providerIMABS()
{ {
return require 'data/Calculation/Engineering/IMABS.php'; return require 'tests/data/Calculation/Engineering/IMABS.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ImArgumentTest extends TestCase
public function providerIMARGUMENT() public function providerIMARGUMENT()
{ {
return require 'data/Calculation/Engineering/IMARGUMENT.php'; return require 'tests/data/Calculation/Engineering/IMARGUMENT.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImConjugateTest extends TestCase
public function providerIMCONJUGATE() public function providerIMCONJUGATE()
{ {
return require 'data/Calculation/Engineering/IMCONJUGATE.php'; return require 'tests/data/Calculation/Engineering/IMCONJUGATE.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImCosTest extends TestCase
public function providerIMCOS() public function providerIMCOS()
{ {
return require 'data/Calculation/Engineering/IMCOS.php'; return require 'tests/data/Calculation/Engineering/IMCOS.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImCoshTest extends TestCase
public function providerIMCOSH() public function providerIMCOSH()
{ {
return require 'data/Calculation/Engineering/IMCOSH.php'; return require 'tests/data/Calculation/Engineering/IMCOSH.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImCotTest extends TestCase
public function providerIMCOT() public function providerIMCOT()
{ {
return require 'data/Calculation/Engineering/IMCOT.php'; return require 'tests/data/Calculation/Engineering/IMCOT.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImCscTest extends TestCase
public function providerIMCSC() public function providerIMCSC()
{ {
return require 'data/Calculation/Engineering/IMCSC.php'; return require 'tests/data/Calculation/Engineering/IMCSC.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImCschTest extends TestCase
public function providerIMCSCH() public function providerIMCSCH()
{ {
return require 'data/Calculation/Engineering/IMCSCH.php'; return require 'tests/data/Calculation/Engineering/IMCSCH.php';
} }
} }

View File

@ -43,6 +43,6 @@ class ImDivTest extends TestCase
public function providerIMDIV() public function providerIMDIV()
{ {
return require 'data/Calculation/Engineering/IMDIV.php'; return require 'tests/data/Calculation/Engineering/IMDIV.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImExpTest extends TestCase
public function providerIMEXP() public function providerIMEXP()
{ {
return require 'data/Calculation/Engineering/IMEXP.php'; return require 'tests/data/Calculation/Engineering/IMEXP.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImLnTest extends TestCase
public function providerIMLN() public function providerIMLN()
{ {
return require 'data/Calculation/Engineering/IMLN.php'; return require 'tests/data/Calculation/Engineering/IMLN.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImLog10Test extends TestCase
public function providerIMLOG10() public function providerIMLOG10()
{ {
return require 'data/Calculation/Engineering/IMLOG10.php'; return require 'tests/data/Calculation/Engineering/IMLOG10.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImLog2Test extends TestCase
public function providerIMLOG2() public function providerIMLOG2()
{ {
return require 'data/Calculation/Engineering/IMLOG2.php'; return require 'tests/data/Calculation/Engineering/IMLOG2.php';
} }
} }

View File

@ -43,6 +43,6 @@ class ImPowerTest extends TestCase
public function providerIMPOWER() public function providerIMPOWER()
{ {
return require 'data/Calculation/Engineering/IMPOWER.php'; return require 'tests/data/Calculation/Engineering/IMPOWER.php';
} }
} }

View File

@ -43,6 +43,6 @@ class ImProductTest extends TestCase
public function providerIMPRODUCT() public function providerIMPRODUCT()
{ {
return require 'data/Calculation/Engineering/IMPRODUCT.php'; return require 'tests/data/Calculation/Engineering/IMPRODUCT.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ImRealTest extends TestCase
public function providerIMREAL() public function providerIMREAL()
{ {
return require 'data/Calculation/Engineering/IMREAL.php'; return require 'tests/data/Calculation/Engineering/IMREAL.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImSecTest extends TestCase
public function providerIMSEC() public function providerIMSEC()
{ {
return require 'data/Calculation/Engineering/IMSEC.php'; return require 'tests/data/Calculation/Engineering/IMSEC.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImSechTest extends TestCase
public function providerIMSECH() public function providerIMSECH()
{ {
return require 'data/Calculation/Engineering/IMSECH.php'; return require 'tests/data/Calculation/Engineering/IMSECH.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImSinTest extends TestCase
public function providerIMSIN() public function providerIMSIN()
{ {
return require 'data/Calculation/Engineering/IMSIN.php'; return require 'tests/data/Calculation/Engineering/IMSIN.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImSinhTest extends TestCase
public function providerIMSINH() public function providerIMSINH()
{ {
return require 'data/Calculation/Engineering/IMSINH.php'; return require 'tests/data/Calculation/Engineering/IMSINH.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImSqrtTest extends TestCase
public function providerIMSQRT() public function providerIMSQRT()
{ {
return require 'data/Calculation/Engineering/IMSQRT.php'; return require 'tests/data/Calculation/Engineering/IMSQRT.php';
} }
} }

View File

@ -43,6 +43,6 @@ class ImSubTest extends TestCase
public function providerIMSUB() public function providerIMSUB()
{ {
return require 'data/Calculation/Engineering/IMSUB.php'; return require 'tests/data/Calculation/Engineering/IMSUB.php';
} }
} }

View File

@ -43,6 +43,6 @@ class ImSumTest extends TestCase
public function providerIMSUM() public function providerIMSUM()
{ {
return require 'data/Calculation/Engineering/IMSUM.php'; return require 'tests/data/Calculation/Engineering/IMSUM.php';
} }
} }

View File

@ -44,6 +44,6 @@ class ImTanTest extends TestCase
public function providerIMTAN() public function providerIMTAN()
{ {
return require 'data/Calculation/Engineering/IMTAN.php'; return require 'tests/data/Calculation/Engineering/IMTAN.php';
} }
} }

View File

@ -29,6 +29,6 @@ class ImaginaryTest extends TestCase
public function providerIMAGINARY() public function providerIMAGINARY()
{ {
return require 'data/Calculation/Engineering/IMAGINARY.php'; return require 'tests/data/Calculation/Engineering/IMAGINARY.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Oct2BinTest extends TestCase
public function providerOCT2BIN() public function providerOCT2BIN()
{ {
return require 'data/Calculation/Engineering/OCT2BIN.php'; return require 'tests/data/Calculation/Engineering/OCT2BIN.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Oct2DecTest extends TestCase
public function providerOCT2DEC() public function providerOCT2DEC()
{ {
return require 'data/Calculation/Engineering/OCT2DEC.php'; return require 'tests/data/Calculation/Engineering/OCT2DEC.php';
} }
} }

View File

@ -26,6 +26,6 @@ class Oct2HexTest extends TestCase
public function providerOCT2HEX() public function providerOCT2HEX()
{ {
return require 'data/Calculation/Engineering/OCT2HEX.php'; return require 'tests/data/Calculation/Engineering/OCT2HEX.php';
} }
} }

View File

@ -26,6 +26,6 @@ class AccrintMTest extends TestCase
public function providerACCRINTM() public function providerACCRINTM()
{ {
return require 'data/Calculation/Financial/ACCRINTM.php'; return require 'tests/data/Calculation/Financial/ACCRINTM.php';
} }
} }

View File

@ -26,6 +26,6 @@ class AccrintTest extends TestCase
public function providerACCRINT() public function providerACCRINT()
{ {
return require 'data/Calculation/Financial/ACCRINT.php'; return require 'tests/data/Calculation/Financial/ACCRINT.php';
} }
} }

View File

@ -26,6 +26,6 @@ class AndTest extends TestCase
public function providerAND() public function providerAND()
{ {
return require 'data/Calculation/Logical/AND.php'; return require 'tests/data/Calculation/Logical/AND.php';
} }
} }

View File

@ -28,6 +28,6 @@ class IfErrorTest extends TestCase
public function providerIFERROR() public function providerIFERROR()
{ {
return require 'data/Calculation/Logical/IFERROR.php'; return require 'tests/data/Calculation/Logical/IFERROR.php';
} }
} }

View File

@ -28,6 +28,6 @@ class IfNaTest extends TestCase
public function providerIFNA() public function providerIFNA()
{ {
return require 'data/Calculation/Logical/IFNA.php'; return require 'tests/data/Calculation/Logical/IFNA.php';
} }
} }

View File

@ -26,6 +26,6 @@ class IfTest extends TestCase
public function providerIF() public function providerIF()
{ {
return require 'data/Calculation/Logical/IF.php'; return require 'tests/data/Calculation/Logical/IF.php';
} }
} }

View File

@ -26,6 +26,6 @@ class NotTest extends TestCase
public function providerNOT() public function providerNOT()
{ {
return require 'data/Calculation/Logical/NOT.php'; return require 'tests/data/Calculation/Logical/NOT.php';
} }
} }

View File

@ -26,6 +26,6 @@ class OrTest extends TestCase
public function providerOR() public function providerOR()
{ {
return require 'data/Calculation/Logical/OR.php'; return require 'tests/data/Calculation/Logical/OR.php';
} }
} }

View File

@ -26,6 +26,6 @@ class SwitchTest extends TestCase
public function providerSwitch() public function providerSwitch()
{ {
return require 'data/Calculation/Logical/SWITCH.php'; return require 'tests/data/Calculation/Logical/SWITCH.php';
} }
} }

View File

@ -26,6 +26,6 @@ class XorTest extends TestCase
public function providerXOR() public function providerXOR()
{ {
return require 'data/Calculation/Logical/XOR.php'; return require 'tests/data/Calculation/Logical/XOR.php';
} }
} }

View File

@ -26,6 +26,6 @@ class ChooseTest extends TestCase
public function providerCHOOSE() public function providerCHOOSE()
{ {
return require 'data/Calculation/LookupRef/CHOOSE.php'; return require 'tests/data/Calculation/LookupRef/CHOOSE.php';
} }
} }

View File

@ -26,6 +26,6 @@ class ColumnsTest extends TestCase
public function providerCOLUMNS() public function providerCOLUMNS()
{ {
return require 'data/Calculation/LookupRef/COLUMNS.php'; return require 'tests/data/Calculation/LookupRef/COLUMNS.php';
} }
} }

View File

@ -26,6 +26,6 @@ class HLookupTest extends TestCase
public function providerHLOOKUP() public function providerHLOOKUP()
{ {
return require 'data/Calculation/LookupRef/HLOOKUP.php'; return require 'tests/data/Calculation/LookupRef/HLOOKUP.php';
} }
} }

View File

@ -26,6 +26,6 @@ class IndexTest extends TestCase
public function providerINDEX() public function providerINDEX()
{ {
return require 'data/Calculation/LookupRef/INDEX.php'; return require 'tests/data/Calculation/LookupRef/INDEX.php';
} }
} }

View File

@ -26,6 +26,6 @@ class LookupTest extends TestCase
public function providerLOOKUP() public function providerLOOKUP()
{ {
return require 'data/Calculation/LookupRef/LOOKUP.php'; return require 'tests/data/Calculation/LookupRef/LOOKUP.php';
} }
} }

View File

@ -26,6 +26,6 @@ class MatchTest extends TestCase
public function providerMATCH() public function providerMATCH()
{ {
return require 'data/Calculation/LookupRef/MATCH.php'; return require 'tests/data/Calculation/LookupRef/MATCH.php';
} }
} }

View File

@ -26,6 +26,6 @@ class RowsTest extends TestCase
public function providerROWS() public function providerROWS()
{ {
return require 'data/Calculation/LookupRef/ROWS.php'; return require 'tests/data/Calculation/LookupRef/ROWS.php';
} }
} }

View File

@ -26,6 +26,6 @@ class VLookupTest extends TestCase
public function providerVLOOKUP() public function providerVLOOKUP()
{ {
return require 'data/Calculation/LookupRef/VLOOKUP.php'; return require 'tests/data/Calculation/LookupRef/VLOOKUP.php';
} }
} }

View File

@ -27,6 +27,6 @@ class AcotTest extends TestCase
public function providerACOT() public function providerACOT()
{ {
return require 'data/Calculation/MathTrig/ACOT.php'; return require 'tests/data/Calculation/MathTrig/ACOT.php';
} }
} }

View File

@ -27,6 +27,6 @@ class AcothTest extends TestCase
public function providerACOTH() public function providerACOTH()
{ {
return require 'data/Calculation/MathTrig/ACOTH.php'; return require 'tests/data/Calculation/MathTrig/ACOTH.php';
} }
} }

View File

@ -27,6 +27,6 @@ class ArabicTest extends TestCase
public function providerARABIC() public function providerARABIC()
{ {
return require 'data/Calculation/MathTrig/ARABIC.php'; return require 'tests/data/Calculation/MathTrig/ARABIC.php';
} }
} }

View File

@ -28,6 +28,6 @@ class Atan2Test extends TestCase
public function providerATAN2() public function providerATAN2()
{ {
return require 'data/Calculation/MathTrig/ATAN2.php'; return require 'tests/data/Calculation/MathTrig/ATAN2.php';
} }
} }

View File

@ -26,6 +26,6 @@ class BaseTest extends TestCase
public function providerBASE() public function providerBASE()
{ {
return require 'data/Calculation/MathTrig/BASE.php'; return require 'tests/data/Calculation/MathTrig/BASE.php';
} }
} }

Some files were not shown because too many files have changed in this diff Show More