parent
df661268a2
commit
58752fe95f
|
@ -1,5 +1,7 @@
|
|||
import 'package:dart_spectre/spectre.dart';
|
||||
import 'package:test/test.dart';
|
||||
import 'package:xml/xml.dart';
|
||||
import 'dart:io';
|
||||
|
||||
void main() {
|
||||
test("Example", () {
|
||||
|
@ -14,4 +16,11 @@ void main() {
|
|||
var pw = spectre.site("jojodev.com", scope: Scope.identification, templateType: Template.maximum, counter: 2);
|
||||
expect(pw, equals("Ig^JIcxD!*)TbefJBi6-"));
|
||||
});
|
||||
|
||||
test("test", () {
|
||||
var tests = File("test/spectre_tests.xml");
|
||||
var xml = XmlDocument.parse(tests.readAsStringSync());
|
||||
|
||||
//print(xml.children[0].children);
|
||||
});
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:xml/xml.dart';
|
||||
|
||||
import 'package:dart_spectre/spectre.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
void main() async {
|
||||
var tests = await File("spectre_tests.xml").readAsString();
|
||||
|
||||
}
|
Loading…
Reference in New Issue