Hi Timo,
Thanks for your investigations and your work on this!
I have merged your branch into my branch this morning and now one NUnit Test fails when I run nant test on my development PC:
1) SetUp Error : Tests.MFinance.GLBatches.TGLBatchesTest.TestCreateBatchAndPost
SetUp : System.Exception : invalid response from the server
at Ict.Common.Remoting.Client.THttpConnector.CallWebConnector(String AModuleName, String methodname, SortedList`2 parameters, String expectedReturnType) in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Common\Remoting\Client\HTTPConnector.cs:line 158
at Ict.Petra.Client.App.Core.RemoteObjects.TMSysManNamespace.TSysManMaintenanceNamespace.TSysManMaintenanceUserDefaultsNamespace.TSysManMaintenanceUserDefaultsWebConnectorsNamespace.GetUserDefaults(String AUserName, SUserDefaultsTable& AUserDefaultsDataTable) in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Petra\Client\app\Core\Remoteobjects\ClientGlue.MSysMan-generated.cs:line 345
at Ict.Petra.Client.App.Core.TUserDefaults.InitUserDefaults() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Petra\Client\app\Core\UserDefaults.cs:line 353
at Ict.Testing.NUnitPetraClient.TPetraConnector.Connect(String AUserName, String APassword, Int64 ASiteKey) in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\NUnitPetraClient\connectPetra.cs:line 140
at Ict.Testing.NUnitPetraClient.TPetraConnector.Connect(String AConfigName, Boolean AThrowExceptionOnLoginFailure) in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\NUnitPetraClient\connectPetra.cs:line 86
at Tests.MFinance.GLBatches.TGLBatchesTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MFinance\GLForm\test.cs:line 56
at NUnit.Extensions.Forms.NUnitFormTest.init()
However, I have found out that if I make one specific NUnit Test that is failing for you ('TestKeepAliveWithoutTimeout') and that was previously also failing for me 'inactive' so that it doesn't get executed then all the rest of the NUnit tests run! :-) Hopefully this is a pointer for you dig deeper on those issues...
Note: I have now run the Main Menu tests for the first time in this Branch and I get the following NUnit Test errors:
1) Test Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestBrokenClientPermissions
Expected the fail reason to be module access permission
Expected: True
But was: False
at Tests.MainNavigationScreens.TMainNavigationTest.TestBrokenClientPermissions() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 466
2) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestLoopThroughUINavigation
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
3) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_de_AT
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
4) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_de_CH
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
5) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_de_DE
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
6) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_en_GB
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
7) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_en_US
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
8) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestOpenAllWindows_fr_FR
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
9) SetUp Failure : Tests.MainNavigationScreens.TMainNavigationTest.TestPermissionsSystemManager
SetUp : Failed to connect to the Petra Server. Have you forgotten to launch the Server Console
at Tests.MainNavigationScreens.TMainNavigationTest.Setup() in c:\openpetra_branches\20140211_replace_net_remoting\trunk\csharp\ICT\Testing\lib\MainNavigationScreens\test.cs:line 80
at NUnit.Extensions.Forms.NUnitFormTest.init()
Kind regards,
ChristianK