EMMA Coverage Report (generated Fri Aug 23 16:39:17 PDT 2013)
[all classes][org.chromium.content_shell_apk]

COVERAGE SUMMARY FOR SOURCE FILE [ContentShellApplication.java]

nameclass, %method, %block, %line, %
ContentShellApplication.java100% (1/1)100% (4/4)100% (20/20)100% (8/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ContentShellApplication100% (1/1)100% (4/4)100% (20/20)100% (8/8)
<static initializer> 100% (1/1)100% (8/8)100% (1/1)
ContentShellApplication (): void 100% (1/1)100% (3/3)100% (1/1)
initializeApplicationParameters (): void 100% (1/1)100% (5/5)100% (3/3)
onCreate (): void 100% (1/1)100% (4/4)100% (3/3)

1// Copyright (c) 2012 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4 
5package org.chromium.content_shell_apk;
6 
7import android.app.Application;
8 
9import org.chromium.base.PathUtils;
10import org.chromium.content.app.LibraryLoader;
11import org.chromium.content.browser.ResourceExtractor;
12 
13/**
14 * Entry point for the content shell application.  Handles initialization of information that needs
15 * to be shared across the main activity and the child services created.
16 */
17public class ContentShellApplication extends Application {
18 
19    private static final String[] MANDATORY_PAK_FILES = new String[] {"content_shell.pak"};
20    private static final String PRIVATE_DATA_DIRECTORY_SUFFIX = "content_shell";
21 
22    @Override
23    public void onCreate() {
24        super.onCreate();
25        initializeApplicationParameters();
26    }
27 
28    public static void initializeApplicationParameters() {
29        ResourceExtractor.setMandatoryPaksToExtract(MANDATORY_PAK_FILES);
30        PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
31    }
32 
33}

[all classes][org.chromium.content_shell_apk]
EMMA 2.0.5312 (C) Vladimir Roubtsov