mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
98 lines
2.5 KiB
Dart
98 lines
2.5 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 DeviceApi
|
|
void main() {
|
|
final instance = DeviceApi();
|
|
|
|
group('tests for DeviceApi', () {
|
|
// Create a device
|
|
//
|
|
//Future<DeviceDetailDTO> deviceCreate(DeviceDetailDTO deviceDetailDTO) async
|
|
test('test deviceCreate', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Create devices from provider
|
|
//
|
|
//Future<List<DeviceDetailDTO>> deviceCreateDevicesFromProvider(String userId, String providerId) async
|
|
test('test deviceCreateDevicesFromProvider', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete a device
|
|
//
|
|
//Future<MultipartFile> deviceDelete(String deviceId) async
|
|
test('test deviceDelete', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete all device for a specified
|
|
//
|
|
//Future<MultipartFile> deviceDeleteAllForUser(String userId) async
|
|
test('test deviceDeleteAllForUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete devices from provider
|
|
//
|
|
//Future<MultipartFile> deviceDeleteDevicesFromProvider(String userId, String providerId) async
|
|
test('test deviceDeleteDevicesFromProvider', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all devices summary
|
|
//
|
|
//Future<List<DeviceSummaryDTO>> deviceGetAll(String userId) async
|
|
test('test deviceGetAll', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get a specific device info
|
|
//
|
|
//Future<DeviceDetailDTO> deviceGetDetail(String deviceId) async
|
|
test('test deviceGetDetail', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get list of devices from a type
|
|
//
|
|
//Future<List<DeviceDetailDTO>> deviceGetDevicesByType(String userId, DeviceType type) async
|
|
test('test deviceGetDevicesByType', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get devices from provider
|
|
//
|
|
//Future<List<DeviceDetailDTO>> deviceGetDevicesFromProvider(String userId, String providerId) async
|
|
test('test deviceGetDevicesFromProvider', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all zigbee2Mqtt devices
|
|
//
|
|
//Future<List<DeviceDetailDTO>> deviceGetDevicesFromZigbee2Mqtt(String userId) async
|
|
test('test deviceGetDevicesFromZigbee2Mqtt', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update a device
|
|
//
|
|
//Future<DeviceDetailDTO> deviceUpdate(String deviceId, DeviceDetailDTO deviceDetailDTO) async
|
|
test('test deviceUpdate', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|