Cleaned up some unused code.

This commit is contained in:
Daniel Stolt
2014-07-25 23:26:35 +02:00
parent 2b37a6ed6e
commit 9a2b277aba
5 changed files with 2 additions and 35 deletions

View File

@@ -5,7 +5,7 @@ using Orchard.Framework.Localization.Models;
namespace Orchard.Framework.Tests.Localization {
[TestFixture]
public class DateParseResultTests {
public class DateTimePartsTests {
[Test]
[Description("Equal instances return equality.")]

View File

@@ -259,7 +259,7 @@
<Compile Include="FileSystems\Dependencies\DependenciesFolderTests.cs" />
<Compile Include="FileSystems\VirtualPath\DefaultVirtualPathProviderTests.cs" />
<Compile Include="Localization\CultureManagerTests.cs" />
<Compile Include="Localization\DateParseResultTests.cs" />
<Compile Include="Localization\DateTimePartsTests.cs" />
<Compile Include="Localization\DefaultDateFormatterTests.cs" />
<Compile Include="Logging\OrchardFileAppenderTests.cs" />
<Compile Include="Messaging\MessagingChannelStub.cs" />

View File

@@ -30,16 +30,5 @@ namespace Orchard.Framework.Localization.Models {
return _day;
}
}
//public override bool Equals(object obj) {
// var other = (DateParts)obj;
// if (Year != other.Year ||
// Month != other.Month ||
// Day != other.Day)
// return false;
// return true;
//}
}
}

View File

@@ -28,15 +28,5 @@ namespace Orchard.Framework.Localization.Models {
return _time;
}
}
//public override bool Equals(object obj) {
// var other = (DateTimeParts)obj;
// if (!(Date.Equals(other.Date)) ||
// !(Time.Equals(other.Time)))
// return false;
// return true;
//}
}
}

View File

@@ -40,17 +40,5 @@ namespace Orchard.Framework.Localization.Models {
return _millisecond;
}
}
//public override bool Equals(object obj) {
// var other = (TimeParts)obj;
// if (Hour != other.Hour ||
// Minute != other.Minute ||
// Second != other.Second ||
// Millisecond != other.Millisecond)
// return false;
// return Hour == other.Hour;
//}
}
}