Package org.apache.ofbiz.widget.test
Class WidgetMacroLibraryTests
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.ofbiz.entity.testtools.EntityTestCase
org.apache.ofbiz.service.testtools.OFBizTestCase
org.apache.ofbiz.widget.test.WidgetMacroLibraryTests
- All Implemented Interfaces:
junit.framework.Test
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPrepare the http client to call the demo layout screenvoid
Test csv macro library.void
Test fop macro library.void
Test html macro library.void
Test text macro library.void
Test xls macro library.void
Test xml macro library.Methods inherited from class org.apache.ofbiz.service.testtools.OFBizTestCase
from, from, getDispatcher, getUserLogin, getUserLogin, logError, logInfo, logWarning, select, select, setDispatcher
Methods inherited from class org.apache.ofbiz.entity.testtools.EntityTestCase
getDelegator, setDelegator
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
Constructor Details
-
WidgetMacroLibraryTests
-
-
Method Details
-
initHttpClient
Prepare the http client to call the demo layout screen- Throws:
HttpClientException
-
testHtmlMacroLibrary
Test html macro library.- Throws:
Exception
- the exception
-
testTextMacroLibrary
Test text macro library.- Throws:
Exception
- the exception
-
testXmlMacroLibrary
Test xml macro library.- Throws:
Exception
- the exception
-
testCsvMacroLibrary
Test csv macro library.- Throws:
Exception
- the exception
-
testXlsMacroLibrary
Test xls macro library.- Throws:
Exception
- the exception
-
testFopMacroLibrary
Test fop macro library.- Throws:
Exception
- the exception
-