Improve coverage and silence sonar warnings
[portal/ric-dashboard.git] / webapp-backend / src / test / java / org / oransc / ric / portal / dashboard / model / AbstractModelTest.java
1 /*-
2  * ========================LICENSE_START=================================
3  * O-RAN-SC
4  * %%
5  * Copyright (C) 2019 AT&T Intellectual Property
6  * %%
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ========================LICENSE_END===================================
19  */
20 package org.oransc.ric.portal.dashboard.model;
21
22 import java.time.Instant;
23
24 public abstract class AbstractModelTest {
25
26         // Values for properties
27         final boolean b1 = true;
28         final boolean b2 = false;
29         final byte[] by1 = { 0, 1, 2, 3 };
30         final Instant t1 = Instant.now().plusSeconds(1);
31         final Instant t2 = Instant.now().plusSeconds(2);
32         final Instant t3 = Instant.now().plusSeconds(3);
33         final Instant t4 = Instant.now().plusSeconds(4);
34         final Instant t5 = Instant.now().plusSeconds(5);
35         final Instant t6 = Instant.now().plusSeconds(6);
36         final Integer i1 = 1;
37         final Integer i2 = 2;
38         final Integer i3 = 3;
39         final Integer i4 = 4;
40         final Integer i5 = 5;
41         final Long l1 = 1L;
42         final Long l2 = 2L;
43         final Long l3 = 3L;
44         final Long l4 = 4L;
45         final String s1 = "string1";
46         final String s2 = "string2";
47         final String s3 = "string3";
48         final String s4 = "string4";
49         final String s5 = "string5";
50         final String s6 = "string6";
51         final String s7 = "string7";
52         final String s8 = "string8";
53         final String s9 = "string9";
54         final String s10 = "string10";
55         final String s11 = "string11";
56         final String s12 = "string12";
57         final String s13 = "string13";
58         final String u1 = "http://foo.com";
59         final String u2 = "http://bar.com";
60
61 }