equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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 |
|
18 |
|
19 import org.junit.Test; |
|
20 |
|
21 public class ErrorLogsTestUnit extends ErrorLogsTestBase { |
|
22 |
|
23 public static void main(String args[]) { |
|
24 org.junit.runner.JUnitCore.main(ErrorLogsTestUnit.class.getName()); |
|
25 } |
|
26 |
|
27 /** |
|
28 * This test calls Trace Compiler directly and invokes it against a simple c++ project with one cpp and one mmp file |
|
29 * The exit code from tracecompiler is checked to ensure an error is indicated and the logs are also checked |
|
30 */ |
|
31 @Test |
|
32 public void UnitTestTraceCompiler (){ |
|
33 System.out.println ("*********************UnitTestTraceCompiler()****************************"); |
|
34 //Call Trace Compiler |
|
35 InvokeCompiler("_tc"); |
|
36 |
|
37 //Parse the Trace Compiler log files |
|
38 ParseLogFile("_tc"); |
|
39 |
|
40 //Validate the Trace Compiler log files |
|
41 ValidateLogs("TraceErrorApp","_tc"); |
|
42 } |
|
43 } |
|