Package org.openbravo.test.doc
Class GenerateEntityModelWiki
- java.lang.Object
-
- org.openbravo.test.base.OBBaseTest
-
- org.openbravo.test.doc.GenerateEntityModelWiki
-
public class GenerateEntityModelWiki extends OBBaseTest
Generates the entity model wiki page and its subpages: http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/Reference/Entity_Model It uses specific values for COOKIE and TOKEN which need to be obtained by login into the openbravo wiki and then copy the wiki cookie values as one string to the COOKIE static. The TOKEN is the value of the wpEditToken html hidden input which is present in the html of a wiki page in edit mode. Note this page generation uses two txt files located in the same package, these pages are used as template like files.- Author:
- mtaal
-
-
Field Summary
-
Fields inherited from class org.openbravo.test.base.OBBaseTest
DOLLAR, DOLLAR_ID, EURO, EURO_ID, QA_TEST_ADMIN_USER_ID, QA_TEST_CLIENT_ID, QA_TEST_ORG_ID, TEST_BP_CATEGORY_ID, TEST_CLIENT_ID, TEST_LOCATION_ID, TEST_ORDER_ID, TEST_ORG_ID, TEST_ORG_TREE, TEST_PRODUCT_ID, TEST_ROLE_ID, TEST_US_ORG_ID, TEST_USER_ID, TEST_WAREHOUSE_ID, TEST2_USER_ID, userIds, watchFailures
-
-
Constructor Summary
Constructors Constructor Description GenerateEntityModelWiki()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_testPrint()
void
testGenerateWiki()
Generates the entity model wiki pages and uploads them to the openbravo wiki.-
Methods inherited from class org.openbravo.test.base.OBBaseTest
addReadWriteAccess, classSetUp, commitTransaction, count, getConnectionProvider, getOneInstance, getRandomUser, getTestLogAppender, initializeDalLayer, initializeDisabledTestCases, initializeTestLogAppender, isErrorOccured, reportException, rollback, setLogStackTraces, setQAAdminContext, setSystemAdministratorContext, setTestAdminContext, setTestLogAppenderLevel, setTestUserContext, setUp, setUserContext, shouldMockServletContext, staticInitializeDalLayer, testDone
-
-