org.apache.maven.scm
Class ChangeSetTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.scm.ChangeSetTest
All Implemented Interfaces:
junit.framework.Test

public class ChangeSetTest
extends junit.framework.TestCase

Tests for the ChangeSetclass

Version:
$Id: ChangeSetTest.java 779790 2009-05-28 23:02:38Z olamy $
Author:
dion

Constructor Summary
ChangeSetTest()
           
 
Method Summary
static Date getDate(int year, int month, int day)
           
 void setUp()
          Initialize per test data
 void testAddFileWithFile()
          Test of addFile methods: using ChangeFile
 void testEquals()
           
 void testEscapeValue()
           
 void testGetAuthor()
          Test of getAuthor method
 void testGetComment()
          Test of getComment method
 void testGetDate()
          Test of getDate method
 void testGetDateFormatted()
          Test of getDateFormatted method
 void testGetTimeFormatted()
          Test of getDateFormatted method
 void testHashCode()
           
 void testSetAuthor()
          Test of setAuthor method
 void testSetComment()
          Test of setComment method
 void testSetDate()
          Test of setDate method with Date object
 void testSetDateFromString()
          Test of setDate method with String
 void testToString()
          Test of toString method
 void testToXml()
           
 void testToXmlWithFiles()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeSetTest

public ChangeSetTest()
Method Detail

setUp

public void setUp()
Initialize per test data

Overrides:
setUp in class junit.framework.TestCase

testAddFileWithFile

public void testAddFileWithFile()
Test of addFile methods: using ChangeFile


testToString

public void testToString()
Test of toString method


testGetAuthor

public void testGetAuthor()
Test of getAuthor method


testSetAuthor

public void testSetAuthor()
Test of setAuthor method


testGetComment

public void testGetComment()
Test of getComment method


testSetComment

public void testSetComment()
Test of setComment method


testGetDate

public void testGetDate()
Test of getDate method


testSetDate

public void testSetDate()
Test of setDate method with Date object


testSetDateFromString

public void testSetDateFromString()
Test of setDate method with String


testGetDateFormatted

public void testGetDateFormatted()
Test of getDateFormatted method


testGetTimeFormatted

public void testGetTimeFormatted()
Test of getDateFormatted method


getDate

public static Date getDate(int year,
                           int month,
                           int day)

testEscapeValue

public void testEscapeValue()

testEquals

public void testEquals()

testHashCode

public void testHashCode()

testToXml

public void testToXml()

testToXmlWithFiles

public void testToXmlWithFiles()


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.