forked from masahino/upnp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.autotest
39 lines (33 loc) · 1.16 KB
/
.autotest
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# vim: filetype=ruby
Autotest.add_hook :initialize do |at|
at.add_mapping %r%^lib/UPnP/SSDP.rb$% do
['test/test_UPnP_SSDP.rb',
'test/test_UPnP_SSDP_notification.rb',
'test/test_UPnP_SSDP_response.rb',
'test/test_UPnP_SSDP_search.rb',
]
end
at.add_mapping %r%^lib/UPnP/control/(\w+).rb$% do |_,m|
"test/test_UPnP_Control_#{m[1].capitalize}.rb"
end
at.add_mapping %r%^test/utilities.rb$% do
at.known_files
end
at.extra_class_map["TestUPnPControlDevice"] =
'test/test_UPnP_control_device.rb'
at.extra_class_map["TestUPnPDevice"] =
'test/test_UPnP_device.rb'
at.extra_class_map["TestUPnPService"] =
'test/test_UPnP_service.rb'
at.extra_class_map["TestUPnPRootServer"] =
'test/test_UPnP_root_server.rb'
at.extra_class_map["TestUPnPSSDP"] = 'test/test_UPnP_SSDP.rb'
at.extra_class_map["TestUPnPSSDPNotification"] =
'test/test_UPnP_SSDP_notification.rb'
at.extra_class_map["TestUPnPSSDPResponse"] =
'test/test_UPnP_SSDP_response.rb'
at.extra_class_map["TestUPnPSSDPSearch"] =
'test/test_UPnP_SSDP_search.rb'
at.extra_class_map["TestUPnPControlService"] =
'test/test_UPnP_control_service.rb'
end