EMMA Coverage Report (generated Wed Aug 10 12:30:04 EDT 2011)
[all classes][org.jclouds.stratogen.vcloud.mycloud]

COVERAGE SUMMARY FOR SOURCE FILE [StratoGenVCloudMyCloudContextBuilder.java]

nameclass, %method, %block, %line, %
StratoGenVCloudMyCloudContextBuilder.java100% (1/1)0%   (0/3)0%   (0/18)0%   (0/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class StratoGenVCloudMyCloudContextBuilder100% (1/1)0%   (0/3)0%   (0/18)0%   (0/6)
StratoGenVCloudMyCloudContextBuilder (Properties): void 0%   (0/1)0%   (0/4)0%   (0/2)
addClientModule (List): void 0%   (0/1)0%   (0/7)0%   (0/2)
addContextModule (List): void 0%   (0/1)0%   (0/7)0%   (0/2)

1/**
2 *
3 * Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com>
4 *
5 * ====================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ====================================================================
18 */
19package org.jclouds.stratogen.vcloud.mycloud;
20 
21import java.util.List;
22import java.util.Properties;
23 
24import org.jclouds.stratogen.vcloud.mycloud.config.StratoGenVCloudMyCloudComputeServiceContextModule;
25import org.jclouds.stratogen.vcloud.mycloud.config.StratoGenVCloudMyCloudRestClientModule;
26import org.jclouds.vcloud.VCloudContextBuilder;
27 
28import com.google.inject.Module;
29 
30/**
31 * {@inheritDoc} 
32 *
33 * @author Adrian Cole
34 */
35public class StratoGenVCloudMyCloudContextBuilder extends VCloudContextBuilder {
36 
37   public StratoGenVCloudMyCloudContextBuilder(Properties props) {
38      super(props);
39   }
40 
41   @Override
42   protected void addContextModule(List<Module> modules) {
43      modules.add(new StratoGenVCloudMyCloudComputeServiceContextModule());
44   }
45 
46   @Override
47   protected void addClientModule(List<Module> modules) {
48      modules.add(new StratoGenVCloudMyCloudRestClientModule());
49   }
50 
51}

[all classes][org.jclouds.stratogen.vcloud.mycloud]
EMMA 2.0.5312 (C) Vladimir Roubtsov