org.apache.maven.plugin.eclipse.reader
Class ReadWorkspaceLocationsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.plugin.eclipse.reader.ReadWorkspaceLocationsTest
All Implemented Interfaces:
junit.framework.Test

public class ReadWorkspaceLocationsTest
extends junit.framework.TestCase

Version:
$Id: ReadWorkspaceLocationsTest.java 751904 2009-03-09 23:13:33Z aheritier $
Author:
Barrie Treloar

Constructor Summary
ReadWorkspaceLocationsTest()
           
 
Method Summary
protected  void setUp()
          
 void testGetProjectLocation_ForProjectAtWorkspaceLevel()
          Project's at the workspace level do not have a .location file.
 void testGetProjectLocation_ForProjectsOutsideWorkspace()
          Project's located other than at the workspace level have a .location file.
 void testGetProjectLocation_ForProjectsWithinProjects()
          Project's located other than at the workspace level have a .location file.
 void testReadDefinedServers_PrefsFileDoesNotExist()
           
 void testReadDefinedServers_PrefsFileExistsWithMissingRuntimes()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadWorkspaceLocationsTest

public ReadWorkspaceLocationsTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testGetProjectLocation_ForProjectAtWorkspaceLevel

public void testGetProjectLocation_ForProjectAtWorkspaceLevel()
                                                       throws java.lang.Exception
Project's at the workspace level do not have a .location file.

Therefore their project location is directly under the workspace.

Throws:
java.lang.Exception

testGetProjectLocation_ForProjectsWithinProjects

public void testGetProjectLocation_ForProjectsWithinProjects()
                                                      throws java.lang.Exception
Project's located other than at the workspace level have a .location file.

This URI specifies the fully qualified path to the project. Which may be located outside of the workspace as well.

Throws:
java.lang.Exception

testGetProjectLocation_ForProjectsOutsideWorkspace

public void testGetProjectLocation_ForProjectsOutsideWorkspace()
                                                        throws java.lang.Exception
Project's located other than at the workspace level have a .location file.

This URI specifies the fully qualified path to the project. Which may be located outside of the workspace as well.

Throws:
java.lang.Exception

testReadDefinedServers_PrefsFileDoesNotExist

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

testReadDefinedServers_PrefsFileExistsWithMissingRuntimes

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


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.