1 package org.sonar.tests.clover3.module1;
3 import static org.junit.Assert.assertEquals;
4 import static org.junit.Assert.fail;
8 public class HelloTest {
11 public void shouldSayHello() {
12 assertEquals("hi", new Hello("hi").say());
16 public void thisIsError() {
17 assertEquals("foo", "bar");
21 public void thisIsFailure() {
22 throw new RuntimeException();
26 public void anotherTest() {
27 assertEquals("hi", new Hello("hi").say());
32 assertEquals("hi", new Hello("hi").say());
36 public void thelast() {
37 assertEquals("hi", new Hello("hi").say());