Skip to main content
summaryrefslogtreecommitdiffstats
blob: 16375d9172831d471ec898a39ffc88437300b069 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Created on May 20, 2011
 *
 * PLACE_YOUR_DISTRIBUTION_STATEMENT_RIGHT_HERE
 */
package org.eclipse.osee.ats.core.validator;

import java.util.ArrayList;
import org.junit.Assert;

/**
 * @author Donald G. Dunne
 */
public class ValidatorTestUtil {

   public static MockValueProvider emptyValueProvider = new MockValueProvider(new ArrayList<String>());

   public static void assertValidResult(WidgetResult result) {
      Assert.assertEquals(WidgetStatus.Valid, result.getStatus());
      Assert.assertNull(result.getWidgetDef());
      Assert.assertEquals(WidgetStatus.Valid.name(), result.getDetails());
   }

}

Back to the top