Android-cuttlefish cvd tool
Namespaces | Functions | Variables
gpx_parser_test.cc File Reference
#include <android-base/file.h>
#include <gtest/gtest.h>
#include <fstream>
#include "cuttlefish/host/libs/location/GpsFix.h"
#include "cuttlefish/host/libs/location/GpxParser.h"
#include "cuttlefish/host/libs/location/StringParse.h"
Include dependency graph for gpx_parser_test.cc:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{gpx_parser_test.cc}
 

Functions

bool cuttlefish::anonymous_namespace{gpx_parser_test.cc}::ParseGpxFile (GpsFixArray *locations, char *text, std::string *error)
 
bool cuttlefish::anonymous_namespace{gpx_parser_test.cc}::ParseGpxString (GpsFixArray *locations, char *text, std::string *error)
 
 cuttlefish::TEST (GpxParser, ParseFileNotFound)
 
 cuttlefish::TEST (GpxParser, ParseEmptyFile)
 
 cuttlefish::TEST (GpxParser, ParseEmptyString)
 
 cuttlefish::TEST (GpxParser, ParseEmptyRteTrkFile)
 
 cuttlefish::TEST (GpxParser, ParseEmptyRteTrkString)
 
 cuttlefish::TEST (GpxParser, ParseValidFile)
 
 cuttlefish::TEST (GpxParser, ParseValidString)
 
 cuttlefish::TEST (GpxParser, ParseFileNullAttributeFile)
 
 cuttlefish::TEST (GpxParser, ParseFileNullAttributeString)
 
 cuttlefish::TEST (GpxParser, ParseLocationMissingLatitudeFile)
 
 cuttlefish::TEST (GpxParser, ParseLocationMissingLatitudeString)
 
 cuttlefish::TEST (GpxParser, ParseLocationMissingLongitudeFile)
 
 cuttlefish::TEST (GpxParser, ParseLocationMissingLongitudeString)
 
 cuttlefish::TEST (GpxParser, ParseValidLocationFile)
 
 cuttlefish::TEST (GpxParser, ParseValidLocationString)
 
 cuttlefish::TEST (GpxParser, ParseValidDocumentFile)
 
 cuttlefish::TEST (GpxParser, ParseValidDocumentString)
 

Variables

char cuttlefish::kEmptyText []
 
char cuttlefish::kEmptyRteTrkText []
 
char cuttlefish::kValidText []
 
char cuttlefish::kNullAttributeText []
 
char cuttlefish::kLocationMissingLongitudeLatitudeText []
 
char cuttlefish::kLocationMissingLongitudeText []
 
char cuttlefish::kValidLocationText []
 
char cuttlefish::kValidDocumentText []