1 // Copyright 2010 Google Inc. All Rights Reserved.
2 package com
.google
.appengine
.tools
.development
.testing
;
4 import com
.google
.appengine
.api
.files
.dev
.LocalFileService
;
7 * Config for accessing the local file service in tests.
10 public final class LocalFileServiceTestConfig
implements LocalServiceTestConfig
{
14 getLocalFileService();
18 public void tearDown() {
19 getLocalFileService().stop();
23 * Creates or returns the existing local file service.
25 * (The LocalServiceTestHelper will create the implementation if it does not already have one and
26 * will return the existing one if it does.)
28 public static LocalFileService
getLocalFileService() {
29 return (LocalFileService
) LocalServiceTestHelper
.getLocalService(LocalFileService
.PACKAGE
);