Skip to content

Instantly share code, notes, and snippets.

@lacostej
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lacostej/9661203 to your computer and use it in GitHub Desktop.
Save lacostej/9661203 to your computer and use it in GitHub Desktop.
package org.jenkinsci.plugins.unity3d;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.test.recipes.LocalData;
import static junit.framework.Assert.assertNotNull;
public class IntegrationTests {
@Rule
public JenkinsRule rule = new JenkinsRule();
@Test
@LocalData
public void testEditorException() throws Exception {
assertNotNull(rule.jenkins.getItem("test_unity3d"));
}
}
package org.jenkinsci.plugins.unity3d;
import org.junit.Test;
import org.jvnet.hudson.test.HudsonTestCase;
import org.jvnet.hudson.test.recipes.LocalData;
public class IntegrationTests extends HudsonTestCase {
@Test
@LocalData
public void testEditorException() throws Exception {
assertNotNull(jenkins.getItem("test_unity3d"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment