File tree Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Expand file tree Collapse file tree 3 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ public status ViaDecorator(IDecorator scope, S reason=null)
7272
7373 [ Obsolete ( "Import Active.Status" , false ) ]
7474 public static action @void ( S reason = null ) => action . _done ;
75- [ Obsolete ( "Import Active.Status" , false ) ]
76- public static failure @false ( S reason = null ) => failure . _fail ;
75+ // [Obsolete("Import Active.Status", false)]
76+ // public static failure @false (S reason = null) => failure._fail;
7777 [ Obsolete ( "Use '@false' instead" , false ) ]
7878 public static failure flop ( S reason = null ) => failure . _fail ;
7979 [ Obsolete ( "Use loop.cont instead" , false ) ]
Original file line number Diff line number Diff line change @@ -70,13 +70,10 @@ [Test] public void Equals_type_mismatch(){
7070 o ( done . Equals ( "1" ) , false ) ;
7171 }
7272
73- // Optimized mode
73+ #if AL_OPTIMIZE
7474 [ Test ] public void ViaDecorator ( )
7575 => o ( done . ViaDecorator ( null , null ) . complete ) ;
76-
77- // optimized mode
78- //[Test] public void LogTrace()
79- //=> o( status.LogTrace(null, null), null );
76+ #endif
8077
8178 #if ! AL_OPTIMIZE
8279
@@ -189,7 +186,7 @@ [Test] public void Eval(){
189186
190187 [ Test ] public void StatusConsts ( ) {
191188 o ( ( status ) status . @void ( ) , done ) ;
192- o ( ( status ) status . @false ( ) , fail ) ;
189+ // o( (status)status.@false(), fail);
193190 o ( ( status ) status . flop ( ) , fail ) ;
194191 o ( ( status ) status . forever ( ) , cont ) ;
195192 }
Original file line number Diff line number Diff line change @@ -9,15 +9,23 @@ public class TestTask2 : CoreTest{
99
1010 [ SetUp ] public void Setup ( ) => x = new C ( ) ;
1111
12- [ Test ] public void Rox ( [ Values ( true , false ) ] bool staticReCon ) {
13- x . staticRecon = staticReCon ;
12+ [ Test ] public void Rox ( [ Values ( true , false ) ] bool staticRecon ) {
13+ #if ! AL_THREAD_SAFE
14+ var _static = x . staticRecon ;
15+ x . staticRecon = staticRecon ;
1416 o ( x . rox != null ) ;
17+ x . staticRecon = _static ;
18+ #else
19+ o ( x . rox != null ) ;
20+ #endif
1521 }
1622
1723 [ Test ] public void RoE ( ) {
1824 o ( x . roe != null ) ;
1925 }
2026
27+ #if ! AL_THREAD_SAFE
28+
2129 [ Test ] public void OrderedComposite_do ( ) {
2230 x . Seq ( ) ;
2331 o ( x . @do != null ) ;
@@ -40,6 +48,8 @@ [Test] public void OrderedComposite_loop_deprecated(){
4048 o ( x . loop . complete ) ;
4149 }
4250
51+ #endif // !AL_THREAD_SAFE
52+
4353 [ Test ] public void Reset_didHaveStore ( ) {
4454 x . _store = new Active . Core . Details . HashStore ( ) ;
4555 x . Reset ( ) ;
You can’t perform that action at this time.
0 commit comments