mount -t cifs -o username=xxx,password=xxx,workgroup=xx,iocharset=utf8 //share.domain/folder /localfolder
Friday, January 29, 2010
Wednesday, January 27, 2010
the way to dump hex file
1. open the file in vim, :%!xxd
2. hexdump
2. hexdump
Monday, January 11, 2010
How to get the name of running test case in JUnit4
public class NameRuleTest {
@Rule public TestName name = new TestName();
@Test public void testA() {
assertEquals("testA", name.getMethodName());
}
@Test public void testB() {
assertEquals("testB", name.getMethodName());
}
}
Subscribe to:
Posts (Atom)