Java Doc for DataObjectTest.java in  » IDE-Netbeans » openide » DataLoaderTests » DataObjectTest » 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 » IDE Netbeans » openide » DataLoaderTests.DataObjectTest 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.junit.NbTestCase
   DataLoaderTests.DataObjectTest.DataObjectTest

DataObjectTest
public class DataObjectTest extends NbTestCase (Code)

Inner Class :class PChL implements java.beans.PropertyChangeListener
Inner Class :class VChL implements java.beans.VetoableChangeListener
Inner Class :class ChL implements javax.swing.event.ChangeListener

Field Summary
final public  StringFAILED
    
final public  StringPASSED
    
final public  booleanPRINT_EXCEPTIONS
    
 DataFolderresources
    
 booleansuccessful
    
 DataFoldertemp
    
public static  Stringwork
    

Constructor Summary
public  DataObjectTest(java.lang.String testName)
    

Method Summary
 booleancheckManipulationOperations(DataObject dob)
    
public  booleancheckModifyAbility(DataObject dob)
    
public  booleancheckTemplate(DataObject dob)
    
public  voidcheckValidity(DataObject dob)
    
 voidclean()
    
 booleancontainsFO(DataObject dob, FileObject fob)
    
 voiddummyWait(int millis)
    
 StringexceptionToString(Exception e)
    
public static  DataObjectfindResource(String name)
    
 DataObjectgetDataObject(FileObject fo)
    
 DataObjectgetDataObject(FileObject fo, String moduleName)
    
 voidgetName(DataObject dob)
    
public  StringgetWorkDirPath()
    
 booleaninModifiedContainer(DataObject dob)
    
 booleanisInFolder(DataObject dob, DataFolder df)
    
 booleannotInModifiedContainer(DataObject dob)
    
public  booleanperformCopy(DataObject dob)
    
public  booleanperformDelete(DataObject dob)
    
public  booleanperformMove(DataObject dob)
    
public  booleanperformRename(DataObject dob)
    
 voidprepare()
    
 voidprintException(Exception e)
    
public  DataShadowshadowMe(DataObject dob)
    
public  DataShadowshadowMe(DataObject dob, String name)
    
public static  voidshowFilesRecursively(File f, PrintStream ps)
    
 voidtestDelegate(DataObject dob)
    
 booleantestHelpCtx(DataObject dob)
    
public  voidwriteLog(String text)
    
public  voidwriteRef(String text)
    
public  voidwriteRef(String text, String inf)
    

Field Detail
FAILED
final public String FAILED(Code)



PASSED
final public String PASSED(Code)



PRINT_EXCEPTIONS
final public boolean PRINT_EXCEPTIONS(Code)
ONLY FOR TESTING PURPOSES REAL TESTS ARE IN SEPARATED CLASSES



resources
DataFolder resources(Code)



successful
boolean successful(Code)



temp
DataFolder temp(Code)
teporary data folder



work
public static String work(Code)




Constructor Detail
DataObjectTest
public DataObjectTest(java.lang.String testName)(Code)
Creates new DataObjectTest




Method Detail
checkManipulationOperations
boolean checkManipulationOperations(DataObject dob) throws Exception(Code)



checkModifyAbility
public boolean checkModifyAbility(DataObject dob) throws Exception(Code)



checkTemplate
public boolean checkTemplate(DataObject dob)(Code)



checkValidity
public void checkValidity(DataObject dob) throws Exception(Code)



clean
void clean()(Code)
Performs clean up



containsFO
boolean containsFO(DataObject dob, FileObject fob)(Code)



dummyWait
void dummyWait(int millis)(Code)
Performs waiting of current thread for time in millis
Parameters:
  millist - integer number - time in millis to wait



exceptionToString
String exceptionToString(Exception e)(Code)



findResource
public static DataObject findResource(String name) throws Exception(Code)



getDataObject
DataObject getDataObject(FileObject fo)(Code)



getDataObject
DataObject getDataObject(FileObject fo, String moduleName)(Code)



getName
void getName(DataObject dob)(Code)



getWorkDirPath
public String getWorkDirPath()(Code)
overrides parent definition of this methot, so this new works in this way - returns work filed that should have been set by user of this utility class



inModifiedContainer
boolean inModifiedContainer(DataObject dob)(Code)



isInFolder
boolean isInFolder(DataObject dob, DataFolder df)(Code)



notInModifiedContainer
boolean notInModifiedContainer(DataObject dob)(Code)



performCopy
public boolean performCopy(DataObject dob) throws Exception(Code)



performDelete
public boolean performDelete(DataObject dob) throws Exception(Code)



performMove
public boolean performMove(DataObject dob) throws Exception(Code)



performRename
public boolean performRename(DataObject dob)(Code)



prepare
void prepare() throws Exception(Code)
Performs initializing before own tests starts



printException
void printException(Exception e)(Code)
If enabled, prints exception to the output and to the ref stream



shadowMe
public DataShadow shadowMe(DataObject dob) throws Exception(Code)



shadowMe
public DataShadow shadowMe(DataObject dob, String name) throws Exception(Code)



showFilesRecursively
public static void showFilesRecursively(File f, PrintStream ps)(Code)



testDelegate
void testDelegate(DataObject dob)(Code)



testHelpCtx
boolean testHelpCtx(DataObject dob)(Code)



writeLog
public void writeLog(String text)(Code)
This methods write an output to log stream



writeRef
public void writeRef(String text)(Code)
This methods write an output to reference stream



writeRef
public void writeRef(String text, String inf)(Code)
This methods write an output to reference stream and asserts success of the test fragment



Methods inherited from org.netbeans.junit.NbTestCase
public static void assertFile(String message, String test, String pass, String diff, Diff externalDiff)(Code)(Java Doc)
public static void assertFile(String test, String pass, String diff, Diff externalDiff)(Code)(Java Doc)
public static void assertFile(String message, String test, String pass, String diff)(Code)(Java Doc)
public static void assertFile(String test, String pass, String diff)(Code)(Java Doc)
public static void assertFile(String test, String pass)(Code)(Java Doc)
public static void assertFile(String message, File test, File pass, File diff, Diff externalDiff)(Code)(Java Doc)
public static void assertFile(File test, File pass, File diff, Diff externalDiff)(Code)(Java Doc)
public static void assertFile(String message, File test, File pass, File diff)(Code)(Java Doc)
public static void assertFile(File test, File pass, File diff)(Code)(Java Doc)
public static void assertFile(File test, File pass)(Code)(Java Doc)
public static void assertGC(String text, Reference ref)(Code)(Java Doc)
public static void assertGC(String text, Reference ref, Set rootsHint)(Code)(Java Doc)
public static void assertSize(String message, int limit, Object root)(Code)(Java Doc)
public static void assertSize(String message, Collection roots, int limit)(Code)(Java Doc)
public static void assertSize(String message, Collection roots, int limit, Object[] skip)(Code)(Java Doc)
public static int assertSize(String message, Collection roots, int limit, MemoryFilter skip)(Code)(Java Doc)
public boolean canRun()(Code)(Java Doc)
public void clearWorkDir() throws IOException(Code)(Java Doc)
public void compareReferenceFiles(String testFilename, String goldenFilename, String diffFilename)(Code)(Java Doc)
public void compareReferenceFiles()(Code)(Java Doc)
public static String convertNBFSURL(URL url)(Code)(Java Doc)
public static void failByBug(int bugID)(Code)(Java Doc)
public static void failByBug(int bugID, String message)(Code)(Java Doc)
public File getDataDir()(Code)(Java Doc)
public String getExpectedFail()(Code)(Java Doc)
public File getGoldenFile(String filename)(Code)(Java Doc)
public File getGoldenFile()(Code)(Java Doc)
public PrintStream getLog(String logName)(Code)(Java Doc)
public PrintStream getLog()(Code)(Java Doc)
public PrintStream getRef()(Code)(Java Doc)
final protected int getTestNumber()(Code)(Java Doc)
public File getWorkDir() throws IOException(Code)(Java Doc)
public String getWorkDirPath()(Code)(Java Doc)
public void log(String message)(Code)(Java Doc)
public void log(String log, String message)(Code)(Java Doc)
protected Level logLevel()(Code)(Java Doc)
public void ref(String message)(Code)(Java Doc)
public void run(TestResult result)(Code)(Java Doc)
public void runBare() throws Throwable(Code)(Java Doc)
protected boolean runInEQ()(Code)(Java Doc)
public void setFilter(Filter filter)(Code)(Java Doc)
protected int timeOut()(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.