diff --git a/TechTalk.SpecFlow.Silverlight/Compatibility/ConfigurationErrorsException.cs b/TechTalk.SpecFlow.Silverlight/Compatibility/ConfigurationErrorsException.cs deleted file mode 100644 index b296ca49f..000000000 --- a/TechTalk.SpecFlow.Silverlight/Compatibility/ConfigurationErrorsException.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using System.Net; -using System.Runtime.Serialization; - - -namespace System.Configuration -{ - public class ConfigurationErrorsException : Exception - { - public ConfigurationErrorsException() - { - } - - public ConfigurationErrorsException(string message) : base(message) - { - } - - public ConfigurationErrorsException(string message, Exception inner) - : base(message, inner) - { - } - } -} diff --git a/TechTalk.SpecFlow.Silverlight/Compatibility/CultureInfoHelper.cs b/TechTalk.SpecFlow.Silverlight/Compatibility/CultureInfoHelper.cs deleted file mode 100644 index c0cdf0aea..000000000 --- a/TechTalk.SpecFlow.Silverlight/Compatibility/CultureInfoHelper.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; - -namespace TechTalk.SpecFlow.Compatibility -{ - internal static class CultureInfoHelper - { - public static CultureInfo GetCultureInfo(string cultureName) - { - return new CultureInfo(cultureName); - } - } -} diff --git a/TechTalk.SpecFlow.Silverlight/Compatibility/EnumHelper.cs b/TechTalk.SpecFlow.Silverlight/Compatibility/EnumHelper.cs deleted file mode 100644 index 2005e6c08..000000000 --- a/TechTalk.SpecFlow.Silverlight/Compatibility/EnumHelper.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace TechTalk.SpecFlow.Compatibility -{ - internal static class EnumHelper - { - public static Array GetValues(Type enumType) - { - if (!enumType.IsEnum) - { - throw new ArgumentException("Type '" + enumType.Name + "' is not an enum"); - } - - var values = new List(); - - var fields = from field in enumType.GetFields() - where field.IsLiteral - select field; - - foreach (FieldInfo field in fields) - { - object value = field.GetValue(enumType); - values.Add(value); - } - - return values.ToArray(); - } - } -} diff --git a/TechTalk.SpecFlow.Silverlight/Compatibility/Stopwatch.cs b/TechTalk.SpecFlow.Silverlight/Compatibility/Stopwatch.cs deleted file mode 100644 index e1042c112..000000000 --- a/TechTalk.SpecFlow.Silverlight/Compatibility/Stopwatch.cs +++ /dev/null @@ -1,113 +0,0 @@ -using System; - -namespace System.Diagnostics -{ - /// - /// Stopwatch is used to measure the general performance of Silverlight functionality. Silverlight - /// does not currently provide a high resolution timer as is available in many operating systems, - /// so the resolution of this timer is limited to milliseconds. This class is best used to measure - /// the relative performance of functions over many iterations. - /// - public sealed class Stopwatch - { - private long _startTick; - private long _elapsed; - private bool _isRunning; - - /// - /// Creates a new instance of the class and starts the watch immediately. - /// - /// An instance of Stopwatch, running. - public static Stopwatch StartNew() - { - Stopwatch sw = new Stopwatch(); - sw.Start(); - return sw; - } - - /// - /// Creates an instance of the Stopwatch class. - /// - public Stopwatch() { } - - /// - /// Completely resets and deactivates the timer. - /// - public void Reset() - { - _elapsed = 0; - _isRunning = false; - _startTick = 0; - } - - /// - /// Begins the timer. - /// - public void Start() - { - if (!_isRunning) - { - _startTick = GetCurrentTicks(); - _isRunning = true; - } - } - - /// - /// Stops the current timer. - /// - public void Stop() - { - if (_isRunning) - { - _elapsed += GetCurrentTicks() - _startTick; - _isRunning = false; - } - } - - /// - /// Gets a value indicating whether the instance is currently recording. - /// - public bool IsRunning - { - get { return _isRunning; } - } - - /// - /// Gets the Elapsed time as a Timespan. - /// - public TimeSpan Elapsed - { - get { return TimeSpan.FromMilliseconds(ElapsedMilliseconds); } - } - - /// - /// Gets the Elapsed time as the total number of milliseconds. - /// - public long ElapsedMilliseconds - { - get { return GetCurrentElapsedTicks() / TimeSpan.TicksPerMillisecond; } - } - - /// - /// Gets the Elapsed time as the total number of ticks (which is faked - /// as Silverlight doesn't have a way to get at the actual "Ticks") - /// - public long ElapsedTicks - { - get { return GetCurrentElapsedTicks(); } - } - - private long GetCurrentElapsedTicks() - { - return (long)(this._elapsed + (IsRunning ? (GetCurrentTicks() - _startTick) : 0)); - } - - private long GetCurrentTicks() - { - // TickCount: Gets the number of milliseconds elapsed since the system started. - return Environment.TickCount * TimeSpan.TicksPerMillisecond; - } - } - -} - diff --git a/TechTalk.SpecFlow.Silverlight/Configuration/ConfigDefaults.cs b/TechTalk.SpecFlow.Silverlight/Configuration/ConfigDefaults.cs deleted file mode 100644 index 36a805583..000000000 --- a/TechTalk.SpecFlow.Silverlight/Configuration/ConfigDefaults.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace TechTalk.SpecFlow.Configuration -{ - public static class ConfigDefaults - { - internal const string FeatureLanguage = "en-US"; - internal const string ToolLanguage = ""; - - internal const string UnitTestProviderName = "MSTest"; - - internal const bool DetectAmbiguousMatches = true; - internal const bool StopAtFirstError = false; - internal const MissingOrPendingStepsOutcome MissingOrPendingStepsOutcome = TechTalk.SpecFlow.Configuration.MissingOrPendingStepsOutcome.Inconclusive; - - internal const bool TraceSuccessfulSteps = true; - internal const bool TraceTimings = false; - internal const string MinTracedDuration = "0:0:0.1"; - - internal const bool AllowDebugGeneratedFiles = false; - } -} \ No newline at end of file diff --git a/TechTalk.SpecFlow.Silverlight/Properties/AssemblyInfo.cs b/TechTalk.SpecFlow.Silverlight/Properties/AssemblyInfo.cs deleted file mode 100644 index 9da5cad6a..000000000 --- a/TechTalk.SpecFlow.Silverlight/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -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("TechTalk.SpecFlow.Silverlight")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("TechTalk.SpecFlow.Silverlight")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2010")] -[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("04dec58a-9677-4f58-ae8b-4744bbffb9a9")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/TechTalk.SpecFlow.Silverlight/TechTalk.SpecFlow.Silverlight.csproj b/TechTalk.SpecFlow.Silverlight/TechTalk.SpecFlow.Silverlight.csproj deleted file mode 100644 index 680a572af..000000000 --- a/TechTalk.SpecFlow.Silverlight/TechTalk.SpecFlow.Silverlight.csproj +++ /dev/null @@ -1,208 +0,0 @@ - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {B93F95CF-BF89-4D92-BB0F-86885B9B6DCE} - {A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - TechTalk.SpecFlow.Silverlight - TechTalk.SpecFlow.Silverlight - v3.5 - false - true - true - - - true - full - false - Bin\Debug - DEBUG;TRACE;SILVERLIGHT - true - true - prompt - 4 - - - pdbonly - true - Bin\Release - TRACE;SILVERLIGHT - true - true - prompt - 4 - - - - - - - - - - - - - Attributes.cs - - - Bindings\BindingMatch.cs - - - Bindings\BindingRegistry.cs - - - Bindings\BindingType.cs - - - Bindings\EventBinding.cs - - - Bindings\StepArgs.cs - - - Bindings\StepArgumentTypeConverter.cs - - - Bindings\StepBinding.cs - - - Bindings\StepDefinitionKeyword.cs - - - Bindings\StepMethodBinding.cs - - - Bindings\StepTransformationBinding.cs - - - Configuration\ConfigurationServices.cs - - - Configuration\MissingOrPendingStepsOutcome.cs - - - Configuration\RuntimeConfiguration.cs - - - CultureInfoScope.cs - - - ErrorHandling\BindingException.cs - - - ErrorHandling\ErrorProvider.cs - - - ErrorHandling\MissingStepDefinitionException.cs - - - ErrorHandling\PendingStepException.cs - - - ErrorHandling\SpecFlowException.cs - - - FeatureContext.cs - - - FeatureInfo.cs - - - ITestRunner.cs - - - ObjectContainer.cs - - - ScenarioBlock.cs - - - ScenarioContext.cs - - - ScenarioInfo.cs - - - SpecFlowContext.cs - - - Steps.cs - - - StringExtensions.cs - - - Table.cs - - - TestRunner.cs - - - Tracing\DefaultListener.cs - - - Tracing\ITraceListener.cs - - - Tracing\LanguageHelper.cs - - - Tracing\NullListener.cs - - - Tracing\StepDefinitonSkeletonProvider.cs - - - Tracing\StepFormatter.cs - - - Tracing\TestTracer.cs - - - UnitTestProvider\IUnitTestRuntimeProvider.cs - - - UnitTestProvider\MbUnitRuntimeProvider.cs - - - UnitTestProvider\MsTestRuntimeProvider.cs - - - UnitTestProvider\NUnitRuntimeProvider.cs - - - UnitTestProvider\XUnitRuntimeProvider.cs - - - - - - - - - - - Languages.xml - - - - - - - - - - - - \ No newline at end of file