Skip to content
Snippets Groups Projects
Commit d6f724a7 authored by Federico Felici's avatar Federico Felici Committed by Olivier Sauter
Browse files

Cleanup and fix of capitalization for tests

parent abc7071f
Branches
Tags
1 merge request!4Feature/testsuite
......@@ -18,8 +18,8 @@ import matlab.unittest.selectors.HasName;
addpath(genpath(fullfile(fileparts(mfilename('fullpath')),'tests')));
addpath(genpath(fullfile(fileparts(mfilename('fullpath')),'TCV_IMAS')));
suite_all = [matlab.unittest.TestSuite.fromClass(?test_requestnames_TCV),...
matlab.unittest.TestSuite.fromClass(?test_requestnames_AUG),...
suite_all = [matlab.unittest.TestSuite.fromClass(?test_requestnames_tcv),...
matlab.unittest.TestSuite.fromClass(?test_requestnames_aug),...
matlab.unittest.TestSuite.fromClass(?test_tcv_get_ids)];
switch test_case
......@@ -32,8 +32,7 @@ switch test_case
s = HasTag('imas');
suite = suite_all.selectIf(s);
case 'tcv'
s = HasName(ContainsSubstring('TCV'));
s = HasName(ContainsSubstring('tcv'));
suite = suite_all.selectIf(s);
case 'aug'
s = HasName(ContainsSubstring('aug'));
......
......@@ -13,13 +13,13 @@ classdef (SharedTestFixtures={...
requests_slow;
end
methods(Test,TestTags = {'Fast'})
methods(Test,TestTags = {'fast'})
function test_gdat_call_fast(testCase,shot,requests_fast)
test_gdat_call(testCase,shot,requests_fast);
end
end
methods(Test,TestTags = {'Slow'})
methods(Test,TestTags = {'slow'})
function test_gdat_call_slow(testCase,shot,requests_slow)
test_gdat_call(testCase,shot,requests_slow);
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment