Преглед на файлове

split differnt type of material list

master
Patrick Peng Sun преди 9 години
родител
ревизия
ef9e074006
променени са 1 файла, в които са добавени 18 реда и са изтрити 3 реда
  1. +18
    -3
      material_test.go

+ 18
- 3
material_test.go Целия файл

func TestGetMaterialList(t *testing.T) { func TestGetMaterialList(t *testing.T) {
SetupConfig() SetupConfig()
l := getNewList() l := getNewList()

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


l = getVoiceList()
log.Printf("voice is : %s", l)
l = getVideoList() l = getVideoList()
log.Printf("video is : %s", l) log.Printf("video is : %s", l)
l = getImageList() l = getImageList()
log.Printf("Image is : %s", l) 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) { func TestGetMaterialCount(t *testing.T) {
SetupConfig() SetupConfig()
mc, err := getMaterialCount() mc, err := getMaterialCount()

Loading…
Отказ
Запис