Commit ac315ce6 authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

Ajustes na infraestrutura de testes de interop. para facilitar sua configuração/inicialização.

- Ajustando o script de configuração do barramento para refletir os últimos ajustes nos testes de interop.


git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/02_00_00@159925 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 07d7a80e
......@@ -6,20 +6,22 @@ Category {
}
for case, services in pairs{
Simple = { "Hello" },
Multiplexing = { "Hello" },
SharedAuth = { "Hello" },
ReloggedJoin = { "Hello" },
Delegation = { "Messenger","Broadcaster","Forwarder" },
Protocol = { "Server" },
Simple = { server = "Hello" },
Multiplexing = { server = "Hello" },
SharedAuth = { server = "Hello" },
ReloggedJoin = {
server = "Hello",
proxy = "Hello",
},
Delegation = {
messenger = "Messenger",
broadcaster = "Broadcaster",
forwarder = "Forwarder",
},
Protocol = { server = "Server" },
} do
for _, iface in ipairs(services) do
local module = case:lower()
local name = iface:lower()
if iface == "Hello" then
module = "simple"
name = "server"
end
for name, iface in pairs(services) do
local module = iface == "Hello" and "simple" or case:lower()
local ifaceId = "IDL:tecgraf/openbus/interop/"..module.."/"..iface..":1.0"
local entity = "interop_"..case:lower().."_lua".."_"..name
Entity { id = entity, category = category, name = "Lua "..case.." "..iface }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment