Permalink
Browse files

Normalize line endings

  • Loading branch information...
1 parent 1c40278 commit 4a6c5e53589febf855a96666cff8c440cede9d97 @desunit desunit committed Sep 29, 2012
Showing with 5,588 additions and 5,588 deletions.
  1. +226 −226 tests/ServiceStack.Text.Tests/DynamicObjectTests.cs
  2. +118 −118 tests/ServiceStack.Text.Tests/GenericCollectionTests.cs
  3. +251 −251 tests/ServiceStack.Text.Tests/InterfaceTests.cs
  4. +37 −37 tests/ServiceStack.Text.Tests/JsonTests/AnonymousDeserializationTests.cs
  5. +278 −278 tests/ServiceStack.Text.Tests/JsonTests/BasicJsonTests.cs
  6. +136 −136 tests/ServiceStack.Text.Tests/JsonTests/BasicPropertiesTests.cs
  7. +69 −69 tests/ServiceStack.Text.Tests/JsonTests/CamelCaseTests.cs
  8. +78 −78 tests/ServiceStack.Text.Tests/JsonTests/ContractByInterfaceTests.cs
  9. +91 −91 tests/ServiceStack.Text.Tests/JsonTests/CustomSerializerTests.cs
  10. +51 −51 tests/ServiceStack.Text.Tests/JsonTests/DictionaryTests.cs
  11. +215 −215 tests/ServiceStack.Text.Tests/JsonTests/EscapedCharsTests.cs
  12. +46 −46 tests/ServiceStack.Text.Tests/JsonTests/JsonDataContractCompatibilityTests.cs
  13. +435 −435 tests/ServiceStack.Text.Tests/JsonTests/JsonDateTimeTests.cs
  14. +430 −430 tests/ServiceStack.Text.Tests/JsonTests/PolymorphicListTests.cs
  15. +6 −6 tests/ServiceStack.Text.Tests/JsonTests/ThrowOnDeserializeErrorTest.cs
  16. +5 −5 tests/ServiceStack.Text.Tests/JsvTests/JsvDeserializeTypeTest.cs
  17. +239 −239 tests/ServiceStack.Text.Tests/JsvTests/TypeSerializerToStringDictionaryTests.cs
  18. +72 −72 tests/ServiceStack.Text.Tests/MessagingTests.cs
  19. +182 −182 tests/ServiceStack.Text.Tests/NullableTypesTests.cs
  20. +23 −23 tests/ServiceStack.Text.Tests/QueryStringSerializerTests.cs
  21. +276 −276 tests/ServiceStack.Text.Tests/ReportedIssues.cs
  22. +281 −281 tests/ServiceStack.Text.Tests/ServiceStack.Text.Tests.csproj
  23. +67 −67 tests/ServiceStack.Text.Tests/SpecialTypesTests.cs
  24. +91 −91 tests/ServiceStack.Text.Tests/StringConverterUtilsTests.cs
  25. +151 −151 tests/ServiceStack.Text.Tests/StringSerializerNorthwindDatabaseTests.cs
  26. +141 −141 tests/ServiceStack.Text.Tests/StringSerializerTranslationTests.cs
  27. +191 −191 tests/ServiceStack.Text.Tests/StringTests.cs
  28. +148 −148 tests/ServiceStack.Text.Tests/StructTests.cs
  29. +223 −223 tests/ServiceStack.Text.Tests/Support/BenchmarkTests.cs
  30. +106 −106 tests/ServiceStack.Text.Tests/Support/MovieDtos.cs
  31. +10 −10 tests/ServiceStack.Text.Tests/Support/TableItem.cs
  32. +132 −132 tests/ServiceStack.Text.Tests/TestBase.cs
  33. +221 −221 tests/ServiceStack.Text.Tests/UseCases/CentroidTests.cs
  34. +128 −128 tests/ServiceStack.Text.Tests/UseCases/GitHubRestTests.cs
  35. +159 −159 tests/ServiceStack.Text.Tests/UseCases/GithubV3ApiTests.cs
  36. +192 −192 tests/ServiceStack.Text.Tests/Utils/DateTimeSerializerTests.cs
  37. +83 −83 tests/ServiceStack.Text.Tests/Utils/JsvFormatterTests.cs

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,119 +1,119 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using NUnit.Framework;
-using ServiceStack.Common.Tests.Models;
-
-namespace ServiceStack.Text.Tests
-{
- [TestFixture]
- public class GenericCollectionTests
- : TestBase
- {
-
- [Test]
- public void Can_serialize_Queue_string()
- {
- var queue = new Queue<string>();
-
- queue.Enqueue("one");
- queue.Enqueue("two");
- queue.Enqueue("three");
-
- Serialize(queue);
-
- Assert.That(CsvSerializer.SerializeToString(queue), Is.EqualTo("one,two,three" + Environment.NewLine));
- }
-
- [Test]
- public void Can_serialize_Queue_int()
- {
- var queue = new Queue<int>();
-
- queue.Enqueue(1);
- queue.Enqueue(2);
- queue.Enqueue(3);
-
- Serialize(queue);
-
- Assert.That(CsvSerializer.SerializeToString(queue), Is.EqualTo("1,2,3" + Environment.NewLine));
- }
-
- [Test]
- public void Can_serialize_Queue_Generic()
- {
- var queue = new Queue<ModelWithIdAndName>();
-
- queue.Enqueue(ModelWithIdAndName.Create(1));
- queue.Enqueue(ModelWithIdAndName.Create(2));
- queue.Enqueue(ModelWithIdAndName.Create(3));
-
- Serialize(queue);
-
- Assert.That(CsvSerializer.SerializeToString(queue),
- Is.EqualTo(
- "Id,Name"
- + Environment.NewLine
- + "1,Name1"
- + Environment.NewLine
- + "2,Name2"
- + Environment.NewLine
- + "3,Name3"
- + Environment.NewLine
- ));
- }
-
- [Test]
- public void Can_serialize_Stack_string()
- {
- var stack = new Stack<string>();
-
- stack.Push("one");
- stack.Push("two");
- stack.Push("three");
-
- Serialize(stack);
-
- Assert.That(CsvSerializer.SerializeToString(stack), Is.EqualTo("three,two,one" + Environment.NewLine));
- }
-
- [Test]
- public void Can_serialize_Stack_int()
- {
- var stack = new Stack<int>();
-
- stack.Push(1);
- stack.Push(2);
- stack.Push(3);
-
- Serialize(stack);
-
- Assert.That(CsvSerializer.SerializeToString(stack), Is.EqualTo("3,2,1" + Environment.NewLine));
- }
-
- [Test]
- public void Can_serialize_Stack_Generic()
- {
- var stack = new Stack<ModelWithIdAndName>();
-
- stack.Push(ModelWithIdAndName.Create(1));
- stack.Push(ModelWithIdAndName.Create(2));
- stack.Push(ModelWithIdAndName.Create(3));
-
- Serialize(stack);
-
- Assert.That(CsvSerializer.SerializeToString(stack),
- Is.EqualTo(
- "Id,Name"
- + Environment.NewLine
- + "3,Name3"
- + Environment.NewLine
- + "2,Name2"
- + Environment.NewLine
- + "1,Name1"
- + Environment.NewLine
- ));
- }
- }
-
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using NUnit.Framework;
+using ServiceStack.Common.Tests.Models;
+
+namespace ServiceStack.Text.Tests
+{
+ [TestFixture]
+ public class GenericCollectionTests
+ : TestBase
+ {
+
+ [Test]
+ public void Can_serialize_Queue_string()
+ {
+ var queue = new Queue<string>();
+
+ queue.Enqueue("one");
+ queue.Enqueue("two");
+ queue.Enqueue("three");
+
+ Serialize(queue);
+
+ Assert.That(CsvSerializer.SerializeToString(queue), Is.EqualTo("one,two,three" + Environment.NewLine));
+ }
+
+ [Test]
+ public void Can_serialize_Queue_int()
+ {
+ var queue = new Queue<int>();
+
+ queue.Enqueue(1);
+ queue.Enqueue(2);
+ queue.Enqueue(3);
+
+ Serialize(queue);
+
+ Assert.That(CsvSerializer.SerializeToString(queue), Is.EqualTo("1,2,3" + Environment.NewLine));
+ }
+
+ [Test]
+ public void Can_serialize_Queue_Generic()
+ {
+ var queue = new Queue<ModelWithIdAndName>();
+
+ queue.Enqueue(ModelWithIdAndName.Create(1));
+ queue.Enqueue(ModelWithIdAndName.Create(2));
+ queue.Enqueue(ModelWithIdAndName.Create(3));
+
+ Serialize(queue);
+
+ Assert.That(CsvSerializer.SerializeToString(queue),
+ Is.EqualTo(
+ "Id,Name"
+ + Environment.NewLine
+ + "1,Name1"
+ + Environment.NewLine
+ + "2,Name2"
+ + Environment.NewLine
+ + "3,Name3"
+ + Environment.NewLine
+ ));
+ }
+
+ [Test]
+ public void Can_serialize_Stack_string()
+ {
+ var stack = new Stack<string>();
+
+ stack.Push("one");
+ stack.Push("two");
+ stack.Push("three");
+
+ Serialize(stack);
+
+ Assert.That(CsvSerializer.SerializeToString(stack), Is.EqualTo("three,two,one" + Environment.NewLine));
+ }
+
+ [Test]
+ public void Can_serialize_Stack_int()
+ {
+ var stack = new Stack<int>();
+
+ stack.Push(1);
+ stack.Push(2);
+ stack.Push(3);
+
+ Serialize(stack);
+
+ Assert.That(CsvSerializer.SerializeToString(stack), Is.EqualTo("3,2,1" + Environment.NewLine));
+ }
+
+ [Test]
+ public void Can_serialize_Stack_Generic()
+ {
+ var stack = new Stack<ModelWithIdAndName>();
+
+ stack.Push(ModelWithIdAndName.Create(1));
+ stack.Push(ModelWithIdAndName.Create(2));
+ stack.Push(ModelWithIdAndName.Create(3));
+
+ Serialize(stack);
+
+ Assert.That(CsvSerializer.SerializeToString(stack),
+ Is.EqualTo(
+ "Id,Name"
+ + Environment.NewLine
+ + "3,Name3"
+ + Environment.NewLine
+ + "2,Name2"
+ + Environment.NewLine
+ + "1,Name1"
+ + Environment.NewLine
+ ));
+ }
+ }
+
}
Oops, something went wrong.

0 comments on commit 4a6c5e5

Please sign in to comment.