mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 01:31:19 +00:00
91 lines
2.3 KiB
Dart
91 lines
2.3 KiB
Dart
//
|
|
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
|
//
|
|
// @dart=2.0
|
|
|
|
// ignore_for_file: unused_element, unused_import
|
|
// ignore_for_file: always_put_required_named_parameters_first
|
|
// ignore_for_file: lines_longer_than_80_chars
|
|
|
|
import 'package:mycoreapi/api.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
|
|
/// tests for GroupApi
|
|
void main() {
|
|
final instance = GroupApi();
|
|
|
|
group('tests for GroupApi', () {
|
|
// Create a group
|
|
//
|
|
//Future<GroupDetailDTO> groupCreate(GroupCreateOrUpdateDetailDTO groupCreateOrUpdateDetailDTO) async
|
|
test('test groupCreate', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Create groups from provider
|
|
//
|
|
//Future<List<GroupDetailDTO>> groupCreateDevicesFromZigbee2Mqtt(String userId) async
|
|
test('test groupCreateDevicesFromZigbee2Mqtt', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete device from a group
|
|
//
|
|
//Future<MultipartFile> groupDelete(String deviceId, String groupId) async
|
|
test('test groupDelete', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete a group
|
|
//
|
|
//Future<MultipartFile> groupDelete2(String groupId) async
|
|
test('test groupDelete2', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete all group for a specified
|
|
//
|
|
//Future<MultipartFile> groupDeleteAllForUser(String userId) async
|
|
test('test groupDeleteAllForUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all groups for the specified user
|
|
//
|
|
//Future<List<GroupSummaryDTO>> groupGetAll(String userId) async
|
|
test('test groupGetAll', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get detail info of a specified group
|
|
//
|
|
//Future<GroupDetailDTO> groupGetDetail(String groupId, { String userId }) async
|
|
test('test groupGetDetail', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get list of group from a type
|
|
//
|
|
//Future<List<GroupSummaryDTO>> groupGetGroupsByType(String userId, String type) async
|
|
test('test groupGetGroupsByType', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all zigbee2Mqtt groups
|
|
//
|
|
//Future<List<GroupDetailDTO>> groupGetGroupsFromZigbee2Mqtt(String userId) async
|
|
test('test groupGetGroupsFromZigbee2Mqtt', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update a group
|
|
//
|
|
//Future<GroupCreateOrUpdateDetailDTO> groupUpdate(GroupCreateOrUpdateDetailDTO groupCreateOrUpdateDetailDTO) async
|
|
test('test groupUpdate', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|