Public Member Functions | |
void | SetScopedSp () |
void | ClearContextsAfterEachTest () |
void | SimpleTest () |
void | ApplicationContextProperties () |
void | TestAppContextAcrossDifferentThreads () |
void | ClientContext () |
Test the Client Context More... | |
void | DataPortalEvents () |
Test the dataportal events More... | |
void | FailCreateContext () |
Test the FaileCreate Context More... | |
void | FailFetchContext () |
void | FailUpdateContext () |
void | FailDeleteContext () |
Static Public Member Functions | |
static void | ClassInitialize (TestContext context) |
Definition at line 28 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.ApplicationContextProperties | ( | ) |
Definition at line 70 of file AppContextTests.cs.
|
static |
Definition at line 33 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.ClearContextsAfterEachTest | ( | ) |
Definition at line 45 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.ClientContext | ( | ) |
Test the Client Context
Clearing the GlobalContext clears the ClientContext also? Should the ClientContext be cleared explicitly also?
Definition at line 142 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.DataPortalEvents | ( | ) |
Test the dataportal events
How does the GlobalContext get the keys "dpinvoke" and "dpinvokecomplete"?
In the vb version of this test it calls RemoveHandler in VB. Unfortunately removing handlers aren't quite that easy in C# I had to declare EventHandlers that could be added and removed. Also I found out that the VB library does not seem to contain the DataPortalInvokeEventHandler object so I put a conditional compile flag around this method and set a warning message.
Definition at line 191 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.FailCreateContext | ( | ) |
Test the FaileCreate Context
Definition at line 233 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.FailDeleteContext | ( | ) |
Definition at line 339 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.FailFetchContext | ( | ) |
Definition at line 260 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.FailUpdateContext | ( | ) |
Definition at line 290 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.SetScopedSp | ( | ) |
Definition at line 39 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.SimpleTest | ( | ) |
Definition at line 53 of file AppContextTests.cs.
void Csla.Test.AppContext.AppContextTests.TestAppContextAcrossDifferentThreads | ( | ) |
Definition at line 82 of file AppContextTests.cs.