EMMA Coverage Report (generated Tue Aug 20 10:07:21 PDT 2013)
[all classes][org.chromium.android_webview.shell]

COVERAGE SUMMARY FOR SOURCE FILE [AwShellResourceProvider.java]

nameclass, %method, %block, %line, %
AwShellResourceProvider.java100% (1/1)50%  (1/2)78%  (14/18)78%  (7/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AwShellResourceProvider100% (1/1)50%  (1/2)78%  (14/18)78%  (7/9)
AwShellResourceProvider (): void 0%   (0/1)0%   (0/3)0%   (0/1)
registerResources (Context): void 100% (1/1)93%  (14/15)88%  (7/8)

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.android_webview.shell;
6 
7import android.content.Context;
8 
9import org.chromium.android_webview.AwResource;
10 
11public class AwShellResourceProvider {
12    private static boolean sInitialized;
13 
14    public static void registerResources(Context context) {
15        if (sInitialized) {
16            return;
17        }
18 
19        AwResource.setResources(context.getResources());
20 
21        AwResource.RAW_LOAD_ERROR = R.raw.blank_html;
22        AwResource.RAW_NO_DOMAIN = R.raw.blank_html;
23 
24        AwResource.STRING_DEFAULT_TEXT_ENCODING = R.string.test_string;
25 
26        sInitialized = true;
27    }
28}

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