Java Doc for LOBUnitTestCase.java in » EJB-Server-JBoss-4.2.1 » testsuite » org » jboss » test » cmp2 » lob » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
EJB Server JBoss 4.2.1
»
testsuite
»
org.jboss.test.cmp2.lob
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.jboss.test.util.ejb
.EJBTestCase
org.jboss.test.cmp2.lob
.LOBUnitTestCase
LOBUnitTestCase
public
class LOBUnitTestCase extends
EJBTestCase
(Code)
A test suite to check JBoss data mapping to/from Large Binary Objects (LOBs).
See Also:
org.jboss.test.util.ejb.EJBTestCase
version:
$Revision: 61780 $
author:
Steve Coy
.
author:
Alexey Loubyansky
Field Summary
final static
String
PI
Constructor Summary
public
LOBUnitTestCase
(
String
name)
Method Summary
static void
assertEquals
(byte[] expected, byte[] actual)
public
void
setUpEJB
()
Lookup the LOB lobHome and cache it.
public
static Test
suite
()
public
void
tearDownEJB
()
Remove data references so that they can be garbage collected if needed.
public
void
testBinaryDataField
()
public
void
testBinaryLoad
()
Attempt to load each entity in turn and verify that they contain the binary data with which they were created.
public
void
testCleanGetValueHolder
()
public
void
testCreate0
()
Attempt to create a LOB entity with NULL attributes.
public
void
testCreate1
()
Attempt to create a LOB entity with the small dataset.
public
void
testCreate2
()
Attempt to create a LOB entity with a large text object and a small binary object.
public
void
testCreate3
()
Attempt to create a LOB entity with the small text object and a large binary object.
public
void
testCreate4
()
Attempt to create a LOB entity with the large dataset.
public
void
testListCMPField
()
public
void
testLoad1
()
Verify the data set created by
LOBUnitTestCase.testCreate1
.
public
void
testLoad2
()
Verify the data set created by
LOBUnitTestCase.testCreate2
.
public
void
testLoad3
()
Verify the data set created by
LOBUnitTestCase.testCreate3
.
public
void
testLoad4
()
Verify the data set created by
LOBUnitTestCase.testCreate4
.
public
void
testMapCMPField
()
public
void
testNullLoad
()
Attempt to load the entity created above and ensure that we can recover the null attributes.
public
void
testSetCMPField
()
public
void
testStateFactoryValueHolder
()
public
void
testTextLoad
()
Attempt to load each entity in turn and verify that they contain the text data with which they were created.
public
void
testValueHolder
()
Field Detail
PI
final static
String
PI
(Code)
Constructor Detail
LOBUnitTestCase
public
LOBUnitTestCase(
String
name) throws
java.io.IOException
(Code)
Method Detail
assertEquals
static void assertEquals(byte[] expected, byte[] actual)
(Code)
setUpEJB
public
void setUpEJB() throws
Exception
(Code)
Lookup the LOB lobHome and cache it. Load the test data.
suite
public
static Test suite() throws
Exception
(Code)
tearDownEJB
public
void tearDownEJB() throws
Exception
(Code)
Remove data references so that they can be garbage collected if needed.
testBinaryDataField
public
void testBinaryDataField() throws
Exception
(Code)
testBinaryLoad
public
void testBinaryLoad() throws
Exception
(Code)
Attempt to load each entity in turn and verify that they contain the binary data with which they were created.
testCleanGetValueHolder
public
void testCleanGetValueHolder() throws
Exception
(Code)
testCreate0
public
void testCreate0() throws
Exception
(Code)
Attempt to create a LOB entity with NULL attributes.
testCreate1
public
void testCreate1() throws
Exception
(Code)
Attempt to create a LOB entity with the small dataset.
testCreate2
public
void testCreate2() throws
Exception
(Code)
Attempt to create a LOB entity with a large text object and a small binary object.
testCreate3
public
void testCreate3() throws
Exception
(Code)
Attempt to create a LOB entity with the small text object and a large binary object.
testCreate4
public
void testCreate4() throws
Exception
(Code)
Attempt to create a LOB entity with the large dataset.
testListCMPField
public
void testListCMPField() throws
Exception
(Code)
testLoad1
public
void testLoad1() throws
Exception
(Code)
Verify the data set created by
LOBUnitTestCase.testCreate1
.
testLoad2
public
void testLoad2() throws
Exception
(Code)
Verify the data set created by
LOBUnitTestCase.testCreate2
.
testLoad3
public
void testLoad3() throws
Exception
(Code)
Verify the data set created by
LOBUnitTestCase.testCreate3
.
testLoad4
public
void testLoad4() throws
Exception
(Code)
Verify the data set created by
LOBUnitTestCase.testCreate4
.
testMapCMPField
public
void testMapCMPField() throws
Exception
(Code)
testNullLoad
public
void testNullLoad() throws
Exception
(Code)
Attempt to load the entity created above and ensure that we can recover the null attributes.
testSetCMPField
public
void testSetCMPField() throws
Exception
(Code)
testStateFactoryValueHolder
public
void testStateFactoryValueHolder() throws
Exception
(Code)
testTextLoad
public
void testTextLoad() throws
Exception
(Code)
Attempt to load each entity in turn and verify that they contain the text data with which they were created.
testValueHolder
public
void testValueHolder() throws
Exception
(Code)
Fields inherited from
org.jboss.test.util.ejb.EJBTestCase
protected
Properties
props
(Code)
(Java Doc)
Methods inherited from
org.jboss.test.util.ejb.EJBTestCase
public
String
getEJBRunnerJndiName()
(Code)
(Java Doc)
public
Properties
getProps()
(Code)
(Java Doc)
public
boolean isServerSide()
(Code)
(Java Doc)
public
void run(TestResult result)
(Code)
(Java Doc)
public
void runBare() throws
Throwable
(Code)
(Java Doc)
public
void setProps(
Properties
props)
(Code)
(Java Doc)
public
void setServerSide(boolean serverSide)
(Code)
(Java Doc)
public
void setUpEJB(
Properties
props) throws
Exception
(Code)
(Java Doc)
public
void setUpEJB() throws
Exception
(Code)
(Java Doc)
public
void tearDownEJB(
Properties
props) throws
Exception
(Code)
(Java Doc)
public
void tearDownEJB() throws
Exception
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.