source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/lib/NUnit/NUnit-2.5.10.11092/samples/cpp/managed/failures/cppsample.h@ 1146

Last change on this file since 1146 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 799 bytes
Line 
1// ****************************************************************
2// This is free software licensed under the NUnit license. You
3// may obtain a copy of the license as well as information regarding
4// copyright ownership at http://nunit.org/?p=license&r=2.4.
5// ****************************************************************
6
7#pragma once
8
9using namespace System;
10using namespace NUnit::Framework;
11
12namespace NUnitSamples
13{
14 [TestFixture]
15 public __gc class SimpleCPPSample
16 {
17 int fValue1;
18 int fValue2;
19 public:
20 [SetUp] void Init();
21
22 [Test] void Add();
23 [Test] void DivideByZero();
24 [Test] void Equals();
25 [Test] [Ignore("ignored test")] void IgnoredTest();
26 [Test] [ExpectedException(__typeof(InvalidOperationException))] void ExpectAnException();
27 };
28}
Note: See TracBrowser for help on using the repository browser.