equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 |
|
17 import os |
|
18 from testautomation.copy_dir import copy_dir |
|
19 |
|
20 ROOT_PATH = os.path.dirname(os.path.abspath(__file__)) |
|
21 |
|
22 def export_standalone(target_path): |
|
23 """ |
|
24 Export any needed extra data for standalone tests. |
|
25 @param target_path: The path where the standalone tests are being exported. |
|
26 """ |
|
27 # For example, one could copy test data from a plug-in into the target directory: |
|
28 #dirs_to_copy = ['test_project_', 'test_project_2'] |
|
29 #for dir in dirs_to_copy: |
|
30 # copy_dir(source_dir = os.path.join(ROOT_PATH, '../ConeExamplePlugin/examplemlplugin/tests', dir), |
|
31 # target_dir = os.path.join(target_path, 'testdata/generate/test_projects', dir), |
|
32 # dir_ignore_functions = [lambda d: d == '.svn']) |
|
33 pass |
|
34 |