| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 namespace UnitTests | 5 namespace UnitTests |
| 6 { | 6 { |
| 7 using System; | 7 using System; |
| 8 using System.Collections.Generic; | 8 using System.Collections.Generic; |
| 9 using System.IO; | 9 using System.IO; |
| 10 using System.Reflection; | 10 using System.Reflection; |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 string goodMainChromeFlags = Strings.NaClDebugFlag; | 389 string goodMainChromeFlags = Strings.NaClDebugFlag; |
| 390 string badMainChromeFlags = string.Format( | 390 string badMainChromeFlags = string.Format( |
| 391 Strings.PepperProcessPluginFlagFormat, target.pluginAssembly_); | 391 Strings.PepperProcessPluginFlagFormat, target.pluginAssembly_); |
| 392 | 392 |
| 393 Assert.IsTrue(target.IsPluginProcess(goodProc, goodMainChromeFlags)); | 393 Assert.IsTrue(target.IsPluginProcess(goodProc, goodMainChromeFlags)); |
| 394 Assert.IsFalse(target.IsPluginProcess(goodProc, badMainChromeFlags)); | 394 Assert.IsFalse(target.IsPluginProcess(goodProc, badMainChromeFlags)); |
| 395 Assert.IsFalse(target.IsPluginProcess(badProc, goodMainChromeFlags)); | 395 Assert.IsFalse(target.IsPluginProcess(badProc, goodMainChromeFlags)); |
| 396 } | 396 } |
| 397 } | 397 } |
| 398 } | 398 } |
| OLD | NEW |