|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.springframework.osgi.mock.MockBundleTest
public class MockBundleTest
Constructor Summary | |
---|---|
MockBundleTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testBundleContextSpecified()
|
void |
testDefaultGetBundleContext()
|
void |
testDefaultStart()
|
void |
testDefaultStop()
|
void |
testFindEntries()
Test method for MockBundle.findEntries(java.lang.String, java.lang.String, boolean) . |
void |
testGetBundleId()
Test method for MockBundle.getBundleId() . |
void |
testGetEmptyEnumerator()
|
void |
testGetEntry()
Test method for MockBundle.getEntry(java.lang.String) . |
void |
testGetEntryPaths()
Test method for MockBundle.getEntryPaths(java.lang.String) . |
void |
testGetHeaders()
Test method for MockBundle.getHeaders() . |
void |
testGetHeadersString()
Test method for MockBundle.getHeaders(java.lang.String) . |
void |
testGetLastModified()
Test method for MockBundle.getLastModified() . |
void |
testGetLocation()
Test method for MockBundle.getLocation() . |
void |
testGetRegisteredServices()
Test method for MockBundle.getRegisteredServices() . |
void |
testGetResource()
Test method for MockBundle.getResource(java.lang.String) . |
void |
testGetResources()
Test method for MockBundle.getResources(java.lang.String) . |
void |
testGetServicesInUse()
Test method for MockBundle.getServicesInUse() . |
void |
testGetState()
Test method for MockBundle.getState() . |
void |
testGetSymbolicName()
Test method for MockBundle.getSymbolicName() . |
void |
testHasPermission()
Test method for MockBundle.hasPermission(java.lang.Object) . |
void |
testLoadClass()
Test method for MockBundle.loadClass(java.lang.String) . |
void |
testMockBundle()
Test method for MockBundle.MockBundle() . |
void |
testMockBundleBundleContext()
Test method for MockBundle.MockBundle(org.osgi.framework.BundleContext) . |
void |
testMockBundleDictionary()
Test method for MockBundle.MockBundle(java.util.Dictionary) . |
void |
testMockBundleString()
Test method for MockBundle.MockBundle(java.lang.String) . |
void |
testMockBundleStringDictionaryBundleContext()
Test method for MockBundle.MockBundle(java.lang.String, java.util.Dictionary, org.osgi.framework.BundleContext) . |
void |
testStartWithOptions()
|
void |
testStopWithOptions()
|
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 |
---|
public MockBundleTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class TestCase
Exception
public void testMockBundle()
MockBundle.MockBundle()
.
public void testMockBundleDictionary()
MockBundle.MockBundle(java.util.Dictionary)
.
public void testMockBundleString()
MockBundle.MockBundle(java.lang.String)
.
public void testMockBundleBundleContext()
MockBundle.MockBundle(org.osgi.framework.BundleContext)
.
public void testMockBundleStringDictionaryBundleContext()
MockBundle.MockBundle(java.lang.String, java.util.Dictionary, org.osgi.framework.BundleContext)
.
public void testFindEntries()
MockBundle.findEntries(java.lang.String, java.lang.String, boolean)
.
public void testGetBundleId()
MockBundle.getBundleId()
.
public void testGetEntry() throws Exception
MockBundle.getEntry(java.lang.String)
.
Exception
public void testGetEntryPaths()
MockBundle.getEntryPaths(java.lang.String)
.
public void testGetHeaders()
MockBundle.getHeaders()
.
public void testGetHeadersString()
MockBundle.getHeaders(java.lang.String)
.
public void testGetLastModified()
MockBundle.getLastModified()
.
public void testGetLocation()
MockBundle.getLocation()
.
public void testGetRegisteredServices()
MockBundle.getRegisteredServices()
.
public void testGetResource()
MockBundle.getResource(java.lang.String)
.
public void testGetResources() throws Exception
MockBundle.getResources(java.lang.String)
.
Exception
public void testGetServicesInUse()
MockBundle.getServicesInUse()
.
public void testGetState()
MockBundle.getState()
.
public void testGetSymbolicName()
MockBundle.getSymbolicName()
.
public void testHasPermission()
MockBundle.hasPermission(java.lang.Object)
.
public void testLoadClass() throws Exception
MockBundle.loadClass(java.lang.String)
.
Exception
public void testGetEmptyEnumerator()
public void testDefaultStart() throws Exception
Exception
public void testStartWithOptions() throws Exception
Exception
public void testDefaultStop() throws Exception
Exception
public void testStopWithOptions() throws Exception
Exception
public void testDefaultGetBundleContext() throws Exception
Exception
public void testBundleContextSpecified() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |