C# Class Microsoft.WindowsAzure.MobileServices.Test.MainPage

Test setup UI page.
Inheritance: System.Windows.Controls.Page
Datei anzeigen Open project: Azure/azure-mobile-apps-net-client

Public Methods

Method Description
EndGroup ( TestGroup group ) : void
EndRun ( TestHarness harness ) : void
EndTest ( TestMethod method ) : void
Error ( string errorDetails ) : void
Log ( string message ) : void
MainPage ( ) : Microsoft.WindowsAzure.MobileServices.Test
MainPage ( ) : System

Initializes a new instance of the MainPage class.

Progress ( TestHarness harness ) : void
StartGroup ( TestGroup group ) : void
StartRun ( TestHarness harness ) : void
StartTest ( TestMethod test ) : void
Status ( string status ) : void

Protected Methods

Method Description
OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void

Invoked when this page is about to be displayed in a Frame.

Private Methods

Method Description
DownloadInputFromStorageAsync ( string storageUrl, string storageSasToken, string inputFilePath ) : Task
ExecuteE2ETests ( object sender, RoutedEventArgs e ) : void

Start the end to end test run.

ExecuteLoginTests ( object sender, RoutedEventArgs e ) : void

Loads the login test page.

ExecuteUnitTests ( object sender, RoutedEventArgs e ) : void

Start the unit test run.

LoginButtonClicked ( object sender, RoutedEventArgs e ) : void
MainPage_Loaded ( object sender, RoutedEventArgs e ) : void
ReadFile ( string filePath ) : string

Method Details

EndGroup() public method

public EndGroup ( TestGroup group ) : void
group TestGroup
return void

EndRun() public method

public EndRun ( TestHarness harness ) : void
harness TestHarness
return void

EndTest() public method

public EndTest ( TestMethod method ) : void
method TestMethod
return void

Error() public method

public Error ( string errorDetails ) : void
errorDetails string
return void

Log() public method

public Log ( string message ) : void
message string
return void

MainPage() public method

public MainPage ( ) : Microsoft.WindowsAzure.MobileServices.Test
return Microsoft.WindowsAzure.MobileServices.Test

MainPage() public method

Initializes a new instance of the MainPage class.
public MainPage ( ) : System
return System

OnNavigatedTo() protected method

Invoked when this page is about to be displayed in a Frame.
protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs Event data that describes how this page was reached. The Parameter /// property is typically used to configure the page.
return void

Progress() public method

public Progress ( TestHarness harness ) : void
harness TestHarness
return void

StartGroup() public method

public StartGroup ( TestGroup group ) : void
group TestGroup
return void

StartRun() public method

public StartRun ( TestHarness harness ) : void
harness TestHarness
return void

StartTest() public method

public StartTest ( TestMethod test ) : void
test TestMethod
return void

Status() public method

public Status ( string status ) : void
status string
return void