|
||||||||||
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.io.OsgiBundleResourceTest
public class OsgiBundleResourceTest
Constructor Summary | |
---|---|
OsgiBundleResourceTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testCreateRelativeString()
Test method for OsgiBundleResource.createRelative(java.lang.String) . |
void |
testDefaultPathWithinContext()
|
void |
testEqualsObject()
Test method for OsgiBundleResource.equals(java.lang.Object) . |
void |
testFileWithEmptyCharsInTheNameBeingResolved()
|
void |
testFileWithNormalCharsInTheNameBeingResolved()
|
void |
testFileWithSpecialCharsInTheNameBeingResolved()
|
void |
testGetBundle()
Test method for OsgiBundleResource.getBundle() . |
void |
testGetDescription()
Test method for OsgiBundleResource.getDescription() . |
void |
testGetFilename()
Test method for OsgiBundleResource.getFilename() . |
void |
testGetInputStream()
Test method for OsgiBundleResource.getInputStream() . |
void |
testGetPath()
Test method for OsgiBundleResource.getPath() . |
void |
testGetResourceFromBundle()
Test method for OsgiBundleResource.getResourceFromBundleSpace(java.lang.String) . |
void |
testGetResourceFromBundleClasspath()
Test method for OsgiBundleResource.getResourceFromBundleClasspath(java.lang.String) . |
void |
testGetURL()
Test method for OsgiBundleResource.getURL() . |
void |
testHashCode()
Test method for OsgiBundleResource.hashCode() . |
void |
testIsRelativePath()
Test method for OsgiBundleResource.isRelativePath(java.lang.String) . |
void |
testLastModified()
|
void |
testNonBundleUrlWhichDoesNotExist()
|
void |
testNonBundleUrlWhichExists()
|
void |
testNonExistingFile()
|
void |
testOsgiBundleResource()
Test method for OsgiBundleResource.OsgiBundleResource(org.osgi.framework.Bundle, java.lang.String) . |
void |
testPathOutsideContext()
|
void |
testPathWithinBundleSpace()
|
void |
testPathWithinClassSpace()
|
void |
testPathWithinJarSpace()
|
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 OsgiBundleResourceTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class TestCase
Exception
public void testHashCode()
OsgiBundleResource.hashCode()
.
public void testOsgiBundleResource()
OsgiBundleResource.OsgiBundleResource(org.osgi.framework.Bundle, java.lang.String)
.
public void testGetPath()
OsgiBundleResource.getPath()
.
public void testGetBundle()
OsgiBundleResource.getBundle()
.
public void testGetInputStream() throws Exception
OsgiBundleResource.getInputStream()
.
Exception
public void testGetURL() throws Exception
OsgiBundleResource.getURL()
.
Exception
public void testNonBundleUrlWhichExists() throws Exception
Exception
public void testNonBundleUrlWhichDoesNotExist() throws Exception
Exception
public void testFileWithSpecialCharsInTheNameBeingResolved() throws Exception
Exception
public void testFileWithEmptyCharsInTheNameBeingResolved() throws Exception
Exception
public void testFileWithNormalCharsInTheNameBeingResolved() throws Exception
Exception
public void testGetResourceFromBundle() throws Exception
OsgiBundleResource.getResourceFromBundleSpace(java.lang.String)
.
Exception
public void testGetResourceFromBundleClasspath() throws Exception
OsgiBundleResource.getResourceFromBundleClasspath(java.lang.String)
.
Exception
public void testIsRelativePath()
OsgiBundleResource.isRelativePath(java.lang.String)
.
public void testCreateRelativeString()
OsgiBundleResource.createRelative(java.lang.String)
.
public void testGetFilename()
OsgiBundleResource.getFilename()
.
public void testGetDescription()
OsgiBundleResource.getDescription()
.
public void testEqualsObject()
OsgiBundleResource.equals(java.lang.Object)
.
public void testDefaultPathWithinContext() throws Exception
Exception
public void testPathWithinBundleSpace() throws Exception
Exception
public void testPathWithinClassSpace() throws Exception
Exception
public void testPathWithinJarSpace() throws Exception
Exception
public void testPathOutsideContext() throws Exception
Exception
public void testLastModified() throws Exception
Exception
public void testNonExistingFile() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |