Java Doc for TableColumnDefTest.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » vpf » io » 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 » GIS » GeoTools 2.4.1 » org.geotools.data.vpf.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.data.vpf.io.TableColumnDefTest

TableColumnDefTest
public class TableColumnDefTest extends TestCase implements DataTypesDefinition,FileConstants(Code)
File TableColumnDefTest.java is automaticaly generated by 'unittestsgen' application. Code generator is created for java sources and for 'junit' package by "Artur Hefczyc"
You should fulfil test methods with proper code for testing purpose. All methods where you should put your code are below and their names starts with 'test'.
You can run unit tests in many ways, however prefered are:
  • Run tests for one class only, for example for this class you can run tests with command:
     java -cp "jar/thisjarfile.jar;lib/junit.jar" org.geotools.vpf.TableColumnDefTest
     
  • Run tests for all classes in one command call. Code generator creates also TestAll.class which runs all available tests:
     java -cp "jar/thisjarfile.jar;lib/junit.jar" TestAll
     
  • But the most prefered way is to run all tests from Ant just after compilation process finished.
    To do it. You need:
    1. Ant package from Ant
    2. JUnit package from JUnit
    3. Put some code in your build.xml file to tell Ant how to test your package. Sample code for Ant's build.xml you can find in created file: sample-junit-build.xml. And remember to have junit.jar in CLASSPATH before you run Ant. To generate reports by ant you must have xalan.jar in your ANT_HOME/lib/ directory.


Field Summary
protected  TableColumnDefvarTableColumnDef
     Instance of tested class.

Constructor Summary
public  TableColumnDefTest(String name)
     Public constructor for creating testing class.

Method Summary
public  voidXtestGetColDesc()
    
public  voidXtestGetColumnSize()
    
public  voidXtestGetElementsNumber()
    
public  voidXtestGetKeyType()
    
public  voidXtestGetName()
    
public  voidXtestGetNarrTable()
    
public  voidXtestGetThematicIdx()
    
public  voidXtestGetType()
    
public  voidXtestGetValDescTableName()
    
public  voidXtestIsNumeric()
    
public static  voidmain(String[] args)
     This main method is used for run tests for this class only from command line.
protected  voidsetUp()
     This method is called every time before particular test execution.
public static  Testsuite()
     Returns all tests which should be performed for testing class. By default it returns only name of testing class.
public  voidtestNull()
    

Field Detail
varTableColumnDef
protected TableColumnDef varTableColumnDef(Code)
Instance of tested class.




Constructor Detail
TableColumnDefTest
public TableColumnDefTest(String name)(Code)
Public constructor for creating testing class.




Method Detail
XtestGetColDesc
public void XtestGetColDesc()(Code)
Method for testing original source method: java.lang.String getColDesc() from tested class



XtestGetColumnSize
public void XtestGetColumnSize()(Code)
Method for testing original source method: int getColumnSize() from tested class



XtestGetElementsNumber
public void XtestGetElementsNumber()(Code)
Method for testing original source method: int getElementsNumber() from tested class



XtestGetKeyType
public void XtestGetKeyType()(Code)
Method for testing original source method: char getKeyType() from tested class



XtestGetName
public void XtestGetName()(Code)
Method for testing original source method: java.lang.String getName() from tested class



XtestGetNarrTable
public void XtestGetNarrTable()(Code)
Method for testing original source method: java.lang.String getNarrTable() from tested class



XtestGetThematicIdx
public void XtestGetThematicIdx()(Code)
Method for testing original source method: java.lang.String getThematicIdx() from tested class



XtestGetType
public void XtestGetType()(Code)
Method for testing original source method: char getType() from tested class



XtestGetValDescTableName
public void XtestGetValDescTableName()(Code)
Method for testing original source method: java.lang.String getValDescTableName() from tested class



XtestIsNumeric
public void XtestIsNumeric()(Code)
Method for testing original source method: boolean isNumeric() from tested class



main
public static void main(String[] args)(Code)
This main method is used for run tests for this class only from command line.



setUp
protected void setUp() throws IOException(Code)
This method is called every time before particular test execution. It creates new instance of tested class and it can perform some more actions which are necessary for performs tests.



suite
public static Test suite()(Code)
Returns all tests which should be performed for testing class. By default it returns only name of testing class. Instance of this is then created with its constructor.



testNull
public void testNull()(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.