Clover icon

sunshower-base

  1. Project Clover database Fri Apr 6 2018 03:41:27 UTC
  2. Package io.sunshower.test.ws

File PortType.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
50% of files have more coverage

Code metrics

0
2
2
1
18
14
2
1
1
2
1

Classes

Class Line # Actions
PortType 3 2 2
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package io.sunshower.test.ws;
2   
 
3    public enum PortType {
4    Random(ServerMode.Embedded),
5    Mock(ServerMode.Mocked),
6    None(ServerMode.Mocked),
7    Defined(ServerMode.Embedded);
8   
9    final ServerMode mode;
10   
 
11  0 toggle PortType(ServerMode mode) {
12  0 this.mode = mode;
13    }
14   
 
15  0 toggle public boolean isEmbedded() {
16  0 return mode == ServerMode.Embedded;
17    }
18    }