Переглянути джерело

split differnt type of material list

master
Patrick Peng Sun 8 роки тому
джерело
коміт
ef9e074006
1 змінених файлів з 18 додано та 3 видалено
  1. +18
    -3
      material_test.go

+ 18
- 3
material_test.go Переглянути файл

@@ -8,17 +8,32 @@ import (
func TestGetMaterialList(t *testing.T) {
SetupConfig()
l := getNewList()

log.Printf("news is : %s", l)

l = getVoiceList()
log.Printf("voice is : %s", l)
l = getVideoList()
log.Printf("video is : %s", l)
l = getImageList()
log.Printf("Image is : %s", l)

}
func TestGetMaterialVoiceList(t *testing.T) {
SetupConfig()
l := getVoiceList()
log.Printf("voice is : %s", l)
}

func TestGetMaterialVideoList(t *testing.T) {
SetupConfig()
l := getVideoList()
log.Printf("voice is : %s", l)
}

func TestGetMaterialImageList(t *testing.T) {
SetupConfig()
l := getImageList()
log.Printf("voice is : %s", l)

}
func TestGetMaterialCount(t *testing.T) {
SetupConfig()
mc, err := getMaterialCount()

Завантаження…
Відмінити
Зберегти