END_SECTION START_SECTION((const String& getPathToFile() const)) SourceFile tmp; TEST_EQUAL(tmp.getPathToFile(),""); END_SECTION START_SECTION((void setPathToFile(const String& path_path_to_file))) SourceFile tmp; tmp.setPathToFile("/misc/sturm/mp3/"); TEST_EQUAL(tmp.getPathToFile(),"/misc/sturm/mp3/"); END_SECTION START_SECTION((const String& getChecksum() const)) SourceFile tmp; TEST_EQUAL(tmp.getChecksum(), ""); END_SECTION START_SECTION(ChecksumType getChecksumType() const) SourceFile tmp; TEST_EQUAL(tmp.getChecksumType(), SourceFile::UNKNOWN_CHECKSUM); END_SECTION START_SECTION((void setChecksum(const String& checksum, ChecksumType type))) SourceFile tmp; tmp.setChecksum("2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",SourceFile::SHA1); TEST_EQUAL(tmp.getChecksum(), "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12"); TEST_EQUAL(tmp.getChecksumType(), SourceFile::SHA1); END_SECTION START_SECTION((const String& getNativeIDType() const))