29 require_once (
'../../../tests/fossologyUnitTestCase.php');
30 require_once (
'../Classes/FreshmeatRdfs.php');
31 require_once (
'../Classes/GetFreshmeatRdf.php');
38 print
"Starting TestFMRdfs\n";
40 $Gfm =
new GetFreshmeatRdf();
41 if($Gfm->get_rdf($Gfm->rdf_name))
43 print
"wget failed, error code was:$Gfm->error_code\n";
44 print
"Error message was:\n$Gfm->error_code\n";
47 print
"rdf name is:$Gfm->rdf_name\n";
51 echo
"uncompressing\n";
52 if(!$Rdf->Uncompress($Gfm->rdf_name))
54 print
"Uncompress return non zero status\n";
55 print
"Error code was:$Rdf->error_code\n";
56 print
"Error message was:\n$Rdf->error_out\n";
60 $info = $Rdf->XtractProjInfo($Rdf->uncompressed_file);