add: adding dummy test to certain packages to enable ci/cd

This commit is contained in:
Patrick Stewart 2024-10-20 14:19:20 -07:00
parent 4af5bb16c1
commit 250ae606a1
5 changed files with 60 additions and 1 deletions

View file

@ -7,4 +7,5 @@ repository: https://git.protevus.com/protevus/platform/src/branch/main/packages/
environment: environment:
sdk: '>=3.3.0 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dev_dependencies: dev_dependencies:
lints: ^4.0.0 lints: ^4.0.0
test: ^1.24.0

View file

@ -0,0 +1,19 @@
import 'package:test/test.dart';
void main() {
group('Dummy Test', () {
test('Always passes', () {
expect(true, isTrue);
});
test('Basic arithmetic', () {
expect(2 + 2, equals(4));
});
test('String manipulation', () {
String testString = 'Protevus Platform';
expect(testString.contains('Platform'), isTrue);
expect(testString.toLowerCase(), equals('protevus platform'));
});
});
}

View file

@ -0,0 +1,19 @@
import 'package:test/test.dart';
void main() {
group('Dummy Test', () {
test('Always passes', () {
expect(true, isTrue);
});
test('Basic arithmetic', () {
expect(2 + 2, equals(4));
});
test('String manipulation', () {
String testString = 'Protevus Platform';
expect(testString.contains('Platform'), isTrue);
expect(testString.toLowerCase(), equals('protevus platform'));
});
});
}

View file

@ -8,3 +8,4 @@ environment:
sdk: '>=3.3.0 <4.0.0' sdk: '>=3.3.0 <4.0.0'
dev_dependencies: dev_dependencies:
lints: ^4.0.0 lints: ^4.0.0
test: ^1.24.0

View file

@ -0,0 +1,19 @@
import 'package:test/test.dart';
void main() {
group('Dummy Test', () {
test('Always passes', () {
expect(true, isTrue);
});
test('Basic arithmetic', () {
expect(2 + 2, equals(4));
});
test('String manipulation', () {
String testString = 'Protevus Platform';
expect(testString.contains('Platform'), isTrue);
expect(testString.toLowerCase(), equals('protevus platform'));
});
});
}