Searched refs:mockLinearLayout (Results 1 – 1 of 1) sorted by relevance
230 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateLayoutParams() local231 LayoutParams layoutParams1 = mockLinearLayout.generateLayoutParams(lp); in testGenerateLayoutParams()245 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testCheckLayoutParams() local248 assertFalse(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()251 assertTrue(mockLinearLayout.checkLayoutParams(params)); in testCheckLayoutParams()255 MockLinearLayout mockLinearLayout = new MockLinearLayout(mContext); in testGenerateDefaultLayoutParams() local257 mockLinearLayout.setOrientation(LinearLayout.HORIZONTAL); in testGenerateDefaultLayoutParams()258 ViewGroup.LayoutParams param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()264 mockLinearLayout.setOrientation(LinearLayout.VERTICAL); in testGenerateDefaultLayoutParams()265 param = mockLinearLayout.generateDefaultLayoutParams(); in testGenerateDefaultLayoutParams()[all …]