misc initial cosmetic cleanup

This commit is contained in:
Steve Bohlen
2012-12-21 16:01:18 -05:00
parent fdb0a57a96
commit 51b34811b3
32 changed files with 1960 additions and 1571 deletions

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Data;
using System.Configuration;

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
@@ -55,7 +75,7 @@ namespace Spring.Bsn
SPCMasterEnt masterEnt3 = sessionNoConv.Get<SPCMasterEnt>(3);
Assert.AreEqual(1, masterEnt3.SPCDetailEntList.Count, "masterEnt3.SPCDetailEntList.Count");
Assert.AreEqual(1, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(1, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
}
#endregion

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -1,4 +1,24 @@
using System;
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

View File

@@ -1,4 +1,24 @@
using System;
#region License
/*
* Copyright © 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

View File

@@ -96,11 +96,11 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
this.setConnectionReleaseModeByReflection(settings, ConnectionReleaseMode.AfterTransaction);
//((SessionFactoryImpl)this.sessionFactory).Settings.ConnectionReleaseMode = ConnectionReleaseMode.AfterTransaction;
CountGetConnDbProvider.Count = 0;
ConnectionCreationTrackingDbProvider.Count = 0;
this.Conversation.StartResumeConversation();
ISession sessionA = this.SessionFactory.GetCurrentSession();
SPCDetailEnt detailEnt = sessionA.Get<SPCDetailEnt>(1);
Assert.AreEqual(1, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(1, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
SessionScopeSettings sessionScopeSettings = new SessionScopeSettings(this.sessionFactory);
sessionScopeSettings.SingleSession = true;
@@ -110,20 +110,20 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
ISession sessionB = this.SessionFactory.GetCurrentSession();
masterEnt = sessionB.Get<SPCMasterEnt>(1);
Assert.AreEqual(2, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(2, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
Assert.AreSame(sessionA, sessionB, "sessionA, sessionB");
}
SPCMasterEnt masterEnt2 = sessionA.Get<SPCMasterEnt>(2);
Assert.AreEqual(3, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(3, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
Assert.AreEqual(1, masterEnt2.SPCDetailEntList.Count, "masterEnt2.SPCDetailEntList.Count");
Assert.AreEqual(4, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(4, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
SPCMasterEnt masterEnt3 = sessionA.Get<SPCMasterEnt>(3);
Assert.AreEqual(5, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(5, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
Assert.AreEqual(1, masterEnt3.SPCDetailEntList.Count, "masterEnt3.SPCDetailEntList.Count");
Assert.AreEqual(6, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(6, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
//Renew the conversation.
@@ -152,7 +152,7 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
ConnectionReleaseMode connReleaseModeOriginal = settings.ConnectionReleaseMode;
this.setConnectionReleaseModeByReflection(settings, ConnectionReleaseMode.AfterTransaction);
CountGetConnDbProvider.Count = 0;
ConnectionCreationTrackingDbProvider.Count = 0;
this.ConnectionReleaseModeIssueBsn.Test();
this.setConnectionReleaseModeByReflection(settings, connReleaseModeOriginal);
@@ -172,19 +172,19 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
//with no conversation
SessionScopeSettings sessionScopeSettings = new SessionScopeSettings(this.sessionFactory);
CountGetConnDbProvider.Count = 0;
ConnectionCreationTrackingDbProvider.Count = 0;
using (new SessionScope(sessionScopeSettings, true))
{
ISession sessionNoConv = this.SessionFactory.GetCurrentSession();
SPCMasterEnt masterEnt2 = sessionNoConv.Get<SPCMasterEnt>(2);
Assert.AreEqual(1, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(1, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
Assert.AreEqual(1, masterEnt2.SPCDetailEntList.Count, "masterEnt2.SPCDetailEntList.Count");
Assert.AreEqual(2, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(2, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
SPCMasterEnt masterEnt3 = sessionNoConv.Get<SPCMasterEnt>(3);
Assert.AreEqual(3, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(3, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
Assert.AreEqual(1, masterEnt3.SPCDetailEntList.Count, "masterEnt3.SPCDetailEntList.Count");
Assert.AreEqual(4, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(4, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
}
this.setConnectionReleaseModeByReflection(settings, connReleaseModeOriginal);
@@ -206,11 +206,11 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
this.setConnectionReleaseModeByReflection(settings, ConnectionReleaseMode.OnClose);
//with conversation and "connection.release_mode" "on_close"(AfterTransaction)
CountGetConnDbProvider.Count = 0;
ConnectionCreationTrackingDbProvider.Count = 0;
this.Conversation.StartResumeConversation();
ISession sessionA = this.SessionFactory.GetCurrentSession();
SPCDetailEnt detailEnt = sessionA.Get<SPCDetailEnt>(1);
Assert.AreEqual(1, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(1, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
SessionScopeSettings sessionScopeSettings = new SessionScopeSettings(this.sessionFactory);
sessionScopeSettings.SingleSession = true;
@@ -226,7 +226,7 @@ public partial class ConnectionReleaseModeIssue : System.Web.UI.Page, IApplicati
Assert.AreEqual(3, masterEnt.SPCDetailEntList.Count, "masterEnt.SPCDetailEntList.Count");
Assert.AreEqual(1, CountGetConnDbProvider.Count, "CountGetConnDbProvider.Count");
Assert.AreEqual(1, ConnectionCreationTrackingDbProvider.Count, "ConnectionCreationTrackingDbProvider.Count");
//Renew the conversation.
this.Conversation.EndConversation();

View File

@@ -9,7 +9,7 @@ using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Spring.ConversationWA;
using Spring.ConversationWA.Imple;
using Spring.ConversationWA.Impl;
using System.Text.RegularExpressions;
using NHibernate;
using Spring.Data.NHibernate.Support;
@@ -176,9 +176,9 @@ public partial class IoeTests : System.Web.UI.Page
{
otherConversationState = new WebConversationSpringState();
otherConversationState.Id = "otherConversationState";
//try second by 'ParenteConversation = '
this.ConversationAA.ParenteConversation = otherConversationState;
throw new Exception("NOT OK: No raise for 'this.ConversationAA.ParenteConversation = otherConversationState'");
//try second by 'ParentConversation = '
this.ConversationAA.ParentConversation = otherConversationState;
throw new Exception("NOT OK: No raise for 'this.ConversationAA.ParentConversation = otherConversationState'");
}
catch (InvalidOperationException ioe)
{
@@ -216,8 +216,8 @@ public partial class IoeTests : System.Web.UI.Page
{
otherConversationState = new WebConversationSpringState();
otherConversationState.Id = "otherConversationState";
//try second by 'ParenteConversation = '
otherConversationState.ParenteConversation = this.ConversationA;
//try second by 'ParentConversation = '
otherConversationState.ParentConversation = this.ConversationA;
this.Session["testResult"] = "OK";
}
finally
@@ -264,9 +264,9 @@ public partial class IoeTests : System.Web.UI.Page
otherConversationState.Id = "otherConversationState";
// make not new
otherConversationState.StartResumeConversation();
//try second by 'ParenteConversation = '
otherConversationState.ParenteConversation = this.ConversationA;
throw new Exception("NOT OK: No raise for 'this.ConversationAA.ParenteConversation = otherConversationState'");
//try second by 'ParentConversation = '
otherConversationState.ParentConversation = this.ConversationA;
throw new Exception("NOT OK: No raise for 'this.ConversationAA.ParentConversation = otherConversationState'");
}
catch (InvalidOperationException ioe)
{
@@ -305,8 +305,8 @@ public partial class IoeTests : System.Web.UI.Page
otherConversationState = new WebConversationSpringState();
otherConversationState.Id = "otherConversationState";
// leave new
//try second by 'ParenteConversation = '
otherConversationState.ParenteConversation = this.ConversationA;
//try second by 'ParentConversation = '
otherConversationState.ParentConversation = this.ConversationA;
this.Session["testResult"] = "OK";
}
finally
@@ -366,7 +366,7 @@ public partial class IoeTests : System.Web.UI.Page
private void participatingHibernateNotAlowed()
{
Regex msgErrorRx = new Regex(".*Participating.*Hibernate.*NOT.*ALOWED.*");
Regex msgErrorRx = new Regex(".*Participating.*Hibernate.*NOT.*ALLOWED.*");
try
{
//No raise

View File

@@ -12,12 +12,12 @@
<property name="Conversation" ref="convEndConversationTest"></property>
<property name="ConversationEvidenceBsn" expression="@(convEndConversationTest)['conversationEvidenceBsn']"></property>
</object>
<object name="convEndConversationTest" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convEndConversationTest" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convEndConversationTest"></property>
<property name="['conversationEvidenceBsn']" ref="conversationEvidenceBsn"></property>
</object>
<object name="convCircularDependenceTest_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convCircularDependenceTest_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convCircularDependenceTest_A"></property>
<property name="InnerConversations">
<list>
@@ -25,7 +25,7 @@
</list>
</property>
</object>
<object name="convCircularDependenceTest_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convCircularDependenceTest_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convCircularDependenceTest_A_A"></property>
<property name="InnerConversations">
<list>
@@ -33,7 +33,7 @@
</list>
</property>
</object>
<object name="convCircularDependenceTest_A_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convCircularDependenceTest_A_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convCircularDependenceTest_A_A_A"></property>
<property name="['conversationEvidenceBsn']" ref="conversationEvidenceBsn"></property>
</object>
@@ -52,7 +52,7 @@
<object type="PatialEndConv_A_B_End.aspx">
<property name="Conversation" ref="convPatialEndConv_A_B"></property>
</object>
<object name="convPatialEndConv_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A"></property>
<property name="InnerConversations">
<list>
@@ -62,10 +62,10 @@
</list>
</property>
</object>
<object name="convPatialEndConv_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A_A"></property>
</object>
<object name="convPatialEndConv_A_B" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A_B" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A_B"></property>
<property name="InnerConversations">
<list>
@@ -74,20 +74,20 @@
</list>
</property>
</object>
<object name="convPatialEndConv_A_B_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A_B_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A_B_A"></property>
</object>
<object name="convPatialEndConv_A_B_B" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A_B_B" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A_B_B"></property>
</object>
<object name="convPatialEndConv_A_C" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convPatialEndConv_A_C" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convPatialEndConv_A_C"></property>
</object>
<object type="GetParentObjetFromChild.aspx">
<property name="Conversation" ref="convGetParentObjetFromChildChild"></property>
</object>
<object name="convGetParentObjetFromChildParent" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convGetParentObjetFromChildParent" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convGetParentObjetFromChildParent"></property>
<property name="['parentKey']" value="parentValue"></property>
<property name="['overwrittenKey']" value="overwrittenValueParent"></property>
@@ -97,9 +97,9 @@
</list>
</property>
</object>
<object name="convGetParentObjetFromChildChild" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convGetParentObjetFromChildChild" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convGetParentObjetFromChildChild"></property>
<property name="ParenteConversation" ref="convGetParentObjetFromChildParent"></property>
<property name="ParentConversation" ref="convGetParentObjetFromChildParent"></property>
<property name="['childKey']" value="childValue"></property>
<property name="['overwrittenKey']" value="overwrittenValueChild"></property>
</object>
@@ -110,7 +110,7 @@
<object type="TimeOut_WithTimeOut.aspx">
<property name="Conversation" ref="convTimeOut"></property>
</object>
<object name="convTimeOut" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convTimeOut" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convTimeOut"></property>
<property name="TimeOut" value="60000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -147,7 +147,7 @@
<object type="SPCLazyLoadTest_A_Status.aspx">
<property name="Conversation" ref="convSPCLazyLoad"></property>
</object>
<object name="convSPCLazyLoad" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convSPCLazyLoad" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convSPCLazyLoad"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -160,14 +160,14 @@
<property name="ConversationA" ref="convSPCSwitchConversationSameRequestA"></property>
<property name="SessionFactory" ref="MySessionFactory"/>
</object>
<object name="convSPCSwitchConversationSameRequestA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convSPCSwitchConversationSameRequestA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convSPCSwitchConversationSameRequestA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convSPCSwitchConversationSameRequestB" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convSPCSwitchConversationSameRequestB" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convSPCSwitchConversationSameRequestB"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -180,7 +180,7 @@
<object type="RedirectErrorNoPauseConversation.aspx">
<property name="Conversation" ref="convRedirectErrorNoPauseConversation"></property>
</object>
<object name="convRedirectErrorNoPauseConversation" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convRedirectErrorNoPauseConversation" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convRedirectErrorNoPauseConversation"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -197,18 +197,18 @@
<property name="SessionFactory" ref="MySessionFactory"></property>
</object>
<object name="convIoeTestsA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convIoeTestsA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convIoeTestsA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convIoeTestsAA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convIoeTestsAA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convIoeTestsAA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="ParenteConversation" ref="convIoeTestsA"></property>
<property name="ParentConversation" ref="convIoeTestsA"></property>
</object>
<!--END: InvalidOperationException Tests -->
@@ -217,15 +217,15 @@
<property name="ConvA" ref="convAEndPaused"></property>
<property name="ConvB" ref="convBEndPaused"></property>
</object>
<object name="convAEndPaused" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convAEndPaused" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convAEndPaused"></property>
<property name="ConversationManager" ref="conversationManagerEndPaused"></property>
</object>
<object name="convBEndPaused" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convBEndPaused" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convBEndPaused"></property>
<property name="ConversationManager" ref="conversationManagerEndPaused"></property>
</object>
<object name="conversationManagerEndPaused" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<object name="conversationManagerEndPaused" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<property name="EndPaused" value="true"></property>
</object>
<!--END: EndPausedTest Tests -->
@@ -238,14 +238,14 @@
<property name="Conversation" ref="convBSessionIsClosed"></property>
<property name="ConversationA" ref="convASessionIsClosed"></property>
</object>
<object name="convASessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convASessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convASessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convBSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convBSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convBSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -261,21 +261,21 @@
<object type="EndPausedSessionIsClosedB.aspx">
<property name="Conversation" ref="convBEndPausedSessionIsClosed"></property>
</object>
<object name="convAEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convAEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convAEndPausedSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="convMngEndPausedSessionIsClosed"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convBEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convBEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convBEndPausedSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="convMngEndPausedSessionIsClosed"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convMngEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<object name="convMngEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="EndPaused" value="true"/>
</object>
@@ -287,7 +287,7 @@
<property name="SessionFactory" ref="MySessionFactory"/>
<property name="ConnectionReleaseModeIssueBsn" ref="connectionReleaseModeIssueBsn"/>
</object>
<object name="convConnectionReleaseModeIssue" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convConnectionReleaseModeIssue" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convConnectionReleaseModeIssue"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -303,7 +303,7 @@
<object type="SerializeConversationTest.aspx">
<property name="Conversation" ref="convSerializeConversationTest"/>
</object>
<object name="convSerializeConversationTest" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<object name="convSerializeConversationTest" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH32" scope="session">
<property name="Id" value="convSerializeConversationTest"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -313,7 +313,7 @@
<!--END: SerializeConversationTest-->
<!-- BEGIN: Common configuration-->
<object name="conversationManager" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<object name="conversationManager" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH32" scope="session">
<property name="SessionFactoryName" value="MySessionFactory"/>
</object>
@@ -344,7 +344,7 @@
</dictionary>
</property>
</object>
<object id="DbProvider" type="Spring.Spring.Data.Common.CountGetConnDbProvider, Spring.ConversationWA.NH32.Tests">
<object id="DbProvider" type="Spring.Spring.Data.Common.ConnectionCreationTrackingDbProvider, Spring.ConversationWA.NH32.Tests">
<property name="TargetDbProvider" ref="targetDbProvider"/>
</object>
<db:provider id="targetDbProvider" provider="System.Data.SQLite" connectionString="Data Source=|DataDirectory|../sqlite/conversationTests.db;Version=3;FailIfMissing=True;"></db:provider>

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -1,3 +1,23 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;

View File

@@ -87,7 +87,7 @@
<Compile Include="ConversationWA\WebConversationStateTest.cs" />
<Compile Include="Entities\SPCDetailEnt.cs" />
<Compile Include="Entities\SPCMasterEnt.cs" />
<Compile Include="Spring\Data\Common\CountGetConnDbProvider.cs" />
<Compile Include="Spring\Data\Common\ConnectionCreationTrackingDbProvider.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\src\Spring\Spring.Aop\Spring.Aop.2008.csproj">

View File

@@ -101,7 +101,7 @@
<Compile Include="ConversationWA\WebConversationStateTest.cs" />
<Compile Include="Entities\SPCDetailEnt.cs" />
<Compile Include="Entities\SPCMasterEnt.cs" />
<Compile Include="Spring\Data\Common\CountGetConnDbProvider.cs" />
<Compile Include="Spring\Data\Common\ConnectionCreationTrackingDbProvider.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\src\Spring\Spring.Aop\Spring.Aop.2010.csproj">

View File

@@ -0,0 +1,49 @@
#region License
/*
* Copyright <20> 2002-2011 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Spring.Data.Common;
using System.Data;
namespace Spring.Spring.Data.Common
{
/// <summary>
/// Count the number of calls to "CreateConnection()".
/// </summary>
public class ConnectionCreationTrackingDbProvider : DelegatingDbProvider
{
/// <summary>
/// Count of calls to <see cref="CreateConnection"/>
/// </summary>
public static Int32 Count = 0;
/// <summary>
/// Count.
/// </summary>
/// <returns></returns>
public override IDbConnection CreateConnection()
{
Count++;
return this.TargetDbProvider.CreateConnection();
}
}
}

View File

@@ -1,29 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
using Spring.Data.Common;
using System.Data;
namespace Spring.Spring.Data.Common
{
/// <summary>
/// Count the number of calls to "CreateConnection()".
/// </summary>
public class CountGetConnDbProvider : DelegatingDbProvider
{
/// <summary>
/// Count of calls to <see cref="CreateConnection"/>
/// </summary>
public static Int32 Count = 0;
/// <summary>
/// Count.
/// </summary>
/// <returns></returns>
public override IDbConnection CreateConnection()
{
Count++;
return this.TargetDbProvider.CreateConnection();
}
}
}

View File

@@ -12,12 +12,12 @@
<property name="Conversation" ref="convEndConversationTest"></property>
<property name="ConversationEvidenceBsn" expression="@(convEndConversationTest)['conversationEvidenceBsn']"></property>
</object>
<object name="convEndConversationTest" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convEndConversationTest" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convEndConversationTest"></property>
<property name="['conversationEvidenceBsn']" ref="conversationEvidenceBsn"></property>
</object>
<object name="convCircularDependenceTest_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convCircularDependenceTest_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convCircularDependenceTest_A"></property>
<property name="InnerConversations">
<list>
@@ -25,7 +25,7 @@
</list>
</property>
</object>
<object name="convCircularDependenceTest_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convCircularDependenceTest_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convCircularDependenceTest_A_A"></property>
<property name="InnerConversations">
<list>
@@ -33,7 +33,7 @@
</list>
</property>
</object>
<object name="convCircularDependenceTest_A_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convCircularDependenceTest_A_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convCircularDependenceTest_A_A_A"></property>
<property name="['conversationEvidenceBsn']" ref="conversationEvidenceBsn"></property>
</object>
@@ -52,7 +52,7 @@
<object type="PatialEndConv_A_B_End.aspx">
<property name="Conversation" ref="convPatialEndConv_A_B"></property>
</object>
<object name="convPatialEndConv_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A"></property>
<property name="InnerConversations">
<list>
@@ -62,10 +62,10 @@
</list>
</property>
</object>
<object name="convPatialEndConv_A_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A_A"></property>
</object>
<object name="convPatialEndConv_A_B" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A_B" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A_B"></property>
<property name="InnerConversations">
<list>
@@ -74,20 +74,20 @@
</list>
</property>
</object>
<object name="convPatialEndConv_A_B_A" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A_B_A" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A_B_A"></property>
</object>
<object name="convPatialEndConv_A_B_B" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A_B_B" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A_B_B"></property>
</object>
<object name="convPatialEndConv_A_C" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convPatialEndConv_A_C" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convPatialEndConv_A_C"></property>
</object>
<object type="GetParentObjetFromChild.aspx">
<property name="Conversation" ref="convGetParentObjetFromChildChild"></property>
</object>
<object name="convGetParentObjetFromChildParent" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convGetParentObjetFromChildParent" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convGetParentObjetFromChildParent"></property>
<property name="['parentKey']" value="parentValue"></property>
<property name="['overwrittenKey']" value="overwrittenValueParent"></property>
@@ -97,7 +97,7 @@
</list>
</property>
</object>
<object name="convGetParentObjetFromChildChild" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convGetParentObjetFromChildChild" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convGetParentObjetFromChildChild"></property>
<property name="ParenteConversation" ref="convGetParentObjetFromChildParent"></property>
<property name="['childKey']" value="childValue"></property>
@@ -110,7 +110,7 @@
<object type="TimeOut_WithTimeOut.aspx">
<property name="Conversation" ref="convTimeOut"></property>
</object>
<object name="convTimeOut" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convTimeOut" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convTimeOut"></property>
<property name="TimeOut" value="60000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -147,7 +147,7 @@
<object type="SPCLazyLoadTest_A_Status.aspx">
<property name="Conversation" ref="convSPCLazyLoad"></property>
</object>
<object name="convSPCLazyLoad" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convSPCLazyLoad" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convSPCLazyLoad"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -160,14 +160,14 @@
<property name="ConversationA" ref="convSPCSwitchConversationSameRequestA"></property>
<property name="SessionFactory" ref="MySessionFactory"/>
</object>
<object name="convSPCSwitchConversationSameRequestA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convSPCSwitchConversationSameRequestA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convSPCSwitchConversationSameRequestA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convSPCSwitchConversationSameRequestB" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convSPCSwitchConversationSameRequestB" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convSPCSwitchConversationSameRequestB"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -180,7 +180,7 @@
<object type="RedirectErrorNoPauseConversation.aspx">
<property name="Conversation" ref="convRedirectErrorNoPauseConversation"></property>
</object>
<object name="convRedirectErrorNoPauseConversation" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convRedirectErrorNoPauseConversation" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convRedirectErrorNoPauseConversation"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -197,14 +197,14 @@
<property name="SessionFactory" ref="MySessionFactory"></property>
</object>
<object name="convIoeTestsA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convIoeTestsA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convIoeTestsA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convIoeTestsAA" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convIoeTestsAA" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convIoeTestsAA"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -217,15 +217,15 @@
<property name="ConvA" ref="convAEndPaused"></property>
<property name="ConvB" ref="convBEndPaused"></property>
</object>
<object name="convAEndPaused" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convAEndPaused" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convAEndPaused"></property>
<property name="ConversationManager" ref="conversationManagerEndPaused"></property>
</object>
<object name="convBEndPaused" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convBEndPaused" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convBEndPaused"></property>
<property name="ConversationManager" ref="conversationManagerEndPaused"></property>
</object>
<object name="conversationManagerEndPaused" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<object name="conversationManagerEndPaused" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<property name="EndPaused" value="true"></property>
</object>
<!--END: EndPausedTest Tests -->
@@ -238,14 +238,14 @@
<property name="Conversation" ref="convBSessionIsClosed"></property>
<property name="ConversationA" ref="convASessionIsClosed"></property>
</object>
<object name="convASessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convASessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convASessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convBSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convBSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convBSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -261,21 +261,21 @@
<object type="EndPausedSessionIsClosedB.aspx">
<property name="Conversation" ref="convBEndPausedSessionIsClosed"></property>
</object>
<object name="convAEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convAEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convAEndPausedSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="convMngEndPausedSessionIsClosed"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convBEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convBEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convBEndPausedSessionIsClosed"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="convMngEndPausedSessionIsClosed"></property>
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="DbProviderName" value="DbProvider"/>
</object>
<object name="convMngEndPausedSessionIsClosed" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<object name="convMngEndPausedSessionIsClosed" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<property name="SessionFactoryName" value="MySessionFactory"/>
<property name="EndPaused" value="true"/>
</object>
@@ -287,7 +287,7 @@
<property name="SessionFactory" ref="MySessionFactory"/>
<property name="ConnectionReleaseModeIssueBsn" ref="connectionReleaseModeIssueBsn"/>
</object>
<object name="convConnectionReleaseModeIssue" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convConnectionReleaseModeIssue" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convConnectionReleaseModeIssue"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -303,7 +303,7 @@
<object type="SerializeConversationTest.aspx">
<property name="Conversation" ref="convSerializeConversationTest"/>
</object>
<object name="convSerializeConversationTest" type="Spring.ConversationWA.Imple.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<object name="convSerializeConversationTest" type="Spring.ConversationWA.Impl.WebConversationSpringState, Spring.ConversationWA.NH33" scope="session">
<property name="Id" value="convSerializeConversationTest"></property>
<property name="TimeOut" value="600000"></property>
<property name="ConversationManager" ref="conversationManager"></property>
@@ -313,7 +313,7 @@
<!--END: SerializeConversationTest-->
<!-- BEGIN: Common configuration-->
<object name="conversationManager" type="Spring.ConversationWA.Imple.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<object name="conversationManager" type="Spring.ConversationWA.Impl.WebConversationManager, Spring.ConversationWA.NH33" scope="session">
<property name="SessionFactoryName" value="MySessionFactory"/>
</object>

View File

@@ -116,8 +116,8 @@
<Compile Include="..\Spring.ConversationWA.NH32.Tests\Entities\SPCMasterEnt.cs">
<Link>Entities\SPCMasterEnt.cs</Link>
</Compile>
<Compile Include="..\Spring.ConversationWA.NH32.Tests\Spring\Data\Common\CountGetConnDbProvider.cs">
<Link>Spring\Data\Common\CountGetConnDbProvider.cs</Link>
<Compile Include="..\Spring.ConversationWA.NH32.Tests\Spring\Data\Common\ConnectionCreationTrackingDbProvider.cs">
<Link>Spring\Data\Common\ConnectionCreationTrackingDbProvider.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>