diff --git a/.gitignore b/.gitignore index 131b21a3..2fc55b4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ bin obj -build output *.user *.suo diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.dll new file mode 100644 index 00000000..192d5c22 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.pdb new file mode 100644 index 00000000..c11a3e95 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.xsd new file mode 100644 index 00000000..95fdf78a --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.BizTalk.xsd @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Framework.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Framework.xsd new file mode 100644 index 00000000..b7955ea3 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Framework.xsd @@ -0,0 +1,1245 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.dll new file mode 100644 index 00000000..edf2a652 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.pdb new file mode 100644 index 00000000..8d66e97f Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.xsd new file mode 100644 index 00000000..b6bcc527 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Iis7.xsd @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.dll new file mode 100644 index 00000000..f157516e Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.pdb new file mode 100644 index 00000000..648e127a Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.xsd new file mode 100644 index 00000000..c5c57337 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.JSharp.xsd @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.MSTFSBuild2008.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.MSTFSBuild2008.xsd new file mode 100644 index 00000000..ec204a2d --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.MSTFSBuild2008.xsd @@ -0,0 +1,745 @@ + + + + + + + + The Get task retrieves a read-only copy of the files and folders in a workspace by using specified options. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + The build URI. + + + + + + + REQUIRED. The workspace name. + + + + + + + The file versionspec. By default the versionspec used is T, or the latest version. + + + + + + + The items in the workspace. By default, Team Foundation Build gets all items in the workspace specified by the WorkspaceName property. + + + + + + + Specifies whether to overwrite writable files that are not checked out. + + + + + + + Populate the Gets, Replaces, Deletes and GetWarnings Item Groups + + + + + + + Specifies whether to display what would occur without actually performing the Get operation. + + + + + + + Specifies whether files are retrieved recursively. + + + + + + + Specifies whether the files are retrieved incrementally. + + + + + + + + + + + + The Label task attaches a label to the latest version of the files in the workspace. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The label name. By default, the name of the label created by Team Foundation Build is the same as the BuildNumber property. + + + + + + + The version of the file or folder. + + + + + + + Specifies the scope of the label + + + + + + + REQUIRED. The items to be labeled. + + + + + + + This corresponds to the /child option of tf.exe label command. + + + + + + + Specifies whether the files are labeled recursively. + + + + + + + The comment used for the label by Team Foundation Build. + + + + + + + + + + + + The GenCheckinNotesUpdateWorkItems task associates changesets and work items with a specified build. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + The Team Foundation Build build number. + + + + + + + REQUIRED. The version number label to which the changesets and work items are associated. + + + + + + + The starting version number label from which the changesets and work items are associated. + + + + + + + Boolean property that specifies whether the Microsoft.VSTS.Build.IntegrationBuild of the associated work items should be updated with the build number. + + + + + + + + + + + + The CreateNewWorkItem task creates a new work item of the specified type and with the specified title and description. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + The Team Foundation Build build number. + + + + + + + REQUIRED. The work item description. + + + + + + + REQUIRED. The team project name. + + + + + + + REQUIRED. The work item title. + + + + + + + Specifies a list of field names and values for the created work item. + + + + + + + The work item type. + + + + + + + + + + + + The CreateWorkspaceTask task creates a workspace with the name and mapping file specified in the TFSBuild.proj file. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + REQUIRED. The build directory. + + + + + + + REQUIRED. The solution root for directory for source files. + + + + + + + REQUIRED. The workspace name. + + + + + + + The comment used for the workspace. + + + + + + + + + + + + The DeleteWorkspaceTask task deletes the workspace left by the previous build. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + Indicates whether local items that are specified in the workspace mappings are deleted or not. + + + + + + + REQUIRED. The workspace name. + + + + + + + + + + + + The TestToolsTask task runs tests for an end-to-end build or for a desktop build. + + + + + + + + + The build configuration e.g. debug + + + + + + + The platform e.g. x86 + + + + + + + The Team Foundation Server URL. + + + + + + + The build number for the build. + + + + + + + The search path for test files. + + + + + + + Specifies where test results get uploaded. + + + + + + + The test metadata file. + + + + + + + The test configuration file. + + + + + + + The test list that is contained in the test metadata file. + + + + + + + The team project name. + + + + + + + The files that contain tests. + + + + + + + + + + + + The UpdateBuildNumberDropLocation updates the build number and drop location in the Team Foundation version control database. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + REQUIRED. The new build number. + + + + + + + REQUIRED. The new drop location. + + + + + + + + + + + + The BuildStep task is a convenience task that adds, and potentially updates via the output ID property, a BuildStep. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + If specified, this is the Id of the build step that is updated. If not specified, a new build step is created. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + The name of the build step that this task adds. + + + + + + + The message that is displayed in the build report in the build steps section. + + + + + + + The status for the build step. + + + + + + + + + + + + The GetBuildProperties task outputs the initial values for the build properties. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + + + + + + The SetBuildProperty task sets various properties for a build. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The URI for the build definition. + + + + + + + The build number. + + + + + + + The label name. + + + + + + + The Log Location. + + + + + + + + The compilation status. Valid values are Succeeded, Failed and Unknown. + + + + + + + + + + + + + + The drop location. + + + + + + + The build quality. + + + + + + + The build status. Valid values are NotStarted, InProgress, Succeeded, PartiallySucceeded, Failed, and Stopped. + + + + + + + + + + + + + + + + + The test status. Valid values are Succeeded, Failed, and Unknown. + + + + + + + + + + + + + + + + + + + The WorkspaceItemConverterTask task converts server items to local items and local items to server items. + + + + + + + + + REQUIRED. Team Foundation Server URL. + + + + + + + REQUIRED. The workspace name. + + + + + + + The workspace owner. + + + + + + + The server items that are converted to local items. + + + + + + + The local items that are converted to server items. + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.dll new file mode 100644 index 00000000..a139a189 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.pdb new file mode 100644 index 00000000..3dfad742 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.xsd new file mode 100644 index 00000000..fc237743 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2005.xsd @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.dll new file mode 100644 index 00000000..f27b2d43 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.pdb new file mode 100644 index 00000000..08cdad1e Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.xsd new file mode 100644 index 00000000..03eb5863 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sql2008.xsd @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.dll new file mode 100644 index 00000000..74317f96 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.pdb new file mode 100644 index 00000000..1a943e4a Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.xsd new file mode 100644 index 00000000..04370bbf --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.StyleCop.xsd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.dll new file mode 100644 index 00000000..c3b6697b Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.pdb new file mode 100644 index 00000000..ff44ac1d Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.xsd new file mode 100644 index 00000000..a6741604 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Sync.xsd @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.dll new file mode 100644 index 00000000..6864378c Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.pdb new file mode 100644 index 00000000..3a70e618 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.xsd b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.xsd new file mode 100644 index 00000000..eb37db21 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.Tfs.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.VersionNumber.targets b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.VersionNumber.targets new file mode 100644 index 00000000..a723d57b --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.VersionNumber.targets @@ -0,0 +1,127 @@ + + + + + + 1 + 0 + + + DateString + MMdd + AutoIncrement + 00 + + + + + 1 + 0 + + + DateString + MMdd + AutoIncrement + 00 + + + + + + + + + + + + + + + + + + + + + + false + false + + + + + + + + + + + + + + + + $(CoreCompileDependsOn); + UpdateAssemblyInfoFiles + + + + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll new file mode 100644 index 00000000..bc19d807 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll.config b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll.config new file mode 100644 index 00000000..f4e14fa8 --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.dll.config @@ -0,0 +1,10 @@ + + + + + + + + \ No newline at end of file diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.pdb b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.pdb new file mode 100644 index 00000000..ffd5a2a0 Binary files /dev/null and b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.pdb differ diff --git a/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.tasks b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.tasks new file mode 100644 index 00000000..4c1f2b9f --- /dev/null +++ b/build/MSBuild_Extension_Pack_3.5.3/MSBuild.ExtensionPack.tasks @@ -0,0 +1,107 @@ + + + + $(MSBuildProjectDirectory) + $(BuildPath)\..\..\BuildBinaries\ + $(MSBuildExtensionsPath)\ExtensionPack\ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/FsCheck_0.6.1/Contributors.txt b/lib/FsCheck_0.6.1/Contributors.txt new file mode 100644 index 00000000..70107632 --- /dev/null +++ b/lib/FsCheck_0.6.1/Contributors.txt @@ -0,0 +1,11 @@ +Contributors: +Neil Mitchell (the first version of reflective generators and shrinker) +Ganesh Sittampalam (various improvements and fixes in the property DSL) +toyvo (Makefile for mono users) +Steve Gilham (byte arbitrary instance) +David Crocker (first version of replay mechanism, bug fix) +(my sincerest apologies to anyone I overlooked - feel free to protest!) + +Thanks to: +Howard Mansell and team from Credit Suisse, for taking the time to clear up legal stuff and donate code, and being enthusiastic early adopters :). +Everyone that takes the time to report bugs or send feedback. \ No newline at end of file diff --git a/lib/FsCheck_0.6.1/FsCheck.XML b/lib/FsCheck_0.6.1/FsCheck.XML new file mode 100644 index 00000000..4ee68309 --- /dev/null +++ b/lib/FsCheck_0.6.1/FsCheck.XML @@ -0,0 +1,1609 @@ + + +FsCheck + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Generates (), of the unit type. + + + + +Genereate a 6-tuple. + + + + +Genereate a 5-tuple. + + + + +Genereate a 4-tuple. + + + + +Genereate a 3-tuple. + + + + +Genereate a 2-tuple. + + + + +Generates arbitrary strings, which are lists of chars generated by Char. + + + + +Generate an option value that is 'None' 1/4 of the time. + + + + +Generate an object. + + + + +Generate arbitrary int that is between -size and size. + + + + + + + +Generate a list of values. The size of the list is between 0 and the test size + 1. + + + + +Generates arbitrary floats, NaN, NegativeInfinity, PositiveInfinity, Maxvalue, MinValue, Epsilon included fairly frequently. + + + + +Generates arbitrary chars, between ASCII codes Char.MinValue and 127. + + + + + + + +Generates arbitrary bytes. + + + + +Generates arbitrary bools. + + + + +Generate a function value. + + + + + + + + + + +A collection of default generators. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Executes the command on the model of the object. + + + + +Excecutes the command on the actual object under test. + + + + +Precondition for execution of the command. + + + + + + + +Postcondition that must hold after execution of the command. + + + + + + + + + + +A single command describes pre and post conditions and the model for a single method under test. + + + + +Initial state of both object and model. + + + + +Generate a number of possible commands based on the current state of the model. The commands +are just hints to speed up execution; preconditions are still checked. + + + + +A specification for an object under test, based on an abstract model of the +object's behavior. + + + + +Turn a specification into a property. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Returns a generator for 'a. + + + + +Returns a sequence of the immediate shrinks of the given value. The immediate shrinks should not include +doubles or the given value itself. The default implementation returns the empty sequence (i.e. no shrinking). + + + + + + + + + + + + + +Returns a generator transformer for 'a. Necessary to generate functions with 'a as domain. Fails by +default if it is not overridden. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +The workflow type for generators. + + + + +map the given function to the value in the generator, yielding a new generator of the result type. + + + + + + + +Generator of a random value, based on a size parameter and a randomly generated int. + + + + + + + + + + + + + + + + + + + +Returns a Gen<'a> + + + + +Generates an integer between l and h, inclusive. +Note to QuickCheck users: this function is more general in QuickCheck, generating a Random a. + + + + +Returns a generator transformer for the given value, aka a coarbitrary function. + + + + +Always generate v. + + + + +Build a generator that randomly generates one of the values in the given non-empty list. + + + + +Apply ('map') the function f on the value in the generator, yielding a new generator. + + + + +Build a generator that generates a 4-tuple of the values generated by the given generator. + + + + +Build a generator that generates a value from one of the generators in the given non-empty list, with +given probabilities. The sum of the probabilities must be larger than zero. + + + + +The workflow function for generators, e.g. gen { ... } + + + + +Generates a value out of the generator with maximum size n. + + + + + + + + + + + + + +Lift the given function over values to a function over generators of those values. + + + + +Lift the given function over values to a function over generators of those values. + + + + +Lift the given function over values to a function over generators of those values. + + + + +Lift the given function over values to a function over generators of those values. + + + + +Lift the given function over values to a function over generators of those values. + + + + +Lift the given function over values to a function over generators of those values. + + + + + Generates a list of random length. The maximum length depends on the + size parameter. + + + + + Generates a non-empty list of random length. The maximum length + depends on the size parameter. + + + + +Build a generator that generates a value from one of the generators in the given non-empty list, with +equal probability. + + + + +Register the generators that are static members of the type argument, overwriting any existing generators. + + + + +Register the generators that are static members of the given type, overwriting any existing generators. + + + + +Promote the given function f to a function generator. + + + + +Default generator that generates a random number generator. Useful for starting off the process +of generating a random value. + + + + +Register the generators that are static members of the type argument. + + + + +Register the generators that are static members of the given type. + + + + +Override the current size of the test. resize n g invokes generator g with size parameter n. + + + + +Sequence the given list of generators into a generator of a list. +Note to QuickCheck users: this is monadic sequence, which cannot be expressed generally in F#. + + + + +Returns the immediate shrinks for the given value. + + + + +Obtain the current size. sized g calls g, passing it the current size as a parameter. + + + + +Generates a value that satisfies a predicate. Contrary to suchThatOption, this function keeps re-trying +by increasing the size of the original generator ad infinitum. Make sure there is a high chance that +the predicate is satisfied. +Note to QuickCheck users: order of arguments wrt QuickCheck is reversed, to make piping easier. + + + + +Tries to generate a value that satisfies a predicate. This function 'gives up' by generating None +if the given original generator did not generate any values that satisfied the predicate, after trying to +get values from by increasing its size. +Note to QuickCheck users: order of arguments wrt QuickCheck is reversed, to make piping easier. + + + + +Build a generator that generates a 3-tuple of the values generated by the given generator. + + + + +Build a generator that generates a 2-tuple of the values generated by the given generator. + + + + +Basic co-arbitrary generator transformer, which is dependent on an int. + + + + +Generates a list of given length, containing values generated by the given generator. +vector g n generates a list of n t's, if t is the type that g generates. + + + + +Generates a list of given length, containing values generated by the given generator. +Identical to vector, but with arguments reversed so it is consistent with listOf and nonEmptyListOf. + + + + + + + + determines for which OUtcome the result should be shrunk, or shrinking should continue. + + + + + + + +Type synonym for a test result generator. + + + + + + + +Returns a new result that is Succeeded if and only if both this +and the given Result are Succeeded. + + + + +The result of one execution of a property. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Classify test cases combinator. Test cases satisfying the condition are assigned the classification given. + + + + +Collect data values property combinator. The argument of collect is evaluated in each test case, +and the distribution of values is reported, using any_to_string. + + + + + + + + + + + + + + + + + + + +Quantified property combinator. Provide a custom test data generator to a property. + + + + +Quantified property combinator. Provide a custom test data generator to a property. +Shrink failing test cases using the given shrink function. + + + + + + + + + + +Add the given label to the property. The labels of a failing sub-property are displayed when it fails. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Add the given label to the property. label on the left hand side, property on the right. + + + + +Add the given label to the property. Property on the left hand side, label on the right. + + + + +Construct a property that succeeds if both succeed. (cfr 'and') + + + + +Construct a property that fails if both fail. (cfr 'or') + + + + +Conditional property combinator. Resulting property holds if the property after ==> holds whenever the condition does. + + + + + + + +Property constructor. Constructs a property from a bool. + + + + + + + +Lazy property constructor. Constructs a property from a Lazy. + + + + + + + + + + + + + + + + +Property combinator to shrink an original value x using the shrinking function shrink:'a -> #seq<'a>, and the testable +function pf. + + + + + + + + + + +Expect exception 't when executing p. So, results in success if an exception of the given type is thrown, +and a failure otherwise. + + + + + + + +Count trivial cases property combinator. Test cases for which the condition is True are classified as trivial. + + + + +Fails the property if it does not complete within t milliseconds. Note that the called property gets a +cancel signal, but whether it responds to that is up to the property; the execution may not actually stop. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Equality for generic types + + + + + Get constructor for record type + + + + + Get information on the fields of a record type + + + + + Get reader for record type + + + + + Returns the case name, type, and functions that will construct a constructor and a reader of a union type respectively + + + + + Get reader for union case name (aka tag) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Builds a generator for the given type based on reflection. Currently works for record and union types. + + + + + + + + + + + + + + + + + + + +For configuring a run. + + + + +Called on a succesful shrink. + + + + +Called whenever all tests are done, either True, False or Exhausted. + + + + +Called whenever arguments are generated and after the test is run. + + + + +For implementing your own test runner. + + + + + + + + + + + + + + + + +Check the given property p using the given Config. + + + + +Check all public static methods on the given type that have a Testable return type(this includes let-bound functions in a module) + + + + + + + + + + +A runner that simply prints results to the console. + + + + + + + +Force this value to do the necessary initializations of typeclasses. Normally this initialization happens automatically. +In any case, it can be forced any number of times without problem. + + + + + + + +The quick configuration only prints a summary result at the end of the test. + + + + +Check with the configuration 'quick'. + + + + +Check all public static methods on the given type that have a Testable return type with configuration 'quick' + + + + +Check with the configuration 'quick', and using the given name. + + + + + + + + + + + + + +A function that returns the default string that is printed as a result of the test. + + + + + + + + + + +The verbose configuration prints each generated argument. + + + + +Check with the configuration 'verbose'. + + + + + Check all public static methods on the given type that have a Testable return type with configuration 'verbose' + + + + +Check with the configuration 'verbose', and using the given name. + + + + + + + + + + + + + + + + +Get the typeclass instance from the given typeclass and instance type. + + + + +Define a new typeclass of the given (generic) type. The methods on this class are the ones that will be associated with +its generic type. + + + + +Register instances in a given class as instances of the given type class, overwriting any existing instances. + + + + +Register instances in a given class as instances of the given type class, overwriting any existing instances. + + + + +Register instances in a given class as instances of the given type class. + + + + +Register instances in a given class as instances of the given type class. + + + + + + + + + + + + + diff --git a/lib/FsCheck_0.6.1/FsCheck.dll b/lib/FsCheck_0.6.1/FsCheck.dll new file mode 100644 index 00000000..8d407103 Binary files /dev/null and b/lib/FsCheck_0.6.1/FsCheck.dll differ diff --git a/lib/FsCheck_0.6.1/FsCheck.pdb b/lib/FsCheck_0.6.1/FsCheck.pdb new file mode 100644 index 00000000..8ddc3615 Binary files /dev/null and b/lib/FsCheck_0.6.1/FsCheck.pdb differ diff --git a/lib/FsCheck_0.6.1/License.txt b/lib/FsCheck_0.6.1/License.txt new file mode 100644 index 00000000..c0cea5c2 --- /dev/null +++ b/lib/FsCheck_0.6.1/License.txt @@ -0,0 +1,12 @@ +Copyright (c) 2008-2009, Kurt Schelfthout +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of Kurt Schelfthout nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/ASL - Apache Software Foundation License.txt b/lib/Gallio_3.0.6.787/ASL - Apache Software Foundation License.txt new file mode 100644 index 00000000..e259b584 --- /dev/null +++ b/lib/Gallio_3.0.6.787/ASL - Apache Software Foundation License.txt @@ -0,0 +1,57 @@ +Apache License, Version 2.0 + +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and + + 2. You must cause any modified files to carry prominent notices stating that You changed the files; and + + 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS diff --git a/lib/Gallio_3.0.6.787/Cecil.FlowAnalysis.license.html b/lib/Gallio_3.0.6.787/Cecil.FlowAnalysis.license.html new file mode 100644 index 00000000..d7d78ce5 --- /dev/null +++ b/lib/Gallio_3.0.6.787/Cecil.FlowAnalysis.license.html @@ -0,0 +1,37 @@ + + +Cecil.FlowAnalysis.license + + + +

+ (C) 2005-2006 db4objects, Inc. http://www.db4o.com +

+

+ Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in the + Software without restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, subject to the + following conditions: +

+

+ The above copyright notice and this permission notice shall be included in all copies + or substantial portions of the Software. +

+

+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. +

+ + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/Credits.html b/lib/Gallio_3.0.6.787/Credits.html new file mode 100644 index 00000000..d43c7ef0 --- /dev/null +++ b/lib/Gallio_3.0.6.787/Credits.html @@ -0,0 +1,83 @@ + +Credits + +

+Many people have donated their creativity, insight, time and effort +to the Gallio and MbUnit projects. +

+We would like to take a moment to recognize and thank these individuals. +

+

Contributors

+

+These people have contributed directly to this project as developers, +writers, editors, leaders, and promoters. +

+We thank them all for their careful attention to detail and work +in pursuit of excellence. +

+

+

+

Acknowledgements

+

+These people have contributed indirectly to this project as peers, +users, reviewers, bug reporters, friends and family. +

+We thank them all for their ideas, support and constructive criticism. +

+

+

+

Final Thanks

+

+In addition to these fine people, there are always countless others whose +efforts directly or indirectly supported this project. They produced +the tools we use, invented the ideas we borrowed, and offered a kind word +in a time of need. +

+We thank them all. +

+If you are one of these people and your name does not appear on this list, +please let us know and we shall update it. +

+ + diff --git a/lib/Gallio_3.0.6.787/Gallio License.txt b/lib/Gallio_3.0.6.787/Gallio License.txt new file mode 100644 index 00000000..3d41c893 --- /dev/null +++ b/lib/Gallio_3.0.6.787/Gallio License.txt @@ -0,0 +1,14 @@ +Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +Portions Copyright 2000-2004 Jonathan de Halleux + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/lib/Gallio_3.0.6.787/Gallio Website.url b/lib/Gallio_3.0.6.787/Gallio Website.url new file mode 100644 index 00000000..f488e52a --- /dev/null +++ b/lib/Gallio_3.0.6.787/Gallio Website.url @@ -0,0 +1,8 @@ +[InternetShortcut] +URL=http://www.gallio.org/ +IDList= +IconFile=http://www.mbunit.com/favicon.ico +IconIndex=1 +HotKey=0 +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,2 diff --git a/lib/Gallio_3.0.6.787/MbUnit Website.url b/lib/Gallio_3.0.6.787/MbUnit Website.url new file mode 100644 index 00000000..6f2b4e28 --- /dev/null +++ b/lib/Gallio_3.0.6.787/MbUnit Website.url @@ -0,0 +1,8 @@ +[InternetShortcut] +URL=http://www.mbunit.com/ +IDList= +IconFile=http://www.mbunit.com/favicon.ico +IconIndex=1 +HotKey=0 +[{000214A0-0000-0000-C000-000000000046}] +Prop3=19,2 diff --git a/lib/Gallio_3.0.6.787/Mono.Cecil.license.html b/lib/Gallio_3.0.6.787/Mono.Cecil.license.html new file mode 100644 index 00000000..8025bbaf --- /dev/null +++ b/lib/Gallio_3.0.6.787/Mono.Cecil.license.html @@ -0,0 +1,36 @@ + + +Mono.Cecil.license + + + +

+ (C) 2004-2006 Jb Evain +

+

+ Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in the + Software without restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, subject to the + following conditions: +

+

+ The above copyright notice and this permission notice shall be included in all copies + or substantial portions of the Software. +

+

+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE.

+ + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/Mono.GetOptions.license.html b/lib/Gallio_3.0.6.787/Mono.GetOptions.license.html new file mode 100644 index 00000000..22c56b31 --- /dev/null +++ b/lib/Gallio_3.0.6.787/Mono.GetOptions.license.html @@ -0,0 +1,38 @@ + + +Mono.GetOptions.license + + + +

+ Mono.GetOptions - + (C) 2002, 2003, 2004, 2005 Rafael Teixeira +

+

+ Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal in the + Software without restriction, including without limitation the rights to use, copy, + modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, subject to the + following conditions: +

+

+ The above copyright notice and this permission notice shall be included in all copies + or substantial portions of the Software. +

+

+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE + USE OR OTHER DEALINGS IN THE SOFTWARE. +

+ + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/db4o.license.html b/lib/Gallio_3.0.6.787/db4o.license.html new file mode 100644 index 00000000..a38d4052 --- /dev/null +++ b/lib/Gallio_3.0.6.787/db4o.license.html @@ -0,0 +1,384 @@ + + +GNU GENERAL PUBLIC LICENSE + + + +

+ GNU GENERAL PUBLIC LICENSE +
+

+ Version 2, June 1991 +
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc. +
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +
+ Everyone is permitted to copy and distribute verbatim copies of this license document, + but changing it is not allowed. +
+
+

+ Preamble

+

+ The licenses for most software are designed to take away your freedom to share and + change it. By contrast, the GNU General Public License is intended to guarantee + your freedom to share and change free software--to make sure the software is free + for all its users. This General Public License applies to most of the Free Software + Foundation's software and to any other program whose authors commit to using it. + (Some other Free Software Foundation software is covered by the GNU Library General + Public License instead.) You can apply it to your programs, too. +
+

+

+ When we speak of free software, we are referring to freedom, not price. Our General + Public Licenses are designed to make sure that you have the freedom to distribute + copies of free software (and charge for this service if you wish), that you receive + source code or can get it if you want it, that you can change the software or use + pieces of it in new free programs; and that you know you can do these things. +
+

+

+ To protect your rights, we need to make restrictions that forbid anyone to deny + you these rights or to ask you to surrender the rights. These restrictions translate + to certain responsibilities for you if you distribute copies of the software, or + if you modify it. +
+
+ For example, if you distribute copies of such a program, whether gratis or for a + fee, you must give the recipients all the rights that you have. You must make sure + that they, too, receive or can get the source code. And you must show them these + terms so they know their rights. +
+
+ We protect your rights with two steps: (1) copyright the software, and (2) offer + you this license which gives you legal permission to copy, distribute and/or modify + the software. +
+
+ Also, for each author's protection and ours, we want to make certain that everyone + understands that there is no warranty for this free software. If the software is + modified by someone else and passed on, we want its recipients to know that what + they have is not the original, so that any problems introduced by others will not + reflect on the original authors' reputations. +
+
+ Finally, any free program is threatened constantly by software patents. We wish + to avoid the danger that redistributors of a free program will individually obtain + patent licenses, in effect making the program proprietary. To prevent this, we have + made it clear that any patent must be licensed for everyone's free use or not licensed + at all. +
+
+ The precise terms and conditions for copying, distribution and modification follow. +
+

+

+ GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +
+
+ 0. This License applies to any program or other work which contains a notice placed + by the copyright holder saying it may be distributed under the terms of this General + Public License. The "Program", below, refers to any such program or work, and a + "work based on the Program" means either the Program or any derivative work under + copyright law: that is to say, a work containing the Program or a portion of it, + either verbatim or with modifications and/or translated into another language. (Hereinafter, + translation is included without limitation in the term "modification".) Each licensee + is addressed as "you". +
+
+ Activities other than copying, distribution and modification are not covered by + this License; they are outside its scope. The act of running the Program is not + restricted, and the output from the Program is covered only if its contents constitute + a work based on the Program (independent of having been made by running the Program). + Whether that is true depends on what the Program does. +
+
+ 1. You may copy and distribute verbatim copies of the Program's source code as you + receive it, in any medium, provided that you conspicuously and appropriately publish + on each copy an appropriate copyright notice and disclaimer of warranty; keep intact + all the notices that refer to this License and to the absence of any warranty; and + give any other recipients of the Program a copy of this License along with the Program. +
+
+ You may charge a fee for the physical act of transferring a copy, and you may at + your option offer warranty protection in exchange for a fee. +
+
+ 2. You may modify your copy or copies of the Program or any portion of it, thus + forming a work based on the Program, and copy and distribute such modifications + or work under the terms of Section 1 above, provided that you also meet all of these + conditions: +
+ a) You must cause the modified files to carry prominent notices stating that you + changed the files and the date of any change. +
+ b) You must cause any work that you distribute or publish, that in whole or in part + contains or is derived from the Program or any part thereof, to be licensed as a + whole at no charge to all third parties under the terms of this License. +
+ c) If the modified program normally reads commands interactively when run, you must + cause it, when started running for such interactive use in the most ordinary way, + to print or display an announcement including an appropriate copyright notice and + a notice that there is no warranty (or else, saying that you provide a warranty) + and that users may redistribute the program under these conditions, and telling + the user how to view a copy of this License. (Exception: if the Program itself is + interactive but does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) +
+
+ These requirements apply to the modified work as a whole. If identifiable sections + of that work are not derived from the Program, and can be reasonably considered + independent and separate works in themselves, then this License, and its terms, + do not apply to those sections when you distribute them as separate works. But when + you distribute the same sections as part of a whole which is a work based on the + Program, the distribution of the whole must be on the terms of this License, whose + permissions for other licensees extend to the entire whole, and thus to each and + every part regardless of who wrote it. +
+
+ Thus, it is not the intent of this section to claim rights or contest your rights + to work written entirely by you; rather, the intent is to exercise the right to + control the distribution of derivative or collective works based on the Program. +
+
+ In addition, mere aggregation of another work not based on the Program with the + Program (or with a work based on the Program) on a volume of a storage or distribution + medium does not bring the other work under the scope of this License. +
+
+ 3. You may copy and distribute the Program (or a work based on it, under Section + 2) in object code or executable form under the terms of Sections 1 and 2 above provided + that you also do one of the following: +
+ a) Accompany it with the complete corresponding machine-readable source code, which + must be distributed under the terms of Sections 1 and 2 above on a medium customarily + used for software interchange; or, +
+ b) Accompany it with a written offer, valid for at least three years, to give any + third party, for a charge no more than your cost of physically performing source + distribution, a complete machine-readable copy of the corresponding source code, + to be distributed under the terms of Sections 1 and 2 above on a medium customarily + used for software interchange; or, +
+ c) Accompany it with the information you received as to the offer to distribute + corresponding source code. (This alternative is allowed only for noncommercial distribution + and only if you received the program in object code or executable form with such + an offer, in accord with Subsection b above.) +
+
+ The source code for a work means the preferred form of the work for making modifications + to it. For an executable work, complete source code means all the source code for + all modules it contains, plus any associated interface definition files, plus the + scripts used to control compilation and installation of the executable. However, + as a special exception, the source code distributed need not include anything that + is normally distributed (in either source or binary form) with the major components + (compiler, kernel, and so on) of the operating system on which the executable runs, + unless that component itself accompanies the executable. +
+
+ If distribution of executable or object code is made by offering access to copy + from a designated place, then offering equivalent access to copy the source code + from the same place counts as distribution of the source code, even though third + parties are not compelled to copy the source along with the object code. +
+
+ 4. You may not copy, modify, sublicense, or distribute the Program except as expressly + provided under this License. Any attempt otherwise to copy, modify, sublicense or + distribute the Program is void, and will automatically terminate your rights under + this License. However, parties who have received copies, or rights, from you under + this License will not have their licenses terminated so long as such parties remain + in full compliance. +
+
+ 5. You are not required to accept this License, since you have not signed it. However, + nothing else grants you permission to modify or distribute the Program or its derivative + works. These actions are prohibited by law if you do not accept this License. Therefore, + by modifying or distributing the Program (or any work based on the Program), you + indicate your acceptance of this License to do so, and all its terms and conditions + for copying, distributing or modifying the Program or works based on it. +
+
+ 6. Each time you redistribute the Program (or any work based on the Program), the + recipient automatically receives a license from the original licensor to copy, distribute + or modify the Program subject to these terms and conditions. You may not impose + any further restrictions on the recipients' exercise of the rights granted herein. + You are not responsible for enforcing compliance by third parties to this License. +
+
+ 7. If, as a consequence of a court judgment or allegation of patent infringement + or for any other reason (not limited to patent issues), conditions are imposed on + you (whether by court order, agreement or otherwise) that contradict the conditions + of this License, they do not excuse you from the conditions of this License. If + you cannot distribute so as to satisfy simultaneously your obligations under this + License and any other pertinent obligations, then as a consequence you may not distribute + the Program at all. For example, if a patent license would not permit royalty-free + redistribution of the Program by all those who receive copies directly or indirectly + through you, then the only way you could satisfy both it and this License would + be to refrain entirely from distribution of the Program. +
+
+ If any portion of this section is held invalid or unenforceable under any particular + circumstance, the balance of the section is intended to apply and the section as + a whole is intended to apply in other circumstances. +
+
+ It is not the purpose of this section to induce you to infringe any patents or other + property right claims or to contest validity of any such claims; this section has + the sole purpose of protecting the integrity of the free software distribution system, + which is implemented by public license practices. Many people have made generous + contributions to the wide range of software distributed through that system in reliance + on consistent application of that system; it is up to the author/donor to decide + if he or she is willing to distribute software through any other system and a licensee + cannot impose that choice. +
+
+ This section is intended to make thoroughly clear what is believed to be a consequence + of the rest of this License. +
+
+ 8. If the distribution and/or use of the Program is restricted in certain countries + either by patents or by copyrighted interfaces, the original copyright holder who + places the Program under this License may add an explicit geographical distribution + limitation excluding those countries, so that distribution is permitted only in + or among countries not thus excluded. In such case, this License incorporates the + limitation as if written in the body of this License. +
+
+ 9. The Free Software Foundation may publish revised and/or new versions of the General + Public License from time to time. Such new versions will be similar in spirit to + the present version, but may differ in detail to address new problems or concerns. +
+
+ Each version is given a distinguishing version number. If the Program specifies + a version number of this License which applies to it and "any later version", you + have the option of following the terms and conditions either of that version or + of any later version published by the Free Software Foundation. If the Program does + not specify a version number of this License, you may choose any version ever published + by the Free Software Foundation. +
+
+ 10. If you wish to incorporate parts of the Program into other free programs whose + distribution conditions are different, write to the author to ask for permission. + For software which is copyrighted by the Free Software Foundation, write to the + Free Software Foundation; we sometimes make exceptions for this. Our decision will + be guided by the two goals of preserving the free status of all derivatives of our + free software and of promoting the sharing and reuse of software generally. +
+
+ NO WARRANTY +
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE + PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED + IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD + THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR + OR CORRECTION. +
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY + COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM + AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, + INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE + PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE + OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE + WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF + THE POSSIBILITY OF SUCH DAMAGES. +
+
+ END OF TERMS AND CONDITIONS +
+
+ How to Apply These Terms to Your New Programs +
+
+ If you develop a new program, and you want it to be of the greatest possible use + to the public, the best way to achieve this is to make it free software which everyone + can redistribute and change under these terms. +
+
+ To do so, attach the following notices to the program. It is safest to attach them + to the start of each source file to most effectively convey the exclusion of warranty; + and each file should have at least the "copyright" line and a pointer to where the + full notice is found. 
+

+

+ <one line to give the program's name and a brief idea of what it does.>
+ + Copyright (C) <year> <name of author> +

+ +

+ This program is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software Foundation; + either version 2 of the License, or (at your option) any later version. +

+

+ This program + is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU General Public License for more details. +

+

+ You should have received a + copy of the GNU General Public License along with this program; if not, write to + the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA

+
+

+ Also add information on how to contact you by electronic and paper mail. +

+

+ If + the program is interactive, make it output a short notice like this when it starts + in an interactive mode: +

+
+ Gnomovision version 69, Copyright (C) year name of author +
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is + free software, and you are welcome to redistribute it under certain conditions; + type `show c' for details. +
+

+ The hypothetical commands `show w' and `show c' should + show the appropriate parts of the General Public License. Of course, the commands + you use may be called something other than `show w' and `show c'; they could even + be mouse-clicks or menu items + -whatever suits your program. +

+

+ You should also get + your employer (if you work as a programmer) or your school, if any, to sign a "copyright + disclaimer" for the program, if necessary. Here is a sample; alter the names: +

+ +
+

+ Yoyodyne, + Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which + makes passes at compilers) written by James Hacker.

+

+ <signature of Ty Coon>, + 1 April 1989
Ty Coon, President of Vice +

+
+

+ This General Public License does not permit + incorporating your program into proprietary programs. If your program is a subroutine + library, you may consider it more useful to permit linking proprietary applications + with the library. If this is what you want to do, use the GNU Library General Public + License instead of this License. +

+ + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/docs/Gallio.chm b/lib/Gallio_3.0.6.787/docs/Gallio.chm new file mode 100644 index 00000000..d9781060 Binary files /dev/null and b/lib/Gallio_3.0.6.787/docs/Gallio.chm differ diff --git a/lib/Gallio_3.0.6.787/docs/Samples/Gallio/EasyTest/EasyTest Sample Readme.txt b/lib/Gallio_3.0.6.787/docs/Samples/Gallio/EasyTest/EasyTest Sample Readme.txt new file mode 100644 index 00000000..d5a4ee89 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/Samples/Gallio/EasyTest/EasyTest Sample Readme.txt @@ -0,0 +1,8 @@ +EasyTest Sample +=============== + +This sample illustrates the process of creating a new test framework +using Gallio. + +For more information about this sample, please refer to the +"Creating a Test Framework" chapter in the Gallio book. diff --git a/lib/Gallio_3.0.6.787/docs/vs/Gallio.HxS b/lib/Gallio_3.0.6.787/docs/vs/Gallio.HxS new file mode 100644 index 00000000..8bbaf621 Binary files /dev/null and b/lib/Gallio_3.0.6.787/docs/vs/Gallio.HxS differ diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxC b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxC new file mode 100644 index 00000000..8be1c552 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxC @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxT b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxT new file mode 100644 index 00000000..de346ee4 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.HxT @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.h2reg.ini b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.h2reg.ini new file mode 100644 index 00000000..f36c5502 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection.h2reg.ini @@ -0,0 +1,28 @@ +; This file is intended for input into the H2Reg.exe help registration utility. +; H2Reg.exe is a shareware product from The Helpware Group that can be integrated into +; installers used for deploying html help 2 titles and collections. +; H2Reg.exe can be downloaded and licensed from http://www.helpware.net + +[Reg_Namespace] +GallioCollection|GallioCollection.HxC|Gallio API Documentation + +[UnReg_Namespace] +GallioCollection + +[Reg_Plugin] +ms.vsipcc+|_DEFAULT|GallioCollection|_DEFAULT| + +[UnReg_Plugin] +ms.vsipcc+|_DEFAULT|GallioCollection|_DEFAULT| + +[Reg_Filter] +GallioCollection|Gallio API Documentation|("DocSet"="Gallio") + +[UnReg_Filter] +GallioCollection|Gallio API Documentation + +[Reg_Title] +GallioCollection|Gallio|1033|Gallio.HxS|Gallio.HxS|||||| + +[UnReg_Title] +GallioCollection|Gallio|1033 diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_A.HxK b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_A.HxK new file mode 100644 index 00000000..dd8127c0 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_A.HxK @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_F.HxK b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_F.HxK new file mode 100644 index 00000000..810bb822 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_F.HxK @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_K.HxK b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_K.HxK new file mode 100644 index 00000000..764d4713 --- /dev/null +++ b/lib/Gallio_3.0.6.787/docs/vs/GallioCollection_K.HxK @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/How to use Gallio with CruiseControl.Net.txt b/lib/Gallio_3.0.6.787/extras/CCNet/How to use Gallio with CruiseControl.Net.txt new file mode 100644 index 00000000..4aa4c85d --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/How to use Gallio with CruiseControl.Net.txt @@ -0,0 +1,107 @@ +How to use Gallio with CruiseControl.Net +======================================== + +Using Gallio in CruiseControl.Net is very straightforward. + +NOTE: These instructions are designed for use with CruiseControl.Net v1.4 RTM. + They may work with other versions but there are no guarantees. + + +CONFIGURING THE SERVER +---------------------- + +For the server, we need to ensure that the build script runs the tests and generates an XML +formatted Gallio Test Report that is then merged into the CruiseControl.Net artifacts file +with the publisher task. + +You can use any of the supported Gallio test runners to run your tests such as Gallio.Echo, +Gallio.MSBuildTasks, Gallio.NAntTasks or Gallio.PowerShellCmdlet. The important thing is +to provide appropriate arguments to the test runner such that an XML report is generated +so that the test results can be saved for subsequent display in the dashboard. + +Here is one way to do this: + +1. Edit the "ccnet.config" file in the CruiseControl.Net "server" folder. + + * Within the element, add an element similar to the following AFTER the tasks that + build your project. This will run the tests in your test assembly and generate an + XML test report in the project working directory. + + + $$$PathToGallioInstallationFolder$$$\bin\Gallio.Echo.exe + /rnf:test-report /rt:Xml-Inline /v:Quiet $$$MyTestAssembly.dll$$$ + + + * Within the element, add an element similar to the following BEFORE the + task element. This will merge the XML test report into the build artifacts. + + test-report.xml + +2. Double-check: + + * The XML test report is being generated as part of a build task. + * The XML test report is being merged into the CruiseControl.Net artifacts file + as part of a publisher task. + +3. There is normally no need to restart the CruiseControl.Net server since it automatically + detects changes to the "ccnet.config" file. + + +CONFIGURING THE DASHBOARD +------------------------- + +For the dashboard, we need to add some new resources that are used to render the Gallio Test Report +we must update the dashboard configuration file to include the new test report plugin. + +1. Copy the entire contents of the "extras\CCNet\webdashboard" folder from the Gallio + installation direction into the "webdashboard" folder of your CruiseControl.Net + installation. + +2. (Skip if running CruiseControl.Net v1.4 or more recent.) + + Edit the "templates/SiteTemplates.vm" file manually to add the following DTD + declaraction to the top of this file: + + + +3. Edit the "dashboard.config" file in the CruiseControl.Net "webdashboard" folder. + + * Within the element, add the following elements: + + + + + +4. Double-check: + + * The "webdashboard" folder now contains "gallio\css", "gallio\img", "gallio\js", "gallio\xml". + * The "webdashboard" folder now contains "bin\CCNet.Gallio.WebDashboard.Plugin.dll". + * The "webdashboard" folder now contains "templates\SiteTemplate.vm" with an updated DTD declaration. + * The "dashboard.config" file has been edited to include the new build report section. + +5. Restart the CruiseControl.Net web application. (eg. By resetting IIS.) + +Note: + + It can happen that the plugin distributed with Gallio is incompatible with the version + of CruiseControl.Net that you have installed. The dashboard may fail to start in this + case. + + In this case you may choose to omit the element and + delete the plugin dll from your dashboard's bin directory which will cause attachments and + images within the Gallio reports to not be displayed. + + Or you may choose to recompile the plugin yourself by checking out the Gallio source tree, + replacing the version of the CruiseControl.Net libraries in the "src\Extensions\CCNet\libs" + folder and running the "Build.bat" file. + + +Usage Remark: + + The full Gallio report may be quite large and take a long time to load because it includes + all test results. In contrast, the "Condensed" report excludes passing tests so it is + often somewhat easier to work with when there are only a few failures in a large test suite. diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/css/Gallio-Report.css b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/css/Gallio-Report.css new file mode 100644 index 00000000..a99d7400 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/css/Gallio-Report.css @@ -0,0 +1,509 @@ +/* Common inherited text options */ +.gallio-report +{ + font-family: Verdana, Arial, Helvetica, Helv, sans-serif; + font-size: 10pt; + word-wrap: break-word; /* IE and CSS3, we use for other browsers */ +} + +/* Containers */ +div.gallio-report, body.gallio-report +{ + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + overflow: hidden; + width: 100%; +} + +.gallio-report div.header +{ + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + background-color: #95b0be; + background-image: url(../img/header-background.gif); + background-repeat: repeat-y; + width: 100%; + height: 59px; + border-bottom: solid 1px black; +} + +.gallio-report div.header-image +{ + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + width: 100%; + height: 60px; + background-image: url(../img/GallioTestReportHeader.png); + background-repeat: no-repeat; + background-position: 0 0; +} + +.gallio-report div.content +{ + width: 100%; +} + +/* Navigation bar */ +.gallio-report div.navigator +{ + position: fixed; + right: 0px; + bottom: 0px; + margin: 0px 0px 0px 0px; + padding: 0px 0px 0px 0px; + width: 17px; + background-color: #d0d4d8; + overflow: hidden; +} + +.gallio-report div.navigator a.navigator-box +{ + display: block; + cursor: pointer; + width: 9px; + height: 9px; + position: absolute; + top: 3px; + left: 3px; + border: solid 1px black; +} + +.gallio-report div.navigator div.navigator-stripes +{ + position: absolute; + top: 17px; + bottom: 0px; + width: 17px; +} + +.gallio-report div.navigator div.navigator-stripes a +{ + display: block; + cursor: pointer; + width: 11px; + height: 2px; + position: absolute; + left: 3px; +} + +/* Generate a fixed layout when the report is the whole document */ +body.gallio-report div.header +{ + position: fixed; + top: 0px; + left: 0px; +} + +body.gallio-report div.content +{ + position: fixed; + top: 60px; + left: 0px; + right: 17px; + bottom: 0px; + overflow: auto; + width: auto; +} + +body.gallio-report div.navigator +{ + top: 60px; +} + +/* Generate an embedded layout when the report is only a fragment */ +div.gallio-report div.header +{ + border: solid 1px black; +} + +div.gallio-report div.navigator +{ + top: 0px; +} + +/* Section headings */ +.gallio-report h2 +{ + font-size: 13pt; + letter-spacing: 0.15em; + color: #1f1f1f; + padding: 0; + margin: 0 0 3px 0; + text-indent: 8px; +} + +/* Toggle regions */ +.gallio-report ul +{ + list-style-type: none; + padding-left: 0px; + margin: 0px 0px 0px 0px; +} + +.gallio-report div.panel +{ + margin: 0px 0px 0px 24px; +} + +.gallio-report img.toggle +{ + cursor: pointer; + margin-right: 6px; +} + +/* Status colors */ +.gallio-report .status-passed +{ + background-color: #008000; +} + +.gallio-report .status-failed +{ + background-color: #ff0000; +} + +.gallio-report .status-inconclusive +{ + background-color: #ffff00; +} + +.gallio-report .status-skipped +{ + background-color: #999999; +} + +/* Outcome bar */ +.gallio-report table.outcome-bar +{ + display: inline; + vertical-align: middle; + margin-left: 8px; +} + +.gallio-report div.outcome-bar +{ + overflow: hidden; + + border: solid 1px #000000; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 0px; + + height: 8px; + width: 72px; +} + +.gallio-report div.outcome-bar.condensed +{ + height: 6px; + width: 20px; +} + + +/* Outcome statistics */ +.gallio-report span.outcome-icons +{ + font-size: 11pt; +} + + +/* Test runs */ +.gallio-report .testStepRun +{ + margin-top: 12pt; + font-size: 10pt; +} + +.gallio-report .testStepRunHeading +{ + font-weight: bold; + font-size: 10pt; +} + +.gallio-report .testStepRunHeading-Level1 +{ + font-size: 12pt; +} + +.gallio-report .testStepRunHeading-Level2 +{ + font-size: 11pt; +} + +.gallio-report .testStepRunHeading-Level3 +{ + font-size: 10pt; +} + +.gallio-report .testStepRunHeading-Level4 +{ + font-size: 10pt; +} + + +/* Metadata entries */ +.gallio-report .metadata +{ + margin: 5px 5px 5px 0px; + padding: 5px 5px 5px 5px; + + background: #f4f4ff; + font-size: 9pt; +} + +/* Test logs */ +.gallio-report .log +{ + margin: 5px 0px 5px 0px; +} + +.gallio-report .logAttachmentList +{ + font-size: 10pt; + font-style: italic; +} + +.gallio-report .logStream +{ + background-color: #f0f0f0; + border-bottom: solid 1px #c6c6c6; + border-right: solid 1px #c6c6c6; + margin: 5px 5px 5px 0px; + padding: 5px 5px 5px 5px; +} + +.gallio-report .logStreamHeading +{ + font-weight:bold; + font-size: 10pt; + text-decoration: underline; +} + +.gallio-report .logStreamBody +{ + font-size: 9pt; + border-style: none; +} + +.gallio-report .logStreamSection +{ + margin-top: 12pt; + margin-bottom: 12pt; + padding-left: 6px; + border-left: solid 3px black; +} + +.gallio-report .logStreamSectionHeading +{ + font-weight: bold; + text-decoration: underline; +} + +.gallio-report .logStreamEmbed +{ + font-style: italic; + padding: 5px 10px 5px 10px; +} + +/* Test log streams */ +.gallio-report .logStream-Failures +{ + background-color: #ffd8d8; + border: dotted 1px #905050; +} + +.gallio-report .logStream-Warnings +{ + background-color: #ffffc8; + border: dotted 1px #909050; +} + +/* Test log stream markers */ +.gallio-report .logStreamMarker-AssertionFailure +{ +} + +.gallio-report .logStreamMarker-Label +{ + font-weight: bold; +} + +.gallio-report .logStreamMarker-Exception +{ + font-style: italic; +} + +.gallio-report .logStreamMarker-StackTrace +{ + font-style: italic; +} + +.gallio-report .logStreamMarker-Monospace +{ + font-family: Consolas, Courier New, Courier; +} + +.gallio-report .logStreamMarker-Highlight +{ + background-color: Yellow; +} + +.gallio-report .logStreamMarker-DiffAddition +{ + background-color: #b0ffb0; +} + +.gallio-report .logStreamMarker-DiffDeletion +{ + background-color: #ffb0b0; + text-decoration: line-through; +} + +.gallio-report .logStreamMarker-DiffChange +{ + background-color: #b0b0ff; +} + +.gallio-report .logStreamMarker-Ellipsis +{ + text-decoration: underline; +} + +.gallio-report .embeddedImage +{ + /* Nice idea in principle but IE will not navigate to the full-size embedded image + * (or to any other links) when the report is stored on the local filesystem. -- Jeff. + max-width: 800px; + */ +} + +/* Sections */ +.gallio-report div.section +{ + background-color: #ebeaea; + margin: 5px; + padding: 10px; + border-bottom: solid 1px #dcdcdc; + border-right: solid 1px #dcdcdc; + overflow: hidden; +} + +.gallio-report div.section-content +{ + background-color: #fbfbfb; + padding: 10px 10px 10px 10px; + overflow: hidden; +} + +.gallio-report table.statistics-table +{ + border-collapse: collapse; +} + +.gallio-report table.statistics-table td +{ + width: 100%; +} + +.gallio-report table.statistics-table td.statistics-label-cell +{ + font-weight: bolder; + color: #646464; + padding: 0px 10px 0px 10px; + width: auto; +} + +.gallio-report table.statistics-table tr.alternate-row td +{ + background-color: #f2f2f2; +} + + +/* Annotations */ +.gallio-report div.annotation +{ +} + +.gallio-report div.annotation-message +{ + margin-left: 2em; + text-indent: -2em; +} + +.gallio-report div.annotation-location, div.annotation-reference, div.annotation-details +{ + margin-left: 4em; + text-indent: -2em; + font-style: italic; +} + +.gallio-report .annotation-type-error +{ + color: #990000; +} + +.gallio-report .annotation-type-warning +{ + color: #999900; +} + +.gallio-report .annotation-type-info +{ + color: #999999; +} + +/* Log Entries */ +.gallio-report div.logEntry +{ +} + +.gallio-report div.logEntry-text +{ + margin-left: 2em; + text-indent: -2em; +} + +.gallio-report div.logEntry-details +{ + margin-left: 4em; + text-indent: -2em; + font-style: italic; +} + +.gallio-report .logEntry-severity-error +{ + color: #990000; +} + +.gallio-report .logEntry-severity-warning +{ + color: #999900; +} + +.gallio-report .logEntry-severity-important +{ + color: #000000; +} + +.gallio-report .logEntry-severity-info +{ + color: #999999; +} + +.gallio-report .logEntry-severity-debug +{ + color: #aaaaaa; +} + +/* Cross-References */ + +.gallio-report a:hover.crossref +{ + background-color: #eeee99; +} + +.gallio-report a.crossref +{ + color: #000000; + text-decoration: none; + border-bottom: dotted 1px #aa00dd; +} diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Container.png b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Container.png new file mode 100644 index 00000000..105c0549 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Container.png differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Failed.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Failed.gif new file mode 100644 index 00000000..bcf4c078 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Failed.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Fixture.png b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Fixture.png new file mode 100644 index 00000000..9fbddd8d Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Fixture.png differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/FullStop.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/FullStop.gif new file mode 100644 index 00000000..dda8c62b Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/FullStop.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/GallioTestReportHeader.png b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/GallioTestReportHeader.png new file mode 100644 index 00000000..111cca6f Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/GallioTestReportHeader.png differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Ignored.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Ignored.gif new file mode 100644 index 00000000..dd90f466 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Ignored.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Logo.png b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Logo.png new file mode 100644 index 00000000..874a2a7d Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Logo.png differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Minus.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Minus.gif new file mode 100644 index 00000000..46acbcc7 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Minus.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Passed.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Passed.gif new file mode 100644 index 00000000..1dee9cd8 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Passed.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Plus.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Plus.gif new file mode 100644 index 00000000..0ce509a8 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Plus.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Test.png b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Test.png new file mode 100644 index 00000000..16ce0887 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/Test.png differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/header-background.gif b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/header-background.gif new file mode 100644 index 00000000..0e01c4c0 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/img/header-background.gif differ diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/js/Gallio-Report.js b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/js/Gallio-Report.js new file mode 100644 index 00000000..dd7fb3d3 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/js/Gallio-Report.js @@ -0,0 +1,47 @@ +function toggle(id) +{ + var icon = document.getElementById('toggle-' + id); + if (icon != null) + { + var childElement = document.getElementById(id); + if (icon.src.indexOf('Plus.gif') != -1) + { + icon.src = icon.src.replace('Plus.gif', 'Minus.gif'); + if (childElement != null) + childElement.style.display = "block"; + } + else + { + icon.src = icon.src.replace('Minus.gif', 'Plus.gif'); + if (childElement != null) + childElement.style.display = "none"; + } + } +} + +function expand(ids) +{ + for (var i = 0; i < ids.length; i++) + { + var id = ids[i]; + var icon = document.getElementById('toggle-' + id); + if (icon != null) + { + if (icon.src.indexOf('Plus.gif') != -1) + { + icon.src = icon.src.replace('Plus.gif', 'Minus.gif'); + + var childElement = document.getElementById(id); + if (childElement != null) + childElement.style.display = "block"; + } + } + } +} + +function navigateTo(path, line, column) +{ + var navigator = new ActiveXObject("Gallio.Navigator.GallioNavigator"); + if (navigator) + navigator.NavigateTo(path, line, column); +} diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details-condensed.xsl b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details-condensed.xsl new file mode 100644 index 00000000..3d1fd818 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details-condensed.xsl @@ -0,0 +1,20 @@ + + + + + + /gallio/css/ + /gallio/js/ + /gallio/img/ + GallioAttachment.aspx? + + + + + + + + + diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details.xsl b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details.xsl new file mode 100644 index 00000000..0a6baf36 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.ccnet-details.xsl @@ -0,0 +1,20 @@ + + + + + + /gallio/css/ + /gallio/js/ + /gallio/img/ + GallioAttachment.aspx? + + + + + + + + + diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.common.xsl b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.common.xsl new file mode 100644 index 00000000..49c9f537 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.common.xsl @@ -0,0 +1,356 @@ + + + + + + + + + + run, + + + passed + + + passed + + , + + + failed + + + failed + + , + + + inconclusive + + + inconclusive + + , + + + skipped + + + skipped + + + + + + + + + + + ( + + + + , + + + + + ) + + + + + + + + + + + + ( + + + , + + + ) + + + + (unknown) + + + + + + + + + + Parameter + + of + + + + + + + . + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + skipped + + + + passed + + + + inconclusive + + + + failed + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + / + %20 + %25 + + + + + + + +
diff --git a/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.html+xhtml.xsl b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.html+xhtml.xsl new file mode 100644 index 00000000..42ba4eb5 --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/CCNet/webdashboard/gallio/xsl/Gallio-Report.html+xhtml.xsl @@ -0,0 +1,785 @@ + + + + + + saved from url=(0014)about:internet + + Gallio Test Report + + + + + + + + + + + + + + + + + +
+ + + + + + +
+
+ + + + + + + + + + +
+ + + + + + +
+
+ + +
+

Assemblies

+
+
    + +
  • +
    +
+
+
+
+ + + +
+

Annotations

+
+
    + + + +
+
+
+
+
+ + +
  • + annotation annotation-type- +
    + [] + +
    + + +
    + Location: + + + + + + + + + + +
    +
    + + +
    + Reference: + +
    +
    + + +
    + Details: + +
    +
    +
  • +
    + + + + + navigator-box + + + + + + +
    +

    Statistics

    +
    + + + + + + + + + + +
    Start time:
    End time:
    +
    +
    +
    + + + + Tests: + ( steps) + + + Results: + + + + Duration: + s + + + Assertions: + + + + + +
    +

    Summary (Condensed)

    +
    + + + + +
      + +
    +
    + + All tests passed. + +
    +
    + + This report does not contain any test runs. + +
    +
    +
    +
    + + + + + + + + + + + + +
  • + + + + + summaryPanel- + + + + + + + + + + expand([ + + + , + + 'detailPanel- + + ' + + ]); + + + + + + + + + + +
    + +
      + +
    +
    +
    +
  • +
    +
    + + +
    +

    Details (Condensed)

    +
    + + + + +
      + +
    +
    + + All tests passed. + +
    +
    + + This report does not contain any test runs. + +
    +
    +
    +
    + + + + + + + + + + + + + + + + +
  • + + + detailPanel- + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    Results:
    Duration:s
    Assertions:
    +
    + + Duration: + + s, Assertions: + + . + +
    + + + + + +
    + +
    + + + +
      + +
    +
    + + + detailPanel- + + +
    +
    +
  • +
    +
    + + + + + + + + + + + + + + + + + + + + + + + +
  • :
  • +
    + + + + + +
    + + + + + +
    + Attachments: + , + . +
    +
    +
    +
    +
    + + + + +
    + + + + + + + +
    +
    + + + + +
    + + + +
    +
    + + + + +
    + + + +
    + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + testStepId=&attachmentName= + + + Attachment: {@name} + + + Attachment: + + + + + + + + + Attachment: {@name} + + + Attachment: + + + + + + Attachment: {@name} + + + Attachment: + + (n/a) + + + + + + + + testStepId=&attachmentName= + + + + + + + + (n/a) + + + + + + + + + + + Toggle Button + + + + Toggle Placeholder + + + + + + + + + + + + + + + + + + + +
    +
    + outcome-bar status- condensed + + + + + + +
    +
    + + + + Passed + + Failed + + Inconclusive or Skipped + + + +
    + + + + + + status-failed + status-inconclusive + status-passed + status-skipped + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    Diagnostic Log

    +
    +
      + +
    +
    +
    +
    + + +
  • + + logEntry logEntry-severity- + +
    + [ + + ] + + + +
    + + +
    + Details: + + + +
    +
    +
  • +
    + + + +
    diff --git a/lib/Gallio_3.0.6.787/extras/H2Reg.exe b/lib/Gallio_3.0.6.787/extras/H2Reg.exe new file mode 100644 index 00000000..7b80df15 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/H2Reg.exe differ diff --git a/lib/Gallio_3.0.6.787/extras/H2Reg.ini b/lib/Gallio_3.0.6.787/extras/H2Reg.ini new file mode 100644 index 00000000..92bc3d7e --- /dev/null +++ b/lib/Gallio_3.0.6.787/extras/H2Reg.ini @@ -0,0 +1,109 @@ + +[MAIN] +DebugMode=0 ;set to 1 to log everything - Check your resources (ship with =0) +DumpNSToLog_before=0 ;Very verbose but good for debugging - dumps all NS info to log file before Registration +DumpNSToLog_after=0 ;Very verbose but good for debugging - dumps all NS info to log file after Registration +OKtoReport_FinalRegError=0 ;Report general error at end if a registration error was logged +OKtoReport_FinalUnRegError=0 ;Report general error at end if a unregistration error was logged + +;Advanced feature - These can be set then used as etc specifiers. They can +;also be set via the H2Reg.exe command line. Command line has preference over INI file. +UserDir1='' +UserDir2='' +UserDir3='' +UserDir4='' + +; Resource Strings + +[en] ; English +ErrSt_SysFileNotFound = 'Installation Error. Error reading system file or file not found.|%s' +ErrSt_MSHelp2RTNotFound = 'MS Help 2.x runtime files are not installed on this PC.' +ErrSt_NotAdminMode = 'You must be logged on as an Administrator.' +ErrSt_Extra = 'Installation/registration of Help files cannot proceed.' + +Msg_Registering = 'Registering Online Documentation Files:' +Msg_UnRegistering = 'Unregistering Online Documentation Files:' +Msg_LoggingNSInfo = 'Logging Namespace Info' +Msg_Registering_Namespaces = 'Registering Namespaces' +Msg_Registering_Titles = 'Registering Titles' +Msg_Registering_Plugins = 'Registering Plug-ins' +Msg_Registering_Filters = 'Registering Filters' +Msg_UnRegistering_Namespaces = 'Unregistering Namespaces' +Msg_UnRegistering_Titles = 'Unregistering Titles' +Msg_UnRegistering_Plugins = 'Unregistering Plug-ins' +Msg_UnRegistering_Filters = 'Unregistering Filters' + +Msg_Merging_Namespaces = 'Merging Help - This may take several minutes' +Msg_Merging = 'Merging "%s"' + +PopupSt_FinalRegError='There were errors reported while Registering help files.||View Log file?' +PopupSt_FinalUnRegError='There were errors reported while Unregistering help files.||View Log file?' + + + +; International Strings - Defaults to [en] +[de] ; German +[ja] ; Japanese +[fr] ; French +[es] ; Spanish +[it] ; Italian +[ko] ; Korean +[cn] ; Chinese (Simplified) +[tw] ; Chinese (Traditional) +[sv] ; Swedish +[nl] ; Dutch +[ru] ; Russian +[ar] ; Arabic +[he] ; Hebrew +[da] ; Danish +[no] ; Norwegian +[fi] ; Finnish +[pt] ; Portuguese +[br] ; Brazilian +[cs] ; Czech +[pl] ; Polish +[hu] ; Hungarian +[el] ; Greek +[tr] ; Turkish +[sl] ; Slovenian +[sk] ; Slovakian +[eu] ; Basque +[ca] ; Catalan + + +;--- Optionally you can place your Registration Commands in this file + + +;------- Register -r switch + +[Reg_Namespace] +;|| + +[Reg_Title] +;|||||||||| + +[Reg_Plugin] +;|||| + +[Reg_Filter] +;|| + +;------- Unregister -u switch + +[UnReg_Filter] +;| + +[UnReg_Plugin] +;|||| + +[UnReg_Title] +;|| + +[UnReg_Namespace] +; + + +;------- Merge -m switch + +[Merge_Namespace] +;|[AUTO] diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip new file mode 100644 index 00000000..b91ea3bd Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip new file mode 100644 index 00000000..efbd7a53 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip new file mode 100644 index 00000000..a55aabe9 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip new file mode 100644 index 00000000..daa8a4b3 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2005/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip new file mode 100644 index 00000000..c2cb5450 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip new file mode 100644 index 00000000..0a207d36 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip new file mode 100644 index 00000000..c6258500 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip new file mode 100644 index 00000000..e630a116 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip new file mode 100644 index 00000000..5cc7b9fe Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip new file mode 100644 index 00000000..e7a0b352 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2008/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip new file mode 100644 index 00000000..204b3321 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/CSharp/MbUnit3.TestFixtureTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip new file mode 100644 index 00000000..05ff6b5f Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ItemTemplates/VisualBasic/MbUnit3.TestFixtureTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip new file mode 100644 index 00000000..bc42a1ef Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.MvcWebApplicationTestProjectTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip new file mode 100644 index 00000000..e87f58c9 Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/CSharp/MbUnit3.TestProjectTemplate.CSharp.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip new file mode 100644 index 00000000..9ca8a08d Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.MvcWebApplicationTestProjectTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip new file mode 100644 index 00000000..9f27304a Binary files /dev/null and b/lib/Gallio_3.0.6.787/extras/Templates/VS2010/ProjectTemplates/VisualBasic/MbUnit3.TestProjectTemplate.VisualBasic.zip differ diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/LocalTestRun.testrunconfig b/lib/Gallio_3.0.6.787/samples/MbUnit/LocalTestRun.testrunconfig new file mode 100644 index 00000000..bc38d5dc --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/LocalTestRun.testrunconfig @@ -0,0 +1,5 @@ + + + This is a default test run configuration for a local test run. + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MSTestTestFixture.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MSTestTestFixture.cs new file mode 100644 index 00000000..e0d873ad --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MSTestTestFixture.cs @@ -0,0 +1,52 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan De Halleux, Jamie Cansdale +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Text; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace MbUnit.Samples.VSTSIntegration +{ + /// + /// Summary description for UnitTest1 + /// + [TestClass] + public class MSTestTestFixture + { + private TestContext testContextInstance; + + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext + { + get { return testContextInstance; } + set { testContextInstance = value; } + } + + [TestMethod] + public void Pass() + { + } + + [TestMethod] + public void Fail() + { + Assert.Fail(); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.csproj b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.csproj new file mode 100644 index 00000000..f10aeb90 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.csproj @@ -0,0 +1,60 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {51FD0718-1728-4062-9649-5561C6035ACA} + Library + Properties + MbUnit.Samples.VSTSIntegration + MbUnit.Samples.VSTSIntegration + v2.0 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\MbUnit\bin\Gallio.dll + + + False + ..\..\MbUnit\bin\MbUnit.dll + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.vs2010.csproj b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.vs2010.csproj new file mode 100644 index 00000000..798f60dc --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnit.Samples.VSTSIntegration.vs2010.csproj @@ -0,0 +1,65 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {51FD0718-1728-4062-9649-5561C6035ACA} + Library + Properties + MbUnit.Samples.VSTSIntegration + MbUnit.Samples.VSTSIntegration + v4.0 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + 3.5 + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + ..\..\MbUnit\bin\Gallio.dll + + + False + ..\..\MbUnit\bin\MbUnit.dll + + + + + + + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnitTestFixture.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnitTestFixture.cs new file mode 100644 index 00000000..b54ac546 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/MbUnitTestFixture.cs @@ -0,0 +1,37 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan De Halleux, Jamie Cansdale +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections.Generic; +using System.Text; +using MbUnit.Framework; + +namespace MbUnit.Samples.VSTSIntegration +{ + [TestFixture] + public class MbUnitTestFixture + { + [Test] + public void Pass() + { + } + + [Test] + public void Fail() + { + Assert.Fail(); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/Properties/AssemblyInfo.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..a93fa9b5 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.VSTSIntegration/Properties/AssemblyInfo.cs @@ -0,0 +1,39 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan De Halleux, Jamie Cansdale +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MbUnit.Samples.VSTSIntegration")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MbUnit.Samples.VSTSIntegration")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM componenets. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("43766d09-6d1b-4e70-89d9-48d351fbe068")] + diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.sln b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.sln new file mode 100644 index 00000000..f9e93230 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MbUnit.Samples", "MbUnit.Samples\MbUnit.Samples.csproj", "{12850856-0A27-4E50-9116-5A3B19C7D779}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {12850856-0A27-4E50-9116-5A3B19C7D779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Debug|Any CPU.Build.0 = Debug|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Release|Any CPU.ActiveCfg = Release|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.sln b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.sln new file mode 100644 index 00000000..98f7095e --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.sln @@ -0,0 +1,35 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MbUnit.Samples", "MbUnit.Samples\MbUnit.Samples.csproj", "{12850856-0A27-4E50-9116-5A3B19C7D779}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{958E7B15-D2EE-4931-A10B-A8ED90B4D4C8}" + ProjectSection(SolutionItems) = preProject + LocalTestRun.testrunconfig = LocalTestRun.testrunconfig + MbUnit.Samples.vs2008.vsmdi = MbUnit.Samples.vs2008.vsmdi + EndProjectSection +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MbUnit.Samples.VSTSIntegration", "MbUnit.Samples.VSTSIntegration\MbUnit.Samples.VSTSIntegration.csproj", "{51FD0718-1728-4062-9649-5561C6035ACA}" +EndProject +Global + GlobalSection(TestCaseManagementSettings) = postSolution + CategoryFile = MbUnit.Samples.vs2008.vsmdi + EndGlobalSection + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {12850856-0A27-4E50-9116-5A3B19C7D779}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Debug|Any CPU.Build.0 = Debug|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Release|Any CPU.ActiveCfg = Release|Any CPU + {12850856-0A27-4E50-9116-5A3B19C7D779}.Release|Any CPU.Build.0 = Release|Any CPU + {51FD0718-1728-4062-9649-5561C6035ACA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {51FD0718-1728-4062-9649-5561C6035ACA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {51FD0718-1728-4062-9649-5561C6035ACA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {51FD0718-1728-4062-9649-5561C6035ACA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.vsmdi b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.vsmdi new file mode 100644 index 00000000..810565c7 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples.vs2008.vsmdi @@ -0,0 +1,13 @@ + + + + Samples. + + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.Test.cs new file mode 100644 index 00000000..59edd8fc --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.Test.cs @@ -0,0 +1,59 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Collection +{ + public class SampleCollectionTest + { + [VerifyContract] + public readonly IContract CollectionTests = new CollectionContract + { + // Do not accept equal items in the collection. + // Optional; default is true. + AcceptEqualItems = false, + + // Do consider null references as illegal items. + // Optional; default is false. + AcceptNullReference = false, + + // Indicates whether the collection is supposed to be read-only. + // Optional; default is false. + IsReadOnly = false, + + // Specify some default instance of the collection for the contract verifier. + // Optional, default is based on the invocation of the default constructor. + // Overwrite the default value if the collection has no default constructor, + // or if you want the contract verifier to work with some particular instance. + GetDefaultInstance = () => new SampleCollection(3), + + // Provide some valid item instances to feed the collection. + // Better is to provide items already in the default instance of collection + // specified above, and items not present initially. + DistinctInstances = + { + new Foo(0), + new Foo(1), + new Foo(2), + new Foo(3), + new Foo(4), + new Foo(5), + } + }; + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.cs new file mode 100644 index 00000000..12fd00be --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Collection/SampleCollection.cs @@ -0,0 +1,124 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections; +using System.Collections.Generic; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Collection +{ + public class Foo + { + private readonly int value; + + public Foo (int value) + { + this.value = value; + } + } + + public class SampleCollection : ICollection + { + private readonly List items = new List(); + + public SampleCollection() + { + } + + public SampleCollection(int initialCount) + { + for(int i=0; i GetEnumerator() + { + return items.GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + foreach (var item in items) + { + yield return item; + } + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.Test.cs new file mode 100644 index 00000000..8f82a1fa --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.Test.cs @@ -0,0 +1,38 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Comparison +{ + public class SampleComparableTest + { + [VerifyContract] + public readonly IContract ComparisonTests = new ComparisonContract + { + ImplementsOperatorOverloads = true, // Optional (default is true) + EquivalenceClasses = + { + { new SampleComparable(1) }, + { new SampleComparable(2) }, + { new SampleComparable(3) }, + { new SampleComparable(4) }, + { new SampleComparable(5) } + } + }; + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.cs new file mode 100644 index 00000000..5c061f11 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Comparison/SampleComparable.cs @@ -0,0 +1,66 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Comparison +{ + public class SampleComparable : IComparable + { + private int value; + + public SampleComparable(int value) + { + this.value = value; + } + + public int CompareTo(SampleComparable other) + { + return Object.ReferenceEquals(other, null) + ? Int32.MaxValue + : value.CompareTo(other.value); + } + + public static bool operator >=(SampleComparable left, SampleComparable right) + { + return (Object.ReferenceEquals(left, null) + && Object.ReferenceEquals(right, null)) + || (!Object.ReferenceEquals(left, null) + && (left.CompareTo(right) >= 0)); + } + + public static bool operator <=(SampleComparable left, SampleComparable right) + { + return Object.ReferenceEquals(left, null) + || (left.CompareTo(right) <= 0); + } + + public static bool operator >(SampleComparable left, SampleComparable right) + { + return !Object.ReferenceEquals(left, null) + && (left.CompareTo(right) > 0); + } + + public static bool operator <(SampleComparable left, SampleComparable right) + { + return (!Object.ReferenceEquals(left, null) + || !Object.ReferenceEquals(right, null)) + && (Object.ReferenceEquals(left, null) + || (left.CompareTo(right) < 0)); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.Test.cs new file mode 100644 index 00000000..114bd0b1 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.Test.cs @@ -0,0 +1,38 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Equality +{ + public class SampleEquatableTest + { + [VerifyContract] + public readonly IContract EqualityTests = new EqualityContract + { + ImplementsOperatorOverloads = true, // Optional (default is true) + EquivalenceClasses = + { + { new SampleEquatable(1) }, + { new SampleEquatable(2) }, + { new SampleEquatable(3) }, + { new SampleEquatable(4) }, + { new SampleEquatable(5) } + } + }; + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.cs new file mode 100644 index 00000000..126a63db --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Equality/SampleEquatable.cs @@ -0,0 +1,60 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.Equality +{ + public class SampleEquatable : IEquatable + { + private int value; + + public SampleEquatable(int value) + { + this.value = value; + } + + public override int GetHashCode() + { + return value.GetHashCode(); + } + + public override bool Equals(object obj) + { + return Equals(obj as SampleEquatable); + } + + public bool Equals(SampleEquatable other) + { + return !Object.ReferenceEquals(other, null) && + (value == other.value); + } + + public static bool operator ==(SampleEquatable left, SampleEquatable right) + { + return (Object.ReferenceEquals(left, null) + && Object.ReferenceEquals(right, null)) + || (!Object.ReferenceEquals(left, null) && + left.Equals(right)); + } + + public static bool operator !=(SampleEquatable left, SampleEquatable right) + { + return !(left == right); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.Test.cs new file mode 100644 index 00000000..47d91a32 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.Test.cs @@ -0,0 +1,32 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; +using System.Runtime.Serialization; + +namespace MbUnit.Samples.ContractVerifiers.Exception +{ + public class SampleExceptionTest + { + [VerifyContract] + public readonly IContract ExceptionTests = new ExceptionContract + { + ImplementsSerialization = true, // Optional (default is true) + ImplementsStandardConstructors = true // Optional (default is true) + }; + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.cs new file mode 100644 index 00000000..384577a7 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Exception/SampleException.cs @@ -0,0 +1,42 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Runtime.Serialization; + +namespace MbUnit.Samples.ContractVerifiers.Exception +{ + [Serializable] + public class SampleException : System.Exception + { + public SampleException() + { + } + + public SampleException(string message) : base(message) + { + } + + public SampleException(string message, System.Exception innerException) + : base(message, innerException) + { + } + + protected SampleException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.Test.cs new file mode 100644 index 00000000..3503504c --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.Test.cs @@ -0,0 +1,28 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; +using System.Runtime.Serialization; + +namespace MbUnit.Samples.ContractVerifiers.Immutability +{ + public class SampleImmutableTest + { + [VerifyContract] + public readonly IContract ImmutabilityTests = new ImmutabilityContract(); + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.cs new file mode 100644 index 00000000..a0c929d1 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/Immutability/SampleImmutable.cs @@ -0,0 +1,46 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; +using System.Runtime.Serialization; + +namespace MbUnit.Samples.ContractVerifiers.Immutability +{ + public class SampleImmutable + { + private readonly int number; + private readonly string text; + private readonly ImmutableFoo foo; + + public SampleImmutable(int number, string text, ImmutableFoo foo) + { + this.number = number; + this.text = text; + this.foo = foo; + } + } + + public class ImmutableFoo + { + private readonly double number; + + public ImmutableFoo(double number) + { + this.number = number; + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.Test.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.Test.cs new file mode 100644 index 00000000..1c3f7816 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.Test.cs @@ -0,0 +1,59 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.List +{ + public class SampleListTest + { + [VerifyContract] + public readonly IContract ListTests = new ListContract + { + // Do not accept equal items in the collection. + // Optional; default is true. + AcceptEqualItems = false, + + // Do consider null references as illegal items. + // Optional; default is false. + AcceptNullReference = false, + + // Indicates whether the collection is supposed to be read-only. + // Optional; default is false. + IsReadOnly = false, + + // Specify some default instance of the collection for the contract verifier. + // Optional, default is based on the invocation of the default constructor. + // Overwrite the default value if the collection has no default constructor, + // or if you want the contract verifier to work with some particular instance. + GetDefaultInstance = () => new SampleList(3), + + // Provide some valid item instances to feed the collection. + // Better is to provide items already in the default instance of collection + // specified above, and items not present initially. + DistinctInstances = + { + new Foo(0), + new Foo(1), + new Foo(2), + new Foo(3), + new Foo(4), + new Foo(5), + } + }; + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.cs new file mode 100644 index 00000000..16b5b93d --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/ContractVerifiers/List/SampleList.cs @@ -0,0 +1,152 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections; +using System.Collections.Generic; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace MbUnit.Samples.ContractVerifiers.List +{ + public class Foo + { + private readonly int value; + + public Foo (int value) + { + this.value = value; + } + } + + public class SampleList : IList + { + private readonly List items = new List(); + + public SampleList() + { + } + + public SampleList(int initialCount) + { + for(int i=0; i GetEnumerator() + { + return items.GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + foreach (var item in items) + { + yield return item; + } + } + + public int IndexOf(Foo item) + { + CheckForNullItem(item); + return items.IndexOf(item); + } + + public void Insert(int index, Foo item) + { + CheckForNullItem(item); + items.Insert(index, item); + } + + public void RemoveAt(int index) + { + items.RemoveAt(index); + } + + public Foo this[int index] + { + get + { + return items[index]; + } + + set + { + CheckForNullItem(value); + items[index] = value; + } + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.csproj b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.csproj new file mode 100644 index 00000000..f5207327 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.csproj @@ -0,0 +1,98 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {12850856-0A27-4E50-9116-5A3B19C7D779} + Library + Properties + MbUnit.Samples + MbUnit.Samples + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + 1591 + true + bin\MbUnit.Samples.xml + + + pdbonly + true + bin\ + TRACE + prompt + 4 + 1591 + true + bin\MbUnit.Samples.xml + + + + False + ..\..\MbUnit\bin\Gallio.dll + + + False + ..\..\MbUnit\bin\MbUnit.dll + + + + + + + False + ..\libs\WatiN\bin\WatiN.Core.dll + + + + + + + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + + + + Designer + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.vs2010.csproj b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.vs2010.csproj new file mode 100644 index 00000000..bbbbb3f6 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/MbUnit.Samples.vs2010.csproj @@ -0,0 +1,98 @@ + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {12850856-0A27-4E50-9116-5A3B19C7D779} + Library + Properties + MbUnit.Samples + MbUnit.Samples + + + 3.5 + v4.0 + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + 1734;1591 + true + bin\MbUnit.Samples.xml + + + pdbonly + true + bin\ + TRACE + prompt + 4 + 1734;1591 + true + bin\MbUnit.Samples.xml + + + + False + ..\..\MbUnit\bin\Gallio.dll + + + False + ..\..\MbUnit\bin\MbUnit.dll + + + + + + + False + ..\libs\WatiN\bin\WatiN.Core.dll + + + + + + + + + + + + + True + True + Resources.resx + + + + + + + + + + Designer + ResXFileCodeGenerator + Resources.Designer.cs + + + + + + + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/OutcomeDemo.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/OutcomeDemo.cs new file mode 100644 index 00000000..b26680b6 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/OutcomeDemo.cs @@ -0,0 +1,68 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Collections.Generic; +using System.Text; +using Gallio.Framework; +using Gallio.Model; +using MbUnit.Framework; + +namespace MbUnit.Samples +{ + [TestFixture] + public class OutcomeDemo + { + [Test] + public void Passed() + { + } + + [Test] + public void Failed() + { + Assert.Fail("Failed for demonstration purposes."); + } + + [Test] + public void Inconclusive() + { + Assert.Inconclusive("Inconclusive for demonstration purposes."); + } + + [Test, Ignore("Skipped")] + public void Skipped() + { + } + + [Test] + public void Terminate() + { + Assert.Terminate(TestOutcome.Error, "Terminated for demonstration purposes."); + } + + [Test] + [Row(TestStatus.Passed, null)] + [Row(TestStatus.Failed, null)] + [Row(TestStatus.Inconclusive, null)] + [Row(TestStatus.Skipped, null)] + [Row(TestStatus.Failed, "error")] + [Row(TestStatus.Skipped, "ignored")] + public void RowsWithDifferentOutcomes(TestStatus status, string category) + { + Assert.TerminateSilently(new TestOutcome(status, category), "Terminated for demonstration purposes."); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/AssemblyInfo.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..0cbbdca5 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/AssemblyInfo.cs @@ -0,0 +1,38 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MbUnit.Samples")] +[assembly: AssemblyDescription("Sample MbUnit tests for demonstration purposes.")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MbUnit")] +[assembly: AssemblyCopyright("Copyright © 2005-2009 Gallio Project - http://www.gallio.org/")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b0c55705-93fa-42af-a263-b85910c5ab0f")] diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.Designer.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.Designer.cs new file mode 100644 index 00000000..e614daf4 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.Designer.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.11001.1 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MbUnit.Samples.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MbUnit.Samples.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static System.Drawing.Bitmap MbUnitLogo { + get { + object obj = ResourceManager.GetObject("MbUnitLogo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.resx b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.resx new file mode 100644 index 00000000..a02dc61a --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\resources\mbunitlogo.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Readme.txt b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Readme.txt new file mode 100644 index 00000000..6bfafdb7 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Readme.txt @@ -0,0 +1,12 @@ +MbUnit Samples +============== + +This project contains sample code to help you get up and running with MbUnit v3. + +Each sample test fixture contains embedded documentation in the form of XML +doc comments on the class and its methods. Please refer to the MbUnit API +documentation for more information. + +(Hint: If you installed the Visual Studio help documentation for MbUnit, then you + can easily navigate to the documentation of any MbUnit API method + within the IDE by hitting F1!) diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Resources/MbUnitLogo.png b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Resources/MbUnitLogo.png new file mode 100644 index 00000000..c4d1a0d8 Binary files /dev/null and b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/Resources/MbUnitLogo.png differ diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/RichTestLogDemo.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/RichTestLogDemo.cs new file mode 100644 index 00000000..39fdd7ba --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/RichTestLogDemo.cs @@ -0,0 +1,132 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System; +using System.Diagnostics; +using Gallio.Framework; +using Gallio.Framework.Assertions; +using Gallio.Model.Logging; +using MbUnit.Framework; +using Gallio.Model; +using MbUnit.Samples.Properties; + +namespace MbUnit.Samples +{ + /// + /// Generates a test log with all sorts of rich content. + /// + [TestFixture] + [Description("Demonstrate the rich test logging features.")] + public class RichTestLogDemo + { + private static TestLogStreamWriter MbUnitRocks + { + get { return TestLog.Writer["MbUnit Rocks"]; } + } + + /// + /// Demonstrate all of the basic logging features. + /// + [Test] + [Description("Shows off MbUnit execution logs.")] + [Metadata("Gimmick", "We don't need any gimmicks!")] + public void FeatureDemo() + { + MbUnitRocks.WriteLine("MbUnit Rocks!"); + MbUnitRocks.WriteLine(); + + MbUnitRocks.WriteLine("You can embed images."); + MbUnitRocks.EmbedImage("MbUnit Logo", Resources.MbUnitLogo); + MbUnitRocks.WriteLine(); + + MbUnitRocks.WriteLine("You can write out your own log streams."); + + using (MbUnitRocks.BeginSection("My section!")) + { + MbUnitRocks.WriteLine("And break them into sections."); + + using (MbUnitRocks.BeginSection("And")) + using (MbUnitRocks.BeginSection("Even")) + using (MbUnitRocks.BeginSection("Nest")) + { + using (MbUnitRocks.BeginSection("Them")) + { + MbUnitRocks.WriteLine("So you can see what's happening."); + MbUnitRocks.WriteLine("Just in here."); + } + + MbUnitRocks.WriteLine("Or here..."); + } + } + + TestStep.RunStep("Lemmings!", delegate + { + MbUnitRocks.WriteLine("You can subdivide a test into nested steps."); + MbUnitRocks.WriteLine("And run them repeatedly with independent failure conditions."); + + for (int i = 5; i > 0; i--) + { + TestStep.RunStep(i.ToString(), delegate { MbUnitRocks.WriteLine("..."); }); + } + + try + { + TestStep.RunStep("Uh oh!", delegate + { + TestStep.AddMetadata(MetadataKeys.Description, "The untimely death of a Blocker Lemming."); + TestStep.AddMetadata("Epitaph", "Did not follow the herd."); + + Assert.IsTrue(false, "*POP*"); + }); + } + catch (AssertionException) + { + } + }); + + TestStep.AddMetadata("Highlight", "It's dynamic!"); + + TestStep.RunStep("Tag Line", delegate + { + MbUnitRocks.WriteLine("And so much more..."); + MbUnitRocks.WriteLine(); + + MbUnitRocks.WriteLine("Welcome to MbUnit v3!"); + }); + } + + /// + /// Demonstrate the use of multiple streams. + /// + [Test] + public void MultipleStreams() + { + Console.Error.WriteLine("Console error messages go here."); + + Console.Out.WriteLine("Console output messages go here."); + + Debug.WriteLine("Debug..."); + Trace.WriteLine("... and Trace messages go here."); + + TestLog.Warnings.WriteLine("Warnings go here."); + + TestLog.Failures.WriteLine("Failures go here."); + + TestLog.WriteLine("Log messages go here by default."); + + TestLog.Writer["My Custom Log"].WriteLine("Log messages can also go here or to any other custom stream of your choice."); + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/WatiNDemo.cs b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/WatiNDemo.cs new file mode 100644 index 00000000..00ee1289 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/MbUnit.Samples/WatiNDemo.cs @@ -0,0 +1,126 @@ +// Copyright 2005-2009 Gallio Project - http://www.gallio.org/ +// Portions Copyright 2000-2004 Jonathan de Halleux +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using System.Text.RegularExpressions; +using Gallio.Framework; +using Gallio.Model.Logging; +using MbUnit.Framework; +using Gallio.Model; +using WatiN.Core; +using WatiN.Core.Interfaces; +using WatiN.Core.Logging; + +namespace MbUnit.Samples +{ + /// + /// This is a simple demonstration of integration opportunities between + /// MbUnit v3 and WatiN. + /// + [TestFixture] + public class WatiNDemo + { + private IE ie; + + [SetUp] + public void CreateBrowser() + { + ie = new IE(); + + Logger.LogWriter = new WatiNStreamLogger(); + } + + [TearDown] + public void DisposeBrowser() + { + if (TestContext.CurrentContext.Outcome.Status == TestStatus.Failed) + Snapshot("Final screen when failure occurred.", TestLog.Failures); + + if (ie != null) + ie.Dispose(); + } + + /// + /// Demonstrates capturing a screenshot on failure automatically. This test does + /// not contain any special logic for caputing the screenshot; it happens as part + /// of the TearDown phase when it detects that the test has failed. + /// + [Test] + public void DemoCaptureOnFailure() + { + using (TestLog.BeginSection("Go to Google, enter MbUnit as a search term and click I'm Feeling Lucky")) + { + ie.GoTo("http://www.google.com"); + + ie.TextField(Find.ByName("q")).TypeText("MbUnit"); + ie.Button(Find.ByName("btnI")).Click(); + } + + // Of course this is ridiculous, we'll be on the MbUnit homepage... + Assert.IsTrue(ie.ContainsText("NUnit"), "Expected to find NUnit on the page."); + } + + /// + /// Demonstrates capturing discretionary screenshots at will and labeling them. + /// Unlike this test does not capture an + /// extra automatic screenshot on termination because the TearDown phase can + /// detect that the test has passed so it does not bother to capture an image. + /// + [Test] + public void DemoNoCaptureOnSuccess() + { + using (TestLog.BeginSection("Go to Google, enter MbUnit as a search term and click I'm Feeling Lucky")) + { + ie.GoTo("http://www.google.com"); + + ie.TextField(Find.ByName("q")).TypeText("MbUnit"); + ie.Button(Find.ByName("btnI")).Click(); + } + + using (TestLog.BeginSection("Click on About.")) + { + Assert.IsTrue(ie.ContainsText("MbUnit")); + ie.Link(Find.ByUrl(new Regex(@"About\.aspx"))).Click(); + } + + Snapshot("About the MbUnit project."); + } + + private void Snapshot(string caption) + { + Snapshot(caption, TestLog.Default); + } + + private void Snapshot(string caption, TestLogStreamWriter logStreamWriter) + { + using (logStreamWriter.BeginSection(caption)) + { + logStreamWriter.Write("Url: "); + using (logStreamWriter.BeginMarker(Marker.Link(ie.Url))) + logStreamWriter.Write(ie.Url); + logStreamWriter.WriteLine(); + + logStreamWriter.EmbedImage(caption + ".png", new CaptureWebPage(ie).CaptureWebPageImage(false, false, 100)); + } + } + + private class WatiNStreamLogger : ILogWriter + { + public void LogAction(string message) + { + TestLog.WriteLine(message); + } + } + } +} diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/License.txt b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/License.txt new file mode 100644 index 00000000..4617b7d4 --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/License.txt @@ -0,0 +1,57 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and + + +You must cause any modified files to carry prominent notices stating that You changed the files; and + + +You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + +If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/Readme.txt b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/Readme.txt new file mode 100644 index 00000000..980fd9cd --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/Readme.txt @@ -0,0 +1,42 @@ +* Welcome +Thanks for dowloading WatiN. WatiN (pronounced "what-in") stands for Web Application Testing +in dotNet. Inspired by Watir, WatiN enables web application testing, through Internet Explorer +on a Windows platform, expressed in any .Net language. + +Visit http://watin.sourcefoge.net for more information and to download the latest version. + +* License +WatiN is Apache License 2.0 licensed so before using WatiN please read the license.txt so you know +the terms and conditions for using and modifying WatiN. + +* Pre requisits +- WatiN has been tested on Windows XP SP2, Windows 2000 and Windows 2003. +- Make sure you have a working IE6 or IE7 installed on your machine. +- The .Net 1.1 or .Net 2.0 framework needs to be installed. + +* Installing WatiN +- Create an installation directory like C:\Program Files\WatiN . +- unzip the files in this zip file to the installation directory. +- ready! + +* Using WatiN +Following are the basic steps: +- Create a new project in Visual Studio 2003/2005 (or another dev tool like SharpDevelop). +- Create a reference to WatiN.Core.dll in the installation directory. +- Start coding and exploring the object model (See the code files in the UnitTests directory + for code examples). + +For a more complete example visit http://watin.sourceforge.net/gettingstarted.html. +For more documentation about (using) WatiN visit http://watin.sourceforge.net/documentatie.html. + +* Support +Subscribe to the mailinglist(s) and/or use the bug and feature tracker on +http://sourceforge.net/projects/watin for the intended purposes. + +* RSS +Stay informed about new releases by subscribing to the project news RSS feed on +http://watin.sourcefoge.net + +Enjoy testing with WatiN! + +Copyright Jeroen van Menen 2006 \ No newline at end of file diff --git a/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/ReleaseHistory.txt b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/ReleaseHistory.txt new file mode 100644 index 00000000..7ec33bbd --- /dev/null +++ b/lib/Gallio_3.0.6.787/samples/MbUnit/libs/WatiN/ReleaseHistory.txt @@ -0,0 +1,406 @@ +WatiN 1.2.0.4000 (4 October 2007) + +This release includes mainly new features (some only for .Net 2.0). You can now start a new IE instance in its own process, set event properties when firing events on an element, get a specific Ancestor of an element, use your own attribute comparers, implement specific wait logic, evaluatie javascript code, automate the Area element, clean up all IE caches, take snapshots of webpages and much more. Many thanks to all who contributed to this release! + +For the full release notes visit http://watin.sourceforge.net/releasenotes-1-2-0-4000.html + +------------------------------- +WatiN 1.1.2.4000 (16 May 2007) + +This is a hotfix release and fixes an issue resulting in a null value for the srcElement property of the +eventobject. This is most noted when an event is fired and the JScript in an html page tries to access +the window.event.srcElement property. + +------------------------------- +WatiN 1.1.1.4000 (15 May 2007) + +This is a hotfix release and fixes SF Bug 1718162: js error when using TypeText method of a TextField in frame. http://sourceforge.net/tracker/index.php?func=detail&aid=1718162&group_id=167632&atid=843727 + +------------------------------- +WatiN 1.1.0.4000 (2 May 2007) + +This release adds some new features and many bugfixes. You can now use the not operator when searching for an element, automate the SaveAs dialog, and WaitUntil some attribute of an element has some value. Most of the development time has been put into fixing bugs reported by users. Thanks to all who contributed to this release! + +For the full release notes visit http://watin.sourceforge.net/releasenotes-1-1-0-4000.html + +------------------------------- +WatiN 1.0.0.4000 (1 March, 2007) + +This release adds may new features like using multiple attributes to search for an element, full support for the Style attribute, casting an Element instance to a more specialized element type, support for changing the default settings used by WatiN, added support for tbody elements and improvements to SelectList and Table. + +For the full release notes visit http://watin.sourceforge.net/releasenotes-1-0-0-4000.html + +------------------------------- +WatiN 0.9.5.4000 (31 December, 2006) + +This release adds new features to support testing of websites which make use of AJAX technology. Many other feature requests and bug fixes are included as well. + +For the full release notes visit http://watin.sourceforge.net/releasenotes-0-9-5-4000.html + +------------------------------- +WatiN 0.9.0.4000 (31 October, 2006) + +** Changes in general ** + +* Added an extensible model for handling IE dialogs through the DialogWatcher instance + of each DomContainer (IE and HTMLDialog). If no specific handling of a dialog (type) + is needed, DialogWatcher will automatically close any dialog that pops up. + + Use ie.AddDialogHandler(handler) to add a dialog handler. + Use ie.RemoveDialogHandler(handler) to remove a dialog handler. + Use ie.DialogWatcher to get access to all the properties and methods of the + DialogWatcher instance. + + This release contains the following dialog handlers: + + Added support for Logon dialog handling (thanks to Bruce McLeod for the initial implementation). + Some of the constructors of the IE class accept an instance of LogonDialogHandler + to automatically logon to a website. + + Improved support for handling alert and confirm dialogs in various ways through + AlertAndConfirmDialogHandler, AlertDialogHandler, ConfirmDialogHandler and SimpleJaveDialogHandler. + + Added support for handling Certificate warning dialog. + + See the API Change section below to read some more details about the available + dialog handlers. A more complete explanation on how to use the different dialog + handlers will be available on the website soon. + +* Added support for automating a frames page which shows websites from different + domains (thanks to Ken Herman for the initial implementation). +* Added support for IFrame element(s) using the ie.Frames syntax (thanks to Gaurav + Jayal for supplying some good iframe web pages to test with). +* Added support for file upload (input element of type upload) through + ie.FileUpload.Set(MyFile). +* Added support for ie.Element() and ie.Elements to get any or all elements in a + document (or elements container like the div element). This way elements not natively + supported by WatiN can also be accessed through the WatiN API. The following + example shows how to get the text of an LI html element. + + Element li = ie.Element(Find.ById("LI1")); + Debug.Writeline li.Text; + + If an element can contain elements, like the
     html element, the return value of 
    +  ie.Element can be casted to ElementsContainer.
    +
    +* Added basic support for