mirror of
https://github.com/TeamPiped/piped_dart.git
synced 2024-08-14 22:27:49 +00:00
71 lines
1.7 KiB
Dart
71 lines
1.7 KiB
Dart
import 'package:test/test.dart';
|
|
import 'package:piped_api/piped_api.dart';
|
|
|
|
// tests for StreamItem
|
|
void main() {
|
|
final instance = StreamItemBuilder();
|
|
// TODO add properties to the builder and call build()
|
|
|
|
group(StreamItem, () {
|
|
// The duration of the video in seconds.
|
|
// int duration
|
|
test('to test the property `duration`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The thumbnail of the video.
|
|
// String thumbnail
|
|
test('to test the property `thumbnail`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The title of the video.
|
|
// String title
|
|
test('to test the property `title`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The relative date the video was uploaded on.
|
|
// String uploadedDate
|
|
test('to test the property `uploadedDate`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The avatar of the channel of the video.
|
|
// String uploaderAvatar
|
|
test('to test the property `uploaderAvatar`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The name of the channel of the video.
|
|
// String uploaderName
|
|
test('to test the property `uploaderName`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The relative URL of the channel of the video.
|
|
// String uploaderUrl
|
|
test('to test the property `uploaderUrl`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Whether or not the channel has a verified badge.
|
|
// bool uploaderVerified
|
|
test('to test the property `uploaderVerified`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The relative URL to the video.
|
|
// String url
|
|
test('to test the property `url`', () async {
|
|
// TODO
|
|
});
|
|
|
|
// The number of views the video has.
|
|
// int views
|
|
test('to test the property `views`', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|