Skip to content

Commit 40dadec

Browse files
Copilotlaeubi
andauthored
Add comprehensive Javadoc documentation to Tycho188P2EnabledRcpTest (#5438)
* Add comprehensive Javadoc to Tycho188P2EnabledRcpTest class Added detailed class-level documentation explaining: - The purpose and scope of the test - What it validates (P2 product builds, installations, configurations) - The test scenarios covered (main, multi-platform, extra, repo-only products) - The testing approach (JUnit Theories for multiple environments) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>
1 parent 22c26c2 commit 40dadec

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

tycho-its/src/test/java/org/eclipse/tycho/test/product/Tycho188P2EnabledRcpTest.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,31 @@
4343
import org.junit.experimental.theories.Theory;
4444
import org.junit.runner.RunWith;
4545

46+
/**
47+
* Integration test for building and installing Eclipse RCP (Rich Client Platform) products with P2 enabled.
48+
* <p>
49+
* This test validates the complete lifecycle of creating Eclipse products with P2 provisioning support,
50+
* including:
51+
* <ul>
52+
* <li>Building multiple product configurations with different packaging options (standard, multi-platform, with bundle pools)</li>
53+
* <li>Publishing product IUs (Installable Units) to P2 repositories</li>
54+
* <li>Materializing products with the tycho-p2-director-plugin</li>
55+
* <li>Verifying product installations have correct configurations (config.ini, P2 profiles, simpleconfigurator)</li>
56+
* <li>Testing root-level feature installation in products</li>
57+
* <li>Validating product artifacts and attachments for different target environments</li>
58+
* </ul>
59+
* <p>
60+
* The test uses JUnit's Theories framework to test multiple target environments (Windows/Linux, different architectures).
61+
* It covers several product scenarios:
62+
* <ul>
63+
* <li><b>main.product.id</b>: Standard product with local features</li>
64+
* <li><b>multi.platform.package.product.id</b>: Multi-platform product with shared bundle pool</li>
65+
* <li><b>extra.product.id</b>: Product with custom root folder and P2 inf properties</li>
66+
* <li><b>repoonly.product.id</b>: Product published to repository only (not materialized)</li>
67+
* </ul>
68+
*
69+
* @see org.eclipse.tycho.test.AbstractTychoIntegrationTest
70+
*/
4671
@RunWith(Theories.class)
4772
public class Tycho188P2EnabledRcpTest extends AbstractTychoIntegrationTest {
4873

0 commit comments

Comments
 (0)