tests: Add test_astbuilder to the skip list of nitcg niti nitvm
[nit.git] / tests / test_nitunit4 / test_nitunit4.nit
index db734a6..cf8ab83 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module test_nitunit4 is test_suite
+module test_nitunit4 is test
 
 import test_nitunit4_base
 
 class TestTestSuite
        super SuperTestSuite
+       test
 
-       fun test_foo do
+       fun test_foo is test do
                print "Tested method"
                assert before
+               before = false
        end
+
+       fun test_bar is test do
+               print "Tested method"
+       end
+
+       fun test_baz is test do
+               print "Tested method"
+       end
+
+       fun test_sav_conflict is test do
+               print "Tested method"
+       end
+
+       redef fun to_s do return "<{class_name}>"
 end