[fdo-commits] r2697 - trunk/Fdo/Python/UnitTest/Src

svn_fdo at osgeo.org svn_fdo at osgeo.org
Mon Mar 19 20:32:50 EDT 2007


Author: gregboone
Date: 2007-03-19 20:32:50 -0400 (Mon, 19 Mar 2007)
New Revision: 2697

Modified:
   trunk/Fdo/Python/UnitTest/Src/ApplySchemaTest.py
   trunk/Fdo/Python/UnitTest/Src/ClientServicesTest.py
   trunk/Fdo/Python/UnitTest/Src/LOBTest.py
Log:
Ticket #39: Add Linux Makefile Support -- Work In Progress

Modified: trunk/Fdo/Python/UnitTest/Src/ApplySchemaTest.py
===================================================================
--- trunk/Fdo/Python/UnitTest/Src/ApplySchemaTest.py	2007-03-19 23:59:49 UTC (rev 2696)
+++ trunk/Fdo/Python/UnitTest/Src/ApplySchemaTest.py	2007-03-20 00:32:50 UTC (rev 2697)
@@ -32,7 +32,7 @@
 from SdfFileFactory import *
 
 
-G_INI_FILENAME="./input/UnitTestConfig.ini"
+G_INI_FILENAME="./Input/UnitTestConfig.ini"
 
 
 class ApplySchemaTest(unittest.TestCase):

Modified: trunk/Fdo/Python/UnitTest/Src/ClientServicesTest.py
===================================================================
--- trunk/Fdo/Python/UnitTest/Src/ClientServicesTest.py	2007-03-19 23:59:49 UTC (rev 2696)
+++ trunk/Fdo/Python/UnitTest/Src/ClientServicesTest.py	2007-03-20 00:32:50 UTC (rev 2697)
@@ -70,5 +70,7 @@
 				self.assert_(connection.Release() == 0)
 					
 				# Check if the library exists in the path
-				self.assert_(provider.GetLibraryPath() == '.\SDFProvider.dll')
-				
\ No newline at end of file
+				path = provider.GetLibraryPath()
+				if path != '.\SDFProvider.dll' and path != '/usr/local/fdo-3.3.0/lib/libSDFProvider.so':
+					self.fail("Invalid provider.GetLibraryPath()")
+				

Modified: trunk/Fdo/Python/UnitTest/Src/LOBTest.py
===================================================================
--- trunk/Fdo/Python/UnitTest/Src/LOBTest.py	2007-03-19 23:59:49 UTC (rev 2696)
+++ trunk/Fdo/Python/UnitTest/Src/LOBTest.py	2007-03-20 00:32:50 UTC (rev 2697)
@@ -26,7 +26,7 @@
 	Unit test for handling binary LOB values in Python
 	"""
 	def testLOBHandling(self):
-		fileStream1 = FdoIoFileStream.Create( "input/clock.avi", "rb" )
+		fileStream1 = FdoIoFileStream.Create( "Input/clock.avi", "rb" )
 		fileReader1 = FdoIoByteStreamReader.Create( fileStream1 )	
 
 		# Initialize the 'data' property value with the filestream reader



More information about the fdo-commits mailing list