Example #1
0
 private void OnAddCollection(CollectionRef resp, string data)
 {
     Log.Debug("ExampleDiscoveryV1", "Discovery - Add collection Response: {0}", data);
     _createdCollectionID = resp.collection_id;
     Test(resp != null);
     _addCollectionTested = true;
 }
Example #2
0
 private void OnAddCollection(CollectionRef resp, Dictionary <string, object> customData)
 {
     Log.Debug("TestDiscovery.OnAddCollection()", "Discovery - Add collection Response: {0}", customData["json"].ToString());
     _createdCollectionId = resp.collection_id;
     Test(resp != null);
     _addCollectionTested = true;
 }
Example #3
0
 private void OnCreateJpCollection(CollectionRef response, Dictionary <string, object> customData)
 {
     Log.Debug("TestDiscovery.OnAddJpCollection()", "Discovery - add jp collection Response: added:{0}", customData["json"].ToString());
     _createdJpCollection = response.collection_id;
     Test(response != null);
     _createJpCollectionTested = true;
 }
    private void OnAddCollection(CollectionRef resp, string data)
    {
        if (resp != null)
        {
            Log.Debug("ExampleDiscoveryV1", "Collection: {0}, {1}", resp.collection_id, resp.name);
            m_CreatedCollectionID = resp.collection_id;

            //TestGetCollection();
        }
        else
        {
            Log.Debug("ExampleDiscoveryV1", "resp is null, {0}", data);
        }
    }