56 calls to PackageManagerKernelTestBase::createStage()
- ChangeLoggerTest::testChangeLogging in core/
modules/ package_manager/ tests/ src/ Kernel/ ChangeLoggerTest.php - Tests that the requested and applied changes are logged.
- ComposerMinimumStabilityValidatorTest::testPreRequireEvent in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerMinimumStabilityValidatorTest.php - Tests error if requested version is less stable than the minimum: stable.
- ComposerPatchesValidatorTest::testErrorDuringPreApply in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPatchesValidatorTest.php - Tests the patcher's presence and configuration are validated on pre-apply.
- ComposerPluginsValidatorInsecureTest::testAddDisallowedPlugin in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorInsecureTest.php - Tests adding a plugin that's not allowed by the allow-plugins config.
- ComposerPluginsValidatorTest::testAddDisallowedPlugin in core/
modules/ package_manager/ tests/ src/ Kernel/ ComposerPluginsValidatorTest.php - Tests adding a plugin that's not allowed by the allow-plugins config.
- DuplicateInfoFileValidatorTest::testDuplicateInfoFilesInStage in core/
modules/ package_manager/ tests/ src/ Kernel/ DuplicateInfoFileValidatorTest.php - Tests that duplicate info.yml in stage raise an error.
- FailureMarkerTest::testAssertNotExists in core/
modules/ package_manager/ tests/ src/ Kernel/ FailureMarkerTest.php - Tests that the failure marker can contain an exception message.
- FailureMarkerTest::testGetMessageWithoutThrowable in core/
modules/ package_manager/ tests/ src/ Kernel/ FailureMarkerTest.php - @covers ::getMessage @testWith [true] [false]
- FailureMarkerTest::testGetMessageWithThrowable in core/
modules/ package_manager/ tests/ src/ Kernel/ FailureMarkerTest.php - @covers ::getMessage @testWith [true] [false]
- FailureMarkerTest::testMarkerFileIsExcluded in core/
modules/ package_manager/ tests/ src/ Kernel/ FailureMarkerTest.php - @covers ::getSubscribedEvents @covers ::excludeMarkerFile
- GitExcluderTest::testGitDirectoriesExcludedActive in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ GitExcluderTest.php - Tests that Git directories are excluded from stage during PreCreate.
- GitExcluderTest::testGitDirectoriesExcludedStage in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ GitExcluderTest.php - Tests that Git directories are excluded from active during PreApply.
- LockFileValidatorTest::testNoStoredHash in core/
modules/ package_manager/ tests/ src/ Kernel/ LockFileValidatorTest.php - Tests exception when a stored hash of the active lock file is unavailable.
- NodeModulesExcluderTest::testExcludedPaths in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ NodeModulesExcluderTest.php - Tests that node_modules directories are excluded from stage operations.
- PackageManagerKernelTestBase::assertResults in core/
modules/ package_manager/ tests/ src/ Kernel/ PackageManagerKernelTestBase.php - Asserts validation results are returned from a stage life cycle event.
- PackageManagerKernelTestBase::assertStatusCheckResults in core/
modules/ package_manager/ tests/ src/ Kernel/ PackageManagerKernelTestBase.php - Asserts validation results are returned from the status check event.
- PendingUpdatesValidatorTest::testPendingUpdateAfterStaged in core/
modules/ package_manager/ tests/ src/ Kernel/ PendingUpdatesValidatorTest.php - Tests that pending updates stop an operation from being applied.
- PhpTufValidatorTest::testPluginRemovedFromStagePreApply in core/
modules/ package_manager/ tests/ src/ Kernel/ PhpTufValidatorTest.php - Tests removing the plugin from the stage before applying it.
- SiteConfigurationExcluderTest::testDefaultSiteDirectoryPermissions in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ SiteConfigurationExcluderTest.php - Tests that `sites/default` is made writable in the stage directory.
- SiteConfigurationExcluderTest::testExcludedPaths in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ SiteConfigurationExcluderTest.php - Tests that certain paths are excluded from stage operations.
- SiteFilesExcluderTest::testSiteFilesExcluded in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ SiteFilesExcluderTest.php - Tests that public and private files are excluded from stage operations.
- SqliteDatabaseExcluderTest::testSqliteDatabaseFilesExcluded in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ SqliteDatabaseExcluderTest.php - Tests that SQLite database files are excluded from stage operations.
- StageBaseTest::testCollectPathsToExclude in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that paths to exclude are collected before create and apply.
- StageBaseTest::testFailureCollectPathsToExcludeOnApply in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that if apply fails to get paths to exclude, throws a stage exception.
- StageBaseTest::testFailureDuringComposerStagerOperations in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests when Composer Stager throws an exception during an operation.
- StageBaseTest::testFailureMarkerPreventsCreate in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that if a stage fails to apply, another stage cannot be created.
- StageBaseTest::testGetStageDirectory in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - @covers ::getStageDirectory
- StageBaseTest::testMetadata in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - @covers ::getMetadata @covers ::setMetadata
- StageBaseTest::testNoFailureFileOnSuccess in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that the failure marker file doesn't exist if apply succeeds.
- StageBaseTest::testStageDirectoryDeletedDuringCron in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that destroyed stage directories are actually deleted during cron.
- StageBaseTest::testStageDirectoryExists in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - @covers ::stageDirectoryExists
- StageBaseTest::testStoreDestroyInfo in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests exceptions thrown because of previously destroyed stage.
- StageBaseTest::testTempStoreMessageExpired in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests exception message once temp store message has expired.
- StageBaseTest::testTimeouts in core/
modules/ package_manager/ tests/ src/ Kernel/ StageBaseTest.php - Tests that Composer Stager is invoked with a long timeout.
- StageCommitExceptionTest::testCommitException in core/
modules/ package_manager/ tests/ src/ Kernel/ StageCommitExceptionTest.php - Tests exception handling during calls to Composer Stager commit.
- StageConflictTest::testApplyAndPostApplyInSameRequest in core/
modules/ package_manager/ tests/ src/ Kernel/ StageConflictTest.php - Tests running apply and post-apply in the same request.
- StageConflictTest::testDestroyDuringApply in core/
modules/ package_manager/ tests/ src/ Kernel/ StageConflictTest.php - Tests destroying a stage while applying it.
- StageConflictTest::testUninstallModuleDuringApply in core/
modules/ package_manager/ tests/ src/ Kernel/ StageConflictTest.php - Test uninstalling any module while the staged changes are being applied.
- StagedDBUpdateValidatorTest::testStagedDatabaseUpdate in core/
modules/ package_manager/ tests/ src/ Kernel/ StagedDBUpdateValidatorTest.php - Tests validation of staged database updates.
- StagedDBUpdateValidatorTest::testUnclaimedStage in core/
modules/ package_manager/ tests/ src/ Kernel/ StagedDBUpdateValidatorTest.php - Tests that the validator disregards unclaimed stages.
- StageEventsTest::setUp in core/
modules/ package_manager/ tests/ src/ Kernel/ StageEventsTest.php - StageEventsTest::testAddResult in core/
modules/ package_manager/ tests/ src/ Kernel/ StageEventsTest.php - Tests adding validation results to events.
- StageEventsTest::testExceptionIfNoErrorBeforeStopPropagation in core/
modules/ package_manager/ tests/ src/ Kernel/ StageEventsTest.php - Tests exception is thrown if error is not added before stopPropagation().
- StageLoggedOnErrorTest::testLoggedOnError in core/
modules/ package_manager/ tests/ src/ Kernel/ StageLoggedOnErrorTest.php - @covers \Drupal\package_manager\StageBase::dispatch
- StageOwnershipTest::testClaim in core/
modules/ package_manager/ tests/ src/ Kernel/ StageOwnershipTest.php - Tests behavior of claiming a stage.
- StageOwnershipTest::testForceDestroy in core/
modules/ package_manager/ tests/ src/ Kernel/ StageOwnershipTest.php - Tests a stage being destroyed by a user who doesn't own it.
- StageOwnershipTest::testOwnershipEnforcedWhenLoggedIn in core/
modules/ package_manager/ tests/ src/ Kernel/ StageOwnershipTest.php - Tests only the owner of stage can perform operations.
- StageOwnershipTest::testOwnershipEnforcedWhenLoggedOut in core/
modules/ package_manager/ tests/ src/ Kernel/ StageOwnershipTest.php - Tests only the owner of stage can perform operations, even if logged out.
- StageOwnershipTest::testStageOwnedByCreator in core/
modules/ package_manager/ tests/ src/ Kernel/ StageOwnershipTest.php - Tests that the stage is owned by the person who calls create() on it.
- StatusCheckTraitTest::testPathsToExcludeCollected in core/
modules/ package_manager/ tests/ src/ Kernel/ StatusCheckTraitTest.php - Tests that StatusCheckTrait will collect paths to exclude.
- SymlinkValidatorTest::testSymlinkPointingOutsideStageDirectory in core/
modules/ package_manager/ tests/ src/ Kernel/ SymlinkValidatorTest.php - Tests that relative symlinks cannot point outside the stage directory.
- TestSiteExcluderTest::testTestSitesExcluded in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ TestSiteExcluderTest.php - Tests that test site directories are excluded from stage operations.
- UnknownPathExcluderTest::testExcluderCanBeDisabled in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ UnknownPathExcluderTest.php - Tests that the excluder can be disabled by a config flag.
- UnknownPathExcluderTest::testPathRepositoriesAreIncluded in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ UnknownPathExcluderTest.php - Tests that path repositories are included.
- UnknownPathExcluderTest::testUnknownPath in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ UnknownPathExcluderTest.php - Tests that the unknown files and directories are excluded.
- VendorHardeningExcluderTest::testVendorHardeningFilesExcluded in core/
modules/ package_manager/ tests/ src/ Kernel/ PathExcluder/ VendorHardeningExcluderTest.php - Tests that vendor hardening files are excluded from stage operations.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.