summaryrefslogtreecommitdiffstatshomepage
path: root/tests/t0101-index.sh
blob: 82ef9b04e55eaed26a6e64cdf119864228ea547e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

test_description='Check content on index page'
. ./setup.sh

test_expect_success 'generate index page' 'cgit_url "" >tmp'
test_expect_success 'find foo repo' 'grep "foo" tmp'
test_expect_success 'find foo description' 'grep "\[no description\]" tmp'
test_expect_success 'find bar repo' 'grep "bar" tmp'
test_expect_success 'find bar description' 'grep "the bar repo" tmp'
test_expect_success 'find foo+bar repo' 'grep ">foo+bar<" tmp'
test_expect_success 'verify foo+bar link' 'grep "/foo+bar/" tmp'
test_expect_success 'verify "with%20space" link' 'grep "/with%20space/" tmp'
test_expect_success 'no tree-link' '! grep "foo/tree" tmp'
test_expect_success 'no log-link' '! grep "foo/log" tmp'

test_done
an class="n">m_player_ball = {0,0}; std::vector<Platform> m_platforms; void draw_main_menu(); void draw_game(); void draw_gameover_menu(); void init_game(); void update_game(); AppAttributes app_attributes = {1, true, 30}; // Around 30 fps public: const AppAttributes& app_get_attributes() { return app_attributes; } app_game_falldown(Api *app_api); AppReturnValues render(Api *app_api); AppReturnValues btn_pressed(Api *app_api, uint gpio, unsigned long delta); AppReturnValues btn_released(Api *app_api, uint gpio, unsigned long delta); ~app_game_falldown(); };