eclipse-equinox / p2

Eclipse Public License 2.0
14 stars 39 forks source link

Add AbstractRepository#toString #510

Closed laeubi closed 3 months ago

laeubi commented 3 months ago

Currently in a debug session it is quite annoying as repositories usually have only the default string what is not really helpful.

This adds a AbstractRepository#toString to print the name and URI if available.

github-actions[bot] commented 3 months ago

Test Results

  375 files  +366    375 suites  +366   41m 22s :stopwatch: + 9m 0s 1 893 tests  - 304  1 890 :white_check_mark:  - 303  3 :zzz:  - 1  0 :x: ±0  6 679 runs   -   2  6 670 :white_check_mark: ±  0  9 :zzz:  - 2  0 :x: ±0 

Results for commit 9cd83bd4. ± Comparison against base commit c9f0582e.

This pull request removes 2165 and adds 1861 tests. Note that renamed tests count towards both. ``` org.eclipse.equinox.frameworkadmin.tests.Bug196525 ‑ testConfigContent org.eclipse.equinox.frameworkadmin.tests.Bug258370 ‑ testComma org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testOSGiRemoval org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testSimpleConfiguratorRemoval org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testWithMutipleBundles org.eclipse.equinox.frameworkadmin.tests.FrameworkExtensionTest ‑ testAddRemoveFrameworkExtension org.eclipse.equinox.frameworkadmin.tests.LauncherConfigLocationTest ‑ testCustomLauncherConfig org.eclipse.equinox.frameworkadmin.tests.LauncherDataTest ‑ testRemoveProgramArg org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug212361_osgiInBundlesList org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug258126_ProgramArgs_VMArgs … ``` ``` AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.Bug196525 ‑ testConfigContent AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.Bug258370 ‑ testComma AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testOSGiRemoval AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testSimpleConfiguratorRemoval AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.CleanupTest ‑ testWithMutipleBundles AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.FrameworkExtensionTest ‑ testAddRemoveFrameworkExtension AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.LauncherConfigLocationTest ‑ testCustomLauncherConfig AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.LauncherDataTest ‑ testRemoveProgramArg AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug212361_osgiInBundlesList AutomatedTests org.eclipse.equinox.frameworkadmin.tests.AllTests org.eclipse.equinox.frameworkadmin.tests.ManipulatorTests ‑ testBug258126_ProgramArgs_VMArgs … ```
This pull request removes 4 skipped tests and adds 3 skipped tests. Note that renamed tests count towards both. ``` org.eclipse.equinox.p2.tests.importexport.ImportExportRemoteTests ‑ Unknown test org.eclipse.equinox.p2.tests.touchpoint.natives.CheckAndPromptNativePackageWindowsRegistryTest ‑ Unknown test org.eclipse.equinox.p2.tests.ui.dialogs.EECompatibilityTest ‑ testEEIssueSkipsRemediation org.eclipse.equinox.p2.tests.ui.dialogs.EECompatibilityTest ‑ testSingleIUPreventInstallation ``` ``` AutomatedTests org.eclipse.equinox.p2.tests.ui.dialogs.AllTests org.eclipse.equinox.p2.tests.ui.dialogs.EECompatibilityTest ‑ testEEIssueSkipsRemediation AutomatedTests org.eclipse.equinox.p2.tests.ui.dialogs.AllTests org.eclipse.equinox.p2.tests.ui.dialogs.EECompatibilityTest ‑ testSingleIUPreventInstallation org.eclipse.equinox.p2.tests.importexport.AllTests ‑ org.eclipse.equinox.p2.tests.importexport.ImportExportRemoteTests ```