-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature for touchscreen support (#39)
* Add feature for touchscreen support * Add feature for touchscreen support * Add feature for touchscreen support
- Loading branch information
1 parent
756e786
commit 83b5cb2
Showing
7 changed files
with
851 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Id: PCGamingWikiMetadata_c038558e-427b-4551-be4c-be7009ce5a8d | ||
Name: PCGamingWiki Metadata Provider | ||
Author: sharkusmanch | ||
Version: 1.1.3 | ||
Version: 1.1.4 | ||
Module: PCGamingWikiMetadata.dll | ||
Type: MetadataProvider | ||
Icon: icon.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using Xunit; | ||
using PCGamingWikiMetadata; | ||
using System; | ||
using System.Linq; | ||
using FluentAssertions; | ||
|
||
public class PCGWGame_Test_CATLADY : IDisposable | ||
{ | ||
private PCGWGame testGame; | ||
private LocalPCGWClient client; | ||
private TestMetadataRequestOptions options; | ||
|
||
|
||
public PCGWGame_Test_CATLADY() | ||
{ | ||
this.testGame = new PCGWGame("cat_lady", -1); | ||
this.options = new TestMetadataRequestOptions(); | ||
this.options.SetGameSourceSteam(); | ||
this.client = new LocalPCGWClient(this.options); | ||
// this.client.GetSettings().ImportTagNoCloudSaves = false; | ||
// this.client.GetSettings().ImportFeatureFramerate60 = true; | ||
// this.client.GetSettings().ImportFeatureFramerate120 = true; | ||
// this.client.GetSettings().ImportFeatureVR = true; | ||
this.client.FetchGamePageContent(this.testGame); | ||
} | ||
|
||
[Fact] | ||
public void TestTouchscreenSupport() | ||
{ | ||
var features = this.testGame.Features.Select(i => i.ToString()).ToArray(); | ||
features.Should().Contain("Touchscreen optimised"); | ||
} | ||
|
||
public void Dispose() | ||
{ | ||
|
||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.