Added quick test class
This commit is contained in:
parent
0179e650b6
commit
a1921e4486
|
@ -0,0 +1,23 @@
|
|||
package com.nubisware.oidc.keycloak.gcube;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.xml.sax.SAXException;
|
||||
|
||||
public class ExportParserTest {
|
||||
|
||||
public ExportParserTest() {
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
throws FileNotFoundException, SAXException, IOException, ParserConfigurationException {
|
||||
|
||||
ExportParser ep = new ExportParser(new FileInputStream("src/test/resources/dev2-db.json"));
|
||||
System.out.println(ep.getAllContexts());
|
||||
System.out.println(ep.getAllUserContextsAndRoles());
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue