mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Gary Williams
05.40.2011 dab326dd0311a408835cabe60a0c0947483f97d4
opends/tests/staf-tests/shared/python/common.py
@@ -55,7 +55,8 @@
            "list_matches" ,
            "count_attr" ,
            "host_is_localhost" ,
            "md5_hash"]
            "md5_hash"
            ]
class format_testcase:
  'Format the Test name objects'
@@ -175,8 +176,8 @@
    self.file2    = file2
    self.diffFile = diffFile
  def genDiff(self):
    from org.tmatesoft.svn.core.wc import *
  def genDiff(self):
    from org.tmatesoft.svn.core.wc import DefaultSVNDiffGenerator
    from java.io import File
    from java.io import FileOutputStream
@@ -663,7 +664,7 @@
      from javax.xml.transform.dom import DOMSource
      tranFactory = TransformerFactory.newInstance();
      aTransformer = tranFactory.newTransformer();
      aTransformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1")
      aTransformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8")
      aTransformer.setOutputProperty(OutputKeys.INDENT, "yes")
      src = DOMSource(doc);
@@ -686,7 +687,7 @@
        tranFactory = TransformerFactory.newInstance();
        aTransformer = tranFactory.newTransformer();
        aTransformer.setOutputProperty(OutputKeys.ENCODING, "ISO-8859-1")
        aTransformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8")
        aTransformer.setOutputProperty(OutputKeys.INDENT, "yes");
        aTransformer.transform(xmlInput, xmlOutput);
@@ -845,3 +846,5 @@
    import md5
    m = md5.new()
  return m