diff --git a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLExportConverter_1_ITest.java b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLExportConverter_1_ITest.java index cd33a3557b..5ace48c575 100644 --- a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLExportConverter_1_ITest.java +++ b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLExportConverter_1_ITest.java @@ -88,19 +88,4 @@ public void testExport_3() { assertTrue("TypeCastException", true); } } - - public void testExport_4() { - - try { - assertTrue("Remove writable permission.", exportFile.setWritable(false)); - IProcessingInfo processingInfo = exportConverter.convert(exportFile, massSpectra, false, new NullProgressMonitor()); - try { - assertTrue(processingInfo.hasErrorMessages()); - } catch(TypeCastException e) { - assertTrue("TypeCastException", true); - } - } finally { - exportFile.delete(); - } - } } diff --git a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLImportConverter_1_ITest.java b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLImportConverter_1_ITest.java index e4db53ae41..d7141264cf 100644 --- a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLImportConverter_1_ITest.java +++ b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msl/MSLImportConverter_1_ITest.java @@ -59,16 +59,4 @@ public void testExceptions_3() { IProcessingInfo processingInfo = importConverter.convert(importFile, new NullProgressMonitor()); assertTrue(processingInfo.hasErrorMessages()); } - - public void testExceptions_4() { - - importFile = new File(TestPathHelper.getAbsolutePath(TestPathHelper.TESTFILE_IMPORT_NOT_READABLE)); - assertTrue("Remove writable permission.", importFile.setReadable(false)); - try { - IProcessingInfo processingInfo = importConverter.convert(importFile, new NullProgressMonitor()); - assertTrue(processingInfo.hasErrorMessages()); - } finally { - assertTrue("Add readable permission.", importFile.setReadable(true)); - } - } } diff --git a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msp/MSPExportConverter_1_ITest.java b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msp/MSPExportConverter_1_ITest.java index 925665164e..a9f7a2f4d0 100644 --- a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msp/MSPExportConverter_1_ITest.java +++ b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.amdis.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/amdis/converter/msp/MSPExportConverter_1_ITest.java @@ -92,20 +92,4 @@ public void testExport_3() { assertTrue("TypeCastException", true); } } - - @Test - public void testExport_4() { - - try { - assertTrue("Remove writable permission.", exportFile.setWritable(false)); - IProcessingInfo processingInfo = exportConverter.convert(exportFile, massSpectra, false, new NullProgressMonitor()); - try { - assertTrue(processingInfo.hasErrorMessages()); - } catch(TypeCastException e) { - assertTrue("TypeCastException", true); - } - } finally { - assertTrue("Add readable permission.", exportFile.setReadable(true)); - } - } } diff --git a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.matlab.parafac.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/matlab/parafac/converter/MatlabParafacPeakImportConverter_4_ITest.java b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.matlab.parafac.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/matlab/parafac/converter/MatlabParafacPeakImportConverter_4_ITest.java index d9118dbf87..9f28e3e01d 100644 --- a/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.matlab.parafac.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/matlab/parafac/converter/MatlabParafacPeakImportConverter_4_ITest.java +++ b/chemclipse/tests/org.eclipse.chemclipse.msd.converter.supplier.matlab.parafac.fragment.test/src/org/eclipse/chemclipse/msd/converter/supplier/matlab/parafac/converter/MatlabParafacPeakImportConverter_4_ITest.java @@ -13,10 +13,7 @@ import java.io.File; -import org.eclipse.chemclipse.model.core.IPeaks; import org.eclipse.chemclipse.msd.converter.supplier.matlab.parafac.TestPathHelper; -import org.eclipse.chemclipse.msd.model.core.IPeakMSD; -import org.eclipse.chemclipse.processing.core.IProcessingInfo; import org.eclipse.core.runtime.NullProgressMonitor; import junit.framework.TestCase; @@ -48,15 +45,6 @@ public void testImport_1() { } } - public void testImport_2() { - - File file = new File(TestPathHelper.getAbsolutePath(TestPathHelper.TESTFILE_IMPORT_NOT_READABLE)); - assertTrue("Remove readable permission.", file.setReadable(false)); - IProcessingInfo> processingInfo = converter.convert(file, new NullProgressMonitor()); - assertNull(processingInfo.getProcessingResult()); - assertTrue("Add readable permission.", file.setReadable(true)); - } - public void testImport_3() { try {