Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df2c285

Browse filesBrowse files
committed
Exclude certain tests from CI testing
1 parent fd288b7 commit df2c285
Copy full SHA for df2c285

File tree

Expand file treeCollapse file tree

2 files changed

+9
-15
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-15
lines changed
Open diff view settings
Collapse file

‎src/Tests/STACK.Test/Components/AudioManager.cs‎

Copy file name to clipboardExpand all lines: src/Tests/STACK.Test/Components/AudioManager.cs
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public void TestInitialize()
1616
MediaPlayer.Volume = 1;
1717
}
1818

19-
[TestMethod]
19+
[TestMethod, TestCategory("GPU")]
2020
public void SetMaxMusicVolumeFirst()
2121
{
2222
Manager.MaxMusicVolume = 1f;
@@ -25,7 +25,7 @@ public void SetMaxMusicVolumeFirst()
2525
Assert.AreEqual(0.5f, MediaPlayer.Volume);
2626
}
2727

28-
[TestMethod]
28+
[TestMethod, TestCategory("GPU")]
2929
public void SetMaxMusicVolumeLast()
3030
{
3131
Manager.MusicVolume = 1f;
@@ -34,7 +34,7 @@ public void SetMaxMusicVolumeLast()
3434
Assert.AreEqual(0.5f, MediaPlayer.Volume);
3535
}
3636

37-
[TestMethod]
37+
[TestMethod, TestCategory("GPU")]
3838
public void SetMusicEffectiveVolume()
3939
{
4040
Manager.MaxMusicVolume = 0.5f;
@@ -43,7 +43,7 @@ public void SetMusicEffectiveVolume()
4343
Assert.AreEqual(0.25f, MediaPlayer.Volume);
4444
}
4545

46-
[TestMethod]
46+
[TestMethod, TestCategory("GPU")]
4747
public void SetMusicVolumeClamp()
4848
{
4949
Manager.MaxMusicVolume = 1.5f;
@@ -52,7 +52,7 @@ public void SetMusicVolumeClamp()
5252
Assert.AreEqual(1f, MediaPlayer.Volume);
5353
}
5454

55-
[TestMethod]
55+
[TestMethod, TestCategory("GPU")]
5656
public void SetMaxSoundEffectVolumeFirst()
5757
{
5858
Manager.MaxSoundEffectVolume = 1f;
@@ -61,7 +61,7 @@ public void SetMaxSoundEffectVolumeFirst()
6161
Assert.AreEqual(0.5f, Manager.SoundEffectVolume);
6262
}
6363

64-
[TestMethod]
64+
[TestMethod, TestCategory("GPU")]
6565
public void SetMaxSoundEffectVolumeLast()
6666
{
6767
Manager.SoundEffectVolume = 1f;
@@ -70,7 +70,7 @@ public void SetMaxSoundEffectVolumeLast()
7070
Assert.AreEqual(0.5f, Manager.EffectiveSoundEffectVolume);
7171
}
7272

73-
[TestMethod]
73+
[TestMethod, TestCategory("GPU")]
7474
public void SetSoundEffectEffectiveVolume()
7575
{
7676
Manager.MaxSoundEffectVolume = 0.5f;
@@ -79,7 +79,7 @@ public void SetSoundEffectEffectiveVolume()
7979
Assert.AreEqual(0.25f, Manager.EffectiveSoundEffectVolume);
8080
}
8181

82-
[TestMethod]
82+
[TestMethod, TestCategory("GPU")]
8383
public void SetSoundEffectEffectiveVolumeTwice()
8484
{
8585
Manager.MaxSoundEffectVolume = 0.5f;
@@ -92,7 +92,7 @@ public void SetSoundEffectEffectiveVolumeTwice()
9292
Assert.AreEqual(0.125f, Manager.EffectiveSoundEffectVolume);
9393
}
9494

95-
[TestMethod]
95+
[TestMethod, TestCategory("GPU")]
9696
public void SetSoundEffectVolumeClamp()
9797
{
9898
Manager.MaxSoundEffectVolume = 1.5f;
Collapse file

‎src/Tests/STACK.Test/STACK.Test.csproj‎

Copy file name to clipboardExpand all lines: src/Tests/STACK.Test/STACK.Test.csproj
-6Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,6 @@
108108
<ItemGroup>
109109
<None Include="packages.config" />
110110
</ItemGroup>
111-
<ItemGroup>
112-
<Content Include="..\..\..\lib\FAudio.dll">
113-
<Link>FAudio.dll</Link>
114-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
115-
</Content>
116-
</ItemGroup>
117111
<Choose>
118112
<When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'">
119113
<ItemGroup>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.