chore(app): сгенерированный Dart-клиент из OpenAPI
openapi-generator-cli -g dart-dio. Генерируется, но коммитится: CI ловит дрейф openapi/openapi.json, а приложение собирается без запуска генератора. Пересобирается через just gen-client после любого изменения роутов.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountBalance
|
||||
void main() {
|
||||
final AccountBalance? instance = /* AccountBalance(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(AccountBalance, () {
|
||||
// int accountId
|
||||
test('to test the property `accountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String balance
|
||||
test('to test the property `balance`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String balanceRub
|
||||
test('to test the property `balanceRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String currency
|
||||
test('to test the property `currency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// AccountRole role
|
||||
test('to test the property `role`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountKind
|
||||
void main() {
|
||||
|
||||
group(AccountKind, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountOut
|
||||
void main() {
|
||||
final AccountOut? instance = /* AccountOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(AccountOut, () {
|
||||
// bool archived
|
||||
test('to test the property `archived`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String balance
|
||||
test('to test the property `balance`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime balanceAsOf
|
||||
test('to test the property `balanceAsOf`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Broker broker
|
||||
test('to test the property `broker`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String creditLimit
|
||||
test('to test the property `creditLimit`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String currency
|
||||
test('to test the property `currency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool includeInNetWorth
|
||||
test('to test the property `includeInNetWorth`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// AccountKind kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int mirrorOfAccountId
|
||||
test('to test the property `mirrorOfAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime openedAt
|
||||
test('to test the property `openedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// EventSource primaryEventSource
|
||||
test('to test the property `primaryEventSource`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// AccountRole role
|
||||
test('to test the property `role`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String source_
|
||||
test('to test the property `source_`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String sourceId
|
||||
test('to test the property `sourceId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String startBalance
|
||||
test('to test the property `startBalance`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountPatch
|
||||
void main() {
|
||||
final AccountPatch? instance = /* AccountPatch(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(AccountPatch, () {
|
||||
// bool includeInNetWorth
|
||||
test('to test the property `includeInNetWorth`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int mirrorOfAccountId
|
||||
test('to test the property `mirrorOfAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// EventSource primaryEventSource
|
||||
test('to test the property `primaryEventSource`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// AccountRole role
|
||||
test('to test the property `role`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for AccountRole
|
||||
void main() {
|
||||
|
||||
group(AccountRole, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for AccountsApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getAccountsApi();
|
||||
|
||||
group(AccountsApi, () {
|
||||
// List
|
||||
//
|
||||
// Every account, archived ones included — the client decides what to show.
|
||||
//
|
||||
//Future<List<AccountOut>> accountsList() async
|
||||
test('test accountsList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Patch
|
||||
//
|
||||
// Update the user-owned fields. Everything else is overwritten by the next sync.
|
||||
//
|
||||
//Future<AccountOut> accountsPatch(int accountId, AccountPatch accountPatch) async
|
||||
test('test accountsPatch', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for AuthApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getAuthApi();
|
||||
|
||||
group(AuthApi, () {
|
||||
// Login
|
||||
//
|
||||
//Future<TokenPair> authLogin(LoginRequest loginRequest) async
|
||||
test('test authLogin', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Logout
|
||||
//
|
||||
//Future authLogout(RefreshRequest refreshRequest) async
|
||||
test('test authLogout', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Me
|
||||
//
|
||||
//Future<UserOut> authMe() async
|
||||
test('test authMe', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Refresh
|
||||
//
|
||||
//Future<TokenPair> authRefresh(RefreshRequest refreshRequest) async
|
||||
test('test authRefresh', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for Broker
|
||||
void main() {
|
||||
|
||||
group(Broker, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for CashFlowMonth
|
||||
void main() {
|
||||
final CashFlowMonth? instance = /* CashFlowMonth(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(CashFlowMonth, () {
|
||||
// decimal as string
|
||||
// String baselineRub
|
||||
test('to test the property `baselineRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String expenseRub
|
||||
test('to test the property `expenseRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String incomeRub
|
||||
test('to test the property `incomeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime month
|
||||
test('to test the property `month`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String oneOffRub
|
||||
test('to test the property `oneOffRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String savingsRate
|
||||
test('to test the property `savingsRate`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String savingsTransferRub
|
||||
test('to test the property `savingsTransferRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int txnCount
|
||||
test('to test the property `txnCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for CashflowApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getCashflowApi();
|
||||
|
||||
group(CashflowApi, () {
|
||||
// Monthly
|
||||
//
|
||||
// The last `months` months, oldest first.
|
||||
//
|
||||
//Future<List<CashFlowMonth>> cashflowMonthly({ int months }) async
|
||||
test('test cashflowMonthly', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Runway
|
||||
//
|
||||
// How many months the liquid reserve covers; null before the first refresh.
|
||||
//
|
||||
//Future<RunwayOut> cashflowRunway() async
|
||||
test('test cashflowRunway', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Spending
|
||||
//
|
||||
// Expenses of one month by category, largest first.
|
||||
//
|
||||
//Future<List<SpendingRow>> cashflowSpending({ String month }) async
|
||||
test('test cashflowSpending', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for CategoriesApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getCategoriesApi();
|
||||
|
||||
group(CategoriesApi, () {
|
||||
// List
|
||||
//
|
||||
// Flat list of the ZenMoney tag tree; the client nests it by `parent_id`.
|
||||
//
|
||||
//Future<List<CategoryOut>> categoriesList() async
|
||||
test('test categoriesList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for CategoryOut
|
||||
void main() {
|
||||
final CategoryOut? instance = /* CategoryOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(CategoryOut, () {
|
||||
// bool archived
|
||||
test('to test the property `archived`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int color
|
||||
test('to test the property `color`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String icon
|
||||
test('to test the property `icon`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String name
|
||||
test('to test the property `name`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int parentId
|
||||
test('to test the property `parentId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool showIncome
|
||||
test('to test the property `showIncome`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool showOutcome
|
||||
test('to test the property `showOutcome`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for DataQualityRow
|
||||
void main() {
|
||||
final DataQualityRow? instance = /* DataQualityRow(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(DataQualityRow, () {
|
||||
// String checkName
|
||||
test('to test the property `checkName`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime computedAt
|
||||
test('to test the property `computedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int count
|
||||
test('to test the property `count`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String detail
|
||||
test('to test the property `detail`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Map<String, Object> ref
|
||||
test('to test the property `ref`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String severity
|
||||
test('to test the property `severity`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for EventSource
|
||||
void main() {
|
||||
|
||||
group(EventSource, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for FlowType
|
||||
void main() {
|
||||
|
||||
group(FlowType, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for HealthApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getHealthApi();
|
||||
|
||||
group(HealthApi, () {
|
||||
// Check
|
||||
//
|
||||
//Future<Health> healthCheck() async
|
||||
test('test healthCheck', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for Health
|
||||
void main() {
|
||||
final Health? instance = /* Health(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(Health, () {
|
||||
// String database
|
||||
test('to test the property `database`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String status
|
||||
test('to test the property `status`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String version
|
||||
test('to test the property `version`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for HTTPValidationError
|
||||
void main() {
|
||||
final HTTPValidationError? instance = /* HTTPValidationError(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(HTTPValidationError, () {
|
||||
// List<ValidationError> detail
|
||||
test('to test the property `detail`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for JobStatus
|
||||
void main() {
|
||||
|
||||
group(JobStatus, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for LocationInner
|
||||
void main() {
|
||||
final LocationInner? instance = /* LocationInner(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(LocationInner, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for LoginRequest
|
||||
void main() {
|
||||
final LoginRequest? instance = /* LoginRequest(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(LoginRequest, () {
|
||||
// String email
|
||||
test('to test the property `email`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String password
|
||||
test('to test the property `password`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for MetricsApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getMetricsApi();
|
||||
|
||||
group(MetricsApi, () {
|
||||
// Data Quality
|
||||
//
|
||||
// Findings of the latest refresh, most serious first.
|
||||
//
|
||||
//Future<List<DataQualityRow>> metricsDataQuality() async
|
||||
test('test metricsDataQuality', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Refresh
|
||||
//
|
||||
// Rebuild every metric_* table inline (seconds at personal volumes).
|
||||
//
|
||||
//Future<RefreshLogOut> metricsRefresh() async
|
||||
test('test metricsRefresh', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Status
|
||||
//
|
||||
// When the metric tables were last rebuilt, and whether it failed.
|
||||
//
|
||||
//Future<RefreshLogOut> metricsStatus() async
|
||||
test('test metricsStatus', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for NetWorthBreakdown
|
||||
void main() {
|
||||
final NetWorthBreakdown? instance = /* NetWorthBreakdown(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(NetWorthBreakdown, () {
|
||||
// List<AccountBalance> accounts
|
||||
test('to test the property `accounts`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Map<String, String> byCurrency
|
||||
test('to test the property `byCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime d
|
||||
test('to test the property `d`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String debtRub
|
||||
test('to test the property `debtRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String investmentRub
|
||||
test('to test the property `investmentRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String liquidRub
|
||||
test('to test the property `liquidRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int missingFxCount
|
||||
test('to test the property `missingFxCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String savingsRub
|
||||
test('to test the property `savingsRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String totalRub
|
||||
test('to test the property `totalRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for NetWorthDay
|
||||
void main() {
|
||||
final NetWorthDay? instance = /* NetWorthDay(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(NetWorthDay, () {
|
||||
// Map<String, String> byCurrency
|
||||
test('to test the property `byCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime d
|
||||
test('to test the property `d`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String debtRub
|
||||
test('to test the property `debtRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String investmentRub
|
||||
test('to test the property `investmentRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String liquidRub
|
||||
test('to test the property `liquidRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int missingFxCount
|
||||
test('to test the property `missingFxCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String savingsRub
|
||||
test('to test the property `savingsRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String totalRub
|
||||
test('to test the property `totalRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for NetworthApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getNetworthApi();
|
||||
|
||||
group(NetworthApi, () {
|
||||
// Breakdown
|
||||
//
|
||||
// The latest day's buckets, plus every account's current balance native and in RUB.
|
||||
//
|
||||
//Future<NetWorthBreakdown> networthBreakdown() async
|
||||
test('test networthBreakdown', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Series
|
||||
//
|
||||
// Daily net worth; defaults to the last 365 days.
|
||||
//
|
||||
//Future<List<NetWorthDay>> networthSeries({ DateTime from, DateTime to }) async
|
||||
test('test networthSeries', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for Problem
|
||||
void main() {
|
||||
final Problem? instance = /* Problem(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(Problem, () {
|
||||
// String detail
|
||||
test('to test the property `detail`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<Object> errors
|
||||
test('to test the property `errors`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int status
|
||||
test('to test the property `status`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String title
|
||||
test('to test the property `title`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RefreshLogOut
|
||||
void main() {
|
||||
final RefreshLogOut? instance = /* RefreshLogOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RefreshLogOut, () {
|
||||
// String error
|
||||
test('to test the property `error`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime finishedAt
|
||||
test('to test the property `finishedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime startedAt
|
||||
test('to test the property `startedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String trigger
|
||||
test('to test the property `trigger`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RefreshRequest
|
||||
void main() {
|
||||
final RefreshRequest? instance = /* RefreshRequest(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RefreshRequest, () {
|
||||
// String refreshToken
|
||||
test('to test the property `refreshToken`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RuleCreate
|
||||
void main() {
|
||||
final RuleCreate? instance = /* RuleCreate(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RuleCreate, () {
|
||||
// bool enabled (default value: true)
|
||||
test('to test the property `enabled`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleKind kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleMatchType matchType
|
||||
test('to test the property `matchType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String note
|
||||
test('to test the property `note`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String pattern
|
||||
test('to test the property `pattern`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int priority (default value: 100)
|
||||
test('to test the property `priority`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String value
|
||||
test('to test the property `value`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RuleKind
|
||||
void main() {
|
||||
|
||||
group(RuleKind, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RuleMatchType
|
||||
void main() {
|
||||
|
||||
group(RuleMatchType, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RuleOut
|
||||
void main() {
|
||||
final RuleOut? instance = /* RuleOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RuleOut, () {
|
||||
// bool enabled
|
||||
test('to test the property `enabled`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleKind kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime lastMatchedAt
|
||||
test('to test the property `lastMatchedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int matchCount
|
||||
test('to test the property `matchCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleMatchType matchType
|
||||
test('to test the property `matchType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String note
|
||||
test('to test the property `note`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String pattern
|
||||
test('to test the property `pattern`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int priority
|
||||
test('to test the property `priority`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String value
|
||||
test('to test the property `value`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RulePatch
|
||||
void main() {
|
||||
final RulePatch? instance = /* RulePatch(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RulePatch, () {
|
||||
// bool enabled
|
||||
test('to test the property `enabled`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleKind kind
|
||||
test('to test the property `kind`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RuleMatchType matchType
|
||||
test('to test the property `matchType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String note
|
||||
test('to test the property `note`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String pattern
|
||||
test('to test the property `pattern`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int priority
|
||||
test('to test the property `priority`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String value
|
||||
test('to test the property `value`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for RulesApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getRulesApi();
|
||||
|
||||
group(RulesApi, () {
|
||||
// Apply
|
||||
//
|
||||
// Re-run the whole metric refresh so edited rules take effect everywhere at once.
|
||||
//
|
||||
//Future<RefreshLogOut> rulesApply() async
|
||||
test('test rulesApply', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Create
|
||||
//
|
||||
//Future<RuleOut> rulesCreate(RuleCreate ruleCreate) async
|
||||
test('test rulesCreate', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Delete
|
||||
//
|
||||
//Future rulesDelete(int ruleId) async
|
||||
test('test rulesDelete', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List
|
||||
//
|
||||
//Future<List<RuleOut>> rulesList() async
|
||||
test('test rulesList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Patch
|
||||
//
|
||||
//Future<RuleOut> rulesPatch(int ruleId, RulePatch rulePatch) async
|
||||
test('test rulesPatch', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Stale
|
||||
//
|
||||
// Enabled rules that matched nothing in the latest refresh: the payee was renamed, or the transaction was re-categorised in ZenMoney.
|
||||
//
|
||||
//Future<List<RuleOut>> rulesStale() async
|
||||
test('test rulesStale', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RunStatus
|
||||
void main() {
|
||||
|
||||
group(RunStatus, () {
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for RunwayOut
|
||||
void main() {
|
||||
final RunwayOut? instance = /* RunwayOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(RunwayOut, () {
|
||||
// DateTime asOf
|
||||
test('to test the property `asOf`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String avgBaseline3mRub
|
||||
test('to test the property `avgBaseline3mRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String liquidReserveRub
|
||||
test('to test the property `liquidReserveRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String runwayMonths
|
||||
test('to test the property `runwayMonths`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for SourceStatus
|
||||
void main() {
|
||||
final SourceStatus? instance = /* SourceStatus(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(SourceStatus, () {
|
||||
// String cursor
|
||||
test('to test the property `cursor`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime lastRunAt
|
||||
test('to test the property `lastRunAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RunStatus lastRunStatus
|
||||
test('to test the property `lastRunStatus`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime lastSuccessAt
|
||||
test('to test the property `lastSuccessAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool queued
|
||||
test('to test the property `queued`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String source_
|
||||
test('to test the property `source_`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for SpendingRow
|
||||
void main() {
|
||||
final SpendingRow? instance = /* SpendingRow(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(SpendingRow, () {
|
||||
// decimal as string
|
||||
// String amountRub
|
||||
test('to test the property `amountRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int categoryId
|
||||
test('to test the property `categoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String categoryName
|
||||
test('to test the property `categoryName`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime month
|
||||
test('to test the property `month`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int rootCategoryId
|
||||
test('to test the property `rootCategoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String rootCategoryName
|
||||
test('to test the property `rootCategoryName`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int txnCount
|
||||
test('to test the property `txnCount`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for SyncApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getSyncApi();
|
||||
|
||||
group(SyncApi, () {
|
||||
// Runs
|
||||
//
|
||||
//Future<List<SyncRunOut>> syncRuns({ String source_, int limit }) async
|
||||
test('test syncRuns', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Status
|
||||
//
|
||||
//Future<List<SourceStatus>> syncStatus() async
|
||||
test('test syncStatus', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Trigger
|
||||
//
|
||||
//Future<SyncJobOut> syncTrigger(String source_) async
|
||||
test('test syncTrigger', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for SyncJobOut
|
||||
void main() {
|
||||
final SyncJobOut? instance = /* SyncJobOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(SyncJobOut, () {
|
||||
// String id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime requestedAt
|
||||
test('to test the property `requestedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String source_
|
||||
test('to test the property `source_`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// JobStatus status
|
||||
test('to test the property `status`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for SyncRunOut
|
||||
void main() {
|
||||
final SyncRunOut? instance = /* SyncRunOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(SyncRunOut, () {
|
||||
// Map<String, Object> counts
|
||||
test('to test the property `counts`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String cursorAfter
|
||||
test('to test the property `cursorAfter`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String cursorBefore
|
||||
test('to test the property `cursorBefore`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String error
|
||||
test('to test the property `error`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime finishedAt
|
||||
test('to test the property `finishedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String source_
|
||||
test('to test the property `source_`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime startedAt
|
||||
test('to test the property `startedAt`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// RunStatus status
|
||||
test('to test the property `status`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String triggeredBy
|
||||
test('to test the property `triggeredBy`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<Object> warnings
|
||||
test('to test the property `warnings`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for TokenPair
|
||||
void main() {
|
||||
final TokenPair? instance = /* TokenPair(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(TokenPair, () {
|
||||
// String accessToken
|
||||
test('to test the property `accessToken`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int expiresIn
|
||||
test('to test the property `expiresIn`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String refreshToken
|
||||
test('to test the property `refreshToken`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String tokenType (default value: 'bearer')
|
||||
test('to test the property `tokenType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for TransactionOut
|
||||
void main() {
|
||||
final TransactionOut? instance = /* TransactionOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(TransactionOut, () {
|
||||
// int categoryId
|
||||
test('to test the property `categoryId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String comment
|
||||
test('to test the property `comment`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime date
|
||||
test('to test the property `date`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool deleted
|
||||
test('to test the property `deleted`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// FlowType flowType
|
||||
test('to test the property `flowType`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool hold
|
||||
test('to test the property `hold`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String income
|
||||
test('to test the property `income`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int incomeAccountId
|
||||
test('to test the property `incomeAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String incomeCurrency
|
||||
test('to test the property `incomeCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String incomeRub
|
||||
test('to test the property `incomeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// bool isOneOff
|
||||
test('to test the property `isOneOff`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int mcc
|
||||
test('to test the property `mcc`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String outcome
|
||||
test('to test the property `outcome`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int outcomeAccountId
|
||||
test('to test the property `outcomeAccountId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String outcomeCurrency
|
||||
test('to test the property `outcomeCurrency`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// decimal as string
|
||||
// String outcomeRub
|
||||
test('to test the property `outcomeRub`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String payee
|
||||
test('to test the property `payee`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String payeeCanonical
|
||||
test('to test the property `payeeCanonical`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String sourceId
|
||||
test('to test the property `sourceId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<int> tags
|
||||
test('to test the property `tags`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int tripId
|
||||
test('to test the property `tripId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime ts
|
||||
test('to test the property `ts`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for TransactionPage
|
||||
void main() {
|
||||
final TransactionPage? instance = /* TransactionPage(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(TransactionPage, () {
|
||||
// List<TransactionOut> items
|
||||
test('to test the property `items`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int page
|
||||
test('to test the property `page`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int pageSize
|
||||
test('to test the property `pageSize`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int total
|
||||
test('to test the property `total`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
|
||||
/// tests for TransactionsApi
|
||||
void main() {
|
||||
final instance = FintrackerApi().getTransactionsApi();
|
||||
|
||||
group(TransactionsApi, () {
|
||||
// List
|
||||
//
|
||||
// One page of transactions, newest first, with RUB amounts at each own date's rate.
|
||||
//
|
||||
//Future<TransactionPage> transactionsList({ DateTime from, DateTime to, int accountId, int categoryId, FlowType flowType, String q, bool includeDeleted, int page, int pageSize }) async
|
||||
test('test transactionsList', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for UserOut
|
||||
void main() {
|
||||
final UserOut? instance = /* UserOut(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(UserOut, () {
|
||||
// String email
|
||||
test('to test the property `email`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int id
|
||||
test('to test the property `id`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
import 'package:test/test.dart';
|
||||
import 'package:fintracker_api/fintracker_api.dart';
|
||||
|
||||
// tests for ValidationError
|
||||
void main() {
|
||||
final ValidationError? instance = /* ValidationError(...) */ null;
|
||||
// TODO add properties to the entity
|
||||
|
||||
group(ValidationError, () {
|
||||
// Object ctx
|
||||
test('to test the property `ctx`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// Object input
|
||||
test('to test the property `input`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<LocationInner> loc
|
||||
test('to test the property `loc`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String msg
|
||||
test('to test the property `msg`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String type
|
||||
test('to test the property `type`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user