piped_dart/test/comment_test.dart
2022-06-25 10:55:47 +01:00

77 lines
1.9 KiB
Dart

import 'package:test/test.dart';
import 'package:piped_api/piped_api.dart';
// tests for Comment
void main() {
final instance = CommentBuilder();
// TODO add properties to the builder and call build()
group(Comment, () {
// The name of the author of the comment.
// String author
test('to test the property `author`', () async {
// TODO
});
// The thumbnail/avatar of the author of the comment.
// String thumbnail
test('to test the property `thumbnail`', () async {
// TODO
});
// The ID of the comment.
// String commentId
test('to test the property `commentId`', () async {
// TODO
});
// The text of the comment.
// String commentText
test('to test the property `commentText`', () async {
// TODO
});
// The relative time the comment was made.
// String commentedTime
test('to test the property `commentedTime`', () async {
// TODO
});
// The relative URL of the author of the comment.
// String commentorUrl
test('to test the property `commentorUrl`', () async {
// TODO
});
// The parameter used as the nextpage to fetch replies for this comment.
// String repliesPage
test('to test the property `repliesPage`', () async {
// TODO
});
// The number of likes the comment has.
// int likeCount
test('to test the property `likeCount`', () async {
// TODO
});
// Whether the comment was hearted by the video's uploader.
// bool hearted
test('to test the property `hearted`', () async {
// TODO
});
// Whether the comment was pinned by the video's uploader.
// bool pinned
test('to test the property `pinned`', () async {
// TODO
});
// Whether the author of the comment is verified.
// bool verified
test('to test the property `verified`', () async {
// TODO
});
});
}