org.eclipse.mylar.tasks.tests
Class TaskListBackupManagerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.mylar.tasks.tests.TaskListBackupManagerTest
All Implemented Interfaces:
junit.framework.Test

public class TaskListBackupManagerTest
extends junit.framework.TestCase

Author:
Rob Elves

Field Summary
private  Task task1
           
 
Constructor Summary
TaskListBackupManagerTest()
           
 
Method Summary
private  void deleteBackupFolder(java.io.File backupFileFolder)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAutoBackupDisabled()
           
 void testAutoBackupEnabled()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

task1

private Task task1
Constructor Detail

TaskListBackupManagerTest

public TaskListBackupManagerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testAutoBackupDisabled

public void testAutoBackupDisabled()
                            throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

testAutoBackupEnabled

public void testAutoBackupEnabled()
                           throws java.lang.InterruptedException,
                                  java.lang.reflect.InvocationTargetException,
                                  java.io.IOException
Throws:
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
java.io.IOException

deleteBackupFolder

private void deleteBackupFolder(java.io.File backupFileFolder)