From a8fbaf86abc13de414f1e2ceb855a49bb28de593 Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 10 Jun 2014 12:36:55 +1200 Subject: Piwik is a free/libre analytics platform. Refs #4455 GNU Package requirement to use free/libre instead of open source --- tests/PHPUnit/BenchmarkTestCase.php | 2 +- tests/PHPUnit/Benchmarks/ArchiveQueryBenchmark.php | 2 +- tests/PHPUnit/Benchmarks/ArchivingProcessBenchmark.php | 2 +- tests/PHPUnit/Benchmarks/Fixtures/ManyThousandSitesOneVisitEach.php | 2 +- .../Benchmarks/Fixtures/OneSiteThousandsOfDistinctUrlsOverMonth.php | 2 +- .../Benchmarks/Fixtures/OneSiteTwelveThousandVisitsOneYear.php | 2 +- .../Benchmarks/Fixtures/ThousandSitesTwelveVisitsEachOneDay.php | 2 +- tests/PHPUnit/Benchmarks/MultiSitesBenchmark.php | 2 +- tests/PHPUnit/Benchmarks/TrackerBenchmark.php | 2 +- tests/PHPUnit/Core/API/ResponseBuilderTest.php | 2 +- tests/PHPUnit/Core/AssetManager/PluginManagerMock.php | 2 +- tests/PHPUnit/Core/AssetManager/PluginMock.php | 2 +- tests/PHPUnit/Core/AssetManager/ThemeMock.php | 2 +- tests/PHPUnit/Core/AssetManager/UIAssetCacheBusterMock.php | 2 +- tests/PHPUnit/Core/AssetManager/UIAssetCacheBusterTest.php | 2 +- tests/PHPUnit/Core/AssetManager/UIAssetCatalogSorterTest.php | 2 +- tests/PHPUnit/Core/AssetManager/UIAssetMinifierTest.php | 2 +- tests/PHPUnit/Core/AssetManagerTest.php | 2 +- tests/PHPUnit/Core/CliMulti/OutputTest.php | 2 +- tests/PHPUnit/Core/CliMulti/ProcessTest.php | 2 +- tests/PHPUnit/Core/CommonTest.php | 2 +- tests/PHPUnit/Core/ConfigTest.php | 2 +- tests/PHPUnit/Core/CookieTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/AddSummaryRowTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/ExcludeLowPopulationTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/LimitTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/PatternRecursiveTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/PatternTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/RangeCheckTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/SortTest.php | 2 +- tests/PHPUnit/Core/DataTable/Filter/TruncateTest.php | 2 +- tests/PHPUnit/Core/DataTable/Renderer/CSVTest.php | 2 +- tests/PHPUnit/Core/DataTable/Renderer/ConsoleTest.php | 2 +- tests/PHPUnit/Core/DataTable/Renderer/JSONTest.php | 2 +- tests/PHPUnit/Core/DataTable/Renderer/PHPTest.php | 2 +- tests/PHPUnit/Core/DataTable/Renderer/XMLTest.php | 2 +- tests/PHPUnit/Core/DataTable/RowTest.php | 2 +- tests/PHPUnit/Core/DataTableTest.php | 2 +- tests/PHPUnit/Core/DateTest.php | 2 +- tests/PHPUnit/Core/DependencyTest.php | 2 +- tests/PHPUnit/Core/DeprecatedMethodsTest.php | 2 +- tests/PHPUnit/Core/HttpTest.php | 2 +- tests/PHPUnit/Core/IPTest.php | 2 +- tests/PHPUnit/Core/MetricsTest.php | 2 +- tests/PHPUnit/Core/NonceTest.php | 2 +- tests/PHPUnit/Core/Period/DayTest.php | 2 +- tests/PHPUnit/Core/Period/MonthTest.php | 2 +- tests/PHPUnit/Core/Period/RangeTest.php | 2 +- tests/PHPUnit/Core/Period/WeekTest.php | 2 +- tests/PHPUnit/Core/Period/YearTest.php | 2 +- tests/PHPUnit/Core/PeriodTest.php | 2 +- tests/PHPUnit/Core/RankingQueryTest.php | 2 +- tests/PHPUnit/Core/RegistryTest.php | 2 +- tests/PHPUnit/Core/ReleaseCheckListTest.php | 2 +- tests/PHPUnit/Core/ScheduledTaskTest.php | 2 +- tests/PHPUnit/Core/ScheduledTime/DailyTest.php | 2 +- tests/PHPUnit/Core/ScheduledTime/HourlyTest.php | 2 +- tests/PHPUnit/Core/ScheduledTime/MonthlyTest.php | 2 +- tests/PHPUnit/Core/ScheduledTime/WeeklyTest.php | 2 +- tests/PHPUnit/Core/SegmentExpressionTest.php | 2 +- tests/PHPUnit/Core/TaskSchedulerTest.php | 2 +- tests/PHPUnit/Core/Translate/Filter/ByBaseTranslationsTest.php | 2 +- tests/PHPUnit/Core/Translate/Filter/ByParameterCountTest.php | 2 +- tests/PHPUnit/Core/Translate/Filter/EmptyTranslationsTest.php | 2 +- tests/PHPUnit/Core/Translate/Filter/EncodedEntitiesTest.php | 2 +- tests/PHPUnit/Core/Translate/Filter/UnnecassaryWhitespacesTest.php | 2 +- tests/PHPUnit/Core/Translate/Validate/CoreTranslationsTest.php | 2 +- tests/PHPUnit/Core/Translate/Validate/NoScriptsTest.php | 2 +- tests/PHPUnit/Core/Translate/WriterTest.php | 2 +- tests/PHPUnit/Core/TranslateTest.php | 2 +- tests/PHPUnit/Core/UnzipTest.php | 2 +- tests/PHPUnit/Core/UrlHelperTest.php | 2 +- tests/PHPUnit/Core/UrlTest.php | 2 +- tests/PHPUnit/DatabaseTestCase.php | 2 +- tests/PHPUnit/FakeAccess.php | 2 +- tests/PHPUnit/Fixture.php | 2 +- tests/PHPUnit/Fixtures/FewVisitsWithSetVisitorId.php | 2 +- tests/PHPUnit/Fixtures/InvalidVisits.php | 2 +- tests/PHPUnit/Fixtures/ManySitesImportedLogs.php | 2 +- tests/PHPUnit/Fixtures/ManySitesImportedLogsWithXssAttempts.php | 2 +- tests/PHPUnit/Fixtures/ManyVisitsWithGeoIP.php | 2 +- tests/PHPUnit/Fixtures/ManyVisitsWithMockLocationProvider.php | 2 +- tests/PHPUnit/Fixtures/ManyVisitsWithSubDirReferrersAndCustomVars.php | 2 +- tests/PHPUnit/Fixtures/OmniFixture.php | 2 +- tests/PHPUnit/Fixtures/OneVisitSeveralPageViews.php | 2 +- tests/PHPUnit/Fixtures/OneVisitWithAbnormalPageviewUrls.php | 2 +- tests/PHPUnit/Fixtures/OneVisitorTwoVisits.php | 2 +- tests/PHPUnit/Fixtures/SomeVisitsAllConversions.php | 2 +- .../Fixtures/SomeVisitsCustomVariablesCampaignsNotHeuristics.php | 2 +- tests/PHPUnit/Fixtures/SomeVisitsManyPageviewsWithTransitions.php | 2 +- tests/PHPUnit/Fixtures/SomeVisitsWithLongUrls.php | 2 +- tests/PHPUnit/Fixtures/SomeVisitsWithNonUnicodePageTitles.php | 2 +- tests/PHPUnit/Fixtures/SqlDump.php | 2 +- tests/PHPUnit/Fixtures/ThreeGoalsOnePageview.php | 2 +- tests/PHPUnit/Fixtures/ThreeSitesWithManyVisitsWithSiteSearch.php | 2 +- tests/PHPUnit/Fixtures/TwoSitesEcommerceOrderWithItems.php | 2 +- .../TwoSitesManyVisitsOverSeveralDaysWithSearchEngineReferrers.php | 2 +- tests/PHPUnit/Fixtures/TwoSitesTwoVisitorsDifferentDays.php | 2 +- tests/PHPUnit/Fixtures/TwoSitesVisitsInPast.php | 2 +- tests/PHPUnit/Fixtures/TwoSitesWithAnnotations.php | 2 +- tests/PHPUnit/Fixtures/TwoVisitsNoKeywordWithBot.php | 2 +- tests/PHPUnit/Fixtures/TwoVisitsWithCustomEvents.php | 2 +- tests/PHPUnit/Fixtures/TwoVisitsWithCustomVariables.php | 2 +- tests/PHPUnit/Fixtures/UITestFixture.php | 2 +- tests/PHPUnit/Fixtures/VisitOverSeveralDaysImportedLogs.php | 2 +- tests/PHPUnit/Fixtures/VisitsInDifferentTimezones.php | 2 +- tests/PHPUnit/Fixtures/VisitsOverSeveralDays.php | 2 +- tests/PHPUnit/Integration/AnnotationsTest.php | 2 +- tests/PHPUnit/Integration/ApiGetReportMetadataTest.php | 2 +- tests/PHPUnit/Integration/ApiGetReportMetadata_yearTest.php | 2 +- tests/PHPUnit/Integration/ArchiveCronTest.php | 2 +- tests/PHPUnit/Integration/ArchiveWebTest.php | 2 +- tests/PHPUnit/Integration/AutoSuggestAPITest.php | 2 +- tests/PHPUnit/Integration/BackwardsCompatibility1XTest.php | 2 +- tests/PHPUnit/Integration/BlobReportLimitingTest.php | 2 +- tests/PHPUnit/Integration/Core/AccessTest.php | 2 +- tests/PHPUnit/Integration/Core/ArchiveProcessingTest.php | 2 +- tests/PHPUnit/Integration/Core/CliMultiTest.php | 4 ++-- tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php | 2 +- tests/PHPUnit/Integration/Core/CronArchive/SharedSiteIdsTest.php | 2 +- tests/PHPUnit/Integration/Core/DbTest.php | 2 +- tests/PHPUnit/Integration/Core/LogTest.php | 2 +- tests/PHPUnit/Integration/Core/OptionTest.php | 2 +- tests/PHPUnit/Integration/Core/PiwikTest.php | 2 +- tests/PHPUnit/Integration/Core/Plugin/SettingsTest.php | 2 +- tests/PHPUnit/Integration/Core/SegmentTest.php | 2 +- tests/PHPUnit/Integration/Core/SqlTest.php | 2 +- tests/PHPUnit/Integration/Core/Tracker/ActionTest.php | 2 +- tests/PHPUnit/Integration/Core/Tracker/VisitTest.php | 2 +- tests/PHPUnit/Integration/Core/TrackerTest.php | 2 +- tests/PHPUnit/Integration/Core/UpdaterTest.php | 2 +- tests/PHPUnit/Integration/Core/ViewDataTable/ManagerTest.php | 2 +- tests/PHPUnit/Integration/Core/WidgetsListTest.php | 2 +- tests/PHPUnit/Integration/CsvExportTest.php | 2 +- tests/PHPUnit/Integration/CustomEventsTest.php | 2 +- tests/PHPUnit/Integration/EcommerceOrderWithItemsTest.php | 2 +- tests/PHPUnit/Integration/FlattenReportsTest.php | 2 +- tests/PHPUnit/Integration/ImportLogsTest.php | 2 +- tests/PHPUnit/Integration/LabelFilterTest.php | 2 +- tests/PHPUnit/Integration/ManyVisitorsOneWebsiteTest.php | 2 +- tests/PHPUnit/Integration/NoVisitTest.php | 2 +- tests/PHPUnit/Integration/NonUnicodeTest.php | 2 +- .../Integration/OneVisitorOneWebsite_SeveralDaysDateRangeTest.php | 2 +- .../OneVisitorOneWebsite_SeveralDaysDateRange_ArchivingTestsTest.php | 2 +- tests/PHPUnit/Integration/OneVisitorTwoVisitsTest.php | 2 +- .../PHPUnit/Integration/OneVisitorTwoVisits_withCookieSupportTest.php | 2 +- tests/PHPUnit/Integration/OneVisitor_LongUrlsTruncatedTest.php | 2 +- tests/PHPUnit/Integration/OneVisitor_NoKeywordSpecifiedTest.php | 2 +- .../Integration/OneVisitor_SeveralDays_ImportedInRandomOrderTest.php | 2 +- .../PeriodIsRange_DateIsLastN_MetadataAndNormalAPITest.php | 2 +- .../Integration/Plugins/CorePluginsAdmin/UpdateCommunicationTest.php | 2 +- .../Integration/Plugins/CoreUpdater/UpdateCommunicationTest.php | 2 +- tests/PHPUnit/Integration/Plugins/LoginTest.php | 2 +- tests/PHPUnit/Integration/Plugins/MobileMessagingTest.php | 2 +- tests/PHPUnit/Integration/Plugins/MultiSitesTest.php | 2 +- tests/PHPUnit/Integration/Plugins/PrivacyManagerConfigTest.php | 2 +- tests/PHPUnit/Integration/Plugins/PrivacyManagerTest.php | 2 +- tests/PHPUnit/Integration/Plugins/ScheduledReportsTest.php | 2 +- tests/PHPUnit/Integration/Plugins/SegmentEditorTest.php | 2 +- tests/PHPUnit/Integration/Plugins/SitesManagerTest.php | 2 +- tests/PHPUnit/Integration/Plugins/UsersManagerTest.php | 2 +- tests/PHPUnit/Integration/PrivacyManagerTest.php | 2 +- tests/PHPUnit/Integration/PurgeDataTest.php | 2 +- tests/PHPUnit/Integration/RowEvolutionTest.php | 2 +- tests/PHPUnit/Integration/SiteSearchTest.php | 2 +- tests/PHPUnit/Integration/TimezonesTest.php | 2 +- ...CustomVariablesAndCampaigns_ForceUsingVisitIdNotHeuristicsTest.php | 2 +- .../Integration/TrackGoals_AllowMultipleConversionsPerVisitTest.php | 2 +- tests/PHPUnit/Integration/TrackerWindowLookBackTest.php | 2 +- tests/PHPUnit/Integration/TrackingAPI_SetVisitorIdTest.php | 2 +- .../PHPUnit/Integration/TwoVisitors_TwoWebsites_DifferentDaysTest.php | 2 +- .../TwoVisitors_TwoWebsites_DifferentDays_ArchivingDisabledTest.php | 2 +- .../TwoVisitors_TwoWebsites_DifferentDays_ConversionsTest.php | 2 +- tests/PHPUnit/Integration/TwoVisitsWithCustomVariablesTest.php | 2 +- .../Integration/TwoVisitsWithCustomVariables_SegmentContainsTest.php | 2 +- .../TwoVisitsWithCustomVariables_SegmentMatchALL_NoGoalDataTest.php | 2 +- .../Integration/TwoVisitsWithCustomVariables_SegmentMatchNONETest.php | 2 +- .../TwoVisitsWithCustomVariables_SegmentMatchVisitorTypeTest.php | 2 +- tests/PHPUnit/Integration/VisitsInPast_InvalidateOldReportsTest.php | 2 +- tests/PHPUnit/IntegrationTestCase.php | 2 +- tests/PHPUnit/MockLocationProvider.php | 2 +- tests/PHPUnit/MockPiwikOption.php | 2 +- tests/PHPUnit/Plugins/ActionsTest.php | 2 +- tests/PHPUnit/Plugins/AnonymizeIPTest.php | 2 +- tests/PHPUnit/Plugins/LanguagesManagerTest.php | 2 +- tests/PHPUnit/Plugins/ProxyTest.php | 2 +- tests/PHPUnit/Plugins/ReferrersTest.php | 2 +- tests/PHPUnit/Plugins/SEOTest.php | 2 +- tests/PHPUnit/Plugins/UserCountryTest.php | 2 +- tests/PHPUnit/Plugins/UserSettingsTest.php | 2 +- tests/PHPUnit/UI | 2 +- 191 files changed, 192 insertions(+), 192 deletions(-) (limited to 'tests/PHPUnit') diff --git a/tests/PHPUnit/BenchmarkTestCase.php b/tests/PHPUnit/BenchmarkTestCase.php index d3c954ffdc..6e57944af4 100755 --- a/tests/PHPUnit/BenchmarkTestCase.php +++ b/tests/PHPUnit/BenchmarkTestCase.php @@ -1,6 +1,6 @@ cliMulti->request($urls); $message = "Response was: " . substr( implode("\n\n", $response), 0, 4000); - $this->assertTrue(false !== strpos($response[0], ''), $message); + $this->assertTrue(false !== strpos($response[0], ''), $message); $this->assertTrue(false !== strpos($response[0], 'Widgetize the full dashboard'). $message); } diff --git a/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php b/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php index de4c23d63b..847af0e3c8 100644 --- a/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php +++ b/tests/PHPUnit/Integration/Core/CronArchive/FixedSiteIdsTest.php @@ -1,6 +1,6 @@