Java Doc for RowFieldTest.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.RowFieldTest

RowFieldTest
public class RowFieldTest extends TestCase implements DataTypesDefinition(Code)
File RowFieldTest.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.RowFieldTest
     
  • 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
final public static  char[]TEST_TYPES
    
protected  RowFieldvarRowField
     Instance of tested class.

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

Method Summary
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  voidtestGetAsDouble()
    
public  voidtestGetAsFloat()
    
public  voidtestGetAsInt()
    
public  voidtestGetAsLong()
    
public  voidtestGetAsShort()
    
public  voidtestGetAsString()
    
public  voidtestGetType()
    
public  voidtestGetValue()
    

Field Detail
TEST_TYPES
final public static char[] TEST_TYPES(Code)



varRowField
protected RowField varRowField(Code)
Instance of tested class.




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




Method Detail
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()(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.



testGetAsDouble
public void testGetAsDouble()(Code)
Method for testing original source method: double getAsDouble() from tested class



testGetAsFloat
public void testGetAsFloat()(Code)
Method for testing original source method: float getAsFloat() from tested class



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



testGetAsLong
public void testGetAsLong()(Code)
Method for testing original source method: long getAsLong() from tested class



testGetAsShort
public void testGetAsShort()(Code)
Method for testing original source method: short getAsShort() from tested class



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



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



testGetValue
public void testGetValue()(Code)
Method for testing original source method: java.lang.Object getValue() from tested class



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