blob: a2640361f67b78657c7979cb91c33df47542aa4e [file] [log] [blame]
// Copyright (c) 2016 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 <Foundation/Foundation.h>
#include "base/logging.h"
#import "testing/gtest_mac.h"
#include "testing/platform_test.h"
#import "third_party/google_toolbox_for_mac/src/Foundation/GTMNSDictionary+URLArguments.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
using GoogleToolboxForMacTest = PlatformTest;
// [NSDictionary gtm_dictionaryWithHttpArgumentsString] is used downstream.
// This test ensures that we keep compiling the file.
TEST_F(GoogleToolboxForMacTest, dictionaryWithHttpArgumentsString) {
NSDictionary* dict = [NSDictionary gtm_dictionaryWithHttpArgumentsString:@""];
EXPECT_EQ(0u, [dict count]);
}