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

COVERAGE SUMMARY FOR SOURCE FILE [CheckForErrorsStage.java]

nameclass, %method, %block, %line, %
CheckForErrorsStage.java100% (1/1)100% (2/2)100% (6/6)100% (2/2)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CheckForErrorsStage100% (1/1)100% (2/2)100% (6/6)100% (2/2)
CheckForErrorsStage (): void 100% (1/1)100% (3/3)100% (1/1)
apply (Jobs): boolean 100% (1/1)100% (3/3)100% (1/1)

1// Copyright (C) 2007 Google Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14 
15package com.google.caja.plugin.stages;
16 
17import com.google.caja.plugin.Jobs;
18import com.google.caja.util.Pipeline;
19 
20/**
21 * A pass that should come last that checks whether there are any errors on
22 * the message queue.
23 *
24 * @author mikesamuel@gmail.com
25 */
26public final class CheckForErrorsStage implements Pipeline.Stage<Jobs> {
27  public boolean apply(Jobs jobs) {
28    return jobs.hasNoErrors();
29  }
30}

[all classes][com.google.caja.plugin.stages]
EMMA 2.0.5312 (C) Vladimir Roubtsov