Home
last modified time | relevance | path

Searched refs:checkRefactoring (Results 1 – 13 of 13) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DChangeLayoutRefactoringTest.java37 checkRefactoring("sample1a.xml", true); in testChangeLayout1a()
43 checkRefactoring("sample1b.xml", true); in testChangeLayout1b()
48 checkRefactoring("sample2.xml", true); in testChangeLayout2()
54 checkRefactoring("sample3.xml", true); in testChangeLayout3()
58 checkRefactoring("sample4.xml", true); in testChangeLayout4()
63 checkRefactoring("sample5.xml", true); in testChangeLayout5()
68 checkRefactoring("sample6.xml", true); in testChangeLayout6()
72 checkRefactoring(FQCN_GRID_LAYOUT, "sample1a.xml", true); in testGridLayout1()
77 checkRefactoring(FQCN_GRID_LAYOUT, "sample2.xml", true); in testGridLayout2()
82 checkRefactoring(FQCN_GRID_LAYOUT, "sample5.xml", true); in testGridLayout5()
[all …]
DUseCompoundDrawableRefactoringTest.java51 checkRefactoring("refactoring/usecompound/compound1.xml", "@+id/layout1"); in test1()
56 checkRefactoring("refactoring/usecompound/compound2.xml", "@+id/layout2"); in test2()
61 checkRefactoring("refactoring/usecompound/compound3.xml", "@+id/layout3"); in test3()
66 checkRefactoring("refactoring/usecompound/compound4.xml", "@+id/layout4"); in test4()
72 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout2"); in test5()
78 checkRefactoring("refactoring/usecompound/compound_all.xml", "@+id/layout3"); in test6()
83 checkRefactoring("refactoring/usecompound/compound5.xml", "@+id/layout"); in test7()
88 checkRefactoring("refactoring/usecompound/compound6.xml", "@+id/layout1"); in test8()
93 checkRefactoring("refactoring/usecompound/compound7.xml", "@+id/layout1"); in test9()
96 private void checkRefactoring(String basename, String id) in checkRefactoring() method in UseCompoundDrawableRefactoringTest
DExtractStyleRefactoringTest.java52 checkRefactoring("extractstyle1.xml", "newstyles.xml", "newstyle", in testExtract1()
58 checkRefactoring("extractstyle1.xml", "newstyles2.xml", "newstyle", in testExtract1b()
64 checkRefactoring("extractstyle1.xml", "newstyles3.xml", "newstyle", in testExtract1c()
70 checkRefactoring("extractstyle1.xml", "newstyles4.xml", "newstyle", in testExtract1d()
78 checkRefactoring("extractstyle1.xml", "navigationstyles.xml", "newstyle", in testExtract2()
84 checkRefactoring("extractstyle1.xml", "newstyles4.xml", "newstyle", in testExtract3()
118 checkRefactoring("extractstyle2.xml", "newstyles8.xml", "newstyle", in testExtract7()
125 checkRefactoring("extractstyle1.xml", "newstyles3.xml", "newstyle", in testExtract8()
131 private void checkRefactoring(String basename, String styleFileName, String newStyleName, in checkRefactoring() method in ExtractStyleRefactoringTest
150 checkRefactoring(basename, styleFileName, newStyleName, removeExtracted, applyStyle, in checkRefactoring()
[all …]
DUnwrapRefactoringTest.java30 checkRefactoring("unwrap.xml", "@+id/button"); in testUnwrap1()
35 checkRefactoring("unwrap.xml", "@+id/frame"); in testUnwrap2()
40 checkRefactoring("unwrap.xml", "@+id/linear"); in testUnwrap3()
43 private void checkRefactoring(String basename, String id) throws Exception { in checkRefactoring() method in UnwrapRefactoringTest
DWrapInRefactoringTest.java32 checkRefactoring("sample3.xml", FQCN_LINEAR_LAYOUT, "@+id/button2"); in testWrapIn1()
37 checkRefactoring("sample3.xml", FQCN_GESTURE_OVERLAY_VIEW, "@+id/newlinear"); in testWrapIn2()
42 checkRefactoring("sample3.xml", FQCN_LINEAR_LAYOUT, "@+id/button2", "@+id/android_logo"); in testWrapIn3()
45 private void checkRefactoring(String basename, String fqcn, String... ids) throws Exception { in checkRefactoring() method in WrapInRefactoringTest
DExtractIncludeRefactoringTest.java51 checkRefactoring("sample3.xml", "newlayout1", false, null, 2, false /* diffs */, in testExtract1()
57 checkRefactoring("sample3.xml", "newlayout2", false, null, 2, false /* diffs */, in testExtract2()
63 checkRefactoring("sample2.xml", "newlayout3", false, null, 2, false /* diffs */, in testExtract3()
80 checkRefactoring("sample3.xml", "newlayout3", true, extraFiles, 4, false /* diffs */, in testExtract4()
96 checkRefactoring("sample3.xml", "newlayout3", true, extraFiles, 4, false /* diffs */, in testExtract5()
114 checkRefactoring("sample7.xml", "newlayout6", true, extraFiles, 4, true /* diffs */, in testExtract6()
133 private void checkRefactoring(String basename, String layoutName, in checkRefactoring() method in ExtractIncludeRefactoringTest
DChangeViewRefactoringTest.java30 checkRefactoring("sample1a.xml", FQCN_RADIO_BUTTON, "@+id/button1", "@+id/button6"); in testChangeView1()
39 checkRefactoring("sample2.xml", "android.widget.ImageButton", in testChangeView2()
43 private void checkRefactoring(String basename, String newType, in checkRefactoring() method in ChangeViewRefactoringTest
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/renamepackage/
DApplicationPackageNameRefactoringTest.java126 checkRefactoring(refactoring, expected); in renamePackage()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/
DAndroidTypeRenameParticipantTest.java158 checkRefactoring(refactoring, expected); in renameType()
DAndroidTypeMoveParticipantTest.java133 checkRefactoring(refactoring, expected); in moveType()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/
DRefactoringTestBase.java54 protected void checkRefactoring(Refactoring refactoring, String expected) throws Exception { in checkRefactoring() method in RefactoringTestBase
55 checkRefactoring(refactoring, expected, null); in checkRefactoring()
63 protected void checkRefactoring(Refactoring refactoring, String expected, in checkRefactoring() method in RefactoringTestBase
DAndroidPackageRenameParticipantTest.java235 checkRefactoring(refactoring, expected, expectedWarnings); in renamePackage()
DRenameResourceParticipantTest.java400 checkRefactoring(refactoring, expected, expectedWarnings); in renameResource()