@RunWith(CustomRobolectricRunner.class)
@Config(emulateSdk = 21, reportSdk = 21, constants = BuildConfig.class)
public class PasswordProviderTest{
@Test
public void testGetPassword() throws Exception {
Activity activity = Robolectric.setupActivity(LoginActivity.class);
}
@Test
public void testSetPassword() throws Exception {
}
}
使用此代码我能够将pdf转换为text.i想要使用行号搜索该pdf中的内容。我无法获得行号...
答案 0 :(得分:0)
尝试这样的事情
$content = shell_exec('abc.pdf -');