From: Thomas Walker Lynch Date: Tue, 17 Dec 2024 16:20:53 +0000 (+0000) Subject: removed redundant Test_ on every test name, AllMethodsPublicProxy -> dispatch X-Git-Url: https://git.reasoningtechnology.com/style/static/gitweb.js?a=commitdiff_plain;h=ebb8f9c14efe358d557b61050a5cac3173cde907;p=Mosaic removed redundant Test_ on every test name, AllMethodsPublicProxy -> dispatch --- diff --git a/tester/bash/.gitignore b/tester/bash/.gitignore deleted file mode 100644 index 120f485..0000000 --- a/tester/bash/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!/.gitignore diff --git "a/tester/javac\360\237\226\211/Test0.java" "b/tester/javac\360\237\226\211/Test0.java" deleted file mode 100644 index c4abc4a..0000000 --- "a/tester/javac\360\237\226\211/Test0.java" +++ /dev/null @@ -1,36 +0,0 @@ -import com.ReasoningTechnology.Mosaic.Mosaic_Util; - -/* -Test Zero - -Plug it in, see if there is smoke. There usually is. - -*/ - -public class Test0{ - - public static Boolean test_is_true(){ - return true; - } - - public static int run(){ - Boolean[] condition = new Boolean[1]; - condition[0] = test_is_true(); - - int i = 0; - if( !Mosaic_Util.all(condition) ){ - System.out.println("Test0 failed"); - return 1; - } - System.out.println("Test0 passed"); - return 0; - } - - // Main function to provide a shell interface for running tests - public static void main(String[] args){ - int return_code = run(); - System.exit(return_code); - return; - } - -} diff --git "a/tester/javac\360\237\226\211/Test_0.java" "b/tester/javac\360\237\226\211/Test_0.java" new file mode 100644 index 0000000..c4abc4a --- /dev/null +++ "b/tester/javac\360\237\226\211/Test_0.java" @@ -0,0 +1,36 @@ +import com.ReasoningTechnology.Mosaic.Mosaic_Util; + +/* +Test Zero + +Plug it in, see if there is smoke. There usually is. + +*/ + +public class Test0{ + + public static Boolean test_is_true(){ + return true; + } + + public static int run(){ + Boolean[] condition = new Boolean[1]; + condition[0] = test_is_true(); + + int i = 0; + if( !Mosaic_Util.all(condition) ){ + System.out.println("Test0 failed"); + return 1; + } + System.out.println("Test0 passed"); + return 0; + } + + // Main function to provide a shell interface for running tests + public static void main(String[] args){ + int return_code = run(); + System.exit(return_code); + return; + } + +} diff --git a/tester/jvm/.gitignore b/tester/jvm/.gitignore new file mode 100644 index 0000000..120f485 --- /dev/null +++ b/tester/jvm/.gitignore @@ -0,0 +1,2 @@ +* +!/.gitignore diff --git "a/tester/tool\360\237\226\211/list" "b/tester/tool\360\237\226\211/list" new file mode 100755 index 0000000..ba12487 --- /dev/null +++ "b/tester/tool\360\237\226\211/list" @@ -0,0 +1,23 @@ +#!/bin/env bash +script_afp=$(realpath "${BASH_SOURCE[0]}") + +# returns the list of tests for 'make' and for 'run_tests'. + +# input guards +env_must_be="tester/tool🖉/env" +if [ "$ENV" != "$env_must_be" ]; then + echo "$(script_fp):: error: must be run in the $env_must_be environment" + exit 1 +fi + +# space separated list of bash interface wrappers +echo\ + Test_Logger\ + Test0\ + Test_Util\ + Test_IO\ + Test_Testbench\ + Test_MockClass_0\ + Test_IsPrimitive\ + Test_Access_0\ + "" diff --git "a/tester/tool\360\237\226\211/test_list" "b/tester/tool\360\237\226\211/test_list" deleted file mode 100755 index ba12487..0000000 --- "a/tester/tool\360\237\226\211/test_list" +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/env bash -script_afp=$(realpath "${BASH_SOURCE[0]}") - -# returns the list of tests for 'make' and for 'run_tests'. - -# input guards -env_must_be="tester/tool🖉/env" -if [ "$ENV" != "$env_must_be" ]; then - echo "$(script_fp):: error: must be run in the $env_must_be environment" - exit 1 -fi - -# space separated list of bash interface wrappers -echo\ - Test_Logger\ - Test0\ - Test_Util\ - Test_IO\ - Test_Testbench\ - Test_MockClass_0\ - Test_IsPrimitive\ - Test_Access_0\ - ""