CSLA.NET
6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
UnitContextTestBase.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="UnitContextTestBase.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>no summary</summary>
7
//-----------------------------------------------------------------------
8
#if NUNIT
9
using
NUnit.Framework;
10
using
TestClass = NUnit.Framework.TestFixtureAttribute;
11
using
TestInitialize = NUnit.Framework.SetUpAttribute;
12
using
TestCleanup = NUnit.Framework.TearDownAttribute;
13
using
TestMethod = NUnit.Framework.TestAttribute;
14
using
TestSetup = NUnit.Framework.SetUpAttribute;
15
#elif MSTEST
16
using
Microsoft
.VisualStudio.TestTools.UnitTesting;
17
#endif
18
using
UnitDriven
;
19
20
namespace
Csla.Test.Silverlight
21
{
22
public
class
UnitContextTestBase
:
TestBase
23
{
24
protected
UnitTestContext
_context
;
25
26
[TestInitialize]
27
public
void
SetUp
()
28
{
29
_context
=
GetContext
();
30
}
31
[TestCleanup]
32
public
void
TearDown
()
33
{
34
_context
.
Complete
();
35
}
36
}
37
}
Csla.Test.Silverlight.UnitContextTestBase
Definition:
UnitContextTestBase.cs:23
Csla.Test.Silverlight.UnitContextTestBase.TearDown
void TearDown()
Definition:
UnitContextTestBase.cs:32
Csla.Test.Silverlight.UnitContextTestBase._context
UnitTestContext _context
Definition:
UnitContextTestBase.cs:24
Csla.Test.Silverlight.UnitContextTestBase.SetUp
void SetUp()
Definition:
UnitContextTestBase.cs:27
UnitDriven.TestBase
Definition:
TestBase.cs:10
UnitDriven.TestBase.GetContext
UnitTestContext GetContext()
Definition:
TestBase.cs:12
UnitDriven.UnitTestContext
Definition:
UnitTestContext.cs:14
UnitDriven.UnitTestContext.Complete
void Complete()
Definition:
UnitTestContext.cs:18
Csla.Test.Silverlight
Definition:
ClientContextTests.cs:24
Microsoft
Definition:
ServiceCollectionExtensions.cs:17
UnitDriven
Definition:
Asserter.cs:13
Generated by
1.9.2