blob: 162dad451d3ce54a58cbb79e5a8589e5c2e717c4 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import "ios/testing/earl_grey/earl_grey_test.h"
#include "base/check.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
#if defined(CHROME_EARL_GREY_1)
id<GREYMatcher> grey_kindOfClassName(NSString* name) {
Class klass = NSClassFromString(name);
DCHECK(klass);
return grey_kindOfClass(klass);
}
#endif