Commit Graph

168 Commits

Author SHA1 Message Date
teo_sarca c1f7b16c08 org.compiere.wf - Workflow Engine :
* Remove SQL code and Replace for Query
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2214883&group_id=176962
* use DB.getSQLValue*Ex methods
* add WorkflowTest JUnit Test Case
2009-04-27 10:07:47 +00:00
teo_sarca 2255e7feaa POTest:
* fix naming - only test cases should end with "Test" string
2009-04-24 13:17:18 +00:00
teo_sarca 1f5c83713d MSysConfigTest:
* fix naming - only test cases should end with "Test" string
* use getSQLValueEx
2009-04-24 13:16:19 +00:00
teo_sarca fd5f62d2e1 MStorageTest:
* fix BigDecimal comparation
* fix coding style
2009-04-24 13:14:58 +00:00
teo_sarca 6f51e52b7a Remove SQL code and Replace for Query
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2214883&group_id=176962

Introduce DB.getSQLValue*Ex methods
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2448461&group_id=176962

* better exception handling - use saveEx
* introduced MInvoiceTest test case for changed methods
2009-04-24 13:08:34 +00:00
mjudd 530082a3c8 minor: change "new Integer" to more efficient "Integer.valueOf" 2009-04-14 08:04:59 +00:00
mjudd 7d71f46528 BF [ 2740259 ] - Define static final serialVersionUID's for classes 2009-04-14 05:33:44 +00:00
mjudd a9e3d66261 Revert 8975 as per https://sourceforge.net/forum/forum.php?thread_id=3185123&forum_id=610548 2009-04-09 13:54:15 +00:00
teo_sarca 1ae6da187d FR [ 2726447 ] Query aggregate methods for all return types
http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2726447&group_id=176962
2009-04-08 08:49:40 +00:00
mjudd 52ed420263 BF [ 2740259 ] - Define static final serialVersionUID's for classes 2009-04-07 10:49:05 +00:00
trifonnt 03d2beb6d0 Export SuperCSV jar file. 2009-04-03 17:47:19 +00:00
trifonnt 094018afaa Export JUnit jar file. 2009-04-03 17:45:10 +00:00
trifonnt e0050517b1 fixed multi-project setup to compile in eclipse. 2009-03-25 22:01:45 +00:00
teo_sarca 8b6d85c0a6 Contributing Inventory Test JUnit seed to ADempiere core (AGAIN)
Tested with Java 1.5.0_17.
Carlos, if there are some issues please help me to fix them. We really need JUnit tests.
2009-02-17 20:50:50 +00:00
Carlos Ruiz 4b8512c02d Revert revision 8447.
Breaking build with java 5.
2009-02-15 19:43:13 +00:00
Carlos Ruiz 9751046e9d Fix error appearing on eclipse with java 5 2009-02-13 18:16:45 +00:00
teo_sarca 39ebb50342 Contributing Inventory Test JUnit seed to ADempiere core 2009-02-12 16:47:13 +00:00
teo_sarca 06eaed1bbe POTest : more tests 2009-02-11 09:51:23 +00:00
vpj-cd 70f2170f94 remove Libero Contribution 2009-02-09 17:05:27 +00:00
vpj-cd bc45b9d555 Remove Libero Contribution 2009-02-09 17:02:27 +00:00
teo_sarca 3f65c5be03 libero: MRPTest was moved to libero branch 2009-02-05 16:11:18 +00:00
teo_sarca cad14bad9b FR [ 2552432 ] Create JUnit MRP tests
http://sourceforge.net/tracker/index.php?func=detail&aid=2552432&group_id=176962&atid=879335

Fix extend/build.xml
2009-01-31 14:17:07 +00:00
teo_sarca 0b0c6de47e FR [ 2552432 ] Create JUnit MRP tests
http://sourceforge.net/tracker/index.php?func=detail&aid=2552432&group_id=176962&atid=879335
2009-01-31 13:33:16 +00:00
teo_sarca d134f19b91 functional tests:
* more tests added
* fixed copyright header
2009-01-29 18:04:06 +00:00
teo_sarca a2fb1cf06d AdempiereTestCase : Fix method typo error introduced in rev. 8239 2009-01-29 17:47:14 +00:00
teo_sarca 132b79aa02 FR [ 2546052 ] Introduce Query aggregate methods
https://sourceforge.net/tracker/index.php?func=detail&aid=2546052&group_id=176962&atid=879335
2009-01-29 17:43:58 +00:00
teo_sarca fafda130ee QueryTest : minor refactoring - use assertExceptionThrowed method 2009-01-29 17:37:52 +00:00
teo_sarca 0ff2ad9ef6 AdempiereTestCase :
* added more helper methods
2009-01-29 17:36:21 +00:00
wght e064cdbab7 Fixed syntax bug. 2009-01-29 04:41:13 +00:00
vpj-cd b34ff63fde The rate for Labor and Burden return Zero when the org have value
The get rate need validate the costing level.
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=2512101&group_id=176962

I made my first test Class :-)
2009-01-16 01:21:23 +00:00
teo_sarca fb473ceeea FR [ 2493023 ] Adding getIDs new method in Query
https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2493023&group_id=176962

refactored + added test case
2009-01-08 10:30:37 +00:00
teo_sarca 4b10b24702 FR [ 2448461 ] Introduce DB.getSQLValue*Ex methods
http://sourceforge.net/tracker/index.php?func=detail&aid=2448461&group_id=176962&atid=879335
2008-12-23 11:46:50 +00:00
Redhuan D. Oon f402fb6329 organize imports 2008-12-23 06:06:08 +00:00
Heng Sin Low 5449137a22 Fixed .classpath and .psf - looks have been merge into base. 2008-12-15 06:18:01 +00:00
teo_sarca 9ebeab9b0a FR [ 2421313 ] Introduce Query.firstOnly convenient method 2008-12-12 15:10:24 +00:00
Carlos Ruiz 2ea263b989 Implement Validator for beforeSaveProperties - ID: 2373679
Joined build of base and looks
2008-12-08 16:32:44 +00:00
teo_sarca 533d0763b9 DB:
* add getSQLValueEx method (same as getSQLValue but throws DBException)
* add getSQLValueBDEx method (same as getSQLValueBD but throws DBException)
* method setParameter(PreparedStatement pstmt, int index, Object param) should throw DBException if param is not supported
* added DBTest JUnit Test Case
2008-12-08 10:44:06 +00:00
Carlos Ruiz fcd3bec9c6 Implement Validator for beforeSaveProperties - ID: 2373679
Sample beforeSaveProperties for GardenWorld - to show usage to developers
2008-12-01 22:25:44 +00:00
trifonnt 7b30edbcb5 Eclipse launch configuration for product test. 2008-11-30 17:45:46 +00:00
vpj-cd eaac0e16de [ 2354040 ] Implementation Replication Mode, Type, Event
http://sourceforge.net/tracker/index.php?func=detail&aid=2354040&group_id=176962&atid=879335
2008-11-28 00:05:11 +00:00
trifonnt 537ce85a55 just to keep it documented. 2008-11-02 18:58:03 +00:00
vpj-cd adc98bac5e [ 2195016 ] Implementation delete records messages
http://sourceforge.net/tracker/index.php?func=detail&aid=2195016&group_id=176962&atid=879332
2008-10-25 19:11:46 +00:00
vpj-cd 909caca701 [ 2195051 ] Implementing Message Transaction
http://sourceforge.net/tracker/index.php?func=detail&aid=2195051&group_id=176962&atid=879335
2008-10-25 19:09:01 +00:00
vpj-cd 854f35fae9 Fixed Apply patch from Tobias
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1901477&group_id=176962
2008-10-16 17:38:05 +00:00
trifonnt b85b03a58d Save Exoprted xml file into current folder. 2008-10-03 08:07:24 +00:00
teo_sarca b27cf2b2e5 FR [ 2080217 ] Implement TrxRunnable 2008-08-28 08:42:36 +00:00
Carlos Ruiz 09dfff3a6c Making sample MyValidator work also with Global ModelValidator approach
for a better sample and testing purposes on [ 2039563 ] zk webui not calling modelvalidator
2008-08-09 17:03:19 +00:00
Carlos Ruiz 5a5cdac18d Making sample MyValidator work also with Global ModelValidator approach
for a better sample and testing purposes on [ 2039563 ] zk webui not calling modelvalidator
2008-08-09 16:36:11 +00:00
teo_sarca a1130e75f7 Add MUOMTest test case 2008-07-28 13:48:34 +00:00
trifonnt 9897cfa153 Fixed Eclipse multiple project setup in order to compile. 2008-07-24 15:04:39 +00:00
teo_sarca 5364036b18 MRefList:
* BF [ 1874419 ] JDBC Statement not close in a finally block
* organized imports
* added test case
2008-07-22 10:00:21 +00:00
teo_sarca f3cabb1af5 MStorageTest - minor (use saveEx instead of save) 2008-07-22 06:21:13 +00:00
tspc 5bf2d6533c Incorporate fix from trunk into stable,
Revisions: 5718 and 5721
As discussed in:
https://sourceforge.net/forum/message.php?msg_id=5106509
2008-07-20 04:57:19 +00:00
teo_sarca 33f8fdd77c BF [ 2002318 ] Context WINDOW_INFO bug 2008-06-25 09:02:42 +00:00
teo_sarca 7d33fd9c33 POTest.testTruncatedStrings - more tests added 2008-06-11 14:48:05 +00:00
teo_sarca b71f4b88c3 BF [ 1990856 ] PO.set_Value* : truncate string more than needed
* fixed minor saveEx/deleteEx issue
2008-06-11 14:22:55 +00:00
teo_sarca 4227d852a0 [ 1981760 ] Improve Query class
* org.compiere.model.Query.Query(String tableName, String whereClause, String trxName) ctor should take ctx parameter too, bug introduced in rev. 5343
2008-06-06 07:31:24 +00:00
teo_sarca ff1cbef06a FR [ 1984794 ] DBException improvements - move DBException to org.adempiere.exceptions 2008-06-05 18:13:53 +00:00
teo_sarca 16e64af5c4 FR [ 1981760 ] Improve Query class 2008-06-02 11:04:14 +00:00
Carlos Ruiz dcec4f3aa5 Integrate libero in stable 2008-05-29 09:46:44 +00:00
teo_sarca b37c0f827d BF [ 1885496 ] Performance NEEDS
- added caching support for MSysConfig
- added MSysConfigTest test case
2008-02-13 17:03:15 +00:00
teo_sarca 9f0cdd3457 test.functional: fixed minor transaction issues 2008-02-01 22:30:59 +00:00
teo_sarca 8e5d2f5b53 BF [ 1564496 ] Inventory Move should warn if insufficient stock on han
* Added MStorageTest JUnit Test case
2008-02-01 21:50:43 +00:00
Heng Sin Low 3fbe3d6d03 * minor cleanup and javadoc 2007-12-16 03:34:25 +00:00
shameem_z 504aca2f58 Moving Posterita Web UI (AjaxUI) to extension directory 2007-11-22 14:07:02 +00:00
shameem_z 52d79730ee Initial Commit 2007-11-22 11:30:42 +00:00
shameem_z 375faeee05 Initial Commit 2007-11-22 11:30:15 +00:00
shameem_z 0aa9be6edb Initial Commit 2007-11-22 11:28:46 +00:00
shameem_z 84cbc457ae Initial Commit 2007-11-22 10:57:06 +00:00
shameem_z 9189807a0e Initial Commit 2007-11-22 10:51:54 +00:00
shameem_z 296faf1bb8 Initial Commit 2007-11-22 10:46:43 +00:00
Heng Sin Low 772c9cd684 * clean up unit test code. 2007-11-07 15:43:40 +00:00
teo_sarca d7ea4de2f5 BF [ 1810182 ] Session lost after cache reset
http://sourceforge.net/tracker/index.php?func=detail&aid=1810182&group_id=176962&atid=879332
2007-10-09 15:48:30 +00:00
Heng Sin Low 86c33f10b6 * remove obsolete file 2007-10-07 18:40:32 +00:00
trifonnt 8b086bcb05 Better comments! 2007-08-19 16:54:12 +00:00
trifonnt b0c3dfc0af Refactored AlertTest. Enhanced example of old usage and new usage!
Feature Request: [1772015] Generate java Interface and implementation instead of X_ classes
2007-08-19 01:14:42 +00:00
trifonnt e48495fcd5 Refactored AlertTest.
Feature Request: [1772015] Generate java Interface and implementation instead of X_ classes

http://sourceforge.net/tracker/index.php?func=detail&aid=1772015&group_id=176962&atid=879335
2007-08-19 00:07:02 +00:00
trifonnt 3477a34340 JUnit test for Feature Request [1772015] Generate java Interface and implementation instead of X_ cla
http://sourceforge.net/tracker/index.php?func=detail&aid=1772015&group_id=176962&atid=879335
2007-08-18 23:46:40 +00:00
trifonnt 4edad4b032 Fix in order to compile! 2007-08-13 09:48:26 +00:00
trifonnt 5614a056c0 Fixed AlertTest to work with new java interface and implementation. 2007-08-11 03:05:00 +00:00
trifonnt de00f42971 Feature Request [1772015] Generate java Interface and implementation instead of X_ classes 2007-08-10 22:25:31 +00:00
Heng Sin Low 4606b7eb90 [ 1754519 ] Refactoring of PackInHandler 2007-07-23 08:13:06 +00:00
fer_luck 27aa94bc35 BF [ 1749115 ] XMLImportStructure Bugs
Fixed the erroneus ID error
2007-07-06 13:35:00 +00:00
teo_sarca 3859f40636 MProductTest
* doesn't compile because it used DBUtils from JasperReports project.
* fixed identation
* removed unused imports
* commented not used variables
2007-07-05 09:34:14 +00:00
wght 2a68e12763 Test case to test creation of a Product. 2007-07-03 20:47:24 +00:00
wght 3076116414 Libero version of PackOut.xml that works, had to make some changes to get it to work. 2007-06-21 00:19:00 +00:00
wght 8197da45b6 Changed to make a full import of libero 2pack possible. 2007-06-21 00:14:00 +00:00
wght 8691c4d36c Added some ordering changes to the handle import functions to help with dependency errors. 2007-06-19 00:55:02 +00:00
wght d18ac7a088 Test to validate the wellformedness of PackOut.xml 2007-06-15 21:06:27 +00:00
wght 38f63f35b3 Added a target to run the XMLImportStructureTest main function. 2007-06-15 20:59:49 +00:00
wght 951af5700e Added a main so I can see the output as it is running. 2007-06-15 20:58:24 +00:00
wght aa67340daa All types in the Libero.zip PackOut.xml can be imported if they are in the right order. I will now work on how to handle the problems that arise when elements depend on other elements that are not in the right order. 2007-06-15 20:01:42 +00:00
wght 96d071f8e5 Testing the new approach at importing 2pack xml. 2007-06-15 18:56:42 +00:00
teo_sarca e3b4ec86bd BF [ 1704828 ] PO.is_Changed() and PO.is_ValueChanged are not consistent
http://sourceforge.net/tracker/?func=detail&atid=879332&aid=1704828&group_id=176962
2007-06-10 18:12:47 +00:00
teo_sarca de610700c1 Added initial AdempiereTestCase
Reviewed by Trifon and me.
2007-06-10 17:49:29 +00:00
trifonnt e44d3c5d69 "test.properties" file must not be stored in SVN Repository. Users must create it from test.properties.template 2007-06-06 17:05:21 +00:00
wght 2ccfc2f5d9 Used this test to fix bug #: 1723733 2007-05-25 23:35:16 +00:00
wght 7f8ef7f43b Functional test to import a 2pack package. 2007-05-25 02:28:42 +00:00
trifonnt bfe90e9ef6 Removed! 2007-05-24 12:17:17 +00:00
wght 77d0b264f1 Added a new test dealing with creation of a 2pack export package. 2007-05-24 00:13:40 +00:00