forked from marceloverdijk/lesscss-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReuseIT.java
More file actions
25 lines (21 loc) · 670 Bytes
/
Copy pathReuseIT.java
File metadata and controls
25 lines (21 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package integration;
import org.junit.Test;
public class ReuseIT extends AbstractCompileIT {
/** This test tests if one instance of LessCompiler can properly handle multiple invocations
* @throws Exception
*/
@Test
public void testImport() throws Exception {
String[] filenames = new String[]{
"comments",
"css-3",
"css-escapes"
};
for(String filename : filenames){
testCompile(filename);
}
}
private void testCompile(String filename) throws Exception {
testCompile(toFile("compatibility/less/" + filename + ".less"), toFile("compatibility/css/" + filename + ".css"));
}
}