This repository has been archived on 2022-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
2011-06-28 12:11:30 +02:00
|
|
|
package be.klak.env;
|
|
|
|
|
2011-06-29 10:38:04 +02:00
|
|
|
import org.junit.Before;
|
2011-06-28 12:11:30 +02:00
|
|
|
import org.junit.runner.RunWith;
|
|
|
|
|
|
|
|
import be.klak.junit.jasmine.JasmineSuite;
|
|
|
|
import be.klak.junit.jasmine.JasmineTestRunner;
|
2011-06-29 10:38:04 +02:00
|
|
|
import be.klak.rhino.RhinoContext;
|
2011-06-28 12:11:30 +02:00
|
|
|
|
|
|
|
@RunWith(JasmineTestRunner.class)
|
2011-06-29 10:38:04 +02:00
|
|
|
@JasmineSuite(sources = "jquery-1.6.1.js", sourcesRootDir = "src/test/javascript")
|
2011-06-28 12:11:30 +02:00
|
|
|
public class EnvUtilsTest {
|
|
|
|
|
2011-06-29 10:38:04 +02:00
|
|
|
@Before
|
|
|
|
public void loadJasmineJQueryMatchers(RhinoContext context) {
|
2012-11-21 15:15:47 +01:00
|
|
|
context.loadFromClasspath("js/lib/jasmine-1.0.2/jasmine-jquery-rhino.js");
|
2011-06-29 10:38:04 +02:00
|
|
|
}
|
|
|
|
|
2011-06-28 12:11:30 +02:00
|
|
|
}
|