| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 package org.chromium.content.browser; | 5 package org.chromium.content.browser; |
| 6 | 6 |
| 7 import android.test.InstrumentationTestCase; | 7 import android.test.InstrumentationTestCase; |
| 8 import android.test.suitebuilder.annotation.MediumTest; | 8 import android.test.suitebuilder.annotation.MediumTest; |
| 9 import android.test.suitebuilder.annotation.SmallTest; | |
| 10 | 9 |
| 11 import org.chromium.base.CommandLine; | 10 import org.chromium.base.CommandLine; |
| 12 import org.chromium.base.test.util.Feature; | 11 import org.chromium.base.test.util.Feature; |
| 13 import org.chromium.content.app.LibraryLoader; | 12 import org.chromium.content.app.LibraryLoader; |
| 14 import org.chromium.content.common.ProcessInitException; | 13 import org.chromium.content.common.ProcessInitException; |
| 15 import org.chromium.content_shell_apk.ContentShellActivity; | 14 import org.chromium.content_shell_apk.ContentShellActivity; |
| 16 import org.chromium.content_shell_apk.ContentShellApplication; | 15 import org.chromium.content_shell_apk.ContentShellApplication; |
| 17 | 16 |
| 18 public class ContentCommandLineTest extends InstrumentationTestCase { | 17 public class ContentCommandLineTest extends InstrumentationTestCase { |
| 19 // A reference command line. Note that switch2 is [brea\d], switch3 is [and
"butter"], | 18 // A reference command line. Note that switch2 is [brea\d], switch3 is [and
"butter"], |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 } | 136 } |
| 138 | 137 |
| 139 @MediumTest | 138 @MediumTest |
| 140 @Feature({"Android-AppBase"}) | 139 @Feature({"Android-AppBase"}) |
| 141 public void testFileInitialization() { | 140 public void testFileInitialization() { |
| 142 CommandLine.initFromFile(ContentShellActivity.COMMAND_LINE_FILE); | 141 CommandLine.initFromFile(ContentShellActivity.COMMAND_LINE_FILE); |
| 143 loadJni(); | 142 loadJni(); |
| 144 checkSettingThenGetting(); | 143 checkSettingThenGetting(); |
| 145 } | 144 } |
| 146 } | 145 } |
| OLD | NEW |