org.eclipse.mylar.java.tests.xml
Class XmlSearchPluginTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.mylar.java.tests.xml.XmlSearchPluginTest
All Implemented Interfaces:
junit.framework.Test, org.eclipse.mylar.context.tests.support.search.ISearchPluginTest

public class XmlSearchPluginTest
extends junit.framework.TestCase
implements org.eclipse.mylar.context.tests.support.search.ISearchPluginTest


Field Summary
private  SearchPluginTestHelper helper
           
private  org.eclipse.jdt.core.IJavaProject jp1
           
private  org.eclipse.jdt.core.IJavaProject jp2
           
private  org.eclipse.core.resources.IFile plugin1
           
private  org.eclipse.core.resources.IFile plugin2
           
private static java.lang.String SOURCE_ID
           
private  org.eclipse.core.resources.IFile tocNoRefs
           
private  org.eclipse.core.resources.IFile tocRefs
           
private  org.eclipse.jdt.core.IType type1
           
private  org.eclipse.jdt.core.IType type2
           
 
Constructor Summary
XmlSearchPluginTest()
           
 
Method Summary
 java.util.List<?> search(int dos, org.eclipse.mylar.context.core.IMylarElement node)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testXMLSearchDOS1()
           
 void testXMLSearchDOS2()
           
 void testXMLSearchDOS3()
           
 void testXMLSearchDOS4()
           
 
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

type1

private org.eclipse.jdt.core.IType type1

type2

private org.eclipse.jdt.core.IType type2

plugin1

private org.eclipse.core.resources.IFile plugin1

plugin2

private org.eclipse.core.resources.IFile plugin2

tocRefs

private org.eclipse.core.resources.IFile tocRefs

tocNoRefs

private org.eclipse.core.resources.IFile tocNoRefs

jp1

private org.eclipse.jdt.core.IJavaProject jp1

jp2

private org.eclipse.jdt.core.IJavaProject jp2

SOURCE_ID

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

helper

private SearchPluginTestHelper helper
Constructor Detail

XmlSearchPluginTest

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

testXMLSearchDOS1

public void testXMLSearchDOS1()
                       throws java.io.IOException,
                              org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

testXMLSearchDOS2

public void testXMLSearchDOS2()
                       throws java.io.IOException,
                              org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

testXMLSearchDOS3

public void testXMLSearchDOS3()
                       throws java.io.IOException,
                              org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

testXMLSearchDOS4

public void testXMLSearchDOS4()
                       throws java.io.IOException,
                              org.eclipse.core.runtime.CoreException
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException

search

public java.util.List<?> search(int dos,
                                org.eclipse.mylar.context.core.IMylarElement node)
                         throws java.io.IOException,
                                org.eclipse.core.runtime.CoreException
Specified by:
search in interface org.eclipse.mylar.context.tests.support.search.ISearchPluginTest
Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException