wmic os get caption wmic os get osarchitecture
sobota, 28 marca 2015
How to determine which version of Windows you are running
Go to your Command Prompt and enter the following commands:
piątek, 20 marca 2015
Using files from resources in your tests
import java.io.File;
import java.net.URISyntaxException;
import java.net.URL;
URL infoFileURL = ProjectServiceImplTest.class.getResource("/log4jINFO.properties");
testLogFileWithINFOLevel = new File(infoFileURL.toURI());
import java.net.URISyntaxException;
import java.net.URL;
URL infoFileURL = ProjectServiceImplTest.class.getResource("/log4jINFO.properties");
testLogFileWithINFOLevel = new File(infoFileURL.toURI());
Subskrybuj:
Posty (Atom)