Update of /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv23865/test/Spring/Spring.Core.Tests/Objects
Modified Files:
TestObject.cs
Log Message:
fixed SPRNET-394
fixed SPRNET-886
Index: TestObject.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/test/Spring/Spring.Core.Tests/Objects/TestObject.cs,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** TestObject.cs 25 Aug 2007 16:08:36 -0000 1.36
--- TestObject.cs 21 Mar 2008 10:49:38 -0000 1.37
***************
*** 42,46 ****
/// <author>Rod Johnson</author>
/// <author>Mark Pollack (.NET)</author>
! public class TestObject : MarshalByRefObject, ITestObject, IObjectFactoryAware, IComparable, IOther, IApplicationContextAware, IObjectNameAware
{
#region Event testing members
--- 42,46 ----
/// <author>Rod Johnson</author>
/// <author>Mark Pollack (.NET)</author>
! public class TestObject : MarshalByRefObject, ITestObject, IObjectFactoryAware, IComparable, IOther, IApplicationContextAware, IObjectNameAware, IInitializingObject
{
#region Event testing members
***************
*** 291,295 ****
}
-
public int ExceptionMethodCallCount
{
--- 291,294 ----
***************
*** 297,300 ****
--- 296,304 ----
}
+ public bool InitCompleted
+ {
+ get { return initCompleted; }
+ set { initCompleted = value; }
+ }
public Size Size
***************
*** 376,379 ****
--- 380,384 ----
private string objectName;
private Size size;
+ private bool initCompleted;
#endregion
***************
*** 424,427 ****
--- 429,437 ----
#region Methods
+ public void AfterPropertiesSet()
+ {
+ initCompleted = true;
+ }
+
public void AddComputerName(string name)
{
|