Skip to content

Commit

Permalink
test: 添加测试项
Browse files Browse the repository at this point in the history
调整测试输出内容
  • Loading branch information
Light authored and Light committed Jun 28, 2022
1 parent 59f478a commit 763fa4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
array('title' => '빠빠빠', 'artist' => 'Crayon Pop'),
array('title' => '유후', 'artist' => 'Brave Girls'),
array('title' => 'Mood(Explicit)', 'artist' => '24KGoldn&iann dior'),
array('title' => 'Silence(Illenium Remix)', 'artist' => 'Khalid&Illenium&marshmello')
array('title' => 'Silence(Illenium Remix)', 'artist' => 'Khalid&Illenium&marshmello'),
array('title' => 'WOW', 'artist' => 'Dom.T')
);

foreach ($testArray as $key => $item) {
Expand All @@ -20,6 +21,7 @@
echo "等待 5 秒...\n";
sleep(5);
}
echo "{title = " . $item['title'] . "; artist = " . $item['artist'] . " }.\n";
$testObj = new AudioStationResult();
$count = $downloader->getLyricsList($item['artist'], $item['title'], $testObj);
if ($count > 0) {
Expand Down

0 comments on commit 763fa4b

Please sign in to comment.