@@ -4,9 +4,9 @@ use std::collections::HashMap;
44use std:: io:: { Read , Seek } ;
55use std:: path:: { Path , PathBuf } ;
66use std:: time:: Duration ;
7+ pub use tmc_langs_framework:: policy:: EverythingIsStudentFilePolicy as NoTestsStudentFilePolicy ;
78use tmc_langs_framework:: {
89 domain:: { ExerciseDesc , RunResult , RunStatus , TestDesc , TestResult } ,
9- policy:: EverythingIsStudentFilePolicy ,
1010 zip:: ZipArchive ,
1111 LanguagePlugin , StudentFilePolicy , TmcError ,
1212} ;
@@ -30,7 +30,7 @@ impl NoTestsPlugin {
3030
3131impl LanguagePlugin for NoTestsPlugin {
3232 const PLUGIN_NAME : & ' static str = "No-Tests" ;
33- type StudentFilePolicy = EverythingIsStudentFilePolicy ;
33+ type StudentFilePolicy = NoTestsStudentFilePolicy ;
3434
3535 fn scan_exercise ( & self , path : & Path , exercise_name : String ) -> Result < ExerciseDesc , TmcError > {
3636 let test_name = format ! ( "{}Test" , exercise_name) ;
@@ -62,7 +62,7 @@ impl LanguagePlugin for NoTestsPlugin {
6262 }
6363
6464 fn get_student_file_policy ( project_path : & Path ) -> Self :: StudentFilePolicy {
65- EverythingIsStudentFilePolicy :: new ( project_path. to_path_buf ( ) )
65+ NoTestsStudentFilePolicy :: new ( project_path. to_path_buf ( ) )
6666 }
6767
6868 fn is_exercise_type_correct ( path : & Path ) -> bool {
0 commit comments