Java Doc for TestJdtUtils.java in  » Byte-Code » asm » de » loskutov » bco » ui » 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 » Byte Code » asm » de.loskutov.bco.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.loskutov.bco.ui.TestJdtUtils

All known Subclasses:   de.loskutov.bco.ui.TestJdk15Compatibility,  de.loskutov.bco.ui.TestJdk14Compatibility,
TestJdtUtils
abstract public class TestJdtUtils extends TestCase (Code)




Method Summary
protected  voidaddJavaNature(String projectName)
    
protected  voidcollectAllTypes(IParent parent, List types)
    
protected  voidcopy(File src, File dest)
     Copy file from src (path to the original file) to dest (path to the destination file).
protected  voidcopyDirectory(File source, File target)
     Copy the given source directory (and all its contents) to the given target directory.
protected  IJavaProjectcreateJavaProject(String projectName, String[] sourceFolders, String[] libraries, String projectOutput, String compliance)
    
protected  IProjectcreateProject(String projectName)
    
protected  voiddeleteProject(IProject project1)
    
protected  voiddoTest(String topClassName)
    
protected  IType[]getAllTypes(ICompilationUnit cu)
    
protected  ICompilationUnitgetCompilationUnit(String cuName)
    
protected  ICompilationUnitgetCompilationUnit(String rootPath, String packageName, String cuName)
     Returns the specified compilation unit in the given project, root, and package fragment or null if it does not exist.
protected  IPathgetExternalJCLPath()
     Returns the IPath to the external java class library (e.g.
protected  IPathgetExternalJCLPath(String compliance)
     Returns the IPath to the external java class library (e.g.
protected  StringgetExternalJCLPathString(String compliance)
     Returns the java.io path to the external java class library (e.g.
protected  StringgetExternalPath()
    
abstract protected  StringgetFieldName()
    
protected  IJavaProjectgetJavaProject()
    
protected  StringgetJavaProjectName()
    
abstract protected  StringgetJdkVersion()
    
protected  IPackageFragmentgetPackageFragment(String rootPath, String packageName)
     Returns the specified package fragment in the given project and root, or null if it does not exist.
protected  IPackageFragmentRootgetPackageFragmentRoot(String rootPath)
     Returns the specified package fragment root in the given project, or null if it does not exist.
protected  StringgetPluginDirectoryPath()
     Returns the OS path to the directory that contains this plugin.
protected  StringgetSourcesPath()
    
protected  voidpauseTests()
    
protected  byte[]read(java.io.File file)
    
protected  voidsetUp()
    
protected  voidsetUpJCLClasspathVariables(String compliance)
    
protected  IJavaProjectsetUpJavaProject(String projectName, String compliance)
    
protected  voidsetUpProjectCompliance(IJavaProject javaProject, String compliance)
    
protected  voidsetupExternalJCL(String jclName)
     Check locally for the required JCL files, .jar and src.zip.
protected  voidtearDown()
    



Method Detail
addJavaNature
protected void addJavaNature(String projectName) throws CoreException(Code)



collectAllTypes
protected void collectAllTypes(IParent parent, List types) throws JavaModelException(Code)



copy
protected void copy(File src, File dest) throws IOException(Code)
Copy file from src (path to the original file) to dest (path to the destination file).



copyDirectory
protected void copyDirectory(File source, File target) throws IOException(Code)
Copy the given source directory (and all its contents) to the given target directory.



createJavaProject
protected IJavaProject createJavaProject(String projectName, String[] sourceFolders, String[] libraries, String projectOutput, String compliance) throws CoreException(Code)



createProject
protected IProject createProject(String projectName) throws CoreException(Code)



deleteProject
protected void deleteProject(IProject project1) throws CoreException(Code)



doTest
protected void doTest(String topClassName) throws JavaModelException(Code)



getAllTypes
protected IType[] getAllTypes(ICompilationUnit cu) throws JavaModelException(Code)



getCompilationUnit
protected ICompilationUnit getCompilationUnit(String cuName) throws JavaModelException(Code)



getCompilationUnit
protected ICompilationUnit getCompilationUnit(String rootPath, String packageName, String cuName) throws JavaModelException(Code)
Returns the specified compilation unit in the given project, root, and package fragment or null if it does not exist.



getExternalJCLPath
protected IPath getExternalJCLPath()(Code)
Returns the IPath to the external java class library (e.g. jclMin.jar)



getExternalJCLPath
protected IPath getExternalJCLPath(String compliance)(Code)
Returns the IPath to the external java class library (e.g. jclMin.jar)



getExternalJCLPathString
protected String getExternalJCLPathString(String compliance)(Code)
Returns the java.io path to the external java class library (e.g. jclMin.jar)



getExternalPath
protected String getExternalPath()(Code)



getFieldName
abstract protected String getFieldName()(Code)



getJavaProject
protected IJavaProject getJavaProject()(Code)



getJavaProjectName
protected String getJavaProjectName()(Code)



getJdkVersion
abstract protected String getJdkVersion()(Code)



getPackageFragment
protected IPackageFragment getPackageFragment(String rootPath, String packageName) throws JavaModelException(Code)
Returns the specified package fragment in the given project and root, or null if it does not exist. The rootPath must be specified as a project relative path. The empty path refers to the default package fragment.



getPackageFragmentRoot
protected IPackageFragmentRoot getPackageFragmentRoot(String rootPath) throws JavaModelException(Code)
Returns the specified package fragment root in the given project, or null if it does not exist. If relative, the rootPath must be specified as a project relative path. The empty path refers to the package fragment root that is the project folder iteslf. If absolute, the rootPath refers to either an external jar, or a resource internal to the workspace



getPluginDirectoryPath
protected String getPluginDirectoryPath()(Code)
Returns the OS path to the directory that contains this plugin.



getSourcesPath
protected String getSourcesPath()(Code)



pauseTests
protected void pauseTests() throws InterruptedException(Code)



read
protected byte[] read(java.io.File file) throws java.io.IOException(Code)



setUp
protected void setUp() throws Exception(Code)



setUpJCLClasspathVariables
protected void setUpJCLClasspathVariables(String compliance) throws JavaModelException, IOException(Code)



setUpJavaProject
protected IJavaProject setUpJavaProject(String projectName, String compliance) throws CoreException, IOException(Code)



setUpProjectCompliance
protected void setUpProjectCompliance(IJavaProject javaProject, String compliance) throws JavaModelException, IOException(Code)



setupExternalJCL
protected void setupExternalJCL(String jclName) throws IOException(Code)
Check locally for the required JCL files, .jar and src.zip. If not available, copy from the project resources.



tearDown
protected void tearDown() throws Exception(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.