Skip to content

Commit

Permalink
GUI2 tests: remove small resolution test sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Apr 3, 2016
1 parent 0ca4e6c commit 37f2940
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/tests/gui/test_gui2.cpp
Expand Up @@ -289,15 +289,6 @@ namespace {
#pragma warning(pop)
#endif

const tresolution_list& get_small_gui_resolutions()
{
static tresolution_list result;
if(result.empty()) {
result.push_back(std::make_pair(800, 480));
}
return result;
}

const tresolution_list& get_gui_resolutions()
{
static tresolution_list result;
Expand All @@ -317,7 +308,6 @@ void test()

for(size_t i = 0; i < 2; ++i) {

test_resolutions<T>(get_small_gui_resolutions());
test_resolutions<T>(get_gui_resolutions());

break; // FIXME: New widgets break
Expand All @@ -332,7 +322,6 @@ void test_popup()

for(size_t i = 0; i < 2; ++i) {

test_popup_resolutions<T>(get_small_gui_resolutions());
test_popup_resolutions<T>(get_gui_resolutions());

gui2::new_widgets = true;
Expand All @@ -345,7 +334,6 @@ void test_tip(const std::string& id)

for(size_t i = 0; i < 2; ++i) {

test_tip_resolutions(get_small_gui_resolutions(), id);
test_tip_resolutions(get_gui_resolutions(), id);

gui2::new_widgets = true;
Expand Down

0 comments on commit 37f2940

Please sign in to comment.