コード例 #1
0
 public void TestGetAppsAsyncRequest()
 {
     Completion = new ManualResetEvent(false);
     SoundCloudApiUnAuthenticated.Apps().GetAsync(AppsListBuilder);
     Completion.WaitOne(TimeSpan.FromSeconds(100));
     Assert.Greater(_asyncAppsResult.Count, 0);
 }
コード例 #2
0
        public void TestGetAppsMultipleRequest()
        {
            var requests = new List <IApps>
            {
                SoundCloudApiUnAuthenticated.Apps(),
                SoundCloudApiUnAuthenticated.Apps(),
                SoundCloudApiUnAuthenticated.Apps(),
            };
            var users = SoundCloudApiUnAuthenticated.Execute(requests);

            Assert.Greater(users.Count, 0);
        }
コード例 #3
0
        public void TestGetAppsRequest()
        {
            var playlists = SoundCloudApiUnAuthenticated.Apps().Get();

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