/webtrees/tests/app/Census/ |
H A D | CensusOfUnitedStates1830Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('01 JUN 1830', $census->censusDate()); 48 self::assertCount(51, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1840Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('01 JUN 1840', $census->censusDate()); 48 self::assertCount(39, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusTest.php | 32 self::assertCount(11, $censuses); 33 self::assertInstanceOf(CensusOfCzechRepublic::class, $censuses[0]); 34 self::assertInstanceOf(CensusOfSlovakia::class, $censuses[1]); 35 self::assertInstanceOf(CensusOfDenmark::class, $censuses[2]); 36 self::assertInstanceOf(CensusOfDeutschland::class, $censuses[3]); 37 self::assertInstanceOf(CensusOfEngland::class, $censuses[4]); 38 self::assertInstanceOf(CensusOfFrance::class, $censuses[5]); 39 self::assertInstanceOf(CensusOfScotland::class, $censuses[6]); 40 self::assertInstanceOf(CensusOfUnitedStates::class, $censuses[7]); 41 self::assertInstanceOf(CensusOfRhodeIsland::class, $censuses[8]); [all …]
|
H A D | CensusOfCanada1931Test.php | 36 self::assertSame('Canada', $census->censusPlace()); 37 self::assertSame('01 JUN 1931', $census->censusDate()); 48 self::assertCount(38, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfCanada1911Test.php | 36 self::assertSame('Canada', $census->censusPlace()); 37 self::assertSame('01 JUN 1911', $census->censusDate()); 48 self::assertCount(35, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSexMF::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnConditionCanada::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnBirthMonth::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnBirthYear::class, $columns[6]); [all …]
|
H A D | CensusOfCanada1921Test.php | 36 self::assertSame('Canada', $census->censusPlace()); 37 self::assertSame('01 JUN 1921', $census->censusDate()); 48 self::assertCount(32, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1820Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('07 AUG 1820', $census->censusDate()); 48 self::assertCount(32, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1940Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('APR 1940', $census->censusDate()); 48 self::assertCount(31, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnFullName::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[6]); [all …]
|
H A D | CensusOfCanada1901Test.php | 36 self::assertSame('Canada', $census->censusPlace()); 37 self::assertSame('31 MAR 1901', $census->censusDate()); 48 self::assertCount(30, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnSexMF::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnConditionCanada::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnBirthMonthDay::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnBirthYear::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1910Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('15 APR 1910', $census->censusDate()); 48 self::assertCount(29, $columns); 49 self::assertInstanceOf(CensusColumnSurnameGivenNameInitial::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSexMF::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnAge::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnConditionUs::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnYearsMarried::class, $columns[6]); [all …]
|
H A D | CensusOfRhodeIsland1905Test.php | 36 self::assertSame('Rhode Island, United States', $census->censusPlace()); 37 self::assertSame('JUN 1905', $census->censusDate()); 47 self::assertCount(28, $columns); 48 self::assertInstanceOf(CensusColumnSexMF::class, $columns[0]); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 50 self::assertInstanceOf(CensusColumnSurnameGivenNameInitial::class, $columns[2]); 51 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[3]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 53 self::assertInstanceOf(CensusColumnAge::class, $columns[5]); 54 self::assertInstanceOf(CensusColumnConditionUs::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1930Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('APR 1930', $census->censusDate()); 48 self::assertCount(28, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnSexMF::class, $columns[6]); [all …]
|
H A D | CensusOfSlovakia1930Test.php | 36 self::assertSame('Slovensko', $census->censusPlace()); 37 self::assertSame('01 DEC 1930', $census->censusDate()); 48 self::assertCount(27, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSurname::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnGivenNames::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnRelationToHead::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnSexMZ::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnBirthDayDotMonthYear::class, $columns[6]); [all …]
|
H A D | CensusOfDeutschland1900Test.php | 36 self::assertSame('Mecklenburg-Schwerin, Deutschland', $census->censusPlace()); 37 self::assertSame('01 DEC 1900', $census->censusDate()); 48 self::assertCount(27, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnGivenNames::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSurname::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnRelationToHeadGerman::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1900Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('01 JUN 1900', $census->censusDate()); 48 self::assertCount(26, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnSexMF::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnBirthMonth::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnBirthYear::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnAge::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1890Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('02 JUN 1890', $census->censusDate()); 48 self::assertCount(24, $columns); 49 self::assertInstanceOf(CensusColumnGivenNameInitial::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnSurname::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnSexMF::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnAge::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1920Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('JAN 1920', $census->censusDate()); 48 self::assertCount(24, $columns); 49 self::assertInstanceOf(CensusColumnSurnameGivenNameInitial::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnSexMF::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnAge::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1880Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('JUN 1880', $census->censusDate()); 48 self::assertCount(23, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnAge::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSexMF::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnMonthIfBornWithinYear::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfDeutschland1867Test.php | 36 self::assertSame('Mecklenburg-Schwerin, Deutschland', $census->censusPlace()); 37 self::assertSame('03 DEC 1867', $census->censusDate()); 48 self::assertCount(23, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnGivenNames::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSurname::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnBirthYear::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnReligion::class, $columns[6]); [all …]
|
H A D | CensusOfSlovakia1940Test.php | 36 self::assertSame('Slovensko', $census->censusPlace()); 37 self::assertSame('14 DEC 1940', $census->censusDate()); 48 self::assertCount(22, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnSurname::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnGivenNames::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnRelationToHead::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnSexMZ::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnBirthDayDotMonthYear::class, $columns[6]); [all …]
|
H A D | CensusOfUnitedStates1950Test.php | 36 self::assertSame('United States', $census->censusPlace()); 37 self::assertSame('APR 1950', $census->censusDate()); 48 self::assertCount(21, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnNull::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnNull::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnNull::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnNull::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnFullName::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[6]); [all …]
|
H A D | CensusOfCanada1891Test.php | 36 self::assertSame('Canada', $census->censusPlace()); 37 self::assertSame('06 APR 1891', $census->censusDate()); 48 self::assertCount(20, $columns); 49 self::assertInstanceOf(CensusColumnFullName::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnSexMF::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnAge::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnConditionCanadaMarriedWidowed::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnRelationToHeadEnglish::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnBirthPlaceSimple::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnNull::class, $columns[6]); [all …]
|
H A D | CensusOfCzechRepublic1921Test.php | 36 self::assertSame('Česko', $census->censusPlace()); 37 self::assertSame('15 FEB 1921', $census->censusDate()); 48 self::assertCount(20, $columns); 49 self::assertInstanceOf(CensusColumnNull::class, $columns[0]); 50 self::assertInstanceOf(CensusColumnSurname::class, $columns[1]); 51 self::assertInstanceOf(CensusColumnGivenNames::class, $columns[2]); 52 self::assertInstanceOf(CensusColumnRelationToHead::class, $columns[3]); 53 self::assertInstanceOf(CensusColumnSexMZ::class, $columns[4]); 54 self::assertInstanceOf(CensusColumnNull::class, $columns[5]); 55 self::assertInstanceOf(CensusColumnBirthDayDotMonthYear::class, $columns[6]); [all …]
|
/webtrees/app/Report/ |
H A D | RightToLeftSupport.php | 96 self::UTF8_LRM, 97 self::UTF8_RLM, 98 self::UTF8_LRO, 99 self::UTF8_RLO, 100 self::UTF8_LRE, 101 self::UTF8_RLE, 102 self::UTF8_PDF, 130 … $workingText = self::stripLrmRlm($workingText); // Get rid of any existing UTF8 control codes 132 self::$previousState = ''; 133 self::$currentState = strtoupper(I18N::direction()); [all …]
|
/webtrees/tests/app/ |
H A D | TimestampTest.php | 34 self::assertSame(2460296, gregoriantojd(12, 17, 2023)); 35 self::assertSame(2460296, $timestamp->julianDay()); 42 self::assertSame('5 years ago', $timestamp->subtractYears(5)->diffForHumans()); 43 self::assertSame('5 months ago', $timestamp->subtractMonths(5)->diffForHumans()); 44 self::assertSame('5 days ago', $timestamp->subtractDays(5)->diffForHumans()); 45 self::assertSame('5 hours ago', $timestamp->subtractHours(5)->diffForHumans()); 46 self::assertSame('5 minutes ago', $timestamp->subtractMinutes(5)->diffForHumans()); 47 self::assertSame('5 seconds ago', $timestamp->subtractSeconds(5)->diffForHumans()); 51 self::assertSame('il y a 5 ans', $timestamp->subtractYears(5)->diffForHumans()); 52 self::assertSame('il y a 5 mois', $timestamp->subtractMonths(5)->diffForHumans()); [all …]
|