EMMA Coverage Report (generated Mon Nov 01 16:48:29 PDT 2010)
[all classes][com.google.caja.demos.playground.client]

COVERAGE SUMMARY FOR SOURCE FILE [CajolingServiceResult.java]

nameclass, %method, %block, %line, %
CajolingServiceResult.java100% (1/1)80%  (4/5)88%  (21/24)80%  (8/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CajolingServiceResult100% (1/1)80%  (4/5)88%  (21/24)80%  (8/10)
CajolingServiceResult (): void 0%   (0/1)0%   (0/3)0%   (0/2)
CajolingServiceResult (String, String, String []): void 100% (1/1)100% (12/12)100% (5/5)
getHtml (): String 100% (1/1)100% (3/3)100% (1/1)
getJavascript (): String 100% (1/1)100% (3/3)100% (1/1)
getMessages (): String [] 100% (1/1)100% (3/3)100% (1/1)

1// Copyright (C) 2009 Google Inc.
2// Licensed under the Apache License, Version 2.0 (the "License");
3// you may not use this file except in compliance with the License.
4// You may obtain a copy of the License at
5//
6//      http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software
9// distributed under the License is distributed on an "AS IS" BASIS,
10// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11// See the License for the specific language governing permissions and
12// limitations under the License.
13 
14package com.google.caja.demos.playground.client;
15 
16import com.google.gwt.user.client.rpc.IsSerializable;
17 
18/**
19 * Result of cajoling using the cajoling service.  Contains the static html,
20 * css and javascript as well as errors and warnings from cajoling.
21 *
22 * @author jasvir@google.com (Jasvir Nagra)
23 */
24public class CajolingServiceResult implements IsSerializable {
25  private String html;
26  private String javascript;
27  private String[] messages;
28 
29  public CajolingServiceResult() {
30    // Provided for deserialization.
31  }
32 
33  public CajolingServiceResult(String html, String javascript,
34      String[] messages) {
35    this.html = html;
36    this.javascript = javascript;
37    this.messages = messages;
38  }
39 
40  public String getHtml() {
41    return html;
42  }
43  public String getJavascript() {
44    return javascript;
45  }
46  public String[] getMessages() {
47    return messages;
48  }
49}

[all classes][com.google.caja.demos.playground.client]
EMMA 2.0.5312 (C) Vladimir Roubtsov