Tests: ClasspathInstrumentationTest fix #2037
Unit Tests Report: Gradle 7.6 @ macos-latest ✅
✅ build/test-results/test/TEST-org.jetbrains.intellij.IntelliJPluginManualConfigSpec.xml
9 tests were completed in 92s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.IntelliJPluginManualConfigSpec | 9✅ | 92s |
✅ org.jetbrains.intellij.IntelliJPluginManualConfigSpec
✅ configure extra manually fail without afterEvaluate
✅ configure sdk manually test
✅ configure extra manually fail on unconfigured extra dependency
✅ configure sdk manually fail without afterEvaluate
✅ configure plugins manually fail on some unconfigured plugins
✅ configure plugins manually test
✅ configure plugins manually fail on unconfigured plugin
✅ configure plugins manually fail without afterEvaluate
✅ configure extra dependencies manually test
✅ build/test-results/test/TEST-org.jetbrains.intellij.IntelliJPluginSpec.xml
26 tests were completed in 497s with 25 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.IntelliJPluginSpec | 25✅ | 1⚪ | 497s |
✅ org.jetbrains.intellij.IntelliJPluginSpec
✅ add external zip plugin source artifacts from src directory when downloadSources = true
✅ add ant dependencies to classpath
✅ expect build fails when using unsupported Gradle version
✅ add external zip plugin source artifacts from src directory when downloadSources = false
✅ add external zip plugin source artifacts from src directory when localPath used
✅ add bundled plugin source artifacts from IDE_ROOT-lib-src directory when downloadSources = false
✅ add require plugin id parameter in test tasks
✅ add bundled zip plugin source artifacts from src directory when downloadSources = true
✅ add local plugin to compile only classpath
✅ resolve bundled plugin by its id
✅ does not add zip plugin source artifacts from IDE_ROOT-lib-src directory when sources not provided
✅ ide dependencies are added to test fixtures compile only classpath
⚪ expect successful build using minimal supported Gradle version
✅ add bundled plugin source artifacts from IDE_ROOT-lib-src directory when downloadSources = true
✅ patch test tasks
✅ add builtin plugin dependencies to classpath
✅ use test compile classpath for non-builtin plugins if Gradle lte 2_12
✅ use compile only classpath for non-builtin plugins if Gradle lte 2_12
✅ add external zip-plugins to compile only classpath
✅ intellij-specific tasks
✅ do not update existing jvm arguments in test tasks
✅ add bundled zip plugin source artifacts from IDE_ROOT-lib-src directory when localPath used
✅ custom sandbox directory
✅ resolve plugins in Gradle lte 4_3
✅ add bundled zip plugin source artifacts from src directory when localPath used
✅ add bundled zip plugin source artifacts from src directory when downloadSources = false
✅ build/test-results/test/TEST-org.jetbrains.intellij.jbr.JbrResolverTest.xml
6 tests were completed in 80s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.jbr.JbrResolverTest | 6✅ | 80s |
✅ org.jetbrains.intellij.jbr.JbrResolverTest
✅ resolve 11_0_11b1536_2
✅ resolve jbr_fd-11_0_13b1751_16
✅ resolve jbr_nomod-11_0_13b1751_16
✅ resolve jbr_dcevm-11_0_13b1751_16
✅ resolve 11_0_13b1751_16 in fd variant
✅ resolve jbrsdk-11_0_13b1751_16
✅ build/test-results/test/TEST-org.jetbrains.intellij.performanceTest.parsers.IdeaLogParserTest.xml
2 tests were completed in 11ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.performanceTest.parsers.IdeaLogParserTest | 2✅ | 11ms |
✅ org.jetbrains.intellij.performanceTest.parsers.IdeaLogParserTest
✅ total time absent test
✅ simple parser test
✅ build/test-results/test/TEST-org.jetbrains.intellij.performanceTest.parsers.SimpleIJPerfParserTest.xml
2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.performanceTest.parsers.SimpleIJPerfParserTest | 2✅ | 9ms |
✅ org.jetbrains.intellij.performanceTest.parsers.SimpleIJPerfParserTest
✅ simple parser test
✅ assertTimeout is null
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.BuildPluginTaskSpec.xml
9 tests were completed in 107s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.BuildPluginTaskSpec | 9✅ | 107s |
✅ org.jetbrains.intellij.tasks.BuildPluginTaskSpec
✅ provide MANIFEST_MF with build details
✅ build plugin distribution
✅ can compile classes that depends on external plugins
✅ include only relevant searchableOptions_jar
✅ build plugin distribution with Kotlin
✅ use gradle project name for distribution if plugin name is not defined
✅ can compile classes that depend on external plugin with classes directory
✅ use custom sandbox for distribution
✅ build plugin without sources
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.BuildSearchableOptionsTaskSpec.xml
2 tests were completed in 483ms with 1 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.BuildSearchableOptionsTaskSpec | 1✅ | 1⚪ | 483ms |
✅ org.jetbrains.intellij.tasks.BuildSearchableOptionsTaskSpec
⚪ build searchable options produces XML
✅ skip building searchable options using IDEA prior 2019_1
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.DownloadIntelliJPluginsSpec.xml
9 tests were completed in 10s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.DownloadIntelliJPluginsSpec | 9✅ | 10s |
✅ org.jetbrains.intellij.tasks.DownloadIntelliJPluginsSpec
✅ download plugin through maven block
✅ download jar plugin
✅ download zip plugin
✅ download plugin from custom repository
✅ download plugin from custom repository without xml
✅ download plugin from custom repository without xml with query
✅ download zip plugin from non-default channel
✅ download plugin from custom repository 2
✅ download plugin from custom repository with query
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.DownloadIntelliJSpec.xml
4 tests were completed in 0ms with 0 passed, 0 failed and 4 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.DownloadIntelliJSpec | 4⚪ | 0ms |
✅ org.jetbrains.intellij.tasks.DownloadIntelliJSpec
⚪ download ultimate idea dependencies and community sources without dist when downloadSources = true
⚪ download ultimate idea dependencies without sources when downloadSources = false
⚪ download idea dependencies without sources when downloadSources = false
⚪ download idea with sources when downloadSources = true
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.DownloadRobotServerPluginTaskSpec.xml
3 tests were completed in 10s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.DownloadRobotServerPluginTaskSpec | 3✅ | 10s |
✅ org.jetbrains.intellij.tasks.DownloadRobotServerPluginTaskSpec
✅ download new robot server plugin task
✅ download old robot server plugin task
✅ download latest robot server plugin task
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.IntelliJInstrumentCodeTaskSpec.xml
6 tests were completed in 9s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.IntelliJInstrumentCodeTaskSpec | 6✅ | 9s |
✅ org.jetbrains.intellij.tasks.IntelliJInstrumentCodeTaskSpec
✅ instrument code with nullability annotations
✅ do not instrument code on empty source sets
✅ instrumentation does not invalidate compile tasks
✅ instrument kotlin forms
✅ do not instrument code if option is set to false
✅ instrument tests with nullability annotations
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.JarSearchableOptionsTaskSpec.xml
2 tests were completed in 9s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.JarSearchableOptionsTaskSpec | 2✅ | 9s |
✅ org.jetbrains.intellij.tasks.JarSearchableOptionsTaskSpec
✅ skip jarring searchable options using IDEA prior 2019_1
✅ jar searchable options produces archive
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.ListProductsReleasesTaskSpec.xml
11 tests were completed in 88s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.ListProductsReleasesTaskSpec | 11✅ | 88s |
✅ org.jetbrains.intellij.tasks.ListProductsReleasesTaskSpec
✅ get IDEs list for the multiple platformTypes
✅ get IDEs list for the custom platformType and platformVersion defined in intellij
✅ get IDEs list using sinceBuild and untilBuild
✅ get IDEs list using sinceBuild despite it is lower than intellij_version
✅ get IDEs list for the current platformType
✅ get Android Studio releases for Release channel
✅ get IDEs list for the current platformType, sinceBuild and untilBuild
✅ get IDEs list without EAP releases
✅ get IDEs list for the current platformType and limited versions scope
✅ get Android Studio releases
✅ productsReleasesUpdateFiles uses values from updatePaths
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.PatchPluginXmlTaskSpec.xml
13 tests were completed in 5s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.PatchPluginXmlTaskSpec | 13✅ | 5s |
✅ org.jetbrains.intellij.tasks.PatchPluginXmlTaskSpec
✅ add version tags in the beginning of file
✅ do not update version tag if project_version is undefined
✅ patch change notes
✅ override version and since until builds
✅ same since and until builds
✅ patch version and since until builds
✅ patch patching preserves UTF-8 characters
✅ patch description
✅ patch id
✅ do not update id if pluginId is undefined
✅ take extension setting into account while patching
✅ patch version and since until builds on intellij version changing
✅ skip patch task if intellij version did not changed
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.PrepareSandboxTaskSpec.xml
20 tests were completed in 24s with 20 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.PrepareSandboxTaskSpec | 20✅ | 24s |
✅ org.jetbrains.intellij.tasks.PrepareSandboxTaskSpec
✅ prepare sandbox for two plugins
✅ disable ide update with updates_xml empty
✅ prepare sandbox with external zip-type plugin
✅ use gradle project name if plugin name is not defined
✅ prepare sandbox with external jar-type plugin
✅ prepare sandbox for two plugins with evaluated project
✅ replace jar on version changing
✅ disable ide update without value attribute
✅ disable ide update without check_needed option
✅ rename jars with same names
✅ prepare ui tests sandbox task
✅ prepare custom sandbox task
✅ disable ide update with complex updates_xml
✅ disable ide update without updates_xml
✅ prepare sandbox task without plugin_xml
✅ disable ide update without updates component
✅ prepare sandbox with plugin dependency with classes directory
✅ prepareTestingSandbox runs before test
✅ prepare sandbox task
✅ disable ide update
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.ProcessResourcesTaskSpec.xml
3 tests were completed in 1s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.ProcessResourcesTaskSpec | 3✅ | 1s |
✅ org.jetbrains.intellij.tasks.ProcessResourcesTaskSpec
✅ do not break incremental processing
✅ use patched plugin xml files
✅ update resources on updated patched xml files
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.PublishPluginTaskSpec.xml
1 tests were completed in 1s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.PublishPluginTaskSpec | 1✅ | 1s |
✅ org.jetbrains.intellij.tasks.PublishPluginTaskSpec
✅ skip publishing if token is missing
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.RunPluginVerifierTaskSpec.xml
15 tests were completed in 344s with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.RunPluginVerifierTaskSpec | 15✅ | 344s |
✅ org.jetbrains.intellij.tasks.RunPluginVerifierTaskSpec
✅ pass on any failureLevel
✅ run plugin verifier in specified version
✅ run plugin verifier fails on old version lower than 1_255
✅ set verification reports directory
✅ test plugin against two IDEs
✅ run plugin verifier in the latest version
✅ run plugin verifier in offline mode
✅ fail on incorrect ideVersion
✅ pass on Deprecated API usages
✅ fail on any failureLevel
✅ fail on Deprecated API usages
✅ fail on verifyPlugin task
✅ do not use ListProductsReleasesTask output on empty array passed to ideVersions property
✅ test plugin against Android Studio
✅ use ListProductsReleasesTask output on missing ideVersions property
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.SetupDependenciesTaskSpec.xml
1 tests were completed in 637ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.SetupDependenciesTaskSpec | 1✅ | 637ms |
✅ org.jetbrains.intellij.tasks.SetupDependenciesTaskSpec
✅ idea dependency is available
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.SignPluginTaskSpec.xml
14 tests were completed in 19s with 14 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.SignPluginTaskSpec | 14✅ | 19s |
✅ org.jetbrains.intellij.tasks.SignPluginTaskSpec
✅ fail on signing with incorrect password provided
✅ verify plugin signature with certificateChain
✅ verify plugin signed with password provided
✅ skip plugin signature verification task if plugin signing is not configured
✅ sign plugin with password provided
✅ run Marketplace ZIP Signer in specified version using certificateChain and privateKey
✅ run Marketplace ZIP Signer in the latest version
✅ skip Marketplace ZIP Signer task if no key and certificateChain were provided
✅ fail on signing without password provided
✅ run Marketplace ZIP Signer and fail on invalid version
✅ verify plugin signature with certificateChainFile
✅ verify unsigned plugin archive
✅ run Marketplace ZIP Signer in specified version using certificateChainFile and privateKeyFile
✅ output file contains version when specified in build file
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.VerifyPluginConfigurationTaskSpec.xml
9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.VerifyPluginConfigurationTaskSpec | 9✅ | 4s |
✅ org.jetbrains.intellij.tasks.VerifyPluginConfigurationTaskSpec
✅ report too high Kotlin jvmTarget
✅ report Kotlin stdlib bundling
✅ report too low Kotlin languageVersion
✅ report too high Java targetCompatibility
✅ do not show errors when configuration is valid
✅ report too low Java sourceCompatibility
✅ report too low since-build
✅ report too high Kotlin apiVersion
✅ report kotlinx-coroutines dependency
✅ build/test-results/test/TEST-org.jetbrains.intellij.tasks.VerifyPluginTaskSpec.xml
9 tests were completed in 4s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.tasks.VerifyPluginTaskSpec | 9✅ | 4s |
✅ org.jetbrains.intellij.tasks.VerifyPluginTaskSpec
✅ do not fail on errors if option is enabled
✅ fail on errors by default
✅ fail on errors if ignore unacceptable warnings option is enabled
✅ do not fail if there are no errors and warnings
✅ do not fail on unacceptable warnings if ignoreFailures option is enabled
✅ do not fail on unacceptable warnings if option is enabled
✅ do not fail on warning by default
✅ fail on warning if option is disabled
✅ fail on unacceptable warnings by default
✅ build/test-results/test/TEST-org.jetbrains.intellij.UtilsTest.xml
1 tests were completed in 24ms with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.UtilsTest | 1✅ | 24ms |
✅ org.jetbrains.intellij.UtilsTest
✅ dependency parsing
✅ build/test-results/test/TEST-org.jetbrains.intellij.VersionTest.xml
2 tests were completed in 11ms with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.jetbrains.intellij.VersionTest | 2✅ | 11ms |
✅ org.jetbrains.intellij.VersionTest
✅ version parsing
✅ version comparison