mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 09:41:19 +00:00
70 lines
1.7 KiB
Dart
70 lines
1.7 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 RoomApi
|
|
void main() {
|
|
final instance = RoomApi();
|
|
|
|
group('tests for RoomApi', () {
|
|
// Create a room
|
|
//
|
|
//Future<RoomDetailDTO> roomCreate(RoomCreateOrUpdateDetailDTO roomCreateOrUpdateDetailDTO) async
|
|
test('test roomCreate', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete device from a room
|
|
//
|
|
//Future<MultipartFile> roomDelete(String deviceId, String roomId) async
|
|
test('test roomDelete', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete a room
|
|
//
|
|
//Future<MultipartFile> roomDelete2(String roomId) async
|
|
test('test roomDelete2', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Delete all room for a specified
|
|
//
|
|
//Future<MultipartFile> roomDeleteAllForUser(String userId) async
|
|
test('test roomDeleteAllForUser', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get all rooms for the specified user
|
|
//
|
|
//Future<List<RoomSummaryDTO>> roomGetAll(String userId) async
|
|
test('test roomGetAll', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Get detail info of a specified room
|
|
//
|
|
//Future<RoomDetailDTO> roomGetDetail(String roomId, { String userId }) async
|
|
test('test roomGetDetail', () async {
|
|
// TODO
|
|
});
|
|
|
|
// Update a room
|
|
//
|
|
//Future<RoomCreateOrUpdateDetailDTO> roomUpdate(RoomCreateOrUpdateDetailDTO roomCreateOrUpdateDetailDTO) async
|
|
test('test roomUpdate', () async {
|
|
// TODO
|
|
});
|
|
|
|
});
|
|
}
|