EMMA Coverage Report (generated Sun Mar 01 22:06:14 CET 2015)
[all classes][org.h2.command.ddl]

COVERAGE SUMMARY FOR SOURCE FILE [SchemaCommand.java]

nameclass, %method, %block, %line, %
SchemaCommand.java100% (1/1)100% (2/2)100% (10/10)100% (4/4)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SchemaCommand100% (1/1)100% (2/2)100% (10/10)100% (4/4)
SchemaCommand (Session, Schema): void 100% (1/1)100% (7/7)100% (3/3)
getSchema (): Schema 100% (1/1)100% (3/3)100% (1/1)

1/*
2 * Copyright 2004-2014 H2 Group. Multiple-Licensed under the MPL 2.0,
3 * and the EPL 1.0 (http://h2database.com/html/license.html).
4 * Initial Developer: H2 Group
5 */
6package org.h2.command.ddl;
7 
8import org.h2.engine.Session;
9import org.h2.schema.Schema;
10 
11/**
12 * This class represents a non-transaction statement that involves a schema.
13 */
14public abstract class SchemaCommand extends DefineCommand {
15 
16    private final Schema schema;
17 
18    /**
19     * Create a new command.
20     *
21     * @param session the session
22     * @param schema the schema
23     */
24    public SchemaCommand(Session session, Schema schema) {
25        super(session);
26        this.schema = schema;
27    }
28 
29    /**
30     * Get the schema
31     *
32     * @return the schema
33     */
34    protected Schema getSchema() {
35        return schema;
36    }
37 
38}

[all classes][org.h2.command.ddl]
EMMA 2.0.5312 (C) Vladimir Roubtsov