Searched refs:xmlToId (Results 1 – 11 of 11) sorted by relevance
46 val resourceHelper = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in parseValidFile()94 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_1".xmlToId()) in parseInvalidFile_missingTag_throwsError()100 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_2".xmlToId()) in parseInvalidFile_moreThanOneValuePerTag_throwsError()106 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_3".xmlToId()) in parseInvalidFile_valueBiggerThan1_throwsError()112 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_4".xmlToId()) in parseInvalidFile_missingSpecs_throwsError()134 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_5".xmlToId()) in parseInvalidFile_missingWidthBreakpoint_throwsError()163 val resourceHelper = TestResourceHelper(context, "invalid_folders_specs_5".xmlToId()) in parseInvalidFile_missingHeightBreakpoint_throwsError()192 val resourceHelper = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in retrievesCalculatedWidthSpec()229 val resourceHelper = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in retrievesCalculatedWidthSpec_invalidCalculatedResponsiveSpecType_throwsError()258 val resourceHelper = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in retrievesCalculatedHeightSpec()[all …]
47 TestResourceHelper(context, "valid_workspace_file".xmlToId()), in parseValidFile()171 TestResourceHelper(context, "invalid_workspace_file_case_1".xmlToId()), in parseInvalidFile_missingTag_throwsError()179 TestResourceHelper(context, "invalid_workspace_file_case_2".xmlToId()), in parseInvalidFile_moreThanOneValuePerTag_throwsError()187 TestResourceHelper(context, "invalid_workspace_file_case_3".xmlToId()), in parseInvalidFile_valueBiggerThan1_throwsError()195 TestResourceHelper(context, "invalid_workspace_file_case_4".xmlToId()), in parseInvalidFile_matchWorkspace_true_throwsError()
46 val resourceHelper = TestResourceHelper(context, "valid_responsive_spec_unsorted".xmlToId()) in <lambda>()113 val resourceHelper = TestResourceHelper(context, "valid_responsive_spec_unsorted".xmlToId()) in <lambda>()120 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_1".xmlToId()) in <lambda>()126 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_2".xmlToId()) in <lambda>()132 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_3".xmlToId()) in <lambda>()138 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_4".xmlToId()) in <lambda>()144 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_5".xmlToId()) in <lambda>()150 val resourceHelper = TestResourceHelper(context, "invalid_responsive_spec_6".xmlToId()) in <lambda>()
47 TestResourceHelper(context, "valid_all_apps_file".xmlToId()), in parseValidFile()116 TestResourceHelper(context, "invalid_all_apps_file_case_1".xmlToId()), in parseInvalidFile_missingTag_throwsError()124 TestResourceHelper(context, "invalid_all_apps_file_case_2".xmlToId()), in parseInvalidFile_moreThanOneValuePerTag_throwsError()132 TestResourceHelper(context, "invalid_all_apps_file_case_3".xmlToId()), in parseInvalidFile_valueBiggerThan1_throwsError()
46 HotseatSpecsProvider.create(TestResourceHelper(context, "valid_hotseat_file".xmlToId())) in parseValidFile()78 TestResourceHelper(context, "valid_hotseat_land_file".xmlToId()) in parseValidLandscapeFile()109 TestResourceHelper(context, "invalid_hotseat_file_case_1".xmlToId()) in parseInvalidFile_spaceIsNotFixedSize_throwsError()116 TestResourceHelper(context, "invalid_hotseat_file_case_2".xmlToId()) in parseInvalidFile_invalidFixedSize_throwsError()
45 val testResourceHelper = TestResourceHelper(context, "valid_cell_specs_file".xmlToId()) in parseValidFile()100 TestResourceHelper(context, "invalid_cell_specs_1".xmlToId()) in parseInvalidFile_IsNotFixedSizeOrMatchWorkspace_throwsError()107 TestResourceHelper(context, "invalid_cell_specs_2".xmlToId()) in parseInvalidFile_dimensionTypeIsNotHeight_throwsError()114 TestResourceHelper(context, "invalid_cell_specs_3".xmlToId()) in parseInvalidFile_invalidFixedSize_throwsError()
49 val resourceHelperWorkspace = TestResourceHelper(context, "valid_workspace_file".xmlToId()) in validate_matchWidthWorkspace()54 val resourceHelperFolder = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in validate_matchWidthWorkspace()125 val resourceHelperWorkspace = TestResourceHelper(context, "valid_workspace_file".xmlToId()) in validate_matchHeightWorkspace()130 val resourceHelperFolder = TestResourceHelper(context, "valid_folders_specs".xmlToId()) in validate_matchHeightWorkspace()
49 HotseatSpecsProvider.create(TestResourceHelper(context, "valid_hotseat_file".xmlToId())) in normalPhone_returnsSecondBreakpointSpec()75 HotseatSpecsProvider.create(TestResourceHelper(context, "valid_hotseat_file".xmlToId())) in smallPhone_returnsFirstBreakpointSpec()101 TestResourceHelper(context, "valid_hotseat_land_file".xmlToId()) in normalPhoneLandscape_returnsSecondBreakpointSpec()
55 TestResourceHelper(context, "valid_workspace_file".xmlToId()), in normalPhone_returnsThirdBreakpointSpec()98 TestResourceHelper(context, "valid_workspace_file".xmlToId()), in smallPhone_returnsFirstBreakpointSpec()140 TestResourceHelper(context, "valid_workspace_unsorted_file".xmlToId()), in smallPhone_returnsFirstBreakpointSpec_unsortedFile()
54 TestResourceHelper(context, "valid_workspace_file".xmlToId()), in normalPhone_copiesFromWorkspace()64 TestResourceHelper(context, "valid_all_apps_file".xmlToId()), in normalPhone_copiesFromWorkspace()
345 protected fun String.xmlToId(): Int { in <lambda>() method in com.android.launcher3.AbstractDeviceProfileTest