コード例 #1
0
 public void TestGetGroupsWithSearchAsyncRequest()
 {
     Completion = new ManualResetEvent(false);
     SoundCloudApiUnAuthenticated.Groups().Search("Owl").GetAsync(GroupsListBuilder);
     Completion.WaitOne(TimeSpan.FromSeconds(100));
     Assert.Greater(_asyncGroupsResult.Count, 0);
 }
コード例 #2
0
        public void TestGetGroupsMultipleRequest()
        {
            var requests = new List <IGroups>
            {
                SoundCloudApiUnAuthenticated.Groups(),
                SoundCloudApiUnAuthenticated.Groups(),
                SoundCloudApiUnAuthenticated.Groups(),
            };
            var users = SoundCloudApiUnAuthenticated.Execute(requests);

            Assert.Greater(users.Count, 0);
        }
コード例 #3
0
        public void TestGetGroupsWithSearchRequest()
        {
            var groups = SoundCloudApiUnAuthenticated.Groups().Search("Owl").Get();

            Assert.Greater(groups.Count, 0);
        }