piped_dart/test/channel_info_test.dart

65 lines
1.5 KiB
Dart
Raw Normal View History

2022-02-06 12:22:59 +00:00
import 'package:test/test.dart';
import 'package:piped_api/piped_api.dart';
// tests for ChannelInfo
void main() {
final instance = ChannelInfoBuilder();
// TODO add properties to the builder and call build()
group(ChannelInfo, () {
// The URL of the channel's avatar.
// String avatarUrl
test('to test the property `avatarUrl`', () async {
// TODO
});
// The URL of the channel's banner.
// String bannerUrl
test('to test the property `bannerUrl`', () async {
// TODO
});
// The channel's description.
// String description
test('to test the property `description`', () async {
// TODO
});
// The ID of the channel.
// String id
test('to test the property `id`', () async {
// TODO
});
// The name of the channel.
// String name
test('to test the property `name`', () async {
// TODO
});
// The parameter used to get the next page of related videos.
// String nextpage
test('to test the property `nextpage`', () async {
// TODO
});
// BuiltList<StreamItem> relatedStreams
test('to test the property `relatedStreams`', () async {
// TODO
});
// The number of subscribers the channel has.
// int subscriberCount
test('to test the property `subscriberCount`', () async {
// TODO
});
// Whether the channel is verified.
// bool verified
test('to test the property `verified`', () async {
// TODO
});
});
}