def test_configure(self):
   """
   Test _configure().
   """
   slipFn = ConstRateSlipFn()
   slipFn._configure()
   return
 def test_configure(self):
     """
 Test _configure().
 """
     slipFn = ConstRateSlipFn()
     slipFn._configure()
     return
    def test_initialize(self):
        """
    Test initialize().
    """
        from spatialdata.spatialdb.SimpleDB import SimpleDB
        from spatialdata.spatialdb.SimpleIOAscii import SimpleIOAscii

        ioSlipRate = SimpleIOAscii()
        ioSlipRate.inventory.filename = "sliprate.spatialdb"
        ioSlipRate._configure()
        dbSlipRate = SimpleDB()
        dbSlipRate.inventory.iohandler = ioSlipRate
        dbSlipRate.inventory.label = "slip rate"
        dbSlipRate._configure()

        ioSlipTime = SimpleIOAscii()
        ioSlipTime.inventory.filename = "sliptime.spatialdb"
        ioSlipTime._configure()
        dbSlipTime = SimpleDB()
        dbSlipTime.inventory.iohandler = ioSlipTime
        dbSlipTime.inventory.label = "slip time"
        dbSlipTime._configure()

        slipFn = ConstRateSlipFn()
        slipFn.inventory.dbSlipRate = dbSlipRate
        slipFn.inventory.dbSlipTime = dbSlipTime
        slipFn._configure()
        slipFn.preinitialize()
        slipFn.verifyConfiguration()
        slipFn.initialize()
        return
  def test_initialize(self):
    """
    Test initialize().
    """
    from spatialdata.spatialdb.SimpleDB import SimpleDB
    from spatialdata.spatialdb.SimpleIOAscii import SimpleIOAscii

    ioSlipRate = SimpleIOAscii()
    ioSlipRate.inventory.filename = "sliprate.spatialdb"
    ioSlipRate._configure()
    dbSlipRate = SimpleDB()
    dbSlipRate.inventory.iohandler = ioSlipRate
    dbSlipRate.inventory.label = "slip rate"
    dbSlipRate._configure()
    
    ioSlipTime = SimpleIOAscii()
    ioSlipTime.inventory.filename = "sliptime.spatialdb"
    ioSlipTime._configure()
    dbSlipTime = SimpleDB()
    dbSlipTime.inventory.iohandler = ioSlipTime
    dbSlipTime.inventory.label = "slip time"
    dbSlipTime._configure()
    
    slipFn = ConstRateSlipFn()
    slipFn.inventory.dbSlipRate = dbSlipRate
    slipFn.inventory.dbSlipTime = dbSlipTime
    slipFn._configure()
    slipFn.preinitialize()
    slipFn.verifyConfiguration()
    slipFn.initialize()
    return
 def test_constructor(self):
     """
 Test constructor.
 """
     slipFn = ConstRateSlipFn()
     return