public void m_InitMain_corr() { QApi api = AppTesting.APIlogin( 2 ); ShareParameters param = new ShareParameters(); IEnumerable<Metadata> files = api.RootMeatadata.ChildMetadata; bool inited = param.InitMain( api.Profile, api.RootMeatadata, files, api.Contats ); Assert.IsTrue( inited ); }
public void m_CreateShare_2param() { QApi api = AppTesting.APIlogin( 2 ); ShareParameters param = new ShareParameters(); IEnumerable<Metadata> files = api.RootMeatadata.ChildMetadata; param.InitMain( api.Profile, api.RootMeatadata, files, api.Contats ); string res = api.CreateShare( param ); Assert.IsNotNull( res ); }
public void m_GetShareFiles() { QApi api = AppTesting.APIlogin( 2 ); ShareParameters param = new ShareParameters(); IEnumerable<Metadata> files = api.RootMeatadata.ChildMetadata; param.InitMain( api.Profile, api.RootMeatadata, files, api.Contats ); ShareAction act = api.CreateShareAction( param ); IEnumerable<ShareFile> res = act.GetShareFiles(); Assert.IsNotNull( res ); }
public void m_CreateShareAction_5ShareActionsOneFromAnother() { QApi api = AppTesting.APIlogin( 2 ); ShareParameters param = new ShareParameters(); IEnumerable<Metadata> files = api.RootMeatadata.ChildMetadata; param.InitMain( api.Profile, api.RootMeatadata, files, api.Contats ); ShareAction act = api.CreateShareAction( param ); //.CreateShareAction( param ) //.CreateShareAction( param ) //.CreateShareAction( param ) //.CreateShareAction( param ); Assert.IsNotNull( act ); }