Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021765Openbravo ERPA. Platformpublic2012-09-26 14:022015-08-20 23:16
mtaal 
alostale 
normalmajorhave not tried
closedfixed 
5
 
3.0PR15Q43.0PR15Q4 
AugustoMauch
Core
No
0021765: Enable Weld tests in the client.kernel and client.application modules
In the client.kernel and client.application modules there are tests which extend BaseWeldTest.
These tests are currently not run because the test framework http://www.jboss.org/arquillian.html [^]

is not up-to-date.

This issue is to keep track that these tests need to be run, but first arquillian needs to be updated. See the libraries in org.openbravo.base.weld/lib/test.

Implemented as project: http://wiki.openbravo.com/wiki/Projects:CDI_for_jUnit [^]
See description
No tags attached.
related to defect 0032506 closed platform Openbravo ERP GenerateComponentTest.testApplication test case is ignored 
blocks design defect 0028625 closed aferraz QA Process requests should be called directly instead of using a request in TestCosting 
blocks defect 0028955 closed alostale Openbravo ERP can't use EntityPersistenceEventObserver in jUnit test cases 
Issue History
2012-09-26 14:02mtaalNew Issue
2012-09-26 14:02mtaalAssigned To => AugustoMauch
2012-09-26 14:02mtaalModules => Core
2012-09-26 14:26RafaelCruzIssue Monitored: RafaelCruz
2012-10-15 11:18AugustoMauchTarget Version3.0MP17 => 3.0MP18
2012-11-19 08:18alostaleTarget Version3.0MP18 =>
2013-04-25 08:18alostaleTriggers an Emergency Pack => No
2013-04-25 08:18alostaleTypedefect => design defect
2014-02-27 11:08egoitzIssue Monitored: egoitz
2015-01-15 11:28shuehnerIssue Monitored: shuehner
2015-01-15 14:01aferrazRelationship addedblocks 0028625
2015-02-16 17:43alostaleRelationship addedblocks 0028955
2015-07-02 12:27alostaleStatusnew => scheduled
2015-07-02 12:27alostaleAssigned ToAugustoMauch => alostale
2015-07-02 12:45alostaleDescription Updatedbug_revision_view_page.php?rev_id=8969#r8969
2015-07-02 12:49alostaleTarget Version => 3.0PR15Q4
2015-07-08 08:10alostaleReview Assigned To => AugustoMauch
2015-07-08 08:21hgbotCheckin
2015-07-08 08:21hgbotNote Added: 0078710
2015-07-08 08:21hgbotStatusscheduled => resolved
2015-07-08 08:21hgbotResolutionopen => fixed
2015-07-08 08:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/95cedd0d623cd3805af630edb5c687ec28f5405f [^]
2015-07-31 11:02AugustoMauchNote Added: 0079144
2015-07-31 11:02AugustoMauchStatusresolved => closed
2015-07-31 11:02AugustoMauchFixed in Version => 3.0PR15Q4
2015-08-20 23:16hudsonbotCheckin
2015-08-20 23:16hudsonbotNote Added: 0079481
2016-03-18 12:37alostaleRelationship addedrelated to 0032506

Notes
(0078710)
hgbot   
2015-07-08 08:21   
Repository: erp/devel/pi
Changeset: 95cedd0d623cd3805af630edb5c687ec28f5405f
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 08 08:13:50 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/95cedd0d623cd3805af630edb5c687ec28f5405f [^]

fixed issue 21765 fixed issue 28955: enabled cdi in jUnit test cases

---
M build.xml
M legal/Licensing.txt
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/WeldBaseTest.java
M modules/org.openbravo.client.application/src-test/org/openbravo/client/application/test/DynamicExpressionParserTest.java
M modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/FreemarkerTemplateProcessorTest.java
M modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/GenerateComponentTest.java
M modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/LabelTest.java
M src-test/.classpath.template
M src-test/.project
M src-test/build.xml
M src-test/src/org/openbravo/test/AllAntTaskTests.java
M src-test/src/org/openbravo/test/AllTests.java
M src-test/src/org/openbravo/test/AntTaskTests.java
A modules/org.openbravo.base.weld/lib/test/arquillian-config-api-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-config-impl-base-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-container-impl-base-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-container-spi-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-container-test-api-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-container-test-impl-base-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-container-test-spi-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-core-api-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-core-impl-base-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-core-spi-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-junit-container-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-junit-core-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-test-api-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-test-impl-base-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-test-spi-1.1.8.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-testenricher-cdi-1.0.2.Final.jar
A modules/org.openbravo.base.weld/lib/test/arquillian-weld-ee-embedded-1.1-1.0.0.CR8.jar
A modules/org.openbravo.base.weld/lib/test/jboss-el-api_2.2_spec-1.0.0.Final.jar
A modules/org.openbravo.base.weld/lib/test/shrinkwrap-api-1.2.2.jar
A modules/org.openbravo.base.weld/lib/test/shrinkwrap-descriptors-api-base-2.0.0-alpha-7.jar
A modules/org.openbravo.base.weld/lib/test/shrinkwrap-descriptors-spi-2.0.0-alpha-7.jar
A modules/org.openbravo.base.weld/lib/test/shrinkwrap-impl-base-1.2.2.jar
A modules/org.openbravo.base.weld/lib/test/shrinkwrap-spi-1.2.2.jar
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/ParameterCdiTest.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/ParameterCdiTestRule.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/ApplicationScopedBean.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/DalPersistanceEventTest.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/ParameterizedCdi.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/RequestScopedBean.java
A modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/SessionScopedBean.java
R modules/org.openbravo.base.weld/lib/test/arquillian-api-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-impl-base-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-junit-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-protocol-local-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-spi-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-testenricher-cdi-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/arquillian-weld-ee-embedded-1.1-1.0.0.Alpha4.jar
R modules/org.openbravo.base.weld/lib/test/shrinkwrap-api-1.0.0-alpha-11.jar
R modules/org.openbravo.base.weld/lib/test/shrinkwrap-extension-classloader-1.0.0-alpha-11.jar
R modules/org.openbravo.base.weld/lib/test/shrinkwrap-impl-base-1.0.0-alpha-11.jar
R modules/org.openbravo.base.weld/lib/test/shrinkwrap-spi-1.0.0-alpha-11.jar
---
(0079144)
AugustoMauch   
2015-07-31 11:02   
Code reviewed and verified in pi@adc2491ee60b
(0079481)
hudsonbot   
2015-08-20 23:16   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8c91718397a5 [^]
Maturity status: Test