File tree Expand file tree Collapse file tree 3 files changed +0
-67
lines changed
Libraries/Nop.Core/Infrastructure
Tests/Nop.Tests/Nop.Core.Tests/Infrastructure Expand file tree Collapse file tree 3 files changed +0
-67
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -24,34 +24,4 @@ public void SingletonsShareSameSingletonsDictionary()
2424 BaseSingleton . AllSingletons [ typeof ( int ) ] . Should ( ) . Be ( 1 ) ;
2525 BaseSingleton . AllSingletons [ typeof ( double ) ] . Should ( ) . Be ( 2.0M ) ;
2626 }
27-
28- [ Test ]
29- public void SingletonDictionaryIsCreatedByDefault ( )
30- {
31- var instance = SingletonDictionary < SingletonTests , object > . Instance ;
32- instance . Should ( ) . NotBeNull ( ) ;
33- }
34-
35- [ Test ]
36- public void SingletonDictionaryCanStoreStuff ( )
37- {
38- var instance = SingletonDictionary < Type , SingletonTests > . Instance ;
39- instance [ typeof ( SingletonTests ) ] = this ;
40- instance [ typeof ( SingletonTests ) ] . Should ( ) . BeSameAs ( this ) ;
41- }
42-
43- [ Test ]
44- public void SingletonListIsCreatedByDefault ( )
45- {
46- var instance = SingletonList < SingletonTests > . Instance ;
47- instance . Should ( ) . NotBeNull ( ) ;
48- }
49-
50- [ Test ]
51- public void SingletonListCanStoreItems ( )
52- {
53- var instance = SingletonList < SingletonTests > . Instance ;
54- instance . Insert ( 0 , this ) ;
55- instance [ 0 ] . Should ( ) . BeSameAs ( this ) ;
56- }
5727}
You can’t perform that action at this time.
0 commit comments