OSDN Git Service

改行コードの修正 (CRLF -> LF)
authorKimura Youichi <kim.upsilon@bucyou.net>
Thu, 7 Feb 2013 19:58:28 +0000 (04:58 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Thu, 7 Feb 2013 20:00:01 +0000 (05:00 +0900)
OpenTween.Tests/ApiInformationTest.cs
OpenTween.Tests/BingTest.cs
OpenTween.Tests/OpenTween.Tests.csproj

index 7fdb758..f3df09e 100644 (file)
-// OpenTween - Client of Twitter\r
-// Copyright (c) 2012 the40san <http://sourceforge.jp/users/the40san/>\r
-// All rights reserved.\r
-//\r
-// This file is part of OpenTween.\r
-//\r
-// This program is free software; you can redistribute it and/or modify it\r
-// under the terms of the GNU General public License as published by the Free\r
-// Software Foundation; either version 3 of the License, or (at your option)\r
-// any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful, but\r
-// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
-// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License\r
-// for more details.\r
-//\r
-// You should have received a copy of the GNU General public License along\r
-// with this program. If not, see <http://www.gnu.org/licenses/>, or write to\r
-// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,\r
-// Boston, MA 02110-1301, USA.\r
-\r
-using System;\r
-using System.Collections.Generic;\r
-using System.Linq;\r
-using System.Text;\r
-using System.Threading.Tasks;\r
-using NUnit.Framework;\r
-\r
-\r
-namespace OpenTween\r
-{\r
-    [TestFixture]\r
-    public class ApiInformationTest\r
-    {\r
-        [Test]\r
-        public void Initialize()\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.Initialize();\r
-\r
-            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Remaining"], Is.EqualTo("-1"));\r
-            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Limit"], Is.EqualTo("-1"));\r
-            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Reset"], Is.EqualTo("-1"));\r
-\r
-            Assert.That(apiinfo.HttpHeaders["X-Access-Level"], Is.EqualTo("read-write-directmessages"));\r
-\r
-            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Remaining"], Is.EqualTo("-1"));\r
-            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Limit"], Is.EqualTo("-1"));\r
-            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Reset"], Is.EqualTo("-1"));\r
-            \r
-\r
-        }\r
-\r
-        [Test]\r
-        [Combinatorial] \r
-        public void Test_MaxCount([Values(100, 0, -100)]int value)\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.MaxCount = value;\r
-            Assert.That(apiinfo.MaxCount, Is.EqualTo(value));\r
-        }\r
-\r
-\r
-        [TestCase(-100, Result = -100)]\r
-        [TestCase(0, Result = 0)]\r
-        [TestCase(100, Result = 100)]\r
-        [TestCase(int.MaxValue, Result = int.MaxValue)]\r
-        [TestCase(int.MinValue, Result = int.MinValue)]\r
-        public int Test_RemainCount(int value)\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.RemainCount = value;\r
-            return apiinfo.RemainCount;\r
-        }\r
-\r
-\r
-\r
-\r
-\r
-        [TestCase(-100, Result = -100)]\r
-        [TestCase(0, Result = 0)]\r
-        [TestCase(100, Result = 100)]\r
-        [TestCase(int.MaxValue, Result = int.MaxValue)]\r
-        [TestCase(int.MinValue, Result = int.MinValue)]\r
-        public int Test_MediaMaxCount(int value)\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.MediaMaxCount = value;\r
-            return apiinfo.MediaMaxCount;\r
-        }\r
-\r
-        [TestCase(-100, Result = -100)]\r
-        [TestCase(0, Result = 0)]\r
-        [TestCase(100, Result = 100)]\r
-        [TestCase(int.MaxValue, Result = int.MaxValue)]\r
-        [TestCase(int.MinValue, Result = int.MinValue)]\r
-        public int Test_ResetTimeInSeconds(int value)\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.ResetTimeInSeconds = value;\r
-            return apiinfo.ResetTimeInSeconds;\r
-        }\r
-\r
-        [TestCase(-100, Result = -100)]\r
-        [TestCase(0, Result = 0)]\r
-        [TestCase(100, Result = 100)]\r
-        [TestCase(int.MaxValue, Result = int.MaxValue)]\r
-        [TestCase(int.MinValue, Result = int.MinValue)]\r
-        public int Test_UsingCount(int value)\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            apiinfo.UsingCount = value;\r
-            return apiinfo.UsingCount;\r
-        }\r
-\r
-        //↓以下DateTime系\r
-\r
-        [Test]\r
-        public void Test_ConvertResetTimeInSecondsToResetTime()\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            DateTime d = apiinfo.ConvertResetTimeInSecondsToResetTime(-1);\r
-            Assert.That(d, Is.EqualTo(new DateTime()));\r
-        }\r
-\r
-        [Test]\r
-        public void Test_MediaResetTime()\r
-        {\r
-            ApiInformation apiinfo = new ApiInformation();\r
-            DateTime d = new DateTime(1970, 1, 1, 0, 0, 0);\r
-            apiinfo.MediaResetTime = d;\r
-            Assert.That(apiinfo.MediaResetTime, Is.EqualTo(d));\r
-        }\r
-\r
-\r
-    }\r
-}\r
+// OpenTween - Client of Twitter
+// Copyright (c) 2012 the40san <http://sourceforge.jp/users/the40san/>
+// All rights reserved.
+//
+// This file is part of OpenTween.
+//
+// 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 3 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, see <http://www.gnu.org/licenses/>, or write to
+// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
+// Boston, MA 02110-1301, USA.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using NUnit.Framework;
+
+
+namespace OpenTween
+{
+    [TestFixture]
+    public class ApiInformationTest
+    {
+        [Test]
+        public void Initialize()
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.Initialize();
+
+            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Remaining"], Is.EqualTo("-1"));
+            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Limit"], Is.EqualTo("-1"));
+            Assert.That(apiinfo.HttpHeaders["X-RateLimit-Reset"], Is.EqualTo("-1"));
+
+            Assert.That(apiinfo.HttpHeaders["X-Access-Level"], Is.EqualTo("read-write-directmessages"));
+
+            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Remaining"], Is.EqualTo("-1"));
+            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Limit"], Is.EqualTo("-1"));
+            Assert.That(apiinfo.HttpHeaders["X-MediaRateLimit-Reset"], Is.EqualTo("-1"));
+            
+
+        }
+
+        [Test]
+        [Combinatorial] 
+        public void Test_MaxCount([Values(100, 0, -100)]int value)
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.MaxCount = value;
+            Assert.That(apiinfo.MaxCount, Is.EqualTo(value));
+        }
+
+
+        [TestCase(-100, Result = -100)]
+        [TestCase(0, Result = 0)]
+        [TestCase(100, Result = 100)]
+        [TestCase(int.MaxValue, Result = int.MaxValue)]
+        [TestCase(int.MinValue, Result = int.MinValue)]
+        public int Test_RemainCount(int value)
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.RemainCount = value;
+            return apiinfo.RemainCount;
+        }
+
+
+
+
+
+        [TestCase(-100, Result = -100)]
+        [TestCase(0, Result = 0)]
+        [TestCase(100, Result = 100)]
+        [TestCase(int.MaxValue, Result = int.MaxValue)]
+        [TestCase(int.MinValue, Result = int.MinValue)]
+        public int Test_MediaMaxCount(int value)
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.MediaMaxCount = value;
+            return apiinfo.MediaMaxCount;
+        }
+
+        [TestCase(-100, Result = -100)]
+        [TestCase(0, Result = 0)]
+        [TestCase(100, Result = 100)]
+        [TestCase(int.MaxValue, Result = int.MaxValue)]
+        [TestCase(int.MinValue, Result = int.MinValue)]
+        public int Test_ResetTimeInSeconds(int value)
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.ResetTimeInSeconds = value;
+            return apiinfo.ResetTimeInSeconds;
+        }
+
+        [TestCase(-100, Result = -100)]
+        [TestCase(0, Result = 0)]
+        [TestCase(100, Result = 100)]
+        [TestCase(int.MaxValue, Result = int.MaxValue)]
+        [TestCase(int.MinValue, Result = int.MinValue)]
+        public int Test_UsingCount(int value)
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            apiinfo.UsingCount = value;
+            return apiinfo.UsingCount;
+        }
+
+        //↓以下DateTime系
+
+        [Test]
+        public void Test_ConvertResetTimeInSecondsToResetTime()
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            DateTime d = apiinfo.ConvertResetTimeInSecondsToResetTime(-1);
+            Assert.That(d, Is.EqualTo(new DateTime()));
+        }
+
+        [Test]
+        public void Test_MediaResetTime()
+        {
+            ApiInformation apiinfo = new ApiInformation();
+            DateTime d = new DateTime(1970, 1, 1, 0, 0, 0);
+            apiinfo.MediaResetTime = d;
+            Assert.That(apiinfo.MediaResetTime, Is.EqualTo(d));
+        }
+
+
+    }
+}
index 205f7b0..e0fa1bb 100644 (file)
-// OpenTween - Client of Twitter\r
-// Copyright (c) 2012 the40san <http://sourceforge.jp/users/the40san/>\r
-// All rights reserved.\r
-//\r
-// This file is part of OpenTween.\r
-//\r
-// This program is free software; you can redistribute it and/or modify it\r
-// under the terms of the GNU General public License as published by the Free\r
-// Software Foundation; either version 3 of the License, or (at your option)\r
-// any later version.\r
-//\r
-// This program is distributed in the hope that it will be useful, but\r
-// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
-// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General public License\r
-// for more details.\r
-//\r
-// You should have received a copy of the GNU General public License along\r
-// with this program. If not, see <http://www.gnu.org/licenses/>, or write to\r
-// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,\r
-// Boston, MA 02110-1301, USA.using System;\r
-using System.Collections.Generic;\r
-using System.Linq;\r
-using System.Text;\r
-using System.Reflection;\r
-using NUnit.Framework;\r
-\r
-\r
-namespace OpenTween\r
-{\r
-    /// <summary>\r
-    /// Bingクラスのテストクラス\r
-    /// Translate(string _from, string _to, string _text, out string buf)のテスト未実装です\r
-    /// </summary>\r
-    [TestFixture]\r
-    class BingTest\r
-    {\r
-        List<string> LanguageTable;\r
-        Bing bing;\r
-\r
-        [TestFixtureSetUp]\r
-        public  void TestInit()\r
-        {\r
-            bing = new Bing();\r
-            //リフレクション使ってインスタンスから取得するようにしたい\r
-            #region 言語テーブル定義\r
-            LanguageTable = new List<string>() {\r
-            "af",\r
-            "sq",\r
-            "ar-sa",\r
-            "ar-iq",\r
-            "ar-eg",\r
-            "ar-ly",\r
-            "ar-dz",\r
-            "ar-ma",\r
-            "ar-tn",\r
-            "ar-om",\r
-            "ar-ye",\r
-            "ar-sy",\r
-            "ar-jo",\r
-            "ar-lb",\r
-            "ar-kw",\r
-            "ar-ae",\r
-            "ar-bh",\r
-            "ar-qa",\r
-            "eu",\r
-            "bg",\r
-            "be",\r
-            "ca",\r
-            "zh-tw",\r
-            "zh-cn",\r
-            "zh-hk",\r
-            "zh-sg",\r
-            "hr",\r
-            "cs",\r
-            "da",\r
-            "nl",\r
-            "nl-be",\r
-            "en",\r
-            "en-us",\r
-            "en-gb",\r
-            "en-au",\r
-            "en-ca",\r
-            "en-nz",\r
-            "en-ie",\r
-            "en-za",\r
-            "en-jm",\r
-            "en",\r
-            "en-bz",\r
-            "en-tt",\r
-            "et",\r
-            "fo",\r
-            "fa",\r
-            "fi",\r
-            "fr",\r
-            "fr-be",\r
-            "fr-ca",\r
-            "fr-ch",\r
-            "fr-lu",\r
-            "gd",\r
-            "ga",\r
-            "de",\r
-            "de-ch",\r
-            "de-at",\r
-            "de-lu",\r
-            "de-li",\r
-            "el",\r
-            "he",\r
-            "hi",\r
-            "hu",\r
-            "is",\r
-            "id",\r
-            "it",\r
-            "it-ch",\r
-            "ja",\r
-            "ko",\r
-            "ko",\r
-            "lv",\r
-            "lt",\r
-            "mk",\r
-            "ms",\r
-            "mt",\r
-            "no",\r
-            "no",\r
-            "pl",\r
-            "pt-br",\r
-            "pt",\r
-            "rm",\r
-            "ro",\r
-            "ro-mo",\r
-            "ru",\r
-            "ru-mo",\r
-            "sz",\r
-            "sr",\r
-            "sr",\r
-            "sk",\r
-            "sl",\r
-            "sb",\r
-            "es",\r
-            "es-mx",\r
-            "es-gt",\r
-            "es-cr",\r
-            "es-pa",\r
-            "es-do",\r
-            "es-ve",\r
-            "es-co",\r
-            "es-pe",\r
-            "es-ar",\r
-            "es-ec",\r
-            "es-cl",\r
-            "es-uy",\r
-            "es-py",\r
-            "es-bo",\r
-            "es-sv",\r
-            "es-hn",\r
-            "es-ni",\r
-            "es-pr",\r
-            "sx",\r
-            "sv",\r
-            "sv-fi",\r
-            "th",\r
-            "ts",\r
-            "tn",\r
-            "tr",\r
-            "uk",\r
-            "ur",\r
-            "ve",\r
-            "vi",\r
-            "xh",\r
-            "ji",\r
-            "zu"\r
-        };\r
-        #endregion\r
-\r
-        }\r
-\r
-        //public bool TranslateTest(string _from, string _to, string _text, out string buf)\r
-        //{\r
-\r
-        //}\r
-\r
-        [Test]\r
-        public void GetLanguageEnumFromIndexTest()\r
-        {\r
-            Assert.That(bing.GetLanguageEnumFromIndex(0), Is.EqualTo(LanguageTable[0]));\r
-            Assert.That(bing.GetLanguageEnumFromIndex(1), Is.EqualTo(LanguageTable[1]));\r
-            Assert.That(bing.GetLanguageEnumFromIndex(LanguageTable.Count - 1), Is.EqualTo(LanguageTable[LanguageTable.Count - 1]));\r
-        }\r
-\r
-        [Test]\r
-        public void GetIndexFromLanguageEnumTest()\r
-        {\r
-            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[0]), Is.EqualTo(0));\r
-            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[1]), Is.EqualTo(1));\r
-            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[LanguageTable.Count - 1]), Is.EqualTo(LanguageTable.Count - 1));\r
-        }\r
-\r
-\r
-    }\r
-}\r
+// OpenTween - Client of Twitter
+// Copyright (c) 2012 the40san <http://sourceforge.jp/users/the40san/>
+// All rights reserved.
+//
+// This file is part of OpenTween.
+//
+// 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 3 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, see <http://www.gnu.org/licenses/>, or write to
+// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
+// Boston, MA 02110-1301, USA.using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Reflection;
+using NUnit.Framework;
+
+
+namespace OpenTween
+{
+    /// <summary>
+    /// Bingクラスのテストクラス
+    /// Translate(string _from, string _to, string _text, out string buf)のテスト未実装です
+    /// </summary>
+    [TestFixture]
+    class BingTest
+    {
+        List<string> LanguageTable;
+        Bing bing;
+
+        [TestFixtureSetUp]
+        public  void TestInit()
+        {
+            bing = new Bing();
+            //リフレクション使ってインスタンスから取得するようにしたい
+            #region 言語テーブル定義
+            LanguageTable = new List<string>() {
+            "af",
+            "sq",
+            "ar-sa",
+            "ar-iq",
+            "ar-eg",
+            "ar-ly",
+            "ar-dz",
+            "ar-ma",
+            "ar-tn",
+            "ar-om",
+            "ar-ye",
+            "ar-sy",
+            "ar-jo",
+            "ar-lb",
+            "ar-kw",
+            "ar-ae",
+            "ar-bh",
+            "ar-qa",
+            "eu",
+            "bg",
+            "be",
+            "ca",
+            "zh-tw",
+            "zh-cn",
+            "zh-hk",
+            "zh-sg",
+            "hr",
+            "cs",
+            "da",
+            "nl",
+            "nl-be",
+            "en",
+            "en-us",
+            "en-gb",
+            "en-au",
+            "en-ca",
+            "en-nz",
+            "en-ie",
+            "en-za",
+            "en-jm",
+            "en",
+            "en-bz",
+            "en-tt",
+            "et",
+            "fo",
+            "fa",
+            "fi",
+            "fr",
+            "fr-be",
+            "fr-ca",
+            "fr-ch",
+            "fr-lu",
+            "gd",
+            "ga",
+            "de",
+            "de-ch",
+            "de-at",
+            "de-lu",
+            "de-li",
+            "el",
+            "he",
+            "hi",
+            "hu",
+            "is",
+            "id",
+            "it",
+            "it-ch",
+            "ja",
+            "ko",
+            "ko",
+            "lv",
+            "lt",
+            "mk",
+            "ms",
+            "mt",
+            "no",
+            "no",
+            "pl",
+            "pt-br",
+            "pt",
+            "rm",
+            "ro",
+            "ro-mo",
+            "ru",
+            "ru-mo",
+            "sz",
+            "sr",
+            "sr",
+            "sk",
+            "sl",
+            "sb",
+            "es",
+            "es-mx",
+            "es-gt",
+            "es-cr",
+            "es-pa",
+            "es-do",
+            "es-ve",
+            "es-co",
+            "es-pe",
+            "es-ar",
+            "es-ec",
+            "es-cl",
+            "es-uy",
+            "es-py",
+            "es-bo",
+            "es-sv",
+            "es-hn",
+            "es-ni",
+            "es-pr",
+            "sx",
+            "sv",
+            "sv-fi",
+            "th",
+            "ts",
+            "tn",
+            "tr",
+            "uk",
+            "ur",
+            "ve",
+            "vi",
+            "xh",
+            "ji",
+            "zu"
+        };
+        #endregion
+
+        }
+
+        //public bool TranslateTest(string _from, string _to, string _text, out string buf)
+        //{
+
+        //}
+
+        [Test]
+        public void GetLanguageEnumFromIndexTest()
+        {
+            Assert.That(bing.GetLanguageEnumFromIndex(0), Is.EqualTo(LanguageTable[0]));
+            Assert.That(bing.GetLanguageEnumFromIndex(1), Is.EqualTo(LanguageTable[1]));
+            Assert.That(bing.GetLanguageEnumFromIndex(LanguageTable.Count - 1), Is.EqualTo(LanguageTable[LanguageTable.Count - 1]));
+        }
+
+        [Test]
+        public void GetIndexFromLanguageEnumTest()
+        {
+            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[0]), Is.EqualTo(0));
+            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[1]), Is.EqualTo(1));
+            Assert.That(bing.GetIndexFromLanguageEnum(LanguageTable[LanguageTable.Count - 1]), Is.EqualTo(LanguageTable.Count - 1));
+        }
+
+
+    }
+}
index d24ab85..0c280ad 100644 (file)
@@ -1,96 +1,96 @@
-<?xml version="1.0" encoding="utf-8"?>\r
-<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
-  <PropertyGroup>\r
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
-    <ProductVersion>8.0.30703</ProductVersion>\r
-    <SchemaVersion>2.0</SchemaVersion>\r
-    <ProjectGuid>{18A32642-A8F3-425B-978D-0C6F630EDDE8}</ProjectGuid>\r
-    <OutputType>Library</OutputType>\r
-    <AppDesignerFolder>Properties</AppDesignerFolder>\r
-    <RootNamespace>OpenTween</RootNamespace>\r
-    <AssemblyName>OpenTween.Tests</AssemblyName>\r
-    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
-    <FileAlignment>512</FileAlignment>\r
-  </PropertyGroup>\r
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
-    <DebugSymbols>true</DebugSymbols>\r
-    <DebugType>full</DebugType>\r
-    <Optimize>false</Optimize>\r
-    <OutputPath>bin\Debug\</OutputPath>\r
-    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
-    <ErrorReport>prompt</ErrorReport>\r
-    <WarningLevel>4</WarningLevel>\r
-  </PropertyGroup>\r
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
-    <DebugType>pdbonly</DebugType>\r
-    <Optimize>true</Optimize>\r
-    <OutputPath>bin\Release\</OutputPath>\r
-    <DefineConstants>TRACE</DefineConstants>\r
-    <ErrorReport>prompt</ErrorReport>\r
-    <WarningLevel>4</WarningLevel>\r
-  </PropertyGroup>\r
-  <ItemGroup>\r
-    <Reference Include="NSubstitute, Version=1.4.3.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">\r
-      <SpecificVersion>False</SpecificVersion>\r
-      <HintPath>dlls\NSubstitute.dll</HintPath>\r
-    </Reference>\r
-    <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">\r
-      <SpecificVersion>False</SpecificVersion>\r
-      <HintPath>dlls\nunit.framework.dll</HintPath>\r
-    </Reference>\r
-    <Reference Include="System" />\r
-    <Reference Include="System.Core" />\r
-    <Reference Include="System.Runtime.Serialization" />\r
-    <Reference Include="System.Windows.Forms" />\r
-    <Reference Include="System.Xml.Linq" />\r
-    <Reference Include="System.Data.DataSetExtensions" />\r
-    <Reference Include="Microsoft.CSharp" />\r
-    <Reference Include="System.Data" />\r
-    <Reference Include="System.Xml" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <Compile Include="ApiInformationTest.cs" />\r
-    <Compile Include="BingTest.cs" />\r
-    <Compile Include="FoursquareTest.cs" />\r
-    <Compile Include="LRUCacheDictionaryTest.cs" />\r
-    <Compile Include="MyCommonTest.cs" />\r
-    <Compile Include="PostClassTest.cs" />\r
-    <Compile Include="Properties\AssemblyInfo.cs" />\r
-    <Compile Include="TabsDialogTest.cs" />\r
-    <Compile Include="TestUtils.cs" />\r
-    <Compile Include="Thumbnail\Services\ImgAzyobuziNetTest.cs" />\r
-    <Compile Include="Thumbnail\Services\MetaThumbnailServiceTest.cs" />\r
-    <Compile Include="Thumbnail\Services\SimpleThumbnailServiceTest.cs" />\r
-    <Compile Include="Thumbnail\Services\TinamiTest.cs" />\r
-    <Compile Include="TweetThumbnailTest.cs" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <ProjectReference Include="..\OpenTween\OpenTween.csproj">\r
-      <Project>{3D8995C7-BDF3-4273-9F9D-DDD902F6A101}</Project>\r
-      <Name>OpenTween</Name>\r
-    </ProjectReference>\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <Content Include="dlls\NSubstitute.dll" />\r
-    <Content Include="dlls\nunit.framework.dll" />\r
-    <Content Include="Resources\re.gif">\r
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r
-    </Content>\r
-    <Content Include="Resources\re1.gif">\r
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r
-    </Content>\r
-    <Content Include="Resources\re1.png">\r
-      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r
-    </Content>\r
-  </ItemGroup>\r
-  <ItemGroup />\r
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
-       Other similar extension points exist, see Microsoft.Common.targets.\r
-  <Target Name="BeforeBuild">\r
-  </Target>\r
-  <Target Name="AfterBuild">\r
-  </Target>\r
-  -->\r
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{18A32642-A8F3-425B-978D-0C6F630EDDE8}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>OpenTween</RootNamespace>
+    <AssemblyName>OpenTween.Tests</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="NSubstitute, Version=1.4.3.0, Culture=neutral, PublicKeyToken=92dd2e9066daa5ca, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>dlls\NSubstitute.dll</HintPath>
+    </Reference>
+    <Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>dlls\nunit.framework.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Runtime.Serialization" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="ApiInformationTest.cs" />
+    <Compile Include="BingTest.cs" />
+    <Compile Include="FoursquareTest.cs" />
+    <Compile Include="LRUCacheDictionaryTest.cs" />
+    <Compile Include="MyCommonTest.cs" />
+    <Compile Include="PostClassTest.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="TabsDialogTest.cs" />
+    <Compile Include="TestUtils.cs" />
+    <Compile Include="Thumbnail\Services\ImgAzyobuziNetTest.cs" />
+    <Compile Include="Thumbnail\Services\MetaThumbnailServiceTest.cs" />
+    <Compile Include="Thumbnail\Services\SimpleThumbnailServiceTest.cs" />
+    <Compile Include="Thumbnail\Services\TinamiTest.cs" />
+    <Compile Include="TweetThumbnailTest.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\OpenTween\OpenTween.csproj">
+      <Project>{3D8995C7-BDF3-4273-9F9D-DDD902F6A101}</Project>
+      <Name>OpenTween</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="dlls\NSubstitute.dll" />
+    <Content Include="dlls\nunit.framework.dll" />
+    <Content Include="Resources\re.gif">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Resources\re1.gif">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Resources\re1.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+  <ItemGroup />
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
 </Project>
\ No newline at end of file