Skip to content

Commit

Permalink
Merge pull request #374 from opentween/rename-twitter-classes
Browse files Browse the repository at this point in the history
Twitter関連のクラスの名前空間を移動
  • Loading branch information
upsilon authored Jun 21, 2024
2 parents 883ca4e + ec32cb6 commit e8fe7e8
Show file tree
Hide file tree
Showing 65 changed files with 179 additions and 215 deletions.
1 change: 0 additions & 1 deletion OpenTween.Tests/Api/GraphQL/CreateTweetRequestTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using System.Threading.Tasks;
using Moq;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

Expand Down
5 changes: 1 addition & 4 deletions OpenTween.Tests/Api/GraphQL/TimelineTweetTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@
// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween.Api.GraphQL
Expand Down
4 changes: 0 additions & 4 deletions OpenTween.Tests/Api/TwitterApiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,14 @@

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using Moq;
using OpenTween.Api.DataModel;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

Expand Down
8 changes: 2 additions & 6 deletions OpenTween.Tests/ListManageTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,8 @@
// 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 OpenTween.Api;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween
Expand All @@ -35,7 +31,7 @@ public class ListManageTest
public void Initialize_Test()
{
using var twitterApi = new TwitterApi();
using var twitter = new Twitter(twitterApi);
using var twitter = new TwitterLegacy(twitterApi);
using var dialog = new ListManage(twitter);
}
}
Expand Down
7 changes: 1 addition & 6 deletions OpenTween.Tests/Models/PostClassTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using OpenTween.SocialProtocol.Twitter;
using Xunit;
using Xunit.Extensions;

namespace OpenTween.Models
{
Expand Down
5 changes: 1 addition & 4 deletions OpenTween.Tests/Models/PostFilterRuleTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTween.SocialProtocol.Twitter;
using Xunit;
using Xunit.Extensions;

namespace OpenTween.Models
{
Expand Down
1 change: 1 addition & 0 deletions OpenTween.Tests/Models/QueryCursorTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// Boston, MA 02110-1301, USA.

using OpenTween.Api.GraphQL;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween.Models
Expand Down
1 change: 1 addition & 0 deletions OpenTween.Tests/Models/StatusTextHistoryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.

using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween.Models
Expand Down
3 changes: 1 addition & 2 deletions OpenTween.Tests/Models/TabInformationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using OpenTween.SocialProtocol;
using OpenTween.SocialProtocol.Twitter;
using Xunit;
using Xunit.Extensions;

namespace OpenTween.Models
{
Expand Down
5 changes: 1 addition & 4 deletions OpenTween.Tests/Models/TabModelTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using OpenTween.SocialProtocol.Twitter;
using Xunit;
using Xunit.Extensions;

namespace OpenTween.Models
{
Expand Down
7 changes: 1 addition & 6 deletions OpenTween.Tests/MyCommonTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,14 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Text;
using System.Windows.Forms;
using Moq;
using OpenTween;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;
using Xunit.Extensions;

namespace OpenTween
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// Boston, MA 02110-1301, USA.

using OpenTween.Api.Misskey;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween.SocialProtocol.Misskey
Expand Down
Loading

0 comments on commit e8fe7e8

Please sign in to comment.