Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions dwds/test/integration/breakpoint_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ void main() {
);
});

group('Build Daemon and Frontend Server |', () {
testBreakpoint(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});

group('Frontend Server |', () {
testBreakpoint(
provider: provider,
Expand Down
7 changes: 7 additions & 0 deletions dwds/test/integration/callstack_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ void main() {
);
});

group('Build Daemon and Frontend Server |', () {
testCallStack(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});

group('Frontend Server |', () {
testCallStack(
provider: provider,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,21 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: $canaryFeatures | Build Daemon and Frontend Server |', () {
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: moduleFormat,
);
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
tearDownAll(provider.dispose);

runTests(
provider: provider,
moduleFormat: moduleFormat,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ void main() async {
testAll(provider: provider, compilationMode: CompilationMode.buildDaemon);
});

group('Build Daemon and Frontend Server |', () {
testAll(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});

group('Frontend Server |', () {
group('Context with circular dependencies |', () {
for (final indexBaseMode in IndexBaseMode.values) {
Expand Down
7 changes: 7 additions & 0 deletions dwds/test/integration/evaluate_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ void main() async {
testAll(provider: provider, compilationMode: CompilationMode.buildDaemon);
});

group('Build Daemon and Frontend Server |', () {
testAll(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});

group('Frontend Server |', () {
for (final useDebuggerModuleNames in [false, true]) {
group('Debugger module names: $useDebuggerModuleNames |', () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@ void main() {
compilationMode: CompilationMode.frontendServer,
);
});

group('Build Daemon and Frontend Server', () {
runTests(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});
}
7 changes: 7 additions & 0 deletions dwds/test/integration/hot_reload_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,11 @@ void main() {
compilationMode: CompilationMode.frontendServer,
);
});

group('Build Daemon and Frontend Server', () {
runTests(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,19 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: $canaryFeatures | Build Daemon and Frontend Server |', () {
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: moduleFormat,
);
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
runTests(
provider: provider,
moduleFormat: moduleFormat,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,21 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final canaryFeatures = true;
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);

runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,21 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final canaryFeatures = true;
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);

runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,20 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
canaryFeatures: canaryFeatures,
verbose: debug,
ddcModuleFormat: moduleFormat,
);
tearDownAll(provider.dispose);

runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,21 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final canaryFeatures = true;
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);

runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,19 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);
runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,19 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);
runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,21 @@ void main() {
canaryFeatures: canaryFeatures,
);
});

group('canary: true | Build Daemon and Frontend Server |', () {
final canaryFeatures = true;
final compilationMode = CompilationMode.buildDaemonAndFrontendServer;
final provider = TestSdkConfigurationProvider(
verbose: debug,
canaryFeatures: canaryFeatures,
ddcModuleFormat: ModuleFormat.ddc,
);
tearDownAll(provider.dispose);

runTests(
provider: provider,
compilationMode: compilationMode,
canaryFeatures: canaryFeatures,
);
});
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ void main() async {
testAll(provider: provider, compilationMode: CompilationMode.buildDaemon);
});

group('Build Daemon and Frontend Server |', () {
testAll(
provider: provider,
compilationMode: CompilationMode.buildDaemonAndFrontendServer,
);
});

group('Frontend Server |', () {
group('Context with parts |', () {
for (final indexBaseMode in IndexBaseMode.values) {
Expand Down
26 changes: 19 additions & 7 deletions webdev/test/daemon/app_domain_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ import '../test_utils.dart';
import 'app_domain_common.dart';

void main() {
appDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
group('Build Daemon', () {
appDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});

group('Build Daemon and Frontend Server', () {
appDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: true,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});
}
26 changes: 19 additions & 7 deletions webdev/test/daemon/daemon_domain_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ import '../test_utils.dart';
import 'daemon_domain_common.dart';

void main() {
daemonDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
group('Build Daemon', () {
daemonDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});

group('Build Daemon and Frontend Server', () {
daemonDomainTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: true,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});
}
26 changes: 19 additions & 7 deletions webdev/test/daemon/launch_app_ddc_library_bundle_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ import '../test_utils.dart';
import 'launch_app_common.dart';

void main() {
launchAppTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
group('Build Daemon', () {
launchAppTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: false,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});

group('Build Daemon and Frontend Server', () {
launchAppTests(
testRunner: TestRunner(
canaryFeatures: true,
webHotReload: true,
ddcModuleFormat: ModuleFormat.ddc,
),
);
});
}
Loading
Loading