| /******************************************************************************* |
| * Copyright (c) 2011, 2013 RĂ¼diger Herrmann and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * RĂ¼diger Herrmann - initial API and implementation |
| * EclipseSource - ongoing development |
| ******************************************************************************/ |
| package org.eclipse.rap.tools.launch.rwt.internal.config; |
| |
| import static org.junit.Assert.assertNotNull; |
| |
| import org.eclipse.rap.tools.launch.rwt.internal.config.ValidationRunner; |
| import org.junit.Test; |
| |
| |
| public class ValidationRunner_Test { |
| |
| @Test |
| public void testGetErrors_beforeValidating() { |
| ValidationRunner validationRunner = new ValidationRunner( null ); |
| |
| assertNotNull( validationRunner.getErrors() ); |
| } |
| |
| @Test |
| public void testGetWarnings_beforeValidating() { |
| ValidationRunner validationRunner = new ValidationRunner( null ); |
| |
| assertNotNull( validationRunner.getWarnings() ); |
| } |
| |
| } |