Skip to content

Commit

Permalink
OpenTween.Models にあるTwitter関連のクラスを OpenTween.SocialProtocol.Twitter に移動
Browse files Browse the repository at this point in the history
  • Loading branch information
upsilon committed Jun 20, 2024
1 parent 883ca4e commit ef7fd1c
Show file tree
Hide file tree
Showing 41 changed files with 41 additions and 72 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
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
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using System;
using System.Collections.Generic;
using OpenTween.Api.DataModel;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween.Models
Expand Down
1 change: 1 addition & 0 deletions OpenTween.Tests/TimelineListViewCacheTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using System;
using OpenTween.Models;
using OpenTween.OpenTweenCustomControl;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween
Expand Down
1 change: 1 addition & 0 deletions OpenTween.Tests/TimelineListViewStateTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using System.Windows.Forms;
using OpenTween.Models;
using OpenTween.OpenTweenCustomControl;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween
Expand Down
4 changes: 1 addition & 3 deletions OpenTween.Tests/TweenMainTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
Expand All @@ -33,9 +31,9 @@
using OpenTween.OpenTweenCustomControl;
using OpenTween.Setting;
using OpenTween.SocialProtocol;
using OpenTween.SocialProtocol.Twitter;
using OpenTween.Thumbnail;
using Xunit;
using Xunit.Extensions;

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

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using Xunit;

namespace OpenTween
Expand Down
4 changes: 1 addition & 3 deletions OpenTween.Tests/TweetThumbnailTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@
// Boston, MA 02110-1301, USA.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Moq;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;
using OpenTween.Thumbnail;
using OpenTween.Thumbnail.Services;
using Xunit;
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/DataModel/TwitterPageable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.DataModel
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/CreateRetweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using System.Threading.Tasks;
using System.Xml.XPath;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
1 change: 0 additions & 1 deletion OpenTween/Api/GraphQL/CreateTweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
using System.Xml.XPath;
using OpenTween.Api.DataModel;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/DeleteRetweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using System;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/DeleteTweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using System;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/FavoriteTweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using System;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/LikesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/TweetDetailRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/UnfavoriteTweetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using System;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/GraphQL/UserTweetsAndRepliesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.GraphQL
{
Expand Down
1 change: 0 additions & 1 deletion OpenTween/Api/TwitterApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
using System.Threading.Tasks;
using OpenTween.Api.DataModel;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api
Expand Down
2 changes: 1 addition & 1 deletion OpenTween/Api/TwitterV2/GetTimelineRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
using System.Threading.Tasks;
using OpenTween.Api.DataModel;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Api.TwitterV2
{
Expand Down
1 change: 1 addition & 0 deletions OpenTween/ListElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
using System.Xml.Serialization;
using OpenTween.Api.DataModel;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween
{
Expand Down
1 change: 1 addition & 0 deletions OpenTween/Models/TabInformations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
using System.Windows.Forms;
using OpenTween.Setting;
using OpenTween.SocialProtocol;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.Models
{
Expand Down
1 change: 0 additions & 1 deletion OpenTween/MyCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
using System.Threading.Tasks;
using System.Web;
using System.Windows.Forms;
using OpenTween.Models;
using OpenTween.Setting;
using OpenTween.SocialProtocol.Twitter;

Expand Down
1 change: 1 addition & 0 deletions OpenTween/SocialProtocol/InvalidAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
using OpenTween.Api;
using OpenTween.Connection;
using OpenTween.Models;
using OpenTween.SocialProtocol.Twitter;

namespace OpenTween.SocialProtocol
{
Expand Down
1 change: 1 addition & 0 deletions OpenTween/SocialProtocol/Misskey/MisskeyPostFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
using OpenTween.Api.Misskey;
using OpenTween.Models;
using OpenTween.Setting;
using OpenTween.SocialProtocol.Twitter;
using OpenTween.Thumbnail;

namespace OpenTween.SocialProtocol.Misskey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
#nullable enable

using System;
using OpenTween.Models;

namespace OpenTween.Models
namespace OpenTween.SocialProtocol.Twitter
{
public class TwitterDirectMessageId : PostId
{
Expand Down
Loading

0 comments on commit ef7fd1c

Please sign in to comment.