summaryrefslogtreecommitdiffstats
path: root/sandbox/tests
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/tests')
-rw-r--r--sandbox/tests/common/sandbox_common.scons16
-rw-r--r--sandbox/tests/integration_tests/sbox_integration_tests.scons51
-rw-r--r--sandbox/tests/unit_tests/sbox_unittests.scons50
-rw-r--r--sandbox/tests/validation_tests/sbox_validation_tests.scons49
4 files changed, 0 insertions, 166 deletions
diff --git a/sandbox/tests/common/sandbox_common.scons b/sandbox/tests/common/sandbox_common.scons
deleted file mode 100644
index 6b50ba4..0000000
--- a/sandbox/tests/common/sandbox_common.scons
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright (c) 2006-2008 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('env')
-
-env = env.Clone()
-
-if env.Bit('windows'):
- env.Append(
- CCFLAGS = [
- '/WX', # treat warnings as errors
- ],
- )
-
-env.StaticObject('controller.cc')
diff --git a/sandbox/tests/integration_tests/sbox_integration_tests.scons b/sandbox/tests/integration_tests/sbox_integration_tests.scons
deleted file mode 100644
index 71e927d..0000000
--- a/sandbox/tests/integration_tests/sbox_integration_tests.scons
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright (c) 2006-2008 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('env')
-
-env = env.Clone()
-
-env.ApplySConscript([
- '$BASE_DIR/using_base.scons',
- '$GTEST_DIR/../using_gtest.scons',
- '$SANDBOX_DIR/using_sandbox.scons',
-])
-
-if env.Bit('windows'):
- env.Append(
- CCFLAGS = [
- '/WX', # treat warnings as errors
- ],
- )
-
-# TODO(bradnelson): This step generates integration_tests.pch.ib_tag
-# SCons doesn't know.
-env_p = env.Clone()
-pch, obj = env_p.PCH(['integration_tests.pch', 'integration_tests.obj'],
- 'integration_tests.cc')
-env['PCH'] = pch
-env['PCHSTOP'] = 'stdafx.h'
-env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
-
-
-input_files = [
- obj,
- 'integration_tests_test.cc',
-
-# '$SANDBOX_DIR/src/dep_test.cc',
- '$SANDBOX_DIR/src/file_policy_test.cc',
- '$SANDBOX_DIR/src/integrity_level_test.cc',
- '$SANDBOX_DIR/src/ipc_ping_test.cc',
- '$SANDBOX_DIR/src/named_pipe_policy_test.cc',
- '$SANDBOX_DIR/src/policy_target_test.cc',
- '$SANDBOX_DIR/src/process_policy_test.cc',
- '$SANDBOX_DIR/src/registry_policy_test.cc',
- '$SANDBOX_DIR/src/sync_policy_test.cc',
- '$SANDBOX_DIR/src/unload_dll_test.cc',
-
- '../common/controller$OBJSUFFIX',
-]
-
-env.ChromeTestProgram('sbox_integration_tests', input_files,
- COMPONENT_PLATFORM_SETUP=None)
diff --git a/sandbox/tests/unit_tests/sbox_unittests.scons b/sandbox/tests/unit_tests/sbox_unittests.scons
deleted file mode 100644
index 660a13a..0000000
--- a/sandbox/tests/unit_tests/sbox_unittests.scons
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright (c) 2006-2008 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('env')
-
-env = env.Clone()
-
-env.ApplySConscript([
- '$BASE_DIR/using_base.scons',
- '$GTEST_DIR/../using_gtest.scons',
- '$SANDBOX_DIR/using_sandbox.scons',
-])
-
-if env.Bit('windows'):
- env.Append(
- CCFLAGS = [
- '/WX', # treat warnings as errors
- ],
- )
-
-# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
-# SCons doesn't know.
-env_p = env.Clone()
-pch, obj = env_p.PCH(['unit_tests.pch', 'unit_tests.obj'],
- 'unit_tests.cc')
-env['PCH'] = pch
-env['PCHSTOP'] = 'stdafx.h'
-env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
-
-input_files = [
- obj,
-
- '$SANDBOX_DIR/src/interception_unittest.cc',
- '$SANDBOX_DIR/src/ipc_unittest.cc',
- '$SANDBOX_DIR/src/job_unittest.cc',
- '$SANDBOX_DIR/src/pe_image_unittest.cc',
- '$SANDBOX_DIR/src/policy_engine_unittest.cc',
- '$SANDBOX_DIR/src/policy_low_level_unittest.cc',
- '$SANDBOX_DIR/src/policy_opcodes_unittest.cc',
- '$SANDBOX_DIR/src/restricted_token_unittest.cc',
- '$SANDBOX_DIR/src/service_resolver_unittest.cc',
- '$SANDBOX_DIR/src/sid_unittest.cc',
- '$SANDBOX_DIR/src/threadpool_unittest.cc',
-
- '../common/controller$OBJSUFFIX',
-]
-
-env.ChromeTestProgram('sbox_unittests', input_files,
- COMPONENT_PLATFORM_SETUP=None)
diff --git a/sandbox/tests/validation_tests/sbox_validation_tests.scons b/sandbox/tests/validation_tests/sbox_validation_tests.scons
deleted file mode 100644
index e23a3c7..0000000
--- a/sandbox/tests/validation_tests/sbox_validation_tests.scons
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright (c) 2006-2008 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('env')
-
-env = env.Clone()
-
-env.ApplySConscript([
- '$BASE_DIR/using_base.scons',
- '$GTEST_DIR/../using_gtest.scons',
- '$SANDBOX_DIR/using_sandbox.scons',
-])
-
-if env.Bit('windows'):
- env.Append(
- CCFLAGS = [
- '/WX', # treat warnings as errors
- ],
- )
-
-env.Prepend(
- LIBS = [
- 'shlwapi',
- ],
-)
-
-
-# TODO(bradnelson): This step generates unittests_tests.pch.ib_tag
-# SCons doesn't know.
-env_p = env.Clone()
-pch, obj = env_p.PCH(['unit_tests.pch', 'unit_tests.obj'],
- 'unit_tests.cc')
-env['PCH'] = pch
-env['PCHSTOP'] = 'stdafx.h'
-env.Append(CCPCHFLAGS = ['/FIstdafx.h'])
-
-
-input_files = [
- obj,
-
- 'suite.cc',
- 'commands.cc',
-
- '../common/controller$OBJSUFFIX',
-]
-
-env.ChromeTestProgram('sbox_validation_tests', input_files,
- COMPONENT_PLATFORM_SETUP=None)