Class OFBizTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.ofbiz.entity.testtools.EntityTestCase
org.apache.ofbiz.service.testtools.OFBizTestCase
- All Implemented Interfaces:
junit.framework.Test
- Direct Known Subclasses:
CCServicesTest
,EntityXmlAssertTest
,FinAccountTest
,FinAccountTests
,GroovyDslServiceEngineTests
,InventoryItemTransferTest
,IssuanceTest
,LuceneTests
,MiniLangTests
,OrderTest
,PerformFindTests
,PurchaseOrderTest
,SalesOrderTest
,ServiceEngineTests
,ServiceEntityAutoTests
,ServicePermissionTests
,ServiceSOAPTests
,ServiceTest
,SimpleMethodTest
,SolrTests
,StockMovesTest
,UspsServicesTests
,WidgetMacroLibraryTests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EntityQuery
From entity query.protected EntityQuery
from
(DynamicViewEntity dynamicViewEntity) From entity query.Gets dispatcher.protected GenericValue
Gets user login.protected GenericValue
getUserLogin
(String userLoginId) Gets user login.protected void
Log error.protected void
Log info.protected void
logWarning
(String msg) Log warning.protected EntityQuery
Select entity query.protected EntityQuery
Select entity query.void
setDispatcher
(LocalDispatcher dispatcher) Sets dispatcher.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
-
OFBizTestCase
-
-
Method Details
-
getDispatcher
Gets dispatcher.- Returns:
- the dispatcher
-
setDispatcher
Sets dispatcher.- Parameters:
dispatcher
- the dispatcher
-
getUserLogin
Gets user login.- Parameters:
userLoginId
- the user login id- Returns:
- the user login
- Throws:
GenericEntityException
- the generic entity exception
-
getUserLogin
Gets user login.- Returns:
- the user login
- Throws:
GenericEntityException
- the generic entity exception
-
from
From entity query.- Parameters:
entityName
- the entity name- Returns:
- the entity query
-
from
From entity query.- Parameters:
dynamicViewEntity
- the dynamic view entity- Returns:
- the entity query
-
select
Select entity query.- Parameters:
fields
- the fields- Returns:
- the entity query
-
select
Select entity query.- Parameters:
fields
- the fields- Returns:
- the entity query
-
logInfo
Log info.- Parameters:
msg
- the msg
-
logError
Log error.- Parameters:
msg
- the msg
-
logWarning
Log warning.- Parameters:
msg
- the msg
-