blob: 695aa216b1982f252aa41c2d7298415042175d6d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014 RCP Vision (http://www.rcp-vision.com) 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:
* Lorenzo Bettini - Initial contribution and API
*******************************************************************************/
package org.eclipse.emf.parsley.tests
import org.junit.Test
import static extension org.junit.Assert.*
class ClassLoaderImageHelperTest extends AbstractImageBasedTest {
@Test def void testGetImageOk() {
loadTestImage.assertNotNull
}
@Test def void testGetImageNonExistent() {
getImageHelper.getImage("non-existent.png").assertNull
}
}