| Index: mojo/public/dart/src/application.dart
|
| diff --git a/mojo/public/dart/src/application.dart b/mojo/public/dart/src/application.dart
|
| index 7588209fa847a82cdd7978d30c5f075288b25c72..d0d2afe9d6e3d12a269ed28cb718dcd8098147c5 100644
|
| --- a/mojo/public/dart/src/application.dart
|
| +++ b/mojo/public/dart/src/application.dart
|
| @@ -131,6 +131,13 @@ abstract class Application {
|
| _applicationImpl.close();
|
| }
|
|
|
| + // This method closes all the application connections. Used during apptesting.
|
| + resetConnections() {
|
| + assert(_applicationImpl != null);
|
| + _applicationConnections.forEach((c) => c.close());
|
| + _applicationConnections.clear();
|
| + }
|
| +
|
| void _acceptConnection(String requestorUrl, ServiceProviderStub services,
|
| ServiceProviderProxy exposedServices, String resolvedUrl) {
|
| var connection = new ApplicationConnection(services, exposedServices);
|
|
|