Skip to content

Commit

Permalink
Provide shared launchers for all tests (#1296)
Browse files Browse the repository at this point in the history
Also provide a group launcher that launches all the tests

Improve the Oomph set to add all the launchers as favorites.

Add to .gitinore to avoid so many test result artifacts dirtying the Git
repository state.
  • Loading branch information
merks committed May 29, 2023
1 parent 3a05180 commit f357fb6
Show file tree
Hide file tree
Showing 44 changed files with 1,085 additions and 2,728 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,3 +1,5 @@
bin/
/.reviewboardrc
target
meta.log
build.log
78 changes: 78 additions & 0 deletions build/org.eclipse.birt.releng/BIRT.setup

Large diffs are not rendered by default.

@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.pde.ui.JunitLaunchConfig">
<booleanAttribute key="append.args" value="true"/>
<stringAttribute key="application" value="org.eclipse.pde.junit.runtime.coretestapplication"/>
<booleanAttribute key="askclear" value="false"/>
<booleanAttribute key="automaticAdd" value="true"/>
<booleanAttribute key="automaticValidate" value="false"/>
<stringAttribute key="bootstrap" value=""/>
<stringAttribute key="checked" value="[NONE]"/>
<booleanAttribute key="clearConfig" value="true"/>
<booleanAttribute key="clearws" value="true"/>
<booleanAttribute key="clearwslog" value="false"/>
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/pde-junit"/>
<booleanAttribute key="default" value="true"/>
<booleanAttribute key="includeOptional" value="true"/>
<stringAttribute key="location" value="${workspace_loc}/../junit-workspace"/>
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/org.eclipse.birt.report.item.crosstab.core.tests/test/org/eclipse/birt/report/item/crosstab/core/AllTests.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value=""/>
<booleanAttribute key="org.eclipse.jdt.junit.KEEPRUNNING_ATTR" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.TESTNAME" value=""/>
<stringAttribute key="org.eclipse.jdt.junit.TEST_KIND" value="org.eclipse.jdt.junit.loader.junit4"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.birt.report.item.crosstab.core.AllTests"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.birt.report.item.crosstab.core.tests"/>
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true"/>
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
<booleanAttribute key="run_in_ui_thread" value="true"/>
<booleanAttribute key="show_selected_only" value="false"/>
<booleanAttribute key="tracing" value="false"/>
<booleanAttribute key="useCustomFeatures" value="false"/>
<booleanAttribute key="useDefaultConfig" value="true"/>
<booleanAttribute key="useDefaultConfigArea" value="false"/>
<booleanAttribute key="useProduct" value="false"/>
</launchConfiguration>
117 changes: 117 additions & 0 deletions build/org.eclipse.birt.target/BIRT All Tests.launch
@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.debug.core.groups.GroupLaunchConfigurationType">
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.0.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.0.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.0.name" value="BIRT Chart Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.1.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.1.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.1.name" value="BIRT Core Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.10.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.10.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.10.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.10.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.10.name" value="BIRT Report Engine Emitter PostScript Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.11.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.11.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.11.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.11.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.11.name" value="BIRT Report Engine Emitter PPTX Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.12.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.12.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.12.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.12.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.12.name" value="BIRT Report Engine Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.13.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.13.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.13.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.13.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.13.name" value="BIRT Report Item CrossTab Core Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.14.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.14.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.14.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.14.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.14.name" value="BIRT Report Model Adapter ODA Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.15.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.15.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.15.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.15.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.15.name" value="BIRT Report Model Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.16.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.16.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.16.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.16.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.16.name" value="BIRT Report Tests Chart Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.17.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.17.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.17.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.17.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.17.name" value="BIRT Report Tests Engine Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.18.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.18.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.18.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.18.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.18.name" value="BIRT Report Tests Model Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.19.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.19.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.19.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.19.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.19.name" value="BIRT Report Viewer UI Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.2.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.2.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.2.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.2.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.2.name" value="BIRT Data ODA POJO Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.20.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.20.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.20.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.20.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.20.name" value="BIRT Tests Data Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.21.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.21.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.21.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.21.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.21.name" value="BIRT SpudSoft Emmitters Excel Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.3.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.3.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.3.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.3.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.3.name" value="BIRT Data Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.4.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.4.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.4.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.4.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.4.name" value="BIRT Report Data ODA JDBC Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.5.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.5.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.5.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.5.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.5.name" value="BIRT Report Designer Preview UI Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.6.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.6.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.6.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.6.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.6.name" value="BIRT Report Designer UI Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.7.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.7.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.7.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.7.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.7.name" value="BIRT Report Engine Data Extraction CSV Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.8.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.8.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.8.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.8.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.8.name" value="BIRT Report Engine Emiitter Prototype Excel Test"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.9.action" value="WAIT_FOR_TERMINATION"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.9.adoptIfRunning" value="false"/>
<booleanAttribute key="org.eclipse.debug.core.launchGroup.9.enabled" value="true"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.9.mode" value="inherit"/>
<stringAttribute key="org.eclipse.debug.core.launchGroup.9.name" value="BIRT Report Engine Emitter HTML Test"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
</launchConfiguration>

0 comments on commit f357fb6

Please sign in to comment.