Fixed build warnings and minor UI fix
This commit is contained in:
Родитель
2d991075bf
Коммит
ad95165f5a
|
@ -11,7 +11,8 @@
|
|||
<ListView ItemsSource="{Binding Results}"
|
||||
ItemSelected="ViewTest"
|
||||
VerticalOptions="FillAndExpand"
|
||||
HorizontalOptions="FillAndExpand">
|
||||
HorizontalOptions="FillAndExpand"
|
||||
HasUnevenRows="true">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
|
|
|
@ -21,16 +21,17 @@
|
|||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
// ***********************************************************************
|
||||
|
||||
using System.Threading.Tasks;
|
||||
using NUnit.Framework.Interfaces;
|
||||
using NUnit.Runner.ViewModel;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace NUnit.Runner.View
|
||||
{
|
||||
public partial class ResultsView : ContentPage
|
||||
/// <summary>
|
||||
/// Xamarin.Forms view of a list of test results
|
||||
/// </summary>
|
||||
public partial class ResultsView : ContentPage
|
||||
{
|
||||
public ResultsView (ResultsViewModel model)
|
||||
internal ResultsView (ResultsViewModel model)
|
||||
{
|
||||
model.Navigation = Navigation;
|
||||
BindingContext = model;
|
||||
|
|
|
@ -26,9 +26,12 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.View
|
||||
{
|
||||
/// <summary>
|
||||
/// The main Xamarin.Forms view of the application
|
||||
/// </summary>
|
||||
public partial class SummaryView : ContentPage
|
||||
{
|
||||
public SummaryView (SummaryViewModel model)
|
||||
internal SummaryView (SummaryViewModel model)
|
||||
{
|
||||
model.Navigation = Navigation;
|
||||
BindingContext = model;
|
||||
|
|
|
@ -26,9 +26,12 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.View
|
||||
{
|
||||
/// <summary>
|
||||
/// Xamarin.Forms view of an individual test result
|
||||
/// </summary>
|
||||
public partial class TestView : ContentPage
|
||||
{
|
||||
public TestView(TestViewModel model)
|
||||
internal TestView(TestViewModel model)
|
||||
{
|
||||
BindingContext = model;
|
||||
InitializeComponent();
|
||||
|
|
|
@ -28,7 +28,7 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.ViewModel
|
||||
{
|
||||
public class BaseViewModel : INotifyPropertyChanged
|
||||
class BaseViewModel : INotifyPropertyChanged
|
||||
{
|
||||
/// <summary>
|
||||
/// So that we can navigate from within the view model
|
||||
|
|
|
@ -21,15 +21,13 @@
|
|||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
// ***********************************************************************
|
||||
|
||||
using System.Windows.Input;
|
||||
using NUnit.Framework.Interfaces;
|
||||
using NUnit.Runner.Extensions;
|
||||
using NUnit.Runner.View;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace NUnit.Runner.ViewModel
|
||||
{
|
||||
public class ResultViewModel
|
||||
internal class ResultViewModel
|
||||
{
|
||||
public ResultViewModel(ITestResult result)
|
||||
{
|
||||
|
|
|
@ -29,7 +29,7 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.ViewModel
|
||||
{
|
||||
public class ResultsViewModel : BaseViewModel
|
||||
class ResultsViewModel : BaseViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructs the view model
|
||||
|
|
|
@ -34,7 +34,7 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.ViewModel
|
||||
{
|
||||
public class SummaryViewModel : BaseViewModel
|
||||
class SummaryViewModel : BaseViewModel
|
||||
{
|
||||
private readonly IList<Assembly> _testAssemblies;
|
||||
private ResultSummary _results;
|
||||
|
|
|
@ -29,7 +29,7 @@ using Xamarin.Forms;
|
|||
|
||||
namespace NUnit.Runner.ViewModel
|
||||
{
|
||||
public class TestViewModel : BaseViewModel
|
||||
class TestViewModel : BaseViewModel
|
||||
{
|
||||
public TestViewModel(ITestResult result)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче