Skip to content

Commit a8e4831

Browse files
Jeff Verkoeyenmaterial-automation
authored andcommitted
Flattening all unit tests into single directories as per convention.
PiperOrigin-RevId: 367426300
1 parent 2a31a31 commit a8e4831

File tree

41 files changed

+56
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+56
-20
lines changed

components/AppBar/tests/unit/Theming/MDCAppBarViewController_MaterialThemingTests.m renamed to components/AppBar/tests/unit/MDCAppBarViewController_MaterialThemingTests.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#import "MaterialAppBar.h"
1516
#import "MaterialAppBar+Theming.h"
1617

1718
#import <XCTest/XCTest.h>
1819

20+
#import "MaterialFlexibleHeader.h"
21+
#import "MaterialNavigationBar.h"
22+
#import "MaterialShadowLayer.h"
1923
#import "MaterialColorScheme.h"
2024
#import "MaterialContainerScheme.h"
2125
#import "MaterialTypographyScheme.h"

components/Banner/tests/unit/Theming/MDCBannerViewThemingTests.m renamed to components/Banner/tests/unit/MDCBannerViewThemingTests.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
#import "MaterialAvailability.h"
1818
#import "MaterialBanner.h"
1919
#import "MaterialBanner+Theming.h"
20+
#import "MaterialButtons.h"
2021
#import "UIColor+MaterialDynamic.h"
2122
#import "MaterialMath.h"
23+
#import "MaterialColorScheme.h"
2224
#import "MaterialContainerScheme.h"
25+
#import "MaterialTypographyScheme.h"
2326

2427
// The opacity value applied to text view.
2528
static CGFloat const kTextViewOpacity = (CGFloat)0.87;

components/BottomNavigation/tests/unit/Theming/MDCBottomNavigationThemingTests.m renamed to components/BottomNavigation/tests/unit/MDCBottomNavigationThemingTests.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#import "MaterialBottomNavigation.h"
1516
#import "MaterialBottomNavigation+Theming.h"
1617

1718
#import <XCTest/XCTest.h>

components/Buttons/tests/unit/MDCButtonInterfaceBuilderCompatibilityTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#import <Foundation/Foundation.h>
1616
#import <XCTest/XCTest.h>
1717

18-
#import "supplemental/ButtonTestView.h"
1918
#import "MaterialButtons.h"
19+
#import "ButtonTestView.h"
2020

2121
@interface MDCButtonInterfaceBuilderCompatibilityTests : XCTestCase
2222

components/FlexibleHeader/tests/unit/FlexibleHeaderHeightLegacySafeAreaBehaviorTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#import "MaterialFlexibleHeader.h"
1919

20-
#import "supplemental/FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2120
#import "MDCFlexibleHeaderTopSafeArea.h"
21+
#import "FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2222

2323
@interface MDCFlexibleHeaderView (UnitTestingPrivateAPIs)
2424
@property(nonatomic, strong) MDCFlexibleHeaderTopSafeArea *topSafeArea;

components/FlexibleHeader/tests/unit/FlexibleHeaderHeightTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

1818
#import "MaterialFlexibleHeader.h"
1919

20-
#import "supplemental/FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2120
#import "MDCFlexibleHeaderTopSafeArea.h"
21+
#import "FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2222

2323
@interface MDCFlexibleHeaderView (UnitTestingPrivateAPIs)
2424
@property(nonatomic, strong) MDCFlexibleHeaderTopSafeArea *topSafeArea;

components/FlexibleHeader/tests/unit/FlexibleHeaderMinMaxHeightIncludesSafeAreaTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#import <XCTest/XCTest.h>
1818

1919
#import "../../src/private/MDCFlexibleHeaderMinMaxHeight.h"
20-
#import "supplemental/FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2120
#import "MDCFlexibleHeaderTopSafeArea.h"
21+
#import "FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2222

2323
@interface FlexibleHeaderMinMaxHeightIncludesSafeAreaTests : XCTestCase
2424
@end

components/FlexibleHeader/tests/unit/FlexibleHeaderMinMaxHeightTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#import <XCTest/XCTest.h>
1818

1919
#import "../../src/private/MDCFlexibleHeaderMinMaxHeight.h"
20-
#import "supplemental/FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2120
#import "MDCFlexibleHeaderTopSafeArea.h"
21+
#import "FlexibleHeaderTopSafeAreaTestsFakeTopSafeAreaDelegate.h"
2222

2323
@interface FlexibleHeaderMinMaxHeightTests : XCTestCase
2424
@end

0 commit comments

Comments
 (0)