org.springframework.osgi.mock
Class MockServiceRegistrationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.osgi.mock.MockServiceRegistrationTest
All Implemented Interfaces:
Test

public class MockServiceRegistrationTest
extends TestCase

Author:
Costin Leau

Constructor Summary
MockServiceRegistrationTest()
           
 
Method Summary
protected  void setUp()
           
 void testEqualsFalse()
           
 void testEqualsThis()
           
 void testEqualsTrue()
           
 void testGetReference()
          Test method for MockServiceRegistration.getReference().
 void testHashCode()
           
 void testHashCodeSelf()
           
 void testHashCodeWithDifferentServiceRef()
           
 void testMockServiceRegistration()
          Test method for MockServiceRegistration.MockServiceRegistration().
 void testMockServiceRegistrationHashtable()
          Test method for org.springframework.osgi.mock.MockServiceRegistration#MockServiceRegistration(java.util.Hashtable).
 void testSetProperties()
          Test method for MockServiceRegistration.setProperties(java.util.Dictionary).
 void testSetReference()
          Test method for MockServiceRegistration.setReference(org.osgi.framework.ServiceReference).
 
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

MockServiceRegistrationTest

public MockServiceRegistrationTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

testMockServiceRegistration

public void testMockServiceRegistration()
Test method for MockServiceRegistration.MockServiceRegistration().


testMockServiceRegistrationHashtable

public void testMockServiceRegistrationHashtable()
Test method for org.springframework.osgi.mock.MockServiceRegistration#MockServiceRegistration(java.util.Hashtable).


testGetReference

public void testGetReference()
Test method for MockServiceRegistration.getReference().


testSetReference

public void testSetReference()
Test method for MockServiceRegistration.setReference(org.osgi.framework.ServiceReference).


testSetProperties

public void testSetProperties()
Test method for MockServiceRegistration.setProperties(java.util.Dictionary).


testHashCode

public void testHashCode()

testHashCodeWithDifferentServiceRef

public void testHashCodeWithDifferentServiceRef()

testHashCodeSelf

public void testHashCodeSelf()

testEqualsTrue

public void testEqualsTrue()

testEqualsFalse

public void testEqualsFalse()

testEqualsThis

public void testEqualsThis()


Copyright © 2006-2011 Spring Framework. All Rights Reserved.