org.eclipse.mylar.tasks.tests
Class TaskRepositoryManagerTest

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

public class TaskRepositoryManagerTest
extends junit.framework.TestCase

Author:
Mik Kersten, Rob Elves

Field Summary
private static java.lang.String ANOTHER_URL
           
private static java.lang.String DEFAULT_KIND
           
private static java.lang.String DEFAULT_URL
           
private  TaskRepositoryManager manager
           
 
Constructor Summary
TaskRepositoryManagerTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testConnectorAddition()
           
 void testGet()
           
 void testHandles()
           
 void testMultipleNotAdded()
           
 void testRepositoryAttributePersistance()
           
 void testRepositoryPersistance()
           
 void testRepositoryPersistanceAfterDelete()
           
 void testRepositoryPersistanceSameUrl()
           
 void testRepositoryWithCustomAttributes()
           
 void testRepositoryWithUnnownUrlHandler()
           
 
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

DEFAULT_KIND

private static final java.lang.String DEFAULT_KIND
See Also:
Constant Field Values

DEFAULT_URL

private static final java.lang.String DEFAULT_URL
See Also:
Constant Field Values

ANOTHER_URL

private static final java.lang.String ANOTHER_URL
See Also:
Constant Field Values

manager

private TaskRepositoryManager manager
Constructor Detail

TaskRepositoryManagerTest

public TaskRepositoryManagerTest()
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

testHandles

public void testHandles()

testMultipleNotAdded

public void testMultipleNotAdded()
                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testGet

public void testGet()
             throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testConnectorAddition

public void testConnectorAddition()

testRepositoryPersistance

public void testRepositoryPersistance()
                               throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testRepositoryAttributePersistance

public void testRepositoryAttributePersistance()
                                        throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testRepositoryPersistanceAfterDelete

public void testRepositoryPersistanceAfterDelete()
                                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

testRepositoryWithUnnownUrlHandler

public void testRepositoryWithUnnownUrlHandler()

testRepositoryWithCustomAttributes

public void testRepositoryWithCustomAttributes()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testRepositoryPersistanceSameUrl

public void testRepositoryPersistanceSameUrl()
                                      throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException