Video Processing Framework
D:/J_PROGRAMI/SPLINEPROJECT/CODE2/Util_YAML/test/spectests.cpp File Reference
#include "spectests.h"
#include "yaml-cpp/yaml.h"
#include <fstream>
#include <sstream>
#include <vector>
#include <iostream>

Classes

struct  Test::Spec::Pair
struct  Test::Spec::StringMap

Namespaces

namespace  Test
namespace  Test::Spec

Defines

#define YAML_ASSERT(cond)   do { if(!(cond)) return " Assert failed: " #cond; } while(false)
#define PARSE(doc, input)
#define PARSE_NEXT(doc)   parser.GetNextDocument(doc)

Functions

TEST Test::Spec::SeqScalars ()
TEST Test::Spec::MappingScalarsToScalars ()
TEST Test::Spec::MappingScalarsToSequences ()
TEST Test::Spec::SequenceOfMappings ()
TEST Test::Spec::SequenceOfSequences ()
TEST Test::Spec::MappingOfMappings ()
TEST Test::Spec::TwoDocumentsInAStream ()
TEST Test::Spec::PlayByPlayFeed ()
TEST Test::Spec::SingleDocumentWithTwoComments ()
TEST Test::Spec::SimpleAnchor ()
bool Test::Spec::operator== (const Pair &p, const Pair &q)
void Test::Spec::operator>> (const YAML::Node &node, Pair &p)
TEST Test::Spec::MappingBetweenSequences ()
TEST Test::Spec::CompactNestedMapping ()
TEST Test::Spec::InLiteralsNewlinesArePreserved ()
TEST Test::Spec::InFoldedScalarsNewlinesBecomeSpaces ()
TEST Test::Spec::FoldedNewlinesArePreservedForMoreIndentedAndBlankLines ()
TEST Test::Spec::IndentationDeterminesScope ()
TEST Test::Spec::QuotedScalars ()
TEST Test::Spec::MultiLineFlowScalars ()
TEST Test::Spec::VariousExplicitTags ()
TEST Test::Spec::GlobalTags ()
TEST Test::Spec::UnorderedSets ()
TEST Test::Spec::OrderedMappings ()
TEST Test::Spec::Invoice ()
TEST Test::Spec::LogFile ()
TEST Test::Spec::BlockStructureIndicators ()
TEST Test::Spec::FlowStructureIndicators ()
TEST Test::Spec::CommentIndicator ()
TEST Test::Spec::NodePropertyIndicators ()
TEST Test::Spec::BlockScalarIndicators ()
TEST Test::Spec::QuotedScalarIndicators ()
TEST Test::Spec::LineBreakCharacters ()
TEST Test::Spec::TabsAndSpaces ()
TEST Test::Spec::EscapedCharacters ()
TEST Test::Spec::InvalidEscapedCharacters ()
TEST Test::Spec::IndentationSpaces ()
TEST Test::Spec::IndentationIndicators ()
TEST Test::Spec::SeparationSpaces ()
TEST Test::Spec::LinePrefixes ()
TEST Test::Spec::EmptyLines ()
TEST Test::Spec::LineFolding ()
TEST Test::Spec::BlockFolding ()
TEST Test::Spec::FlowFolding ()
TEST Test::Spec::SeparatedComment ()
TEST Test::Spec::CommentLines ()
TEST Test::Spec::MultiLineComments ()
bool Test::Spec::operator== (const StringMap &m, const StringMap &n)
void Test::Spec::operator>> (const YAML::Node &node, StringMap &m)
TEST Test::Spec::SeparationSpacesII ()
TEST Test::Spec::ReservedDirectives ()
TEST Test::Spec::YAMLDirective ()
TEST Test::Spec::InvalidRepeatedYAMLDirective ()
TEST Test::Spec::TagDirective ()
TEST Test::Spec::InvalidRepeatedTagDirective ()
TEST Test::Spec::PrimaryTagHandle ()
TEST Test::Spec::SecondaryTagHandle ()
TEST Test::Spec::TagHandles ()
TEST Test::Spec::LocalTagPrefix ()
TEST Test::Spec::GlobalTagPrefix ()
TEST Test::Spec::NodeProperties ()
TEST Test::Spec::VerbatimTags ()
TEST Test::Spec::InvalidVerbatimTags ()
TEST Test::Spec::TagShorthands ()
TEST Test::Spec::InvalidTagShorthands ()
TEST Test::Spec::NonSpecificTags ()
TEST Test::Spec::NodeAnchors ()
TEST Test::Spec::AliasNodes ()
TEST Test::Spec::EmptyNodes ()
TEST Test::Spec::CompletelyEmptyNodes ()
TEST Test::Spec::DoubleQuotedImplicitKeys ()
TEST Test::Spec::DoubleQuotedLineBreaks ()
TEST Test::Spec::DoubleQuotedLines ()
TEST Test::Spec::SingleQuotedCharacters ()
TEST Test::Spec::SingleQuotedImplicitKeys ()
TEST Test::Spec::SingleQuotedLines ()
TEST Test::Spec::PlainCharacters ()
TEST Test::Spec::PlainImplicitKeys ()
TEST Test::Spec::PlainLines ()
TEST Test::Spec::FlowSequence ()
TEST Test::Spec::FlowSequenceEntries ()
TEST Test::Spec::FlowMappings ()
TEST Test::Spec::FlowMappingEntries ()
TEST Test::Spec::FlowMappingSeparateValues ()
TEST Test::Spec::FlowMappingAdjacentValues ()
TEST Test::Spec::SinglePairFlowMappings ()
TEST Test::Spec::SinglePairExplicitEntry ()
TEST Test::Spec::SinglePairImplicitEntries ()
TEST Test::Spec::InvalidImplicitKeys ()
TEST Test::Spec::FlowContent ()
TEST Test::Spec::FlowNodes ()
TEST Test::Spec::BlockScalarHeader ()
TEST Test::Spec::BlockIndentationHeader ()
TEST Test::Spec::InvalidBlockScalarIndentationIndicators ()
TEST Test::Spec::ChompingFinalLineBreak ()
TEST Test::Spec::ChompingTrailingLines ()
TEST Test::Spec::EmptyScalarChomping ()
TEST Test::Spec::LiteralScalar ()
TEST Test::Spec::LiteralContent ()
TEST Test::Spec::FoldedScalar ()
TEST Test::Spec::FoldedLines ()
TEST Test::Spec::MoreIndentedLines ()
TEST Test::Spec::EmptySeparationLines ()
TEST Test::Spec::FinalEmptyLines ()
TEST Test::Spec::BlockSequence ()
TEST Test::Spec::BlockSequenceEntryTypes ()
TEST Test::Spec::BlockMappings ()
TEST Test::Spec::ExplicitBlockMappingEntries ()
TEST Test::Spec::ImplicitBlockMappingEntries ()
TEST Test::Spec::CompactBlockMappings ()
TEST Test::Spec::BlockNodeTypes ()
TEST Test::Spec::BlockScalarNodes ()
TEST Test::Spec::BlockCollectionNodes ()
bool Test::RunSpecTests ()

Define Documentation

#define PARSE (   doc,
  input 
)
Value:
std::stringstream stream(input);\
        YAML::Parser parser(stream);\
        YAML::Node doc;\
        parser.GetNextDocument(doc)
#define PARSE_NEXT (   doc)    parser.GetNextDocument(doc)
#define YAML_ASSERT (   cond)    do { if(!(cond)) return " Assert failed: " #cond; } while(false)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines