repo.or.cz
/
tagua
/
yd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add a PromotionManager.
[tagua/yd.git]
/
tests
/
templates
/
template.cpp.erb
blob
b762f70db4ffc41ec04588de1d3762bfd230d983
1
#include "<%= @name.downcase %>.h"
2
3
CPPUNIT_TEST_SUITE_REGISTRATION(<%= @name %>Test);
4
5
void <%= @name %>Test::setUp() {
6
L = new LuaState();
7
}
8
9
void <%= @name %>Test::tearDown() {
10
delete L;
11
}
12
13
14
<% @tests.each do |test| %>
15
void <%= @name %>Test::<%= test %>() {
16
17
}
18
<%- end %>
19