|
||||||||||
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.ourgrid.gridmachine.services.GumSpecServicesTest
public class GumSpecServicesTest
This class is used to test the service of creating and validating gums.
Constructor Summary | |
---|---|
GumSpecServicesTest()
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testBadUserAgentSpecWithoutPort()
Tests the creation of a UserAgent gum from a GuMSpec, when it is not valid. |
void |
testFakeSpecServices()
Tests the creating of a FakeGuM from a GuMSpec. |
void |
testGuMCreationWithoutType()
Tests if a exception is throwaded with a GuMSpec, when it is not have type. |
void |
testUserAgentGuMCreationWithoutName()
Tests if a exception is throwaded with a GuMSpec, when it is not have name. |
void |
testUserAgentSpecServices()
Tests the creation of a UserAgent gum from a GuMSpec. |
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 |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public GumSpecServicesTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testFakeSpecServices() throws GumSpecificationException, java.net.MalformedURLException, java.rmi.RemoteException, java.rmi.NotBoundException
GumSpecificationException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.MalformedURLException
public void testUserAgentSpecServices() throws java.lang.Exception
GumSpecificationException
- When the GuMSpec is invalid.
java.lang.Exception
public void testBadUserAgentSpecWithoutPort() throws java.net.MalformedURLException, java.rmi.RemoteException, java.rmi.NotBoundException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.MalformedURLException
public void testGuMCreationWithoutType() throws java.net.MalformedURLException, java.rmi.RemoteException, java.rmi.NotBoundException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.MalformedURLException
public void testUserAgentGuMCreationWithoutName() throws java.net.MalformedURLException, java.rmi.RemoteException, java.rmi.NotBoundException
java.rmi.NotBoundException
java.rmi.RemoteException
java.net.MalformedURLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |