From a179f83df6d24da9e96a3555867f9722969f48b0 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 13 Apr 2023 08:11:28 +0200 Subject: [PATCH] [tests] Remove duplicated 'using' directives. (#18033) --- tests/monotouch-test/CoreVideo/CVImageBufferTests.cs | 1 - tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs | 1 - tests/monotouch-test/ObjCRuntime/RegistrarTest.cs | 3 --- tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs | 1 - tests/monotouch-test/System.Net.Http/MessageHandlers.cs | 1 - tests/monotouch-test/UIKit/ImageTest.cs | 1 - tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs | 2 -- tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs | 1 - 8 files changed, 11 deletions(-) diff --git a/tests/monotouch-test/CoreVideo/CVImageBufferTests.cs b/tests/monotouch-test/CoreVideo/CVImageBufferTests.cs index ed5055e442..f4f6645f36 100644 --- a/tests/monotouch-test/CoreVideo/CVImageBufferTests.cs +++ b/tests/monotouch-test/CoreVideo/CVImageBufferTests.cs @@ -10,7 +10,6 @@ using System; using Foundation; using NUnit.Framework; -using Foundation; using ObjCRuntime; using CoreVideo; diff --git a/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs b/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs index d96cf4ad62..5bb04b09ce 100644 --- a/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs +++ b/tests/monotouch-test/CoreVideo/CVMetalTextureCacheTests.cs @@ -12,7 +12,6 @@ using System; using Foundation; using NUnit.Framework; -using Foundation; using ObjCRuntime; using CoreVideo; using Metal; diff --git a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs index 3751e2ffae..2c5b515524 100644 --- a/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs +++ b/tests/monotouch-test/ObjCRuntime/RegistrarTest.cs @@ -34,9 +34,6 @@ using NativeException = Foundation.MonoTouchException; #endif #endif using ObjCRuntime; -#if !__TVOS__ -using MapKit; -#endif #if !__WATCHOS__ using CoreAnimation; #endif diff --git a/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs b/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs index 04f63ca620..c9c93e383f 100644 --- a/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs +++ b/tests/monotouch-test/Photos/LivePhotoEditingContextTest.cs @@ -7,7 +7,6 @@ using CoreGraphics; using Foundation; using ObjCRuntime; using Photos; -using CoreGraphics; using NUnit.Framework; #if !NET diff --git a/tests/monotouch-test/System.Net.Http/MessageHandlers.cs b/tests/monotouch-test/System.Net.Http/MessageHandlers.cs index 02bfbac325..46d9dc4d33 100644 --- a/tests/monotouch-test/System.Net.Http/MessageHandlers.cs +++ b/tests/monotouch-test/System.Net.Http/MessageHandlers.cs @@ -17,7 +17,6 @@ using System.Linq; using System.IO; using NUnit.Framework; -using System.Net; using System.Net.Http.Headers; using System.Security.Authentication; using System.Text; diff --git a/tests/monotouch-test/UIKit/ImageTest.cs b/tests/monotouch-test/UIKit/ImageTest.cs index d39bb5ff94..29647773df 100644 --- a/tests/monotouch-test/UIKit/ImageTest.cs +++ b/tests/monotouch-test/UIKit/ImageTest.cs @@ -8,7 +8,6 @@ using System.Threading; using CoreGraphics; using Foundation; using UIKit; -using CoreGraphics; using ObjCRuntime; using NUnit.Framework; diff --git a/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs b/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs index 564c25b239..ee76d59d99 100644 --- a/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs +++ b/tests/monotouch-test/UIKit/PanGestureRecognizerTest.cs @@ -12,8 +12,6 @@ using System; using System.Drawing; using CoreGraphics; -using CoreGraphics; -using CoreGraphics; using Foundation; using UIKit; using NUnit.Framework; diff --git a/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs b/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs index 02f5a998f8..8fcb516818 100644 --- a/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs +++ b/tests/monotouch-test/VideoToolbox/VTUtilitiesTests.cs @@ -22,7 +22,6 @@ using AppKit; #else using UIKit; #endif -using CoreMedia; using AVFoundation; using CoreFoundation; using CoreVideo;