ConanServerManager/test/rcon_command.dart

16 lines
402 B
Dart
Raw Normal View History

2024-05-23 22:18:59 -07:00
import 'package:flutter_test/flutter_test.dart';
import 'package:servermanager/structs/settings.dart';
import 'package:servermanager/structs/settingsEntry.dart';
void main() {
test("Send rcon command", () async {
Settings settings = Settings();
settings.server = false;
settings.inst = SettingsEntry();
2024-05-24 13:48:21 -07:00
var reply = await settings.sendRconCommand("help");
print(reply);
2024-05-23 22:18:59 -07:00
});
}