C# Class UnitTests.TestRelations

Exibir arquivo Open project: strongloop/loopback-sdk-xamarin

Public Methods

Method Description
TestRelations ( int ords = null, int revs = null ) : System
addCustomer ( Customer cust ) : void
addOrder ( Order ord ) : void
addReview ( Review rev ) : void
deleteAllCustomers ( ) : void
deleteAllOrders ( ) : void
deleteAllReviews ( ) : void
scenario ( ) : void

Private Methods

Method Description
fixtureSetUp ( ) : void
fixtureTearDown ( ) : void
relation_a10_CustomerCountOrders ( ) : void
relation_a111_CustomerGetOrders ( ) : void
relation_a112_CustomerGetReviews ( ) : void
relation_a113_CustomerGetYoung ( ) : void
relation_a11_CustomerCountReviews ( ) : void
relation_a12_CustomerCountYoungFolk ( ) : void
relation_a13_CustomerCreateOrder ( ) : void
relation_a14_CustomerCreateReview ( ) : void
relation_a15_CustomerDeleteOrder ( ) : void
relation_a16_CustomerDeleteReview ( ) : void
relation_a17_CustomerDeleteYoung ( ) : void
relation_a18_CustomerDestroyByOrdersID ( ) : void
relation_a19_CustomerDestroyByReviewsID ( ) : void
relation_a20_CustomerFindByOrderIds ( ) : void
relation_a21_CustomerFindByReviewIds ( ) : void
relation_o10_OrderCountForCustomer ( ) : void
relation_o10_ReviewCountForCustomer ( ) : void
relation_o11_OrderCreateForCustomer ( ) : void
relation_o11_ReviewCreateForCustomer ( ) : void
relation_o12_OrderDeleteForCustomer ( ) : void
relation_o12_ReviewDeleteForCustomer ( ) : void
relation_o13_OrderDestroyByIdForCustomer ( ) : void
relation_o13_ReviewDestroyByIdForCustomer ( ) : void
relation_o14_OrderGetCustomer ( ) : void
relation_o14_ReviewGetAuthor ( ) : void
relation_o15_OrderGetForCustomer ( ) : void
relation_o15_ReviewGetForCustomer ( ) : void
relation_o16_ReviewFindByIdForCustomer ( ) : void

Method Details

TestRelations() public method

public TestRelations ( int ords = null, int revs = null ) : System
ords int
revs int
return System

addCustomer() public method

public addCustomer ( Customer cust ) : void
cust Customer
return void

addOrder() public method

public addOrder ( Order ord ) : void
ord Order
return void

addReview() public method

public addReview ( Review rev ) : void
rev Review
return void

deleteAllCustomers() public method

public deleteAllCustomers ( ) : void
return void

deleteAllOrders() public method

public deleteAllOrders ( ) : void
return void

deleteAllReviews() public method

public deleteAllReviews ( ) : void
return void

scenario() public method

public scenario ( ) : void
return void