Test case 1
1: ProjectProperty.writeProperties();
Test case 2
1: Properties properties0 = new Properties();
2: Integer integer0 = JLayeredPane.PALETTE_LAYER;
3: properties0.put(integer0, integer0);
4: ProjectProperty.getProjectMap(properties0);
Test case 3
1: Properties properties0 = new Properties();
2: properties0.put("class org.biojava.bio.seq.io.SequenceBuilderBaseERROR_FEATURES_PROPERTY", "class org.biojava.bio.seq.io.SequenceBuilderBaseERROR_FEATURES_PROPERTY");
3: HashMap<String, HashMap<String, String>> hashMap0 = (HashMap<String, HashMap<String, String>>)ProjectProperty.getProjectMap(properties0);
4: assertTrue(hashMap0.isEmpty());
Test case 4
1: MockFile mockFile0 = (MockFile)MockFile.createTempFile("INSERT failed ", "INSERT failed ");
2: HashMap<String, HashMap<String, String>> hashMap0 = new HashMap<String, HashMap<String, String>>();
3: HashMap<String, String> hashMap1 = new HashMap<String, String>();
4: hashMap1.put("INSERT failed ", "INSERT failed ");
5: hashMap0.put("INSERT failed ", hashMap1);
6: ProjectProperty.writeProperties(mockFile0, hashMap0);
7: assertEquals(54L, mockFile0.length());
Test case 5
1: ProjectProperty projectProperty0 = new ProjectProperty();
Test case 6
1: ProjectProperty projectProperty0 = new ProjectProperty((Splash) null);
Test case 7
1: ProjectProperty.getProjectMap((Properties) null);
Test case 8
1: HashMap<String, HashMap<String, String>> hashMap0 = new HashMap<String, HashMap<String, String>>(249);
2: ProjectProperty.writeProperties((File) null, hashMap0);
Test case 9
1: MockFile mockFile0 = new MockFile("", "");
2: HashMap<String, HashMap<String, String>> hashMap0 = new HashMap<String, HashMap<String, String>>();
3: HashMap<String, String> hashMap1 = new HashMap<String, String>();
4: hashMap0.put("", hashMap1);
5: ProjectProperty.writeProperties(mockFile0, hashMap0);
6: assertTrue(mockFile0.canRead());
Test case 10
1: MockFile mockFile0 = new MockFile("|CCy V5[%fK", "");
2: Properties properties0 = new Properties();
3: HashMap<String, HashMap<String, String>> hashMap0 = (HashMap<String, HashMap<String, String>>)ProjectProperty.getProjectMap(properties0);
4: ProjectProperty.writeProperties(mockFile0, hashMap0);
5: assertFalse(mockFile0.canExecute());
6: assertFalse(mockFile0.exists());
Source Code
1: No source found for uk.ac.sanger.artemis.components.ProjectProperty
EvoSuite Parameters
- TARGET_CLASS: uk.ac.sanger.artemis.components.ProjectProperty
- Size: 10
- Length: 28
- criterion: LINE;BRANCH;EXCEPTION;WEAKMUTATION;OUTPUT;METHOD;METHODNOEXCEPTION;CBRANCH
- Coverage: 0.30727310313592965
- BranchCoverage: 0.06132075471698113
- MethodCoverage: 0.5555555555555556
- OutputCoverage: 0.3333333333333333
Back to Overview