├── .gitignore ├── SUFORSSchema.png ├── ThirdParty ├── NUnit │ ├── Logo.ico │ ├── license.txt │ ├── doc │ │ ├── favicon.ico │ │ ├── img │ │ │ ├── logo.gif │ │ │ ├── bulletOn.gif │ │ │ ├── miniGui.jpg │ │ │ ├── testTab.jpg │ │ │ ├── testsTab.JPG │ │ │ ├── bulletOff.gif │ │ │ ├── displayTab.jpg │ │ │ ├── generalTab.jpg │ │ │ ├── gui-verify.jpg │ │ │ ├── langFilter.gif │ │ │ ├── resultTab.jpg │ │ │ ├── addinsDialog.JPG │ │ │ ├── assembliesTab.jpg │ │ │ ├── configEditor.jpg │ │ │ ├── console-mock.jpg │ │ │ ├── optionsDialog.jpg │ │ │ ├── advancedSettings.jpg │ │ │ ├── generalOptions.jpg │ │ │ ├── generalSettings.jpg │ │ │ ├── gui-screenshot.jpg │ │ │ ├── testLoadOptions.jpg │ │ │ ├── testLoadSettings.jpg │ │ │ ├── testProperties.jpg │ │ │ ├── testOutputOptions.jpg │ │ │ ├── testOutputSettings.jpg │ │ │ ├── testResultOptions.JPG │ │ │ ├── testResultSettings.JPG │ │ │ ├── textOutputOptions.jpg │ │ │ ├── textOutputSettings.jpg │ │ │ ├── treeDisplayOptions.JPG │ │ │ ├── assemblyReloadOptions.JPG │ │ │ ├── treeDisplaySettings.jpg │ │ │ ├── visualStudioOptions.JPG │ │ │ ├── visualStudioSettings.jpg │ │ │ └── assemblyReloadSettings.JPG │ │ ├── mainMenu.html │ │ ├── vsSupport.html │ │ ├── configFiles.html │ │ ├── contextMenu.html │ │ ├── quickStart.html │ │ ├── configEditor.html │ │ ├── releaseDetail.html │ │ ├── releaseNotes.html │ │ ├── settingsDialog.html │ │ ├── testProperties.html │ │ ├── files │ │ │ ├── QuickStart.doc │ │ │ ├── QuickStart.Spanish.doc │ │ │ ├── Summary.xslt │ │ │ └── Results.xsd │ │ ├── codeFuncs.js │ │ ├── index.html │ │ ├── extensibility.html │ │ ├── getStarted.html │ │ ├── nunit-console.html │ │ ├── pnunit.html │ │ ├── addinsDialog.html │ │ ├── sameasConstraint.html │ │ ├── suiteBuilders.html │ │ ├── datapointProviders.html │ │ ├── license.html │ │ └── upgrade.html │ └── samples │ │ ├── csharp │ │ ├── failures │ │ │ ├── cs-failures.build │ │ │ ├── cs-failures.csproj │ │ │ ├── CSharpTest.cs │ │ │ └── AssemblyInfo.cs │ │ ├── syntax │ │ │ ├── cs-syntax.build │ │ │ ├── cs-syntax.csproj │ │ │ └── AssemblyInfo.cs │ │ ├── money │ │ │ ├── cs-money.build │ │ │ ├── IMoney.cs │ │ │ ├── cs-money.csproj │ │ │ ├── AssemblyInfo.cs │ │ │ └── Money.cs │ │ └── CSharp.sln │ │ ├── vb │ │ ├── failures │ │ │ ├── vb-failures.build │ │ │ ├── AssemblyInfo.vb │ │ │ ├── SimpleVBTest.vb │ │ │ └── vb-failures.vbproj │ │ ├── syntax │ │ │ ├── vb-syntax.build │ │ │ ├── AssemblyInfo.vb │ │ │ └── vb-syntax.vbproj │ │ ├── money │ │ │ ├── vb-money.build │ │ │ ├── AssemblyInfo.vb │ │ │ ├── IMoney.vb │ │ │ ├── vb-money.vbproj │ │ │ └── Money.vb │ │ └── vb-samples.sln │ │ ├── jsharp │ │ ├── failures │ │ │ ├── jsharp-failures.build │ │ │ ├── jsharp-failures.vjsproj │ │ │ ├── JSharpTest.jsl │ │ │ └── AssemblyInfo.jsl │ │ └── jsharp.sln │ │ ├── cpp │ │ ├── cpp-cli │ │ │ ├── syntax │ │ │ │ ├── cpp-cli-syntax.build │ │ │ │ └── AssemblyInfo.cpp │ │ │ ├── failures │ │ │ │ ├── cpp-cli-failures.build │ │ │ │ ├── cppsample.h │ │ │ │ ├── cppsample.cpp │ │ │ │ └── AssemblyInfo.cpp │ │ │ └── cpp-cli.sln │ │ └── managed │ │ │ ├── failures │ │ │ ├── cppsample.h │ │ │ ├── cpp-managed-failures.build │ │ │ ├── cppsample.cpp │ │ │ └── AssemblyInfo.cpp │ │ │ └── managed-cpp.sln │ │ ├── Extensibility │ │ └── Core │ │ │ ├── SampleSuiteExtension │ │ │ ├── SampleSuiteExtension.build │ │ │ ├── SampleSuiteExtensionAttribute.cs │ │ │ ├── Tests │ │ │ │ ├── SampleSuiteExtensionTests.cs │ │ │ │ └── SampleSuiteExtensionTests.csproj │ │ │ ├── Addin.cs │ │ │ ├── SampleSuiteExtensionBuilder.cs │ │ │ ├── SampleSuiteExtension.cs │ │ │ ├── ReadMe.txt │ │ │ └── AssemblyInfo.cs │ │ │ ├── Minimal │ │ │ ├── Minimal.build │ │ │ ├── ReadMe.txt │ │ │ ├── Minimal.cs │ │ │ └── Minimal.csproj │ │ │ ├── SampleFixtureExtension │ │ │ ├── SampleFixtureExtension.build │ │ │ ├── SampleFixtureExtensionAttribute.cs │ │ │ ├── Tests │ │ │ │ ├── SampleFixtureExtensionTests.cs │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ └── SampleFixtureExtensionTests.csproj │ │ │ ├── SampleFixtureExtension.cs │ │ │ ├── ReadMe.txt │ │ │ ├── SampleFixtureExtensionBuilder.cs │ │ │ └── AssemblyInfo.cs │ │ │ └── CoreExtensibility.sln │ │ └── ReadMe.txt └── RhinoMocks │ └── Rhino.Mocks.dll └── SUFORS V.1 ├── Src └── Web │ ├── Images │ ├── bg_body.jpg │ ├── bg_topbar.gif │ ├── mnu_topshadow.gif │ └── mnu_bottomshadow.gif │ ├── App_Data │ ├── SUFORS.mdf │ └── SUFORS_log.ldf │ ├── UserControls │ ├── UserInfoBar.ascx │ ├── MainMenu.ascx │ ├── MainMenu.ascx.cs │ └── UserInfoBar.ascx.cs │ ├── Default.aspx.cs │ ├── MasterPage.master.cs │ ├── ReportEdit.aspx.cs │ ├── App_Code │ ├── SiteNavigationHelper.cs │ └── CitizenHelper.cs │ ├── CitizenList.aspx.cs │ ├── CitizenDetail.aspx.cs │ ├── CitizenEdit.aspx.cs │ ├── CitizenList.aspx │ ├── Default.aspx │ ├── MasterPage.master │ ├── ReportEdit.aspx │ ├── Styles │ └── style.css │ ├── CitizenEdit.aspx │ └── CitizenDetail.aspx ├── Tests ├── Class1.cs ├── Properties │ └── AssemblyInfo.cs └── Tests.csproj └── SUFORS.sln /.gitignore: -------------------------------------------------------------------------------- 1 | _ReSharper* 2 | *.resharper* 3 | bin 4 | obj 5 | *.suo 6 | *.zip 7 | *.cache 8 | *.user 9 | Thumbs.db -------------------------------------------------------------------------------- /SUFORSSchema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORSSchema.png -------------------------------------------------------------------------------- /ThirdParty/NUnit/Logo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/Logo.ico -------------------------------------------------------------------------------- /ThirdParty/NUnit/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/license.txt -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/favicon.ico -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/logo.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/mainMenu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/mainMenu.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/vsSupport.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/vsSupport.html -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Images/bg_body.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/Images/bg_body.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/configFiles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/configFiles.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/contextMenu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/contextMenu.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/bulletOn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/bulletOn.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/miniGui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/miniGui.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testTab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testTab.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testsTab.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testsTab.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/quickStart.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/quickStart.html -------------------------------------------------------------------------------- /ThirdParty/RhinoMocks/Rhino.Mocks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/RhinoMocks/Rhino.Mocks.dll -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/App_Data/SUFORS.mdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/App_Data/SUFORS.mdf -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Images/bg_topbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/Images/bg_topbar.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/configEditor.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/configEditor.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/bulletOff.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/bulletOff.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/displayTab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/displayTab.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/generalTab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/generalTab.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/gui-verify.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/gui-verify.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/langFilter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/langFilter.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/resultTab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/resultTab.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/releaseDetail.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/releaseDetail.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/releaseNotes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/releaseNotes.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/settingsDialog.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/settingsDialog.html -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/testProperties.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/testProperties.html -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/App_Data/SUFORS_log.ldf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/App_Data/SUFORS_log.ldf -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/files/QuickStart.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/files/QuickStart.doc -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/addinsDialog.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/addinsDialog.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/assembliesTab.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/assembliesTab.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/configEditor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/configEditor.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/console-mock.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/console-mock.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/optionsDialog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/optionsDialog.jpg -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Images/mnu_topshadow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/Images/mnu_topshadow.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/advancedSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/advancedSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/generalOptions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/generalOptions.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/generalSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/generalSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/gui-screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/gui-screenshot.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testLoadOptions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testLoadOptions.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testLoadSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testLoadSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testProperties.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testProperties.jpg -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Images/mnu_bottomshadow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/SUFORS V.1/Src/Web/Images/mnu_bottomshadow.gif -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testOutputOptions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testOutputOptions.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testOutputSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testOutputSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testResultOptions.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testResultOptions.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/testResultSettings.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/testResultSettings.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/textOutputOptions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/textOutputOptions.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/textOutputSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/textOutputSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/treeDisplayOptions.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/treeDisplayOptions.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/files/QuickStart.Spanish.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/files/QuickStart.Spanish.doc -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/assemblyReloadOptions.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/assemblyReloadOptions.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/treeDisplaySettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/treeDisplaySettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/visualStudioOptions.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/visualStudioOptions.JPG -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/visualStudioSettings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/visualStudioSettings.jpg -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/img/assemblyReloadSettings.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcbozonier/olympia_software_craftsmanship_workshop/master/ThirdParty/NUnit/doc/img/assemblyReloadSettings.JPG -------------------------------------------------------------------------------- /SUFORS V.1/Tests/Class1.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Tests 7 | { 8 | public class Class1 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/UserControls/UserInfoBar.ascx: -------------------------------------------------------------------------------- 1 | <%@ Control Language="C#" AutoEventWireup="true" CodeFile="UserInfoBar.ascx.cs" Inherits="UserControls_UserInfoBar" %> 2 | Home | Sitemap | Contact Us -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/failures/cs-failures.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/syntax/cs-syntax.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/failures/vb-failures.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/syntax/vb-syntax.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Default.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | public partial class _Default : System.Web.UI.Page 9 | { 10 | protected void Page_Load(object sender, EventArgs e) 11 | { 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/jsharp/failures/jsharp-failures.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/syntax/cpp-cli-syntax.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/UserControls/MainMenu.ascx: -------------------------------------------------------------------------------- 1 | <%@ Control Language="C#" AutoEventWireup="true" CodeFile="MainMenu.ascx.cs" Inherits="UserControls_MainMenu" %> 2 | Home 3 | About Us 4 | Products 5 | Our Services 6 | Contact Us -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/UserControls/MainMenu.ascx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | public partial class UserControls_MainMenu : System.Web.UI.UserControl 9 | { 10 | protected void Page_Load(object sender, EventArgs e) 11 | { 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/UserControls/UserInfoBar.ascx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | public partial class UserControls_UserInfoBar : System.Web.UI.UserControl 9 | { 10 | protected void Page_Load(object sender, EventArgs e) 11 | { 12 | 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/MasterPage.master.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | public partial class MasterPage : System.Web.UI.MasterPage 9 | { 10 | protected void Page_Load(object sender, EventArgs e) 11 | { 12 | this._dateLabel.Text = DateTime.Now.ToString("MMMM dd, yyyy"); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/money/vb-money.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/money/cs-money.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/ReportEdit.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | 8 | public partial class ReportEdit : System.Web.UI.Page 9 | { 10 | protected void Page_Load(object sender, EventArgs e) 11 | { 12 | 13 | } 14 | 15 | protected void PageCommand(object sender, CommandEventArgs e) 16 | { 17 | throw new NotImplementedException(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/Minimal/Minimal.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/SampleFixtureExtension.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionAttribute.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | 9 | namespace NUnit.Core.Extensions 10 | { 11 | /// 12 | /// SampleSuiteExtensionAttribute is used to identify a SampleSuiteExtension fixture 13 | /// 14 | [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] 15 | public sealed class SampleSuiteExtensionAttribute : Attribute 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/SampleFixtureExtensionAttribute.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | 9 | namespace NUnit.Core.Extensions 10 | { 11 | /// 12 | /// SampleFixtureExtensionAttribute is used to identify a SampleFixtureExtension class 13 | /// 14 | [AttributeUsage(AttributeTargets.Class, AllowMultiple=false)] 15 | public sealed class SampleFixtureExtensionAttribute : Attribute 16 | { 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/failures/cpp-cli-failures.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/failures/cppsample.h: -------------------------------------------------------------------------------- 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 | 9 | using namespace System; 10 | using namespace NUnit::Framework; 11 | 12 | namespace NUnitSamples 13 | { 14 | [TestFixture] 15 | public ref 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(InvalidOperationException::typeid)] void ExpectAnException(); 27 | }; 28 | } 29 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/managed/failures/cppsample.h: -------------------------------------------------------------------------------- 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 | 9 | using namespace System; 10 | using namespace NUnit::Framework; 11 | 12 | namespace 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 | } 29 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/jsharp/jsharp.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{E6FDF86B-F3D1-11D4-8576-0002A516ECE8}") = "jsharp-failures", "failures\jsharp-failures.vjsproj", "{B55A6E53-57A9-4205-B396-C9983B3AF46A}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfiguration) = preSolution 8 | Debug = Debug 9 | Release = Release 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {B55A6E53-57A9-4205-B396-C9983B3AF46A}.Debug.ActiveCfg = Debug|.NET 13 | {B55A6E53-57A9-4205-B396-C9983B3AF46A}.Debug.Build.0 = Debug|.NET 14 | {B55A6E53-57A9-4205-B396-C9983B3AF46A}.Release.ActiveCfg = Release|.NET 15 | {B55A6E53-57A9-4205-B396-C9983B3AF46A}.Release.Build.0 = Release|.NET 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using System.Reflection; 9 | 10 | namespace NUnit.Core.Extensions.Tests 11 | { 12 | /// 13 | /// Test class that demonstrates SampleSuiteExtension 14 | /// 15 | [SampleSuiteExtension] 16 | public class SampleSuiteExtensionTests 17 | { 18 | public void SampleTest1() 19 | { 20 | Console.WriteLine( "Hello from sample test 1" ); 21 | } 22 | 23 | public void SampleTest2() 24 | { 25 | Console.WriteLine( "Hello from sample test 2" ); 26 | } 27 | 28 | public void NotATest() 29 | { 30 | Console.WriteLine( "I shouldn't be called!" ); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/managed/managed-cpp.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-managed-failures", "failures\cpp-managed-failures.vcproj", "{7E5849C7-0469-4AD2-91B9-C87203934254}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfiguration) = preSolution 8 | Debug = Debug 9 | Release = Release 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {7E5849C7-0469-4AD2-91B9-C87203934254}.Debug.ActiveCfg = Debug|Win32 13 | {7E5849C7-0469-4AD2-91B9-C87203934254}.Debug.Build.0 = Debug|Win32 14 | {7E5849C7-0469-4AD2-91B9-C87203934254}.Release.ActiveCfg = Release|Win32 15 | {7E5849C7-0469-4AD2-91B9-C87203934254}.Release.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/Addin.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using NUnit.Core.Extensibility; 9 | 10 | namespace NUnit.Core.Extensions 11 | { 12 | /// 13 | /// Summary description for Addin. 14 | /// 15 | [NUnitAddin(Name="SampleSuiteExtension", Description = "Recognizes Tests starting with SampleTest...")] 16 | public class Addin : IAddin 17 | { 18 | #region IAddin Members 19 | public bool Install(IExtensionHost host) 20 | { 21 | IExtensionPoint builders = host.GetExtensionPoint( "SuiteBuilders" ); 22 | if ( builders == null ) 23 | return false; 24 | 25 | builders.Install( new SampleSuiteExtensionBuilder() ); 26 | return true; 27 | } 28 | #endregion 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/App_Code/SiteNavigationHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Web; 3 | 4 | namespace Sufors.Helpers 5 | { 6 | /// 7 | /// TODO: Figure out what this class should be doing. 8 | /// 9 | public static class SiteNavigationHelper 10 | { 11 | private const string HomeUrl = "~/Default.aspx"; 12 | 13 | /// 14 | /// TODO: Decouple from HttpContext so this can be made testable. 15 | /// 16 | public static void NavigateToHome() 17 | { 18 | HttpContext.Current.Response.Redirect(HomeUrl); 19 | } 20 | 21 | /// 22 | /// TODO: Decouple from HttpContext so this is testable. 23 | /// 24 | public static void NavigateToReturnPage() 25 | { 26 | var returnUrl = HttpContext.Current.Session["_returnUrl"] as string; 27 | if(String.IsNullOrEmpty(returnUrl)) 28 | NavigateToHome(); 29 | 30 | HttpContext.Current.Response.Redirect(returnUrl); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/Minimal/ReadMe.txt: -------------------------------------------------------------------------------- 1 | Minimal Addin Example 2 | 3 | 4 | MinimalAddin Class 5 | 6 | This class represents the addin. It is marked by the NUnitAddinAttribute 7 | and implements the required IAddin interface. When called by NUnit to 8 | install itself, it simply returns false. 9 | 10 | Note on Building this Extension 11 | 12 | If you use the Visual Studio solution, the NUnit references in both 13 | included projects must be changed so that they refer to the copy of 14 | NUnit in which you want to install the extension. The post-build step 15 | for the SampleSuiteExtension project must be changed to copy the 16 | extension into the addins directory for your NUnit install. 17 | 18 | NOTE: 19 | 20 | The references to nunit.core and nunit.common in the 21 | SampleSuiteExtension project have their Copy Local property set to 22 | false, rather than the Visual Studio default of true. In developing 23 | extensions, it is essential there be no extra copies of these assemblies 24 | be created. Once the extension is complete, those who install it in 25 | binary form will not need to deal with this issue. 26 | 27 | 28 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/managed/failures/cpp-managed-failures.build: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/failures/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System.Reflection 2 | Imports System.Runtime.InteropServices 3 | 4 | ' General Information about an assembly is controlled through the following 5 | ' set of attributes. Change these attribute values to modify the information 6 | ' associated with an assembly. 7 | 8 | ' Review the values of the assembly attributes 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 19 | 20 | 21 | ' Version information for an assembly consists of the following four values: 22 | ' 23 | ' Major Version 24 | ' Minor Version 25 | ' Build Number 26 | ' Revision 27 | ' 28 | ' You can specify all the values or you can default the Build and Revision Numbers 29 | ' by using the '*' as shown below: 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/money/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 20 | 21 | 22 | ' Version information for an assembly consists of the following four values: 23 | ' 24 | ' Major Version 25 | ' Minor Version 26 | ' Build Number 27 | ' Revision 28 | ' 29 | ' You can specify all the values or you can default the Build and Revision Numbers 30 | ' by using the '*' as shown below: 31 | 32 | 33 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/syntax/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 20 | 21 | 22 | ' Version information for an assembly consists of the following four values: 23 | ' 24 | ' Major Version 25 | ' Minor Version 26 | ' Build Number 27 | ' Revision 28 | ' 29 | ' You can specify all the values or you can default the Build and Revision Numbers 30 | ' by using the '*' as shown below: 31 | 32 | 33 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/managed/failures/cppsample.cpp: -------------------------------------------------------------------------------- 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 | #include "cppsample.h" 8 | 9 | namespace NUnitSamples { 10 | 11 | void SimpleCPPSample::Init() { 12 | fValue1 = 2; 13 | fValue2 = 3; 14 | } 15 | 16 | void SimpleCPPSample::Add() { 17 | int result = fValue1 + fValue2; 18 | Assert::AreEqual(6,result); 19 | } 20 | 21 | void SimpleCPPSample::DivideByZero() 22 | { 23 | int zero= 0; 24 | int result= 8/zero; 25 | } 26 | 27 | void SimpleCPPSample::Equals() { 28 | Assert::AreEqual(12, 12, "Integer"); 29 | Assert::AreEqual(12L, 12L, "Long"); 30 | Assert::AreEqual('a', 'a', "Char"); 31 | 32 | 33 | Assert::AreEqual(12, 13, "Expected Failure (Integer)"); 34 | Assert::AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)"); 35 | } 36 | 37 | void SimpleCPPSample::IgnoredTest() 38 | { 39 | throw new InvalidCastException(); 40 | } 41 | 42 | void SimpleCPPSample::ExpectAnException() 43 | { 44 | throw new InvalidCastException(); 45 | } 46 | 47 | } 48 | 49 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/failures/cppsample.cpp: -------------------------------------------------------------------------------- 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 | #include "cppsample.h" 8 | 9 | namespace NUnitSamples { 10 | 11 | void SimpleCPPSample::Init() { 12 | fValue1 = 2; 13 | fValue2 = 3; 14 | } 15 | 16 | void SimpleCPPSample::Add() { 17 | int result = fValue1 + fValue2; 18 | Assert::AreEqual(6,result); 19 | } 20 | 21 | void SimpleCPPSample::DivideByZero() 22 | { 23 | int zero= 0; 24 | int result= 8/zero; 25 | } 26 | 27 | void SimpleCPPSample::Equals() { 28 | Assert::AreEqual(12, 12, "Integer"); 29 | Assert::AreEqual(12L, 12L, "Long"); 30 | Assert::AreEqual('a', 'a', "Char"); 31 | 32 | 33 | Assert::AreEqual(12, 13, "Expected Failure (Integer)"); 34 | Assert::AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)"); 35 | } 36 | 37 | void SimpleCPPSample::IgnoredTest() 38 | { 39 | throw gcnew InvalidCastException(); 40 | } 41 | 42 | void SimpleCPPSample::ExpectAnException() 43 | { 44 | throw gcnew InvalidCastException(); 45 | } 46 | 47 | } 48 | 49 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/money/IMoney.cs: -------------------------------------------------------------------------------- 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 | namespace NUnit.Samples.Money 8 | { 9 | 10 | /// The common interface for simple Monies and MoneyBags. 11 | interface IMoney 12 | { 13 | 14 | /// Adds a money to this money. 15 | IMoney Add(IMoney m); 16 | 17 | /// Adds a simple Money to this money. This is a helper method for 18 | /// implementing double dispatch. 19 | IMoney AddMoney(Money m); 20 | 21 | /// Adds a MoneyBag to this money. This is a helper method for 22 | /// implementing double dispatch. 23 | IMoney AddMoneyBag(MoneyBag s); 24 | 25 | /// True if this money is zero. 26 | bool IsZero { get; } 27 | 28 | /// Multiplies a money by the given factor. 29 | IMoney Multiply(int factor); 30 | 31 | /// Negates this money. 32 | IMoney Negate(); 33 | 34 | /// Subtracts a money from this money. 35 | IMoney Subtract(IMoney m); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using NUnit.Framework; 9 | using NUnit.Core.Extensions; 10 | 11 | namespace NUnit.Extensions.Tests 12 | { 13 | /// 14 | /// Test class that demonstrates SampleFixtureExtension 15 | /// 16 | [SampleFixtureExtension] 17 | public class SampleFixtureExtensionTests 18 | { 19 | [TestFixtureSetUp] 20 | public void SetUpTests() 21 | { 22 | Console.WriteLine( "TestFixtureSetUp called" ); 23 | } 24 | 25 | [TestFixtureTearDown] 26 | public void FixtureTearDown() 27 | { 28 | Console.WriteLine( "TestFixtureTearDown called" ); 29 | } 30 | 31 | [Test] 32 | public void SomeTest() 33 | { 34 | Console.WriteLine( "Hello from some test" ); 35 | } 36 | 37 | [Test] 38 | public void AnotherTest() 39 | { 40 | Console.WriteLine( "Hello from another test" ); 41 | } 42 | 43 | public void NotATest() 44 | { 45 | Console.WriteLine( "I shouldn't be called!" ); 46 | } 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/Minimal/Minimal.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using NUnit.Core.Extensibility; 9 | 10 | namespace NUnit.Samples.Extensibility 11 | { 12 | /// 13 | /// This is the smallest possible Addin, which does nothing 14 | /// but is recognized by NUnit and listed in the Addins dialog. 15 | /// 16 | /// The Addin class is marked by the NUnitAddin attribute and 17 | /// implements IAddin, as required. Optional property syntax 18 | /// is used here to override the default name of the addin and 19 | /// to provide a description. Both are displayed by NUnit in the 20 | /// Addin Dialog. 21 | /// 22 | /// The addin doesn't actually install anything, but simply 23 | /// returns false in its Install method. 24 | /// 25 | [NUnitAddin(Name="Minimal Addin", Description="This Addin doesn't do anything")] 26 | public class Minimal : IAddin 27 | { 28 | #region IAddin Members 29 | public bool Install(IExtensionHost host) 30 | { 31 | // TODO: Add Minimal.Install implementation 32 | return true; 33 | } 34 | #endregion 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/money/IMoney.vb: -------------------------------------------------------------------------------- 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 | Namespace NUnit.Samples 8 | 9 | 'The common interface for simple Monies and MoneyBags. 10 | Public Interface IMoney 11 | 12 | 'Adds a money to this money 13 | Function Add(ByVal m As IMoney) As IMoney 14 | 15 | 'Adds a simple Money to this money. This is a helper method for 16 | 'implementing double dispatch. 17 | Function AddMoney(ByVal m As Money) As IMoney 18 | 19 | 'Adds a MoneyBag to this money. This is a helper method for 20 | 'implementing double dispatch. 21 | Function AddMoneyBag(ByVal s As MoneyBag) As IMoney 22 | 23 | 'True if this money is zero. 24 | ReadOnly Property IsZero() As Boolean 25 | 26 | 'Multiplies a money by the given factor. 27 | Function Multiply(ByVal factor As Int32) As IMoney 28 | 29 | 'Negates this money. 30 | Function Negate() As IMoney 31 | 32 | 'Subtracts a money from this money. 33 | Function Subtract(ByVal m As IMoney) As IMoney 34 | 35 | End Interface 36 | 37 | End Namespace 38 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/App_Code/CitizenHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Web; 3 | 4 | namespace Sufors.Helpers 5 | { 6 | /// 7 | /// TODO: What is the purpose of this class? 8 | /// 9 | public static class CitizenHelper 10 | { 11 | private const string DetailUrl = "~/CitizenDetail.aspx?id={0}"; 12 | private const string NewUrl = "~/CitizenEdit.aspx?id=New"; 13 | private const string EditUrl = "~/CitizenEdit.aspx?id={0}"; 14 | 15 | /// 16 | /// TODO: Directly bound to HttpContext and completely untestable. 17 | /// 18 | /// 19 | public static void NavigateToCitizenDetail(int id) 20 | { 21 | HttpContext.Current.Response.Redirect(string.Format(DetailUrl,id)); 22 | } 23 | 24 | /// 25 | /// TODO: Directly bound to HttpContext and completely untestable. 26 | /// 27 | public static void NaviateToNewCitizen() 28 | { 29 | HttpContext.Current.Response.Redirect(NewUrl); 30 | } 31 | 32 | /// 33 | /// TODO: Directly bound to HttpContext and completely untestable. 34 | /// 35 | /// 36 | public static void NaviateToEditCitizen(int id) 37 | { 38 | HttpContext.Current.Response.Redirect(string.Format(EditUrl,id)); 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/syntax/AssemblyInfo.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | using namespace System; 4 | using namespace System::Reflection; 5 | using namespace System::Runtime::CompilerServices; 6 | using namespace System::Runtime::InteropServices; 7 | using namespace System::Security::Permissions; 8 | 9 | // 10 | // General Information about an assembly is controlled through the following 11 | // set of attributes. Change these attribute values to modify the information 12 | // associated with an assembly. 13 | // 14 | [assembly:AssemblyTitleAttribute("cppclisyntax")]; 15 | [assembly:AssemblyDescriptionAttribute("")]; 16 | [assembly:AssemblyConfigurationAttribute("")]; 17 | [assembly:AssemblyCompanyAttribute("")]; 18 | [assembly:AssemblyProductAttribute("cppclisyntax")]; 19 | [assembly:AssemblyCopyrightAttribute("Copyright (c) 2007")]; 20 | [assembly:AssemblyTrademarkAttribute("")]; 21 | [assembly:AssemblyCultureAttribute("")]; 22 | 23 | // 24 | // Version information for an assembly consists of the following four values: 25 | // 26 | // Major Version 27 | // Minor Version 28 | // Build Number 29 | // Revision 30 | // 31 | // You can specify all the value or you can default the Revision and Build Numbers 32 | // by using the '*' as shown below: 33 | 34 | [assembly:AssemblyVersionAttribute("1.0.*")]; 35 | 36 | [assembly:ComVisible(false)]; 37 | 38 | [assembly:CLSCompliantAttribute(true)]; 39 | 40 | [assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; 41 | -------------------------------------------------------------------------------- /SUFORS V.1/Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Tests")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Tests")] 13 | [assembly: AssemblyCopyright("Copyright © 2009")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("3e6a7d62-d527-4efc-9f07-06a31d822258")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/files/Summary.xslt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Tests run: 11 | 12 | , Failures: 13 | 14 | , Not run: 15 | 16 | , Time: 17 | 18 | seconds 19 | 20 | 21 | 22 | 23 | Failures: 24 | 25 | 26 | Tests not run: 27 | 28 | 29 | 30 | 31 | 32 | 33 | ) 34 | 35 | : 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /SUFORS V.1/SUFORS.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual Studio 2008 4 | Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Web", "Src\Web\", "{FC770388-E58E-42EC-BD35-B93B10BB735F}" 5 | ProjectSection(WebsiteProperties) = preProject 6 | TargetFramework = "3.5" 7 | Debug.AspNetCompiler.VirtualPath = "/Web" 8 | Debug.AspNetCompiler.PhysicalPath = "Src\Web\" 9 | Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\" 10 | Debug.AspNetCompiler.Updateable = "true" 11 | Debug.AspNetCompiler.ForceOverwrite = "true" 12 | Debug.AspNetCompiler.FixedNames = "false" 13 | Debug.AspNetCompiler.Debug = "True" 14 | Release.AspNetCompiler.VirtualPath = "/Web" 15 | Release.AspNetCompiler.PhysicalPath = "Src\Web\" 16 | Release.AspNetCompiler.TargetPath = "PrecompiledWeb\Web\" 17 | Release.AspNetCompiler.Updateable = "true" 18 | Release.AspNetCompiler.ForceOverwrite = "true" 19 | Release.AspNetCompiler.FixedNames = "false" 20 | Release.AspNetCompiler.Debug = "False" 21 | VWDPort = "4118" 22 | EndProjectSection 23 | EndProject 24 | Global 25 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 26 | Debug|Any CPU = Debug|Any CPU 27 | EndGlobalSection 28 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 29 | {FC770388-E58E-42EC-BD35-B93B10BB735F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 30 | {FC770388-E58E-42EC-BD35-B93B10BB735F}.Debug|Any CPU.Build.0 = Debug|Any CPU 31 | EndGlobalSection 32 | GlobalSection(SolutionProperties) = preSolution 33 | HideSolutionNode = FALSE 34 | EndGlobalSection 35 | EndGlobal 36 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenList.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Web.UI; 3 | using System.Web.UI.WebControls; 4 | using Sufors.Helpers; 5 | 6 | public partial class CitizenList : Page 7 | { 8 | protected void Page_Load(object sender, EventArgs e) 9 | { 10 | // This is an appropriate UI function. 11 | _newLink.Command += PageCommand; 12 | } 13 | 14 | /// 15 | /// TODO: Parsing with no error checking?? Untestable. UI deciding where to navigate to? pfft. 16 | /// 17 | /// 18 | /// 19 | protected void GridCommand(object sender, GridViewCommandEventArgs e) 20 | { 21 | var grid = e.CommandSource as GridView; 22 | int rowIndex = int.Parse(e.CommandArgument.ToString()); 23 | var id = (int) grid.DataKeys[rowIndex]["Id"]; 24 | 25 | switch (e.CommandName) 26 | { 27 | case "Select": 28 | CitizenHelper.NavigateToCitizenDetail(id); 29 | break; 30 | } 31 | } 32 | 33 | /// 34 | /// TODO: Once again let's push this down a layer. 35 | /// 36 | /// 37 | /// 38 | protected void PageCommand(object sender, CommandEventArgs e) 39 | { 40 | switch (e.CommandName) 41 | { 42 | case "New": 43 | CitizenHelper.NaviateToNewCitizen(); 44 | break; 45 | case "Cancel": 46 | break; 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtensionBuilder.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using NUnit.Core.Extensibility; 9 | 10 | namespace NUnit.Core.Extensions 11 | { 12 | /// 13 | /// SampleSuiteExtensionBuilder knows how to build a SampleSuiteExtension 14 | /// 15 | public class SampleSuiteExtensionBuilder : ISuiteBuilder 16 | { 17 | #region ISuiteBuilder Members 18 | 19 | // This builder delegates all the work to the constructor of the 20 | // extension suite. Many builders will need to do more work, 21 | // looking for other attributes, setting properties on the 22 | // suite and locating methods for tests, setup and teardown. 23 | public Test BuildFrom(Type type) 24 | { 25 | if ( CanBuildFrom( type ) ) 26 | return new SampleSuiteExtension( type ); 27 | return null; 28 | } 29 | 30 | // The builder recognizes the types that it can use by the presense 31 | // of SampleSuiteExtensionAttribute. Note that an attribute does not 32 | // have to be used. You can use any arbitrary set of rules that can be 33 | // implemented using reflection on the type. 34 | public bool CanBuildFrom(Type type) 35 | { 36 | return Reflect.HasAttribute( type, "NUnit.Core.Extensions.SampleSuiteExtensionAttribute", false ); 37 | } 38 | 39 | #endregion 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/SampleSuiteExtension.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using System.Reflection; 9 | 10 | namespace NUnit.Core.Extensions 11 | { 12 | /// 13 | /// SampleSuiteExtension is a minimal example of a suite extension. It 14 | /// extends test suite and creates a fixture that runs every test starting 15 | /// with "SampleTest..." Because it inherits from TestSuite, rather than 16 | /// TestFixture, it has to construct its own fixture object and find its 17 | /// own tests. Everything is done in the constructor for simplicity. 18 | /// 19 | class SampleSuiteExtension : TestSuite 20 | { 21 | public SampleSuiteExtension( Type fixtureType ) 22 | : base( fixtureType ) 23 | { 24 | // Create the fixture object. We could wait to do this when 25 | // it is needed, but we do it here for simplicity. 26 | this.Fixture = Reflect.Construct( fixtureType ); 27 | 28 | // Locate our test methods and add them to the suite using 29 | // the Add method of TestSuite. Note that we don't do a simple 30 | // Tests.Add, because that wouldn't set the parent of the tests. 31 | foreach( MethodInfo method in fixtureType.GetMethods( 32 | BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly ) ) 33 | { 34 | if ( method.Name.StartsWith( "SampleTest" ) ) 35 | this.Add( new NUnitTestMethod( method ) ); 36 | } 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenDetail.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Web; 5 | using System.Web.UI; 6 | using System.Web.UI.WebControls; 7 | using Sufors.Helpers; 8 | 9 | public partial class CitizenDetail : System.Web.UI.Page 10 | { 11 | // TODO: Storing an int at this level makes things harder because an int has no context. 12 | private int id; 13 | 14 | /// 15 | /// TODO: Currently handling what appears to be session management responsibilities. 16 | /// 17 | /// 18 | /// 19 | protected void Page_Load(object sender, EventArgs e) 20 | { 21 | //TODO: Looks like we're basically trying persist a citizen to view detail on here. We can do better. 22 | id = int.Parse(Request.QueryString.Get("id")); 23 | 24 | //TODO: This one line contains a couple of responsibilities that could be mingled with similar functionality instead. 25 | Session.Add("_returnUrl", Request.UrlReferrer.PathAndQuery); 26 | 27 | 28 | } 29 | 30 | protected void PageCommand(object sender, CommandEventArgs e) 31 | { 32 | // TODO: This switch statement should be pushed down to a level/layer where we can test. 33 | switch (e.CommandName) 34 | { 35 | case "Edit": 36 | CitizenHelper.NaviateToEditCitizen(id); 37 | break; 38 | case "Add": 39 | break; 40 | case "Cancel": 41 | 42 | break; 43 | } 44 | 45 | // TODO: The page/view should not be orchestrating its own redirect. 46 | SiteNavigationHelper.NavigateToReturnPage(); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/jsharp/failures/jsharp-failures.vjsproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/SampleFixtureExtension.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | 9 | namespace NUnit.Core.Extensions 10 | { 11 | /// 12 | /// SampleFixtureExtension extends NUnitTestFixture and adds a custom setup 13 | /// before running TestFixtureSetUp and after running TestFixtureTearDown. 14 | /// Because it inherits from NUnitTestFixture, a lot of work is done for it. 15 | /// 16 | class SampleFixtureExtension : NUnitTestFixture 17 | { 18 | public SampleFixtureExtension( Type fixtureType ) 19 | : base( fixtureType ) 20 | { 21 | // NOTE: Since we are inheriting from NUnitTestFixture we don't 22 | // have to do anything if we don't want to. All the attributes 23 | // that are normally used with an NUnitTestFixture will be 24 | // recognized. 25 | // 26 | // Just to have something to do, we override DoOneTimeSetUp and 27 | // DoOneTimeTearDown below to do some special processing before 28 | // and after the normal TestFixtureSetUp and TestFixtureTearDown. 29 | // In this example, we simply display a message. 30 | } 31 | 32 | protected override void DoOneTimeSetUp(TestResult suiteResult) 33 | { 34 | Console.WriteLine( "Extended Fixture SetUp called" ); 35 | base.DoOneTimeSetUp (suiteResult); 36 | } 37 | 38 | protected override void DoOneTimeTearDown(TestResult suiteResult) 39 | { 40 | base.DoOneTimeTearDown (suiteResult); 41 | Console.WriteLine( "Extended Fixture TearDown called" ); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/failures/SimpleVBTest.vb: -------------------------------------------------------------------------------- 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 | Option Explicit On 8 | Imports System 9 | Imports NUnit.Framework 10 | 11 | Namespace NUnit.Samples 12 | 13 | Public Class SimpleVBTest 14 | 15 | Private fValue1 As Integer 16 | Private fValue2 As Integer 17 | 18 | Public Sub New() 19 | MyBase.New() 20 | End Sub 21 | 22 | Public Sub Init() 23 | fValue1 = 2 24 | fValue2 = 3 25 | End Sub 26 | 27 | Public Sub Add() 28 | Dim result As Double 29 | 30 | result = fValue1 + fValue2 31 | Assert.AreEqual(6, result) 32 | End Sub 33 | 34 | Public Sub DivideByZero() 35 | Dim zero As Integer 36 | Dim result As Integer 37 | 38 | zero = 0 39 | result = 8 / zero 40 | End Sub 41 | 42 | Public Sub TestEquals() 43 | Assert.AreEqual(12, 12) 44 | Assert.AreEqual(CLng(12), CLng(12)) 45 | 46 | Assert.AreEqual(12, 13, "Size") 47 | Assert.AreEqual(12, 11.99, 0, "Capacity") 48 | End Sub 49 | 50 | Public Sub ExpectAnException() 51 | Throw New InvalidCastException() 52 | End Sub 53 | 54 | Public Sub IgnoredTest() 55 | ' does not matter what we type the test is not run 56 | Throw New ArgumentException() 57 | End Sub 58 | 59 | End Class 60 | End Namespace -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/codeFuncs.js: -------------------------------------------------------------------------------- 1 | window.onload = init; 2 | 3 | var langElements = new Array(); 4 | 5 | function init() { 6 | var els = document.getElementsByTagName( 'pre' ); 7 | var elsLen = els.length; 8 | var pattern = new RegExp('(^|\\s)(cs|vb|mc|js)(\\s|$)'); 9 | for (i = 0, j = 0; i < elsLen; i++) { 10 | if ( pattern.test(els[i].className) ) { 11 | //els[i].style.background = "#fcc"; 12 | langElements[j] = els[i]; 13 | j++; 14 | } 15 | } 16 | 17 | var lang = getCookie( "lang" ); 18 | if ( lang == null ) lang = "cs"; 19 | showLang(lang); 20 | } 21 | 22 | function getCookie(name) { 23 | var cname = name + "="; 24 | var dc = document.cookie; 25 | if ( dc.length > 0 ) { 26 | begin = dc.indexOf(cname); 27 | if ( begin != -1 ) { 28 | begin += cname.length; 29 | end = dc.indexOf(";",begin); 30 | if (end == -1) end = dc.length; 31 | return unescape(dc.substring(begin, end) ); 32 | } 33 | } 34 | } 35 | 36 | function setCookie(name,value,expires) { 37 | document.cookie = name + "=" + escape(value) + "; path=/" + 38 | ((expires == null) ? "" : "; expires=" + expires.toGMTString()); 39 | } 40 | 41 | function showLang(lang) { 42 | var pattern = new RegExp('(^|\\s)'+lang+'(\\s|$)'); 43 | var elsLen = langElements.length; 44 | for (i = 0; i < elsLen; i++ ) 45 | { 46 | var el = langElements[i]; 47 | if ( pattern.test( el.className ) ) 48 | el.style.display = ""; 49 | else 50 | el.style.display = "none"; 51 | } 52 | setCookie("lang",lang); 53 | } 54 | 55 | function Show( id ) { 56 | document.getElementById(id).style.display = ""; 57 | } 58 | 59 | function Hide( id ) { 60 | document.getElementById(id).style.display = "none"; 61 | } 62 | 63 | function ShowCS() { 64 | showLang('cs'); 65 | } 66 | 67 | function ShowVB() { 68 | showLang('vb'); 69 | } 70 | 71 | function ShowMC() { 72 | showLang('mc'); 73 | } 74 | 75 | function ShowJS() { 76 | showLang('js'); 77 | } 78 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/ReadMe.txt: -------------------------------------------------------------------------------- 1 | SampleSuiteExtension Example 2 | 3 | This is a minimal example of a SuiteBuilder extension. It extends 4 | NUnit.Core.TestSuite test suite and creates a fixture that runs every 5 | test starting with "SampleTest..." It packages both the core extension 6 | and the attribute used in the tests in the same assembly. 7 | 8 | SampleSuiteExtension Class 9 | 10 | This class derives from NUnit.Framework.TestSuite and represents the 11 | extended suite within NUnit. Because it inherits from TestSuite, 12 | rather than TestFixture, it has to construct its own fixture object and 13 | find its own tests. Everything is done in the constructor for simplicity. 14 | 15 | SampleSuiteExtensionBuilder 16 | 17 | This class is the actual SuiteBuilder loaded by NUnit as an add-in. 18 | It recognizes the SampleSuiteExtensionAttribute and invokes the 19 | SampleSuiteExtension constructor to build the suite. 20 | 21 | SampleSuiteExtensionAttribute 22 | 23 | This is the special attribute used to mark tests to be constructed 24 | using this add-in. It is the only class referenced from the user tests. 25 | 26 | Note on Building this Extension 27 | 28 | If you use the Visual Studio solution, the NUnit references in both 29 | included projects must be changed so that they refer to the copy of 30 | NUnit in which you want to install the extension. The post-build step 31 | for the SampleSuiteExtension project must be changed to copy the 32 | extension into the addins directory for your NUnit install. 33 | 34 | NOTE: 35 | 36 | The references to nunit.core and nunit.common in the 37 | SampleSuiteExtension project have their Copy Local property set to 38 | false, rather than the Visual Studio default of true. In developing 39 | extensions, it is essential there be no extra copies of these assemblies 40 | be created. Once the extension is complete, those who install it in 41 | binary form will not need to deal with this issue. 42 | 43 | 44 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/ReadMe.txt: -------------------------------------------------------------------------------- 1 | SampleSuiteExtension Example 2 | 3 | This is a minimal example of a SuiteBuilder extension. It extends 4 | NUnit.Core.TestSuite test suite and creates a fixture that runs every 5 | test starting with "SampleTest..." It packages both the core extension 6 | and the attribute used in the tests in the same assembly. 7 | 8 | SampleSuiteExtension Class 9 | 10 | This class derives from NUnit.Framework.TestSuite and represents the 11 | extended suite within NUnit. Because it inherits from TestSuite, 12 | rather than TestFixture, it has to construct its own fixture object and 13 | find its own tests. Everything is done in the constructor for simplicity. 14 | 15 | SampleSuiteExtensionBuilder 16 | 17 | This class is the actual SuiteBuilder loaded by NUnit as an add-in. 18 | It recognizes the SampleSuiteExtensionAttribute and invokes the 19 | SampleSuiteExtension constructor to build the suite. 20 | 21 | SampleSuiteExtensionAttribute 22 | 23 | This is the special attribute used to mark tests to be constructed 24 | using this add-in. It is the only class referenced from the user tests. 25 | 26 | Note on Building this Extension 27 | 28 | If you use the Visual Studio solution, the NUnit references in both 29 | included projects must be changed so that they refer to the copy of 30 | NUnit in which you want to install the extension. The post-build step 31 | for the SampleSuiteExtension project must be changed to copy the 32 | extension into the addins directory for your NUnit install. 33 | 34 | NOTE: 35 | 36 | The references to nunit.core and nunit.common in the 37 | SampleSuiteExtension project have their Copy Local property set to 38 | false, rather than the Visual Studio default of true. In developing 39 | extensions, it is essential there be no extra copies of these assemblies 40 | be created. Once the extension is complete, those who install it in 41 | binary form will not need to deal with this issue. 42 | 43 | 44 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenEdit.aspx.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Web.UI; 3 | using System.Web.UI.WebControls; 4 | using Sufors.Helpers; 5 | 6 | public partial class CitizenEdit : Page 7 | { 8 | /// 9 | /// TODO: This method appears to be managing the session, view mode, and persistence. Tsk tsk. Also untestable. 10 | /// 11 | /// 12 | /// 13 | protected void Page_Load(object sender, EventArgs e) 14 | { 15 | if (! Page.IsPostBack) 16 | { 17 | string id = Request.QueryString.Get("id"); 18 | Session.Add("_returnUrl", Request.UrlReferrer.PathAndQuery); 19 | switch (id) 20 | { 21 | case "New": 22 | case null: 23 | _citizenFormView.ChangeMode(FormViewMode.Insert); 24 | break; 25 | default: 26 | _citizenFormView.ChangeMode(FormViewMode.Edit); 27 | break; 28 | } 29 | 30 | 31 | _insertButton.Visible = _citizenFormView.CurrentMode == FormViewMode.Insert; 32 | _updateButton.Visible = _citizenFormView.CurrentMode == FormViewMode.Edit; 33 | } 34 | } 35 | 36 | /// 37 | /// TODO: I would rather have as much logic as possible in a testable class instead of the web UI. 38 | /// 39 | /// 40 | /// 41 | protected void PageCommand(object sender, CommandEventArgs e) 42 | { 43 | switch (e.CommandName) 44 | { 45 | case "Insert": 46 | _citizenFormView.InsertItem(false); 47 | break; 48 | case "Update": 49 | _citizenFormView.UpdateItem(false); 50 | break; 51 | case "Cancel": 52 | 53 | break; 54 | } 55 | 56 | SiteNavigationHelper.NavigateToReturnPage(); 57 | } 58 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/failures/vb-failures.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/CSharp.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-failures", "failures\cs-failures.csproj", "{15D66EEE-A852-4A52-89C2-83E74ECF3770}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-money", "money\cs-money.csproj", "{11EDF872-A04D-4F75-A1BF-71168DC86AF3}" 7 | ProjectSection(ProjectDependencies) = postProject 8 | EndProjectSection 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "cs-syntax", "syntax\cs-syntax.csproj", "{06F46FA2-687B-4B46-A912-C1B0B4CC1B20}" 11 | ProjectSection(ProjectDependencies) = postProject 12 | EndProjectSection 13 | EndProject 14 | Global 15 | GlobalSection(SolutionConfiguration) = preSolution 16 | Debug = Debug 17 | Release = Release 18 | EndGlobalSection 19 | GlobalSection(ProjectConfiguration) = postSolution 20 | {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Debug.ActiveCfg = Debug|.NET 21 | {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Debug.Build.0 = Debug|.NET 22 | {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Release.ActiveCfg = Release|.NET 23 | {15D66EEE-A852-4A52-89C2-83E74ECF3770}.Release.Build.0 = Release|.NET 24 | {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Debug.ActiveCfg = Debug|.NET 25 | {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Debug.Build.0 = Debug|.NET 26 | {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Release.ActiveCfg = Release|.NET 27 | {11EDF872-A04D-4F75-A1BF-71168DC86AF3}.Release.Build.0 = Release|.NET 28 | {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Debug.ActiveCfg = Debug|.NET 29 | {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Debug.Build.0 = Debug|.NET 30 | {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Release.ActiveCfg = Release|.NET 31 | {06F46FA2-687B-4B46-A912-C1B0B4CC1B20}.Release.Build.0 = Release|.NET 32 | EndGlobalSection 33 | GlobalSection(ExtensibilityGlobals) = postSolution 34 | EndGlobalSection 35 | GlobalSection(ExtensibilityAddIns) = postSolution 36 | EndGlobalSection 37 | EndGlobal 38 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/vb-samples.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "vb-failures", "failures\vb-failures.vbproj", "{F199991B-6C8E-4AB0-9AAA-703CD4897700}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "vb-money", "money\vb-money.vbproj", "{95394B96-A794-48EA-9879-0E4EC79C5724}" 7 | ProjectSection(ProjectDependencies) = postProject 8 | EndProjectSection 9 | EndProject 10 | Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "vb-syntax", "syntax\vb-syntax.vbproj", "{6BEF566A-2691-4EE8-91AF-0390CCCDDAF1}" 11 | ProjectSection(ProjectDependencies) = postProject 12 | EndProjectSection 13 | EndProject 14 | Global 15 | GlobalSection(SolutionConfiguration) = preSolution 16 | Debug = Debug 17 | Release = Release 18 | EndGlobalSection 19 | GlobalSection(ProjectConfiguration) = postSolution 20 | {F199991B-6C8E-4AB0-9AAA-703CD4897700}.Debug.ActiveCfg = Debug|.NET 21 | {F199991B-6C8E-4AB0-9AAA-703CD4897700}.Debug.Build.0 = Debug|.NET 22 | {F199991B-6C8E-4AB0-9AAA-703CD4897700}.Release.ActiveCfg = Release|.NET 23 | {F199991B-6C8E-4AB0-9AAA-703CD4897700}.Release.Build.0 = Release|.NET 24 | {95394B96-A794-48EA-9879-0E4EC79C5724}.Debug.ActiveCfg = Debug|.NET 25 | {95394B96-A794-48EA-9879-0E4EC79C5724}.Debug.Build.0 = Debug|.NET 26 | {95394B96-A794-48EA-9879-0E4EC79C5724}.Release.ActiveCfg = Release|.NET 27 | {95394B96-A794-48EA-9879-0E4EC79C5724}.Release.Build.0 = Release|.NET 28 | {6BEF566A-2691-4EE8-91AF-0390CCCDDAF1}.Debug.ActiveCfg = Debug|.NET 29 | {6BEF566A-2691-4EE8-91AF-0390CCCDDAF1}.Debug.Build.0 = Debug|.NET 30 | {6BEF566A-2691-4EE8-91AF-0390CCCDDAF1}.Release.ActiveCfg = Release|.NET 31 | {6BEF566A-2691-4EE8-91AF-0390CCCDDAF1}.Release.Build.0 = Release|.NET 32 | EndGlobalSection 33 | GlobalSection(ExtensibilityGlobals) = postSolution 34 | EndGlobalSection 35 | GlobalSection(ExtensibilityAddIns) = postSolution 36 | EndGlobalSection 37 | EndGlobal 38 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/failures/cs-failures.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/syntax/cs-syntax.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/jsharp/failures/JSharpTest.jsl: -------------------------------------------------------------------------------- 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 | package NUnit.Samples; 8 | 9 | import System.*; 10 | import NUnit.Framework.Assert; 11 | 12 | /** @attribute NUnit.Framework.TestFixture() */ 13 | public class SimpleJSharpTest 14 | { 15 | protected int fValue1; 16 | protected int fValue2; 17 | 18 | /** @attribute NUnit.Framework.SetUp() */ 19 | public void Init() 20 | { 21 | fValue1 = 2; 22 | fValue2 = 3; 23 | } 24 | 25 | /** @attribute NUnit.Framework.Test() */ 26 | public void Add() 27 | { 28 | int result= fValue1 + fValue2; 29 | Assert.AreEqual(6,result, "Expected Failure"); 30 | } 31 | 32 | /** @attribute NUnit.Framework.Test() */ 33 | public void DivideByZero() 34 | { 35 | int zero= 0; 36 | int result = 8/zero; 37 | KeepCompilerFromWarning(result); // never executed, here to avoid compiler warning that result is unused. 38 | } 39 | 40 | /** @attribute NUnit.Framework.Test() */ 41 | public void Equals() 42 | { 43 | Assert.AreEqual(12, 12, "Integer"); 44 | Assert.AreEqual(new Long(12), new Long(13), "Long"); 45 | Assert.AreEqual('a', 'a', "Char"); 46 | Assert.AreEqual(new Integer(12), new Integer(12), "Integer Object Cast"); 47 | 48 | Assert.AreEqual(12, 13, "Expected Failure (Integer)"); 49 | Assert.AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)."); 50 | } 51 | 52 | /** @attribute NUnit.Framework.Test() */ 53 | /** @attribute NUnit.Framework.Ignore("ignored test") */ 54 | public void IgnoredTest() 55 | { 56 | throw new InvalidCastException(); 57 | } 58 | 59 | // A useless function, designed to avoid a compiler warning in the the DivideByZero test. 60 | private int KeepCompilerFromWarning(int dummy) 61 | { 62 | return dummy; 63 | } 64 | 65 | } -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenList.aspx: -------------------------------------------------------------------------------- 1 | <%@ Register TagPrefix="uc" TagName="MainMenu" Src="~/UserControls/MainMenu.ascx" %> 2 | <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 3 | CodeFile="CitizenList.aspx.cs" Inherits="CitizenList" %> 4 | 5 | 6 | Data Test Page 7 | 8 | 9 | Home 10 | 11 | 13 | 14 | 15 | 18 | 19 | 22 | 23 | 25 | 27 | 29 | 30 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/SampleFixtureExtensionBuilder.cs: -------------------------------------------------------------------------------- 1 | // **************************************************************** 2 | // Copyright 2007, Charlie Poole 3 | // This is free software licensed under the NUnit license. You may 4 | // obtain a copy of the license at http://nunit.org/?p=license&r=2.4 5 | // **************************************************************** 6 | 7 | using System; 8 | using NUnit.Core.Builders; 9 | using NUnit.Core.Extensibility; 10 | 11 | namespace NUnit.Core.Extensions 12 | { 13 | /// 14 | /// MockFixtureExtensionBuilder knows how to build 15 | /// a MockFixtureExtension. 16 | /// 17 | [NUnitAddin(Description="Wraps an NUnitTestFixture with an additional level of SetUp and TearDown")] 18 | public class SampleFixtureExtensionBuilder : ISuiteBuilder, IAddin 19 | { 20 | #region NUnitTestFixtureBuilder Overrides 21 | /// 22 | /// Makes a SampleFixtureExtension instance 23 | /// 24 | /// The type to be used 25 | /// A SampleFixtureExtension as a TestSuite 26 | // protected override TestSuite MakeSuite(Type type) 27 | // { 28 | // return new SampleFixtureExtension( type ); 29 | // } 30 | 31 | // The builder recognizes the types that it can use by the presense 32 | // of SampleFixtureExtensionAttribute. Note that an attribute does not 33 | // have to be used. You can use any arbitrary set of rules that can be 34 | // implemented using reflection on the type. 35 | public bool CanBuildFrom(Type type) 36 | { 37 | return Reflect.HasAttribute( type, "NUnit.Core.Extensions.SampleFixtureExtensionAttribute", false ); 38 | } 39 | 40 | public Test BuildFrom(Type type) 41 | { 42 | return null; 43 | } 44 | #endregion 45 | 46 | #region IAddin Members 47 | public bool Install(IExtensionHost host) 48 | { 49 | IExtensionPoint suiteBuilders = host.GetExtensionPoint( "SuiteBuilders" ); 50 | if ( suiteBuilders == null ) 51 | return false; 52 | 53 | suiteBuilders.Install( this ); 54 | return true; 55 | } 56 | #endregion 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/failures/CSharpTest.cs: -------------------------------------------------------------------------------- 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 | namespace NUnit.Samples 8 | { 9 | using System; 10 | using NUnit.Framework; 11 | 12 | /// Some simple Tests. 13 | /// 14 | [TestFixture] 15 | public class SimpleCSharpTest 16 | { 17 | /// 18 | /// 19 | /// 20 | protected int fValue1; 21 | /// 22 | /// 23 | /// 24 | protected int fValue2; 25 | 26 | /// 27 | /// 28 | /// 29 | [SetUp] public void Init() 30 | { 31 | fValue1= 2; 32 | fValue2= 3; 33 | } 34 | 35 | /// 36 | /// 37 | /// 38 | /// 39 | [Test] public void Add() 40 | { 41 | double result= fValue1 + fValue2; 42 | // forced failure result == 5 43 | Assert.AreEqual(6, result, "Expected Failure."); 44 | } 45 | 46 | /// 47 | /// 48 | /// 49 | /// 50 | [Test] public void DivideByZero() 51 | { 52 | int zero= 0; 53 | int result= 8/zero; 54 | } 55 | 56 | /// 57 | /// 58 | /// 59 | /// 60 | [Test] public void Equals() 61 | { 62 | Assert.AreEqual(12, 12, "Integer"); 63 | Assert.AreEqual(12L, 12L, "Long"); 64 | Assert.AreEqual('a', 'a', "Char"); 65 | Assert.AreEqual((object)12, (object)12, "Integer Object Cast"); 66 | 67 | Assert.AreEqual(12, 13, "Expected Failure (Integer)"); 68 | Assert.AreEqual(12.0, 11.99, 0.0, "Expected Failure (Double)."); 69 | } 70 | 71 | [Test] 72 | [ExpectedException(typeof(InvalidOperationException))] 73 | public void ExpectAnException() 74 | { 75 | throw new InvalidCastException(); 76 | } 77 | 78 | [Test] 79 | [Ignore("ignored test")] 80 | public void IgnoredTest() 81 | { 82 | throw new Exception(); 83 | } 84 | } 85 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/money/cs-money.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/money/vb-money.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/syntax/vb-syntax.vbproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/ReadMe.txt: -------------------------------------------------------------------------------- 1 | NUnit Samples 2 | 3 | This directory contains sample applications demonstrating the use of NUnit and organized as follows... 4 | 5 | CSharp: Samples in C# 6 | 7 | Failures: Demonstrates 4 failing tests and one that is not run. 8 | 9 | Money: This is a C# version of the money example which is found in most xUnit implementations. Thanks to Kent Beck. 10 | 11 | Money-Port: This shows how the Money example can be ported from Version 1 of NUnit with minimal changes. 12 | 13 | Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax. 14 | 15 | JSharp: Samples in J# 16 | 17 | Failures: Demonstrates 4 failing tests and one that is not run. 18 | 19 | CPP: C++ Samples 20 | 21 | MANAGED: Managed C++ Samples (VS 2003 compatible) 22 | 23 | Failures: Demonstrates 4 failing tests and one that is not run. 24 | 25 | CPP-CLI: C++/CLI Samples (VS 2005 only) 26 | 27 | Failures: Demonstrates 4 failing tests and one that is not run. 28 | 29 | Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax. 30 | 31 | VB: Samples in VB.NET 32 | 33 | Failures: Demonstrates 4 failing tests and one that is not run. 34 | 35 | Money: This is a VB.NET version of the money example found in most xUnit implementations. Thanks to Kent Beck. 36 | 37 | Syntax: Illustrates most Assert methods using both the classic and constraint-based syntax. 38 | 39 | Extensibility: Examples of extending NUnit 40 | 41 | Framework: 42 | 43 | Core: 44 | 45 | TestSuiteExtension 46 | 47 | TestFixtureExtension 48 | 49 | 50 | Building the Samples 51 | 52 | A Visual Studio 2003 project is included for most samples. 53 | Visual Studio 2005 will convert the format automatically upon 54 | opening it. The C++/CLI samples, as well as other samples that 55 | depend on .NET 2.0 features, include Visual Studio 2005 projects. 56 | 57 | In most cases, you will need to remove the reference to the 58 | nunit.framework assembly and replace it with a reference to 59 | your installed copy of NUnit. 60 | 61 | To build using the Microsoft compiler, use a command similar 62 | to the following: 63 | 64 | csc /target:library /r:/nunit.framework.dll example.cs 65 | 66 | To build using the mono compiler, use a command like this: 67 | 68 | msc /target:library /r:/nunit.framework.dll example.cs 69 | 70 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/failures/AssemblyInfo.cpp: -------------------------------------------------------------------------------- 1 | using namespace System::Reflection; 2 | using namespace System::Runtime::CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly:AssemblyTitleAttribute("")]; 10 | [assembly:AssemblyDescriptionAttribute("")]; 11 | [assembly:AssemblyConfigurationAttribute("")]; 12 | [assembly:AssemblyCompanyAttribute("")]; 13 | [assembly:AssemblyProductAttribute("")]; 14 | [assembly:AssemblyCopyrightAttribute("")]; 15 | [assembly:AssemblyTrademarkAttribute("")]; 16 | [assembly:AssemblyCultureAttribute("")]; 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the value or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly:AssemblyVersionAttribute("2.2.0.0")]; 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project directory. 50 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 51 | // documentation for more information on this. 52 | // 53 | [assembly:AssemblyDelaySignAttribute(false)]; 54 | [assembly:AssemblyKeyFileAttribute("")]; 55 | [assembly:AssemblyKeyNameAttribute("")]; 56 | 57 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/managed/failures/AssemblyInfo.cpp: -------------------------------------------------------------------------------- 1 | using namespace System::Reflection; 2 | using namespace System::Runtime::CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly:AssemblyTitleAttribute("")]; 10 | [assembly:AssemblyDescriptionAttribute("")]; 11 | [assembly:AssemblyConfigurationAttribute("")]; 12 | [assembly:AssemblyCompanyAttribute("")]; 13 | [assembly:AssemblyProductAttribute("")]; 14 | [assembly:AssemblyCopyrightAttribute("")]; 15 | [assembly:AssemblyTrademarkAttribute("")]; 16 | [assembly:AssemblyCultureAttribute("")]; 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the value or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly:AssemblyVersionAttribute("2.2.0.0")]; 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project directory. 50 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 51 | // documentation for more information on this. 52 | // 53 | [assembly:AssemblyDelaySignAttribute(false)]; 54 | [assembly:AssemblyKeyFileAttribute("")]; 55 | [assembly:AssemblyKeyNameAttribute("")]; 56 | 57 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/syntax/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("1.0.*")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/jsharp/failures/AssemblyInfo.jsl: -------------------------------------------------------------------------------- 1 | import System.Reflection.*; 2 | import System.Runtime.CompilerServices.*; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | /** @assembly AssemblyTitle("") */ 10 | /** @assembly AssemblyDescription("") */ 11 | /** @assembly AssemblyConfiguration("") */ 12 | /** @assembly AssemblyCompany("") */ 13 | /** @assembly AssemblyProduct("") */ 14 | /** @assembly AssemblyCopyright("") */ 15 | /** @assembly AssemblyTrademark("") */ 16 | /** @assembly AssemblyCulture("") */ 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build 27 | // Numbers by using the '*' as shown below: 28 | 29 | /** @assembly AssemblyVersion("2.2.0.0") */ 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project directory. For example, if your KeyFile is 50 | // located in the project directory itself, you would specify the 51 | // AssemblyKeyFile attribute as @assembly AssemblyKeyFile("mykey.snk") 52 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 53 | // documentation for more information on this. 54 | // 55 | 56 | /** @assembly AssemblyDelaySign(false) */ 57 | /** @assembly AssemblyKeyFile("") */ 58 | /** @assembly AssemblyKeyName("") */ 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/money/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("2.2.0.0")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /SUFORS V.1/Tests/Tests.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Debug 5 | AnyCPU 6 | 9.0.21022 7 | 2.0 8 | 3e6a7d62-d527-4efc-9f07-06a31d822258 9 | Library 10 | Properties 11 | Tests 12 | Tests 13 | v3.5 14 | 512 15 | 16 | 17 | true 18 | full 19 | false 20 | bin\Debug\ 21 | DEBUG;TRACE 22 | prompt 23 | 4 24 | 25 | 26 | pdbonly 27 | true 28 | bin\Release\ 29 | TRACE 30 | prompt 31 | 4 32 | 33 | 34 | 35 | 36 | 3.5 37 | 38 | 39 | 3.5 40 | 41 | 42 | 3.5 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("1.0.*")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("1.0.*")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/Tests/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("")] 10 | [assembly: AssemblyDescription("")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("")] 13 | [assembly: AssemblyProduct("")] 14 | [assembly: AssemblyCopyright("")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("1.0.*")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/money/Money.cs: -------------------------------------------------------------------------------- 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 | namespace NUnit.Samples.Money 8 | { 9 | 10 | using System; 11 | using System.Text; 12 | 13 | /// A simple Money. 14 | class Money: IMoney 15 | { 16 | 17 | private int fAmount; 18 | private String fCurrency; 19 | 20 | /// Constructs a money from the given amount and 21 | /// currency. 22 | public Money(int amount, String currency) 23 | { 24 | fAmount= amount; 25 | fCurrency= currency; 26 | } 27 | 28 | /// Adds a money to this money. Forwards the request to 29 | /// the AddMoney helper. 30 | public IMoney Add(IMoney m) 31 | { 32 | return m.AddMoney(this); 33 | } 34 | 35 | public IMoney AddMoney(Money m) 36 | { 37 | if (m.Currency.Equals(Currency) ) 38 | return new Money(Amount+m.Amount, Currency); 39 | return new MoneyBag(this, m); 40 | } 41 | 42 | public IMoney AddMoneyBag(MoneyBag s) 43 | { 44 | return s.AddMoney(this); 45 | } 46 | 47 | public int Amount 48 | { 49 | get { return fAmount; } 50 | } 51 | 52 | public String Currency 53 | { 54 | get { return fCurrency; } 55 | } 56 | 57 | public override bool Equals(Object anObject) 58 | { 59 | if (IsZero) 60 | if (anObject is IMoney) 61 | return ((IMoney)anObject).IsZero; 62 | if (anObject is Money) 63 | { 64 | Money aMoney= (Money)anObject; 65 | return aMoney.Currency.Equals(Currency) 66 | && Amount == aMoney.Amount; 67 | } 68 | return false; 69 | } 70 | 71 | public override int GetHashCode() 72 | { 73 | return fCurrency.GetHashCode()+fAmount; 74 | } 75 | 76 | public bool IsZero 77 | { 78 | get { return Amount == 0; } 79 | } 80 | 81 | public IMoney Multiply(int factor) 82 | { 83 | return new Money(Amount*factor, Currency); 84 | } 85 | 86 | public IMoney Negate() 87 | { 88 | return new Money(-Amount, Currency); 89 | } 90 | 91 | public IMoney Subtract(IMoney m) 92 | { 93 | return Add(m.Negate()); 94 | } 95 | 96 | public override String ToString() 97 | { 98 | StringBuilder buffer = new StringBuilder(); 99 | buffer.Append("["+Amount+" "+Currency+"]"); 100 | return buffer.ToString(); 101 | } 102 | } 103 | } 104 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/cpp/cpp-cli/cpp-cli.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 9.00 2 | # Visual Studio 2005 3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-cli-failures", "failures\cpp-cli-failures.vcproj", "{A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}" 4 | EndProject 5 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cpp-cli-syntax", "syntax\cpp-cli-syntax.vcproj", "{72448C2D-17C9-419E-B28D-3B533E7E0CD5}" 6 | EndProject 7 | Global 8 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 9 | Debug|Any CPU = Debug|Any CPU 10 | Debug|Mixed Platforms = Debug|Mixed Platforms 11 | Debug|Win32 = Debug|Win32 12 | Release|Any CPU = Release|Any CPU 13 | Release|Mixed Platforms = Release|Mixed Platforms 14 | Release|Win32 = Release|Win32 15 | EndGlobalSection 16 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 17 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Any CPU.ActiveCfg = Debug|Win32 18 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 19 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Mixed Platforms.Build.0 = Debug|Win32 20 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Win32.ActiveCfg = Debug|Win32 21 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Debug|Win32.Build.0 = Debug|Win32 22 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Any CPU.ActiveCfg = Release|Win32 23 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Mixed Platforms.ActiveCfg = Release|Win32 24 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Mixed Platforms.Build.0 = Release|Win32 25 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Win32.ActiveCfg = Release|Win32 26 | {A0987BCD-AFE6-40E4-95A8-ADA7ADB7E97D}.Release|Win32.Build.0 = Release|Win32 27 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Any CPU.ActiveCfg = Debug|Win32 28 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 29 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Mixed Platforms.Build.0 = Debug|Win32 30 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Win32.ActiveCfg = Debug|Win32 31 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Debug|Win32.Build.0 = Debug|Win32 32 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Any CPU.ActiveCfg = Release|Win32 33 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Mixed Platforms.ActiveCfg = Release|Win32 34 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Mixed Platforms.Build.0 = Release|Win32 35 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Win32.ActiveCfg = Release|Win32 36 | {72448C2D-17C9-419E-B28D-3B533E7E0CD5}.Release|Win32.Build.0 = Release|Win32 37 | EndGlobalSection 38 | GlobalSection(SolutionProperties) = preSolution 39 | HideSolutionNode = FALSE 40 | EndGlobalSection 41 | EndGlobal 42 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Default.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 2 | 3 | 4 | 5 | 6 | Home 7 | Citizen List 8 | 9 | 10 |
11 | Hi! This is my second design for OSWD, with CSS and XHTML 1.0 Transitional Validation. 12 | You can do whatever you want with this template, just keep the Hosting Colombia 13 | link at the bottom. Enjoy! 14 |
15 |
16 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur id est tincidunt 17 | nisl pellentesque tincidunt. Donec in mauris. Mauris neque magna, consectetuer id, 18 | malesuada vitae, tincidunt sit amet, mi. Aliquam lacinia. Suspendisse potenti. Proin 19 | justo lorem, rutrum ac, facilisis in, malesuada sed, ligula. Mauris lobortis lacus 20 | at nibh. Aenean vitae odio vel odio placerat hendrerit. Suspendisse lacus lacus, 21 | tempor id, pharetra eget, ornare sit amet, pede. Sed aliquet, justo ac elementum 22 | pretium, arcu leo placerat est, a luctus purus diam eget arcu. Nam augue diam, mollis 23 | a, scelerisque eget, aliquet condimentum, pede. Vestibulum tristique lectus sed 24 | augue. 25 |
26 |
27 | Some Title Here 28 |
29 | Nullam et ipsum condimentum pede luctus consequat. Nulla venenatis mi a sapien. 30 | Nunc facilisis pede quis nisl. Duis eget sapien. Suspendisse potenti. Vestibulum 31 | eget ligula in ante pharetra imperdiet. Maecenas vehicula luctus mi. Suspendisse 32 | molestie libero vitae magna. Integer metus tortor, mollis eleifend, tincidunt in, 33 | sagittis eget, lorem. Donec posuere. Curabitur ut eros. Praesent vitae sem facilisis 34 | tellus euismod scelerisque. Donec pellentesque. Vestibulum scelerisque, turpis pellentesque 35 | sollicitudin nonummy, ipsum erat consequat augue, ut tincidunt urna magna ut leo. 36 | Nullam ullamcorper metus vitae est. Ut diam metus, molestie porttitor, pretium vitae, 37 | ultricies nec, pede. Maecenas bibendum dictum tellus. Vestibulum feugiat, velit 38 | quis eleifend pharetra, leo lacus laoreet diam, quis laoreet arcu mi vel felis. 39 |
40 |
41 |
42 | 43 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/csharp/failures/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | 4 | // 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | // 9 | [assembly: AssemblyTitle("csharp.sample.dll")] 10 | [assembly: AssemblyDescription("C# Sample Unit Tests")] 11 | [assembly: AssemblyConfiguration("")] 12 | [assembly: AssemblyCompany("NUnit")] 13 | [assembly: AssemblyProduct("NUnit")] 14 | [assembly: AssemblyCopyright("Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov. \nCopyright (C) 2000-2003 Philip Craig.\nAll Rights Reserved.")] 15 | [assembly: AssemblyTrademark("")] 16 | [assembly: AssemblyCulture("")] 17 | 18 | // 19 | // Version information for an assembly consists of the following four values: 20 | // 21 | // Major Version 22 | // Minor Version 23 | // Build Number 24 | // Revision 25 | // 26 | // You can specify all the values or you can default the Revision and Build Numbers 27 | // by using the '*' as shown below: 28 | 29 | [assembly: AssemblyVersion("2.2.0.0")] 30 | 31 | // 32 | // In order to sign your assembly you must specify a key to use. Refer to the 33 | // Microsoft .NET Framework documentation for more information on assembly signing. 34 | // 35 | // Use the attributes below to control which key is used for signing. 36 | // 37 | // Notes: 38 | // (*) If no key is specified, the assembly is not signed. 39 | // (*) KeyName refers to a key that has been installed in the Crypto Service 40 | // Provider (CSP) on your machine. KeyFile refers to a file which contains 41 | // a key. 42 | // (*) If the KeyFile and the KeyName values are both specified, the 43 | // following processing occurs: 44 | // (1) If the KeyName can be found in the CSP, that key is used. 45 | // (2) If the KeyName does not exist and the KeyFile does exist, the key 46 | // in the KeyFile is installed into the CSP and used. 47 | // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. 48 | // When specifying the KeyFile, the location of the KeyFile should be 49 | // relative to the project output directory which is 50 | // %Project Directory%\obj\. For example, if your KeyFile is 51 | // located in the project directory, you would specify the AssemblyKeyFile 52 | // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] 53 | // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework 54 | // documentation for more information on this. 55 | // 56 | [assembly: AssemblyDelaySign(false)] 57 | [assembly: AssemblyKeyFile("")] 58 | [assembly: AssemblyKeyName("")] 59 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/MasterPage.master: -------------------------------------------------------------------------------- 1 | <%@ Register TagPrefix="uc" TagName="MainMenu" Src="~/UserControls/MainMenu.ascx" %> 2 | <%@ Register TagPrefix="uc" TagName="UserInfoBar" Src="~/UserControls/UserInfoBar.ascx" %> 3 | <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | 23 |
24 |
25 |
26 | 36 |
37 | 47 |
48 | 49 |
50 |
51 | 57 |
58 |
59 | 60 | 61 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/ReportEdit.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportEdit.aspx.cs" Inherits="ReportEdit" %> 2 | 3 | 4 | 5 | 6 | Home 7 | 9 | 11 | 13 | 14 | 15 | 17 | 18 | Id: 19 | 20 |
21 | Location: 22 | 24 |
25 | Description: 26 | 28 |
29 |
30 | 31 | Location: 32 | 34 |
35 | Description: 36 | 38 |
39 |
40 |
41 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 | 61 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - DocHome 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

NUnit 2.5

28 | 29 |

This documentation covers the NUnit 2.5 release, 30 | introducing a large set of new features to NUnit, particularly in 31 | the area of parameterized or data-driven testing. 32 | 33 |

Where applicable, we have marked sections with the version in which a feature 34 | first appeared.

35 | 36 |

If you are new to NUnit, we suggest you begin by reading the 37 | Getting Started section of this site. 38 | Those who have used earlier releases may want to begin with the 39 | Upgrading section.

40 | 41 |

See the 42 | Release Notes for more information on this release.

43 | 44 |

All documentation is included in the release packages of NUnit. Beginning with NUnit 45 | 2.4.2, you may choose to download the documentation 46 | separately.

47 | 48 |
49 | 50 | 51 | 72 | 73 | 74 | 75 | 76 | 79 | 80 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/extensibility.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - Extensibility 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

NUnit Extensibility

28 | 29 |

NUnit is designed to be extended in a number of ways.

30 | 31 |

Extensions to the NUnit framework - the part of NUnit that is referenced 32 | by tests - usually take the form of 33 | Custom Constaints, written by users to 34 | encapsulate tests that pertain to their specific projects.

35 | 36 |

Extending the features found within NUnit itself depends on the use of 37 | NUnit Addins. 38 | Currently, The Addin mechanism only supports extensions to the NUnit core - 39 | the part of NUnit that builds and executes test suites. However, the API that 40 | is used provides for the future ability to extend the client side of NUnit, 41 | including the GUI.

42 | 43 | 44 |
45 | 46 | 47 | 73 | 74 | 75 | 76 | 77 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/files/Results.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/CoreExtensibility.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Minimal", "Minimal\Minimal.csproj", "{EF428E5B-B3E7-4C2F-B005-98DE7D6E7CDB}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleFixtureExtension", "SampleFixtureExtension\SampleFixtureExtension.csproj", "{ED281A23-9579-4A70-B608-1B86DCDEB78C}" 7 | ProjectSection(ProjectDependencies) = postProject 8 | EndProjectSection 9 | EndProject 10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleFixtureExtensionTests", "SampleFixtureExtension\Tests\SampleFixtureExtensionTests.csproj", "{0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}" 11 | ProjectSection(ProjectDependencies) = postProject 12 | EndProjectSection 13 | EndProject 14 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleSuiteExtension", "SampleSuiteExtension\SampleSuiteExtension.csproj", "{0C4269EE-3266-45DD-9062-E356C067FBEF}" 15 | ProjectSection(ProjectDependencies) = postProject 16 | EndProjectSection 17 | EndProject 18 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleSuiteExtensionTests", "SampleSuiteExtension\Tests\SampleSuiteExtensionTests.csproj", "{9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}" 19 | ProjectSection(ProjectDependencies) = postProject 20 | EndProjectSection 21 | EndProject 22 | Global 23 | GlobalSection(SolutionConfiguration) = preSolution 24 | Debug = Debug 25 | Release = Release 26 | EndGlobalSection 27 | GlobalSection(ProjectConfiguration) = postSolution 28 | {EF428E5B-B3E7-4C2F-B005-98DE7D6E7CDB}.Debug.ActiveCfg = Debug|.NET 29 | {EF428E5B-B3E7-4C2F-B005-98DE7D6E7CDB}.Debug.Build.0 = Debug|.NET 30 | {EF428E5B-B3E7-4C2F-B005-98DE7D6E7CDB}.Release.ActiveCfg = Release|.NET 31 | {EF428E5B-B3E7-4C2F-B005-98DE7D6E7CDB}.Release.Build.0 = Release|.NET 32 | {ED281A23-9579-4A70-B608-1B86DCDEB78C}.Debug.ActiveCfg = Debug|.NET 33 | {ED281A23-9579-4A70-B608-1B86DCDEB78C}.Debug.Build.0 = Debug|.NET 34 | {ED281A23-9579-4A70-B608-1B86DCDEB78C}.Release.ActiveCfg = Release|.NET 35 | {ED281A23-9579-4A70-B608-1B86DCDEB78C}.Release.Build.0 = Release|.NET 36 | {0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}.Debug.ActiveCfg = Debug|.NET 37 | {0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}.Debug.Build.0 = Debug|.NET 38 | {0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}.Release.ActiveCfg = Release|.NET 39 | {0DE6C90F-BB74-4BC8-887A-2222DB56D2EB}.Release.Build.0 = Release|.NET 40 | {0C4269EE-3266-45DD-9062-E356C067FBEF}.Debug.ActiveCfg = Debug|.NET 41 | {0C4269EE-3266-45DD-9062-E356C067FBEF}.Debug.Build.0 = Debug|.NET 42 | {0C4269EE-3266-45DD-9062-E356C067FBEF}.Release.ActiveCfg = Release|.NET 43 | {0C4269EE-3266-45DD-9062-E356C067FBEF}.Release.Build.0 = Release|.NET 44 | {9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}.Debug.ActiveCfg = Debug|.NET 45 | {9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}.Debug.Build.0 = Debug|.NET 46 | {9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}.Release.ActiveCfg = Release|.NET 47 | {9F609A0D-FF7E-4F0C-B2DF-417EBC557CFF}.Release.Build.0 = Release|.NET 48 | EndGlobalSection 49 | GlobalSection(ExtensibilityGlobals) = postSolution 50 | EndGlobalSection 51 | GlobalSection(ExtensibilityAddIns) = postSolution 52 | EndGlobalSection 53 | EndGlobal 54 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/getStarted.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - GetStarted 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

Getting Started with NUnit

28 | 29 |

If you haven't already done so, go to our Download page, select a version of NUnit and download it. The 30 | Installation page 31 | contains instructions for installing on your system.

32 | 33 |

To get started using NUnit, read the Quick Start page. This article demonstrates the development process with NUnit in the 34 | context of a C# banking application. Check the 35 | Samples page for additional examples, 36 | including some in VB.Net, J# and managed C++.

37 | 38 |

Which Test Runner to use?

39 | 40 |

NUnit has two different ways to run your tests. The 41 | console runner, nunit-console.exe, 42 | is the fastest to launch, but is not interactive. 43 | The gui runner, 44 | nunit-gui.exe, is a Windows Forms application that allows you to work 45 | selectively with your tests and provides graphical feedback.

46 | 47 |
48 | 49 | 50 | 75 | 76 | 77 | 78 | 79 | 82 | 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/Styles/style.css: -------------------------------------------------------------------------------- 1 | /* CSS Document */ 2 | 3 | /*PAGE LAYOUT*/ 4 | body { 5 | background-image: url(images/bg_body.jpg); 6 | background-repeat: repeat-x; 7 | margin-left: 0px; 8 | margin-top: 0px; 9 | margin-right: 0px; 10 | margin-bottom: 0px; 11 | } 12 | #toppage{ 13 | width:800px; 14 | } 15 | #date{ 16 | float:left; width:190px; height:39px; border-bottom:solid 1px #999999; border-right:solid 1px #999999; 17 | } 18 | #topbar{ 19 | float:left; 20 | width:608px; 21 | height:40px; 22 | background-image:url(bg_topbar.gif); 23 | background-color:#CBC55C; 24 | background-repeat:repeat-x; 25 | border-right:solid 1px #999999; 26 | } 27 | #header{ 28 | width:800px; 29 | } 30 | #content{ 31 | width:800px; 32 | } 33 | #contenttext{ 34 | float:left; width:608px; 35 | background-color:#F7F7F7; 36 | border-left:solid 1px #999999; border-right:solid 1px #999999; 37 | border-bottom:solid 1px #999999; border-top:dotted 1px #CCCCCC; 38 | min-height:360px; 39 | } 40 | #logo{ 41 | float:left; width:190px; height:110px; background-color:#F7F7F7; border-left:solid 1px #999999; 42 | } 43 | #pagetitle{ 44 | position:relative; float:left; width:608px; height:110px; background-color:#F7F7F7; border-right:solid 1px #999999; 45 | } 46 | #title{ 47 | position:absolute; right:10px; bottom:0px; width:600px; 48 | } 49 | #menu{ 50 | float:left; width:190px; margin:0px; 51 | } 52 | #footer{ 53 | width:590px; padding-right:10px; padding-left:200px; 54 | } 55 | 56 | /*GRAY PANEL*/ 57 | .panel{ 58 | padding:12px; 59 | border:solid 1px #E4E4E4; 60 | background-color:#EEEEEE; 61 | margin:10px; 62 | padding:10px; 63 | width:550px; 64 | height:160px; 65 | } 66 | 67 | /*TEXT STYLES*/ 68 | .bodytext { 69 | font: 0.7em Tahoma, sans-serif; 70 | color: #666666; 71 | } 72 | .smalltext { 73 | font: 0.7em Tahoma, sans-serif; 74 | font-size: 11px; 75 | color: #666666; 76 | } 77 | .smallwhitetext { 78 | font: 0.7em Tahoma, sans-serif; 79 | font-size: 11px; 80 | font-weight:bold; 81 | color: #FFFFFF; 82 | } 83 | .smallwhitetext a{ 84 | font: 0.7em Tahoma, sans-serif; 85 | font-size: 11px; 86 | font-weight:bold; 87 | color: #FFFFFF; 88 | text-decoration:none; 89 | } 90 | .smallwhitetext a:hover{ 91 | text-decoration:underline; 92 | } 93 | .smallgraytext { 94 | font: 0.7em Tahoma, sans-serif; 95 | font-size: 11px; 96 | font-weight:bold; 97 | color:#CCCCCC; 98 | } 99 | .smallgraytext a{ 100 | font: 0.7em Tahoma, sans-serif; 101 | font-size: 11px; 102 | font-weight:bold; 103 | color:#CCCCCC; 104 | text-decoration:none; 105 | } 106 | .smallgraytext a:hover{ 107 | text-decoration:underline; 108 | } 109 | .titletext { 110 | font: 0.7em Tahoma, sans-serif; 111 | font-size:36px; 112 | font-weight:bold; 113 | color: #CCCCCC; 114 | } 115 | .logotext { 116 | font: 0.7em Tahoma, sans-serif; 117 | font-size:36px; 118 | font-weight:bold; 119 | color: #999999; 120 | } 121 | .orangelogotext { 122 | font: 0.7em Tahoma, sans-serif; 123 | font-size:36px; 124 | font-weight:bold; 125 | color:#FF9900; 126 | } 127 | .orangetitle { 128 | font: 0.7em Tahoma, sans-serif; 129 | font-size:24px; 130 | font-weight:bold; 131 | color:#FF9900; 132 | } 133 | #linksmenu a{ 134 | float:right; 135 | width:183px; 136 | height:20px; 137 | background-color:#ABC578; border-left:solid 1px #FFFFFF; border-bottom:solid 1px #FFFFFF; 138 | font: 0.7em Tahoma, sans-serif; 139 | font-size: 11px; 140 | font-weight:bold; 141 | color: #FFFFFF; 142 | text-decoration:none; 143 | padding-top:5px; 144 | } 145 | #linksmenu a:hover{ 146 | background-color:#514F1C; 147 | } -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/nunit-console.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - Nunit-console 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

NUnit-Console

28 |

The nunit-console.exe program is a text-based runner and can be used when you 29 | want to run all your tests and don’t need a red/yellow/green indication of 30 | success or failure.

31 |

It is useful for automation of tests and integration into other systems. It 32 | automatically saves its results in XML format, allowing you to produce reports 33 | or otherwise process the results. The following is a screenshot of the console 34 | program.

35 | 36 |
37 |
38 |

39 |

In this example, nunit-console has just run the tests in the mock-assembly.dll 40 | that is part of the NUnit distribution. This assembly contains a number of tests, some 41 | of which are either ignored or marked explicit. The summary line shows the 42 | result of the test run. Click here 43 | to see the XML produced for this test run.

44 | 45 |

The .NET 2.0 version of the nunit-console program is built using /platform:anycpu, 46 | which causes it to be jit-compiled to 32-bit code on a 32-bit system and 64-bit code 47 | on a 64 bit system. This causes an exception when NUnit is used to test a 32-bit 48 | application on a 64-bit system. To avoid this problem, use the nunit-console-x86 49 | program, which is built using /platform:x86, when testing 32-bit code on a 50 | 64-bit system. 51 | 52 |

53 | 54 | 55 | 79 | 80 | 81 | 82 | 83 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/pnunit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - Pnunit 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

PNUnit

28 | 29 |

PNUnit stands for "Parallel NUnit." It is an extension of NUNit 30 | developed by Pablo Santos Luaces and his team at Codice Software for 31 | their internal use in testing the Plastic (TM) Software Configuration 32 | Management System. Codice released PNUnit to the community in 2007. 33 | 34 |

As part of the NUnit 2.5 release, we worked with the NUnit and PNUnit 35 | teams worked together to make PNUnit work with NUnit without any modifications. 36 | PNUnit is now included in the NUnit distribution. 37 | 38 |

How it Works

39 | 40 |

PNUnit is not intended for "casual" parallelism merely to 41 | make the tests run faster. Rather, it's intended as a way to test 42 | applications composed of distributed, communicating components. Tests 43 | of each component run in parallel and use memory barriers to synchronize 44 | their operation. 45 | 46 |

PNUnit uses a special executable to launch its tests. 47 | The launcher reads an xml file that specifies the tests to be 48 | executed and where they should run, whether on the same machine or 49 | on another machine on the network. 50 | 51 |

For more information about using PNUnit, consult the 52 | documentation 53 | at www.codicesoftware.com 54 | 55 |

Future Plans

56 | 57 |

PNUnit will be integrated with NUnit so that parallel, distributed tests 58 | may be used through the normal NUnit console or gui runners. 59 |

60 | 61 | 62 | 83 | 84 | 85 | 86 | 87 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/addinsDialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - AddinsDialog 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

Addins Dialog

28 | 29 |

The Addins Dialog is displayed using the Tools | Addins menu item on the main 30 | menu. It lists all addins that have been found and loaded by NUnit.

31 | 32 |
33 |
34 | 35 |

Addin

36 | 37 |

This column lists the name of the addin, as defined by its author. 38 | 39 |

Status

40 | 41 |

This column shows the status of each addin. Possible values are 42 |

    43 |
  • Unknown 44 |
  • Enabled 45 |
  • Disabled 46 |
  • Loaded 47 |
  • Error 48 |
49 | 50 |

Description

51 | 52 |

If the author of an addin has provided a description, it is 53 | shown here when the addin is selected. 54 | 55 |

Message

56 | 57 |

If the addin failed to load, its status will be shown as Error 58 | and any error message displayed here when that addin is selected. 59 | 60 |

61 | 62 | 63 | 94 | 95 | 96 | 97 | 98 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/Minimal/Minimal.csproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 25 | 45 | 65 | 66 | 67 | 71 | 76 | 77 | 78 | 79 | 80 | 85 | 86 | 87 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/vb/money/Money.vb: -------------------------------------------------------------------------------- 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 | Option Explicit On 8 | 9 | Namespace NUnit.Samples 10 | 11 | ' A Simple Money. 12 | Public Class Money 13 | Implements IMoney 14 | 15 | Private fAmount As Int32 16 | Private fCurrency As String 17 | 18 | ' Constructs a money from a given amount and currency. 19 | Public Sub New(ByVal amount As Int32, ByVal currency As String) 20 | Me.fAmount = amount 21 | Me.fCurrency = currency 22 | End Sub 23 | 24 | 25 | ' Adds a money to this money. Forwards the request 26 | ' to the AddMoney helper. 27 | Public Overloads Function Add(ByVal m As IMoney) As IMoney Implements IMoney.Add 28 | Return m.AddMoney(Me) 29 | End Function 30 | 31 | Public Overloads Function AddMoney(ByVal m As Money) As IMoney Implements IMoney.AddMoney 32 | If m.Currency.Equals(Currency) Then 33 | Return New Money(Amount + m.Amount, Currency) 34 | End If 35 | 36 | Return New MoneyBag(Me, m) 37 | End Function 38 | 39 | Public Function AddMoneyBag(ByVal s As MoneyBag) As IMoney Implements IMoney.AddMoneyBag 40 | Return s.AddMoney(Me) 41 | End Function 42 | 43 | Public ReadOnly Property Amount() As Integer 44 | Get 45 | Return fAmount 46 | End Get 47 | End Property 48 | 49 | Public ReadOnly Property Currency() As String 50 | Get 51 | Return fCurrency 52 | End Get 53 | End Property 54 | 55 | Public Overloads Overrides Function Equals(ByVal anObject As Object) As Boolean 56 | If IsZero And TypeOf anObject Is IMoney Then 57 | Dim aMoney As IMoney = anObject 58 | Return aMoney.IsZero 59 | End If 60 | 61 | If TypeOf anObject Is Money Then 62 | Dim aMoney As Money = anObject 63 | If (IsZero) Then 64 | Return aMoney.IsZero 65 | End If 66 | 67 | Return Currency.Equals(aMoney.Currency) And Amount.Equals(aMoney.Amount) 68 | End If 69 | 70 | Return False 71 | End Function 72 | 73 | Public Overrides Function GetHashCode() As Int32 74 | Return fCurrency.GetHashCode() + fAmount 75 | End Function 76 | 77 | Public ReadOnly Property IsZero() As Boolean Implements IMoney.IsZero 78 | Get 79 | Return Amount.Equals(0) 80 | End Get 81 | End Property 82 | 83 | Public Function Multiply(ByVal factor As Integer) As IMoney Implements IMoney.Multiply 84 | 85 | Return New Money(Amount * factor, Currency) 86 | 87 | End Function 88 | 89 | Public Function Negate() As IMoney Implements IMoney.Negate 90 | 91 | Return New Money(-Amount, Currency) 92 | 93 | End Function 94 | 95 | Public Function Subtract(ByVal m As IMoney) As IMoney Implements IMoney.Subtract 96 | 97 | Return Add(m.Negate()) 98 | 99 | End Function 100 | 101 | Public Overrides Function ToString() As String 102 | 103 | Return String.Format("[{0} {1}]", Amount, Currency) 104 | 105 | End Function 106 | 107 | End Class 108 | 109 | End Namespace 110 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenEdit.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="CitizenEdit.aspx.cs" Inherits="CitizenEdit" %> 2 | 3 | 4 | 5 | 6 | Home 7 | 9 | 11 | 13 | 14 | 15 | 17 | 18 | Id: 19 | 20 |
21 | FirstName: 22 | 24 |
25 | LastName: 26 | 28 |
29 | Phone: 30 | 31 |
32 | EmailAddress: 33 | 35 |
36 |
37 | 38 | FirstName: 39 | 41 |
42 | LastName: 43 | 45 |
46 | Phone: 47 | 48 |
49 | EmailAddress: 50 | 52 |
53 |
54 |
55 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
78 | 79 | -------------------------------------------------------------------------------- /SUFORS V.1/Src/Web/CitizenDetail.aspx: -------------------------------------------------------------------------------- 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" 2 | CodeFile="CitizenDetail.aspx.cs" Inherits="CitizenDetail" %> 3 | 4 | 5 | 6 | 7 | Home 8 | 10 | 12 | 14 | 15 | 16 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 30 | 32 | 33 | 34 | 37 | 38 | 40 | 42 | 44 | 45 | 46 | 48 | 49 | 50 | 51 | 52 | 55 | 56 | 57 | 58 | 59 | 61 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/sameasConstraint.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - SameasConstraint 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

Same As Constraint (NUnit 2.4)

28 | 29 |

A SameAsConstraint is used to test whether the object passed 30 | as an actual value has the same identity as the object supplied 31 | in its constructor. 32 | 33 |

Constructor

34 | 35 |
 36 | SameAsConstraint( object expected )
 37 | 
38 | 39 |

Syntax

40 | 41 |
 42 | Is.SameAs( object expected )
 43 | 
44 | 45 |

Examples of Use

46 | 47 |
 48 | Exception ex1 = new Exception();
 49 | Exception ex2 = ex1;
 50 | Assert.That( ex2, Is.SameAs( ex1 ) );
 51 | 
 52 | Exception ex3 = new Exception();
 53 | Assert.That( ex3, Is.Not.SameAs( ex1 ) );
 54 | 
55 |
56 | 57 | 58 | 94 | 95 | 96 | 97 | 98 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleSuiteExtension/Tests/SampleSuiteExtensionTests.csproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 25 | 45 | 65 | 66 | 67 | 71 | 76 | 81 | 82 | 83 | 84 | 85 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/samples/Extensibility/Core/SampleFixtureExtension/Tests/SampleFixtureExtensionTests.csproj: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 25 | 45 | 65 | 66 | 67 | 71 | 76 | 81 | 82 | 83 | 84 | 85 | 90 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/suiteBuilders.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - SuiteBuilders 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

SuiteBuilders (NUnit 2.4)

28 | 29 |

Purpose

30 |

A SuiteBuilder is an addin used to build a test fixture from a type. NUnit itself 31 | uses a SuiteBuilder to recognize and build TestFixtures. 32 | 33 |

Extension Point

34 |

An addin may use the host to access this extension point by name: 35 | 36 |

 37 | 	IExtensionPoint suiteBuilders = host.GetExtensionPoint( "SuiteBuilders" );
38 | 39 |

Interface

40 |

The extension object passed to Install must implement the ISuiteBuilder interface: 41 | 42 |

 43 | 	public interface ISuiteBuilder
 44 | 	{
 45 | 		bool CanBuildFrom( Type type );
 46 | 		Test BuildFrom( Type type );
 47 | 	}
 48 | 
49 | 50 |

CanBuildFrom should return true if the specified Type is one from which 51 | the builder is able to create a fixture. This usually involve examining 52 | the Type and its attriutes. 53 | 54 |

The BuildFrom method should return a test fixture completely populated 55 | with its contained test cases. Return null if it is not possible to 56 | build a fixture using the provided Type. 57 | 58 | 59 |

60 | 61 | 62 | 96 | 97 | 98 | 99 | 100 | 103 | 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/datapointProviders.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - DatapointProviders 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

DataPointProviders (NUnit 2.5)

28 | 29 |

Purpose

30 |

DataPointProviders are used to supply data for an individual parameter 31 | of a parameterized test method. 32 | 33 |

Extension Point

34 |

Addins use the host to access this extension point by name: 35 | 36 |

 37 | 	IExtensionPoint listeners = host.GetExtensionPoint( "DataPointProviders" );
38 | 39 |

Interface

40 |

The extension object passed to Install must implement the IDataPointProvider interface: 41 | 42 |

 43 | 	public interface IDataPointProvider
 44 | 	{
 45 | 		bool HasDataFor( ParameterInfo parameter );
 46 | 		IEnumerable GetDataFor( ParameterInfo parameter );
 47 | 	}
 48 | 
49 | 50 |

The HasDataFor method should return true if the provider is able to 51 | supply data for the specified parameter. If a provider only wants to be used 52 | on certain types of tests, it can examine the supplied ParameterInfo and 53 | its associated MethodInfo and Type. 54 | 55 |

The GetDataFor method should return a list of individual values to 56 | use for the supplied parameter in running the test. 57 | 58 |

59 | 60 | 61 | 95 | 96 | 97 | 98 | 99 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/license.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - License 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

NUnit License

28 | 29 |

30 | Copyright © 2002-2007 Charlie Poole
31 | Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
32 | Copyright © 2000-2002 Philip A. Craig

33 |

This software is provided 'as-is', without any express or implied warranty. In 34 | no event will the authors be held liable for any damages arising from the use 35 | of this software.

36 |

Permission is granted to anyone to use this software for any purpose, including 37 | commercial applications, and to alter it and redistribute it freely, subject to 38 | the following restrictions:

39 |

1. The origin of this software must not be misrepresented; you must not claim 40 | that you wrote the original software. If you use this software in a product, an 41 | acknowledgment (see the following) in the product documentation is required.

42 |

Portions Copyright © 2002-2007 Charlie Poole or 43 | Copyright © 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. 44 | Vorontsov or Copyright © 2000-2002 Philip A. Craig

45 |

2. Altered source versions must be plainly marked as such, and must not be 46 | misrepresented as being the original software.

47 |

3. This notice may not be removed or altered from any source distribution.

48 | 49 |

License Note

50 |

This license is based on 51 | the open source zlib/libpng license. The idea was to keep the license 52 | as simple as possible to encourage use of NUnit in free and commercial 53 | applications and libraries, but to keep the source code together and to give 54 | credit to the NUnit contributors for their efforts. While this license allows 55 | shipping NUnit in source and binary form, if shipping a NUnit variant is the 56 | sole purpose of your product, please let 57 | us know.

58 | 59 |
60 | 61 | 62 | 83 | 84 | 85 | 86 | 87 | 90 | 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /ThirdParty/NUnit/doc/upgrade.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NUnit - Upgrade 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 23 | 24 | 25 |
26 | 27 |

From NUnit 2.x

28 | 29 |

Beginning with version 2.2.1, old style test cases ("Test....") are no longer 30 | recognized by default. We recommend that you convert such test cases to use the 31 | TestAttribute. Alternatively, you may 32 | specify a setting in the test config file to allow use of old style test cases by 33 | default.

34 | 35 |

Beginning with NUnit 2.2.2, NUnit is able to run tests Built with older 36 | versions of NUnit 2.x without recompilation. Note that you must have an 37 | available copy of the nunit.framework assembly from the older version 38 | in order for your tests to load correctly. 39 | 40 |

From NUnit 1.x

41 | 42 |

NUnit 2.5 no longer supports inheriting from TestCase when defining a test. 43 | If you need to run such tests, you may continue to do so using the 44 | a 2.4.x or earlier version of the nunit.framework assembly. Of course, you 45 | will not be able to use new features introduced in 2.5 if you follow this 46 | course. 47 | 48 |

For a complete conversion to 2.5, you should modify and recompile your tests 49 | using the new version of NUnit. 50 | 51 |

Suite property

52 |

The NUnit 1.x Suite property will not be found by the new program. These must be 53 | changed to the "Suite" attribute for the test runners to find them. 54 | Another alternative is that these suites are no longer needed due to the 55 | automatic capability that is built in to the new version.

56 | 57 |

AssertionFailedError

58 |

If you have written code expecting the exception AssertionFailedError, this must 59 | be changed to AssertionException.

60 | 61 | 62 |
63 | 64 | 65 | 93 | 94 | 95 | 96 | 97 | 100 | 101 | 102 | 103 | 104 | --------------------------------------------------------------------------------