Mega Code Archive
Search
.Net
ASP .Net
ASP .Net Tutorial
C#
C# Book
C# by API
C# Tutorial
VB.Net
VB.Net by API
VB.Net Tutorial
Visual C++ .Net
VisualBasic Script
Java
Java
Java Book
Java by API
Java Tutorial
Script
Flash ActionScript
Flex
JavaScript DHTML
JavaScript Reference
JavaScript Tutorial
Database
MSSQL
MSSQL Tutorial
MySQL
MySQL Tutorial
Oracle PLSQL
Oracle PLSQL Tutorial
PostgreSQL
Languages
Android
C
C Tutorial
C++
C++ Tutorial
Delphi
Perl
PHP
Python
Python Tutorial
Ruby
Silverlight
Office
MSOfficeExcel 2007 Tutorial
MSOfficePowerPoint 2007 Tutorial
MSOfficeWord 2007 Tutorial
Data
XML
XML Tutorial
Java Tutorial
JUnit 24 codes
Home
Java Tutorial
JUnit
1 AssertEquals([String message],expected,actual)
2 AssertEquals([String message],expected,actual,tolerance)
3 AssertFalse([String message], boolean condition)
4 AssertNotSame([String message], expected, actual)
5 AssertNull([String message], java lang Object object)
6 AssertSame([String message], expected, actual)
7 AssertTrue([String message], boolean condition)
8 Catch exception in your test case
9 Define your own test case runner with reflection
10 Ensure that they are equal
11 Extends TestCase
12 How To Run A JUnit Test
13 Init class being tested in test case method
14 JUnit Test Composition
15 Per-Suite Setup and Tear-Down
16 Per-Test Setup and Tear-Down
17 Test algorithm
18 Test case method should start with test
19 Test Skeleton
20 Test suite
21 Test your stack structure
22 Use assertEquals in a test method
23 Use fail to display message in case of failure
24 Use the test suite method