[xiph-commits] r6893 - in trunk/oggdsf/src/tests: . testCMML

illiminable at dactyl.lonelymoon.com illiminable
Sat Jun 26 13:00:11 PDT 2004


Author: illiminable
Date: Sat Jun 26 13:00:11 2004
New Revision: 6893

Added:
trunk/oggdsf/src/tests/testCMML/
trunk/oggdsf/src/tests/testCMML/ReadMe.txt
trunk/oggdsf/src/tests/testCMML/VorbisComments.h
trunk/oggdsf/src/tests/testCMML/asdf.h
trunk/oggdsf/src/tests/testCMML/stdafx.cpp
trunk/oggdsf/src/tests/testCMML/stdafx.h
trunk/oggdsf/src/tests/testCMML/testCMML.cpp
trunk/oggdsf/src/tests/testCMML/testCMML.vcproj
Log:
* Adding testCMML for temporary solution consistency...

Added: trunk/oggdsf/src/tests/testCMML/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tests/testCMML/ReadMe.txt	2004-06-26 19:55:32 UTC (rev 6892)
+++ trunk/oggdsf/src/tests/testCMML/ReadMe.txt	2004-06-26 20:00:05 UTC (rev 6893)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : testCMML Project Overview
+========================================================================
+
+AppWizard has created this testCMML application for you.
+This file contains a summary of what you will find in each of the files that
+make up your testCMML application.
+
+
+testCMML.vcproj
+    This is the main project file for VC++ projects generated using an Application Wizard.
+    It contains information about the version of Visual C++ that generated the file, and
+    information about the platforms, configurations, and project features selected with the
+    Application Wizard.
+
+testCMML.cpp
+    This is the main application source file.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+    These files are used to build a precompiled header (PCH) file
+    named testCMML.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////

Added: trunk/oggdsf/src/tests/testCMML/VorbisComments.h
===================================================================

Added: trunk/oggdsf/src/tests/testCMML/asdf.h
===================================================================

Added: trunk/oggdsf/src/tests/testCMML/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tests/testCMML/stdafx.cpp	2004-06-26 19:55:32 UTC (rev 6892)
+++ trunk/oggdsf/src/tests/testCMML/stdafx.cpp	2004-06-26 20:00:05 UTC (rev 6893)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// testCMML.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file

Added: trunk/oggdsf/src/tests/testCMML/stdafx.h
===================================================================
--- trunk/oggdsf/src/tests/testCMML/stdafx.h	2004-06-26 19:55:32 UTC (rev 6892)
+++ trunk/oggdsf/src/tests/testCMML/stdafx.h	2004-06-26 20:00:05 UTC (rev 6893)
@@ -0,0 +1,12 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
+#include <stdio.h>
+#include <tchar.h>
+
+// TODO: reference additional headers your program requires here

Added: trunk/oggdsf/src/tests/testCMML/testCMML.cpp
===================================================================
--- trunk/oggdsf/src/tests/testCMML/testCMML.cpp	2004-06-26 19:55:32 UTC (rev 6892)
+++ trunk/oggdsf/src/tests/testCMML/testCMML.cpp	2004-06-26 20:00:05 UTC (rev 6893)
@@ -0,0 +1,34 @@
+// testCMML.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+#include <string>
+#include <iostream>
+#include "libWinCMMLParse.h"
+#include "CMMLParser.h"
+
+#include "libCMMLTags.h"
+using namespace std;
+
+int _tmain(int argc, _TCHAR* argv[])
+{
+
+	CMMLParser testParse;
+	C_ClipTag locClip;
+	wstring clipTest = L"<clip id=\"intro\" start=\"npt:0\"><a href=\"http://www.csiro.au/promos/ozadvances/\">http://www.csiro.au/promos/ozadvances/</a><img src=\"/media_images/cleaner1.jpg\"/><desc>Introduction to 'Cleaner Power Stations - Australia Advances video'.</desc></clip>";
+	testParse.parseClipTag(clipTest, &locClip);
+
+	cout<<"PARSED"<<locClip.toString()<<endl<<endl<<endl;
+
+	C_HeadTag locHead;
+	wstring headTest = L"<head><title>Australia Advances Series - Cleaner Power Stations</title><meta name=\"DESCRIPTION\" content=\"A power station in New South Wales is using a new system of filter bags that remove the coal dust from the emitted fumes\"/><meta name=\"KEYWORDS\" content=\"Polution, Power Station\"/><meta name=\"TYPE\" content=\"video\"/></head>";
+	testParse.parseHeadTag(headTest, &locHead);
+
+	cout<<"PARSED"<<locHead.toString()<<endl<<endl;
+
+
+	int x;
+	cin>>x;
+	return 0;
+}
+

Added: trunk/oggdsf/src/tests/testCMML/testCMML.vcproj
===================================================================
--- trunk/oggdsf/src/tests/testCMML/testCMML.vcproj	2004-06-26 19:55:32 UTC (rev 6892)
+++ trunk/oggdsf/src/tests/testCMML/testCMML.vcproj	2004-06-26 20:00:05 UTC (rev 6893)
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding = "Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.00"
+	Name="testCMML"
+	ProjectGUID="{6C1AD4AE-7675-4CD0-AE70-897C628AA219}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\lib\codecs\cmml\libWinCMMLParse;..\..\lib\codecs\cmml\libCMMLTags"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/testCMML.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/testCMML.pdb"
+				SubSystem="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				InlineFunctionExpansion="1"
+				OmitFramePointers="TRUE"
+				AdditionalIncludeDirectories="..\..\lib\codecs\cmml\libWinCMMLParse;..\..\lib\codecs\cmml\libCMMLTags"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				StringPooling="TRUE"
+				RuntimeLibrary="4"
+				EnableFunctionLevelLinking="TRUE"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/testCMML.exe"
+				LinkIncremental="1"
+				GenerateDebugInformation="TRUE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"/>
+			<Tool
+				Name="VCPreBuildEventTool"/>
+			<Tool
+				Name="VCPreLinkEventTool"/>
+			<Tool
+				Name="VCResourceCompilerTool"/>
+			<Tool
+				Name="VCWebServiceProxyGeneratorTool"/>
+			<Tool
+				Name="VCWebDeploymentTool"/>
+		</Configuration>
+	</Configurations>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+			<File
+				RelativePath="stdafx.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						UsePrecompiledHeader="1"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="testCMML.cpp">
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc">
+			<File
+				RelativePath="stdafx.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+		</Filter>
+		<File
+			RelativePath="ReadMe.txt">
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>



More information about the commits mailing list