Home
last modified time | relevance | path

Searched refs:fileContent (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistantTest.java61 String fileContent = AdtPlugin.readFile(file); in checkFixes() local
66 int caretContextIndex = fileContent.indexOf(caretContext); in checkFixes()
DAdtProjectTest.java335 String fileContent = AdtPlugin.readFile(file); in getCaretOffset() local
336 return getCaretOffset(fileContent, caretLocation); in getCaretOffset()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidContentAssistTest.java936 String fileContent = AdtPlugin.readFile(file); in checkApplyCompletion() local
938 document.set(fileContent); in checkApplyCompletion()
949 int offset = getCaretOffset(fileContent, caretLocation); in checkApplyCompletion()
950 String beforeWithCaret = fileContent.substring(0, offset) + CARET in checkApplyCompletion()
951 + fileContent.substring(offset); in checkApplyCompletion()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DEclipseXmlPrettyPrinterTest.java103 protected int getCaretOffset(String fileContent, String caretLocation) { in getCaretOffset() argument
109 int caretContextIndex = fileContent.indexOf(caretContext); in getCaretOffset()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java175 String fileContent = AdtPlugin.readFile(file); in checkResourceFix() local
176 document.set(fileContent); in checkResourceFix()