diff -r f1112f777ce9 -r 96906a986c3b testdev/ite/test/com.nokia.testfw.cmdtool.test/src/com/nokia/testfw/cmdtool/test/GccxmlWrapperTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testdev/ite/test/com.nokia.testfw.cmdtool.test/src/com/nokia/testfw/cmdtool/test/GccxmlWrapperTest.java Tue Mar 30 14:39:29 2010 +0800 @@ -0,0 +1,74 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: wrapper class for manual test. +* +*/ +package com.nokia.testfw.cmdtool.test; + +import java.util.Vector; + +import com.nokia.testfw.cmdtool.cbrowserwrapper.*; + +public class GccxmlWrapperTest implements IParseListener { + + + public GccxmlWrapperTest() + { + } + + public void Run(String bldfilename) + { + IParseWrapper wrapper = new CBrowserWrapper(); + wrapper.AddParseListener(this); + Vector mmpList = wrapper.Parse(bldfilename); + for(int i=0;i>>md: " + methodInfo.DefinitionFile + "\r\n"); + System.out.print(" >>>mi: " + methodInfo.ImplementationFile + "\r\n"); + } + } + + } + + System.out.println("**********************************************************"); + + } + + public void GetParseMessage(ParseEventType type, String message) { + // TODO Auto-generated method stub + if(type == ParseEventType.Done) + { + System.out.println("Done!"); + } + else if(type == ParseEventType.Failed) + { + System.out.println("Error: " + message); + } + else + { + System.out.println(message); + } + } +}