mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
CI fixes
This commit is contained in:
parent
49f0a7ff36
commit
0ec10ba32d
@ -21,7 +21,6 @@ using OpenTK.Graphics;
|
|||||||
|
|
||||||
#if NET_FRAMEWORK
|
#if NET_FRAMEWORK
|
||||||
using System;
|
using System;
|
||||||
using System.Net.Http;
|
|
||||||
using osu.Framework.Logging;
|
using osu.Framework.Logging;
|
||||||
using Squirrel;
|
using Squirrel;
|
||||||
#endif
|
#endif
|
||||||
|
@ -126,7 +126,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
|||||||
var beatmap = decoder.Decode(new StreamReader(stream));
|
var beatmap = decoder.Decode(new StreamReader(stream));
|
||||||
|
|
||||||
var curveData = beatmap.HitObjects[0] as IHasCurve;
|
var curveData = beatmap.HitObjects[0] as IHasCurve;
|
||||||
var positionData = beatmap.HitObjects[0] as IHasPosition;
|
var positionData = (IHasPosition)beatmap.HitObjects[0];
|
||||||
|
|
||||||
Assert.IsNotNull(positionData);
|
Assert.IsNotNull(positionData);
|
||||||
Assert.IsNotNull(curveData);
|
Assert.IsNotNull(curveData);
|
||||||
@ -134,7 +134,7 @@ namespace osu.Game.Tests.Beatmaps.Formats
|
|||||||
Assert.AreEqual(956, beatmap.HitObjects[0].StartTime);
|
Assert.AreEqual(956, beatmap.HitObjects[0].StartTime);
|
||||||
Assert.IsTrue(beatmap.HitObjects[0].Samples.Any(s => s.Name == SampleInfo.HIT_NORMAL));
|
Assert.IsTrue(beatmap.HitObjects[0].Samples.Any(s => s.Name == SampleInfo.HIT_NORMAL));
|
||||||
|
|
||||||
positionData = beatmap.HitObjects[1] as IHasPosition;
|
positionData = (IHasPosition)beatmap.HitObjects[1];
|
||||||
|
|
||||||
Assert.IsNotNull(positionData);
|
Assert.IsNotNull(positionData);
|
||||||
Assert.AreEqual(new Vector2(304, 56), positionData.Position);
|
Assert.AreEqual(new Vector2(304, 56), positionData.Position);
|
||||||
|
@ -75,7 +75,7 @@ namespace osu.Game.Overlays.Profile.Sections.Kudosu
|
|||||||
{
|
{
|
||||||
private readonly OsuSpriteText valueText;
|
private readonly OsuSpriteText valueText;
|
||||||
|
|
||||||
public int Count
|
public new int Count
|
||||||
{
|
{
|
||||||
set { valueText.Text = value.ToString(); }
|
set { valueText.Text = value.ToString(); }
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ namespace osu.Game.Overlays.Settings
|
|||||||
private readonly SpriteText headerText;
|
private readonly SpriteText headerText;
|
||||||
private readonly Box selectionIndicator;
|
private readonly Box selectionIndicator;
|
||||||
private readonly Container text;
|
private readonly Container text;
|
||||||
public Action<SettingsSection> Action;
|
public new Action<SettingsSection> Action;
|
||||||
|
|
||||||
private SettingsSection section;
|
private SettingsSection section;
|
||||||
public SettingsSection Section
|
public SettingsSection Section
|
||||||
|
Loading…
Reference in New Issue
Block a user