Skip to content

Commit

Permalink
Optimizing imports
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 356791916
  • Loading branch information
Jeff Verkoeyen authored and material-automation committed Feb 10, 2021
1 parent 22cb5af commit 25c9049
Show file tree
Hide file tree
Showing 21 changed files with 28 additions and 27 deletions.
4 changes: 0 additions & 4 deletions components/Buttons/tests/unit/MDCButtonAlphaTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
#import <XCTest/XCTest.h>

#import "MaterialButtons.h"
#import "MaterialShadowElevations.h"
#import "MaterialShadowLayer.h"
#import "MaterialShapes.h"
#import "MaterialTypography.h"

@interface MDCButtonAlphaTests : XCTestCase
@property(nonatomic, strong, nullable) MDCButton *button;
Expand Down
1 change: 1 addition & 0 deletions components/Buttons/tests/unit/MDCButtonColorThemerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#import "MaterialButtons+ColorThemer.h"
#import "MaterialButtons.h"
#import "MaterialColorScheme.h"

static const CGFloat kEpsilonAccuracy = (CGFloat)0.001;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#import <XCTest/XCTest.h>

#import "supplemental/ButtonTestView.h"
#import "MaterialButtons.h"

@interface MDCButtonInterfaceBuilderCompatibilityTests : XCTestCase

Expand Down
1 change: 1 addition & 0 deletions components/Buttons/tests/unit/MDCButtonRippleTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#import <XCTest/XCTest.h>

#import "MaterialButtons.h"
#import "MaterialInk.h"
#import "MaterialRipple.h"

@interface MDCButton (Testing)
Expand Down
4 changes: 3 additions & 1 deletion components/Buttons/tests/unit/MDCButtonShapeThemerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@

#import <XCTest/XCTest.h>

#import "MaterialButtons+ShapeThemer.h"
#import "MaterialButtons.h"
#import "MaterialButtons+ShapeThemer.h"
#import "MaterialShapeLibrary.h"
#import "MaterialShapes.h"
#import "MaterialShapeScheme.h"

@interface MDCButtonShapeThemerTests : XCTestCase

Expand Down
3 changes: 0 additions & 3 deletions components/Buttons/tests/unit/MDCButtonSubclassingTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@

#import <XCTest/XCTest.h>

#import "../../src/private/MDCButton+Subclassing.h"
#import "MaterialButtons.h"
#import "MaterialShadowElevations.h"
#import "MaterialTypography.h"

static const UIEdgeInsets ButtonTestContentEdgeInsets = {1, 2, 3, 4};
static const CGFloat ButtonTestCornerRadius = (CGFloat)1.234;
Expand Down
1 change: 0 additions & 1 deletion components/Buttons/tests/unit/MDCButtonThemerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#import "MaterialButtons+ButtonThemer.h"
#import "MaterialButtons.h"
#import "MaterialColorScheme.h"
#import "MaterialPalettes.h"
#import "MaterialTypographyScheme.h"

static const CGFloat kEpsilonAccuracy = (CGFloat)0.001;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@

#import <XCTest/XCTest.h>

#import "MaterialButtons+TypographyThemer.h"
#import "MaterialButtons.h"
#import "MaterialButtons+TypographyThemer.h"
#import "MaterialTypographyScheme.h"

@interface MDCButtonTypographyThemerTests : XCTestCase
@end
Expand Down
1 change: 1 addition & 0 deletions components/Dialogs/tests/unit/MDCAlertActionManagerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#import <XCTest/XCTest.h>
#import "MaterialButtons.h"
#import "MDCAlertController+ButtonForAction.h"
#import "MaterialDialogs.h"
#import "MDCAlertActionManager.h"
#import "MDCAlertControllerView+Private.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#import "MaterialDialogs+ColorThemer.h"
#import "MaterialDialogs.h"

#import "MDCAlertActionManager.h"
#import "MDCAlertControllerView+Private.h"
#import "MaterialColorScheme.h"

#import <XCTest/XCTest.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#import "MaterialDialogs+TypographyThemer.h"
#import "MaterialDialogs.h"

#import "MDCAlertControllerView+Private.h"
Expand Down
2 changes: 2 additions & 0 deletions components/Dialogs/tests/unit/MDCAlertControllerInsetsTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#import "MaterialButtons.h"
#import "MaterialDialogs.h"

#import "MDCAlertController+ButtonForAction.h"
#import "MDCAlertController+Testing.h"
#import "MDCAlertActionManager.h"
#import "MDCAlertControllerView+Private.h"

#import <XCTest/XCTest.h>
Expand Down
2 changes: 2 additions & 0 deletions components/Dialogs/tests/unit/MDCAlertControllerRippleTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@

#import <XCTest/XCTest.h>

#import "MaterialButtons.h"
#import "MaterialDialogs.h"

#import "MDCAlertActionManager.h"
#import "MDCAlertControllerView+Private.h"

#pragma mark - Subclasses for testing
Expand Down
2 changes: 2 additions & 0 deletions components/Dialogs/tests/unit/MDCAlertControllerTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#import "MaterialButtons.h"
#import "MaterialDialogs.h"
#import "MDCAlertActionManager.h"
#import "MaterialShadowElevations.h"
#import "MaterialTypography.h"

#import "../../src/private/MDCDialogShadowedView.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
#import "MaterialDialogs+TypographyThemer.h"
#import "MaterialDialogs.h"

#import "MDCAlertActionManager.h"
#import "MDCAlertControllerView+Private.h"
#import "MaterialTypographyScheme.h"

#import <XCTest/XCTest.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
#import <UIKit/UIKit.h>

#import "MaterialButtons.h"
#import "MDCTextControlContentViewController.h"
#import "MaterialColorScheme.h"
#import "MaterialContainerScheme.h"
#import "MaterialTextControls+FilledTextFieldsTheming.h"
#import "MaterialTextControls+OutlinedTextFieldsTheming.h"
#import "MaterialTextControlsPrivate+Shared.h"

#import "MDCTextControlConfiguratorExample.h"
#import "MDCTraitEnvironmentChangeDelegate.h"

@interface MDCTextControlConfiguratorExample ()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,13 @@

#import "MaterialButtons.h"

#import "MDCBaseTextField.h"
#import "MaterialButtons+Theming.h"
#import "MaterialColorScheme.h"

#import "MDCFilledTextField+MaterialTheming.h"
#import "MDCFilledTextField.h"
#import "MDCOutlinedTextField+MaterialTheming.h"
#import "MDCOutlinedTextField.h"

#import "MDCTraitEnvironmentChangeDelegate.h"
#import "MaterialContainerScheme.h"
#import "MaterialTypographyScheme+Scheming.h"

@interface MDCTextControlContentViewController ()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#import "MDCTextControlTextAreaConfiguratorExample.h"

#import "MDCTextControlConfiguratorExample.h"
#import "MDCTextControlTextAreaContentViewController.h"

static NSString *const kExampleTitle = @"MDCTextControl TextAreas";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@

#import "MDCTextControlTextAreaContentViewController.h"

#import "MaterialButtons.h"

#import "MaterialButtons+Theming.h"
#import "MDCTextControlContentViewController.h"
#import "MDCBaseTextArea.h"
#import "MaterialColorScheme.h"
#import "MaterialContainerScheme.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#import "MDCTextControlTextFieldConfiguratorExample.h"

#import "MDCTextControlConfiguratorExample.h"
#import "MDCTextControlTextFieldContentViewController.h"

static NSString *const kExampleTitle = @"MDCTextControl TextFields";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@

#import "MDCTextControlTextFieldContentViewController.h"

#import "MaterialButtons.h"

#import "MaterialButtons+Theming.h"
#import "MDCBaseTextField.h"
#import "MDCTextControlContentViewController.h"
#import "MaterialTextControls+BaseTextFields.h"
#import "MaterialColorScheme.h"

Expand All @@ -28,6 +25,7 @@
#import "MDCOutlinedTextField+MaterialTheming.h"
#import "MaterialTextControls+UnderlinedTextFields.h"
#import "MDCUnderlinedTextField+MaterialTheming.h"
#import "MaterialContainerScheme.h"

@interface MDCTextControlTextFieldContentViewController ()
@property(nonatomic, assign) BOOL shouldAddDebugLeadingView;
Expand Down

0 comments on commit 25c9049

Please sign in to comment.